Difference between revisions of "Talk:PRODUCT.DAT"

From UFOpaedia
Jump to navigation Jump to search
(Changed locations assuming first byte is considered 0, not 1. Sorry about that.)
(→‎Manufacturing Requirements: Question re: original Item source list)
 
Line 18: Line 18:
  
 
Ok, the bytes for the FBL are 459821-459838 in MS-Edit with 100 columns or 459720-459737 normally. Just look for 255, 88, 255 and that'll be the start of the mess. This is for the CE executable. If you have the Dos version, simply search for the three numbers above and you should find it near the end of Geoscape.exe. --[[User:Zombie|Zombie]] 11:33, 15 May 2008 (PDT)
 
Ok, the bytes for the FBL are 459821-459838 in MS-Edit with 100 columns or 459720-459737 normally. Just look for 255, 88, 255 and that'll be the start of the mess. This is for the CE executable. If you have the Dos version, simply search for the three numbers above and you should find it near the end of Geoscape.exe. --[[User:Zombie|Zombie]] 11:33, 15 May 2008 (PDT)
 +
 +
:Z (and NKF?), please see [[Talk:BASE.DAT#Unidentified Values]]. Any ideas? -[[User:MikeTheRed|MikeTheRed]] 20:10, 16 May 2008 (PDT)

Latest revision as of 03:10, 17 May 2008

Manufacturing Requirements

Bytes 8-10 have the following values for objects:

88 = Alloys
60 = E115
80 = Power Source
81 = Navigation


You know, I always wondered why the FBL entry for prereq and qty were offset. Obviously it is a programming glitch. As a test, I edited Product.dat so that the prereq and qty numbers happened at the beginning of the list and bingo, FBL's now take 1 unit alien alloys per launcher. Editing product.dat while you are currently manufacturing FBL's doesn't stop the bug, as BPROD.DAT is active. Just to note, the bug cannot be completely eliminated by editing product.dat as that file is created from the executable. Editing the executable fixes it permanently.

Not sure I agree with lumping the prereq and qty types in the same entry on the article page though. Those two should stay separate as they are different things. Anyway, nice job nonetheless. --Zombie 20:52, 14 May 2008 (PDT)

Good job on the testing, Zombie. Let me paste that info in. By any chance, do you know the exact bytes in the .EXE to fix the FBL "problem"? ... Only if it's real easy to find. (And say which .EXE, if you do.)
I just barely prefer having all 6 bytes discussed together, versus separating the two sets. If somebody wants to separate them, feel free. -MikeTheRed 20:28, 14 May 2008 (PDT)

Ok, the bytes for the FBL are 459821-459838 in MS-Edit with 100 columns or 459720-459737 normally. Just look for 255, 88, 255 and that'll be the start of the mess. This is for the CE executable. If you have the Dos version, simply search for the three numbers above and you should find it near the end of Geoscape.exe. --Zombie 11:33, 15 May 2008 (PDT)

Z (and NKF?), please see Talk:BASE.DAT#Unidentified Values. Any ideas? -MikeTheRed 20:10, 16 May 2008 (PDT)