Difference between revisions of "Talk:BASE.DAT"

From UFOpaedia
Jump to navigation Jump to search
(Unidentified values)
Line 14: Line 14:
  
 
[[Item_Weight#Uncarryable_items|This]] of any help, MTR? [[User:Arrow Quivershaft|Arrow Quivershaft]] 19:51, 15 May 2008 (PDT)
 
[[Item_Weight#Uncarryable_items|This]] of any help, MTR? [[User:Arrow Quivershaft|Arrow Quivershaft]] 19:51, 15 May 2008 (PDT)
 +
 +
:Thanks Arrow, I guess Uncarryable Items gives suggestions, but I still don't entirely understand that Item listing. All I did was reformat what was already on the page, so I could relate it to the PRODUCT.DAT info I'd just looked at - and the gaps became clear when I did the offset math. One thing that puzzles me is that BASE.DAT obviously isn't the "ultimate source" of this list, since it's only showing quantities at a base. There must be some other "real" source which includes names, properties, etc. I've looked around the wiki but can't seem to find it. Maybe it's hard-coded into the .EXE and only gets tossed out in this "one step removed" kind of format, for BASE.DAT and PRODUCT.DAT? shrug -[[User:MikeTheRed|MikeTheRed]] 20:08, 16 May 2008 (PDT)

Revision as of 03:08, 17 May 2008

The holes in the item list are the 6 unused items in obdata.dat. Starting from the standard pistol, the object table in the base and craft files match the entries in OBDATA.DAT.

The six unused items don't have any text labels associated with them apart from the description in obdata.dat. If you inspect obdata.dat, you'll notice that they are a few weapons and ammo clips, however one or two of their crucial switches have been turned off so that they do not function. TFTD uses these slots for the gauss clips and drills.

- NKF


Little Endian

It should be noted that despite all values being unsigned little debian and thus having a fairly large range, there is a cap of 9999 instances/units of a given item at a given base. Arrow Quivershaft 17:28, 5 April 2008 (PDT)


Unidentified Values

This of any help, MTR? Arrow Quivershaft 19:51, 15 May 2008 (PDT)

Thanks Arrow, I guess Uncarryable Items gives suggestions, but I still don't entirely understand that Item listing. All I did was reformat what was already on the page, so I could relate it to the PRODUCT.DAT info I'd just looked at - and the gaps became clear when I did the offset math. One thing that puzzles me is that BASE.DAT obviously isn't the "ultimate source" of this list, since it's only showing quantities at a base. There must be some other "real" source which includes names, properties, etc. I've looked around the wiki but can't seem to find it. Maybe it's hard-coded into the .EXE and only gets tossed out in this "one step removed" kind of format, for BASE.DAT and PRODUCT.DAT? shrug -MikeTheRed 20:08, 16 May 2008 (PDT)