Ammo and weapons file data? Sourcer?
Posted: Thu May 02, 2002 5:32 am
Hi,
I've played U7 and SI for ages in my youth and wandered upon this great project of yours. Being a programmer, I could not resist and had a look through the code... Looks okay I guess
I noticed (in the code & the faq) the ammo and weapons data files have not been deciphered fully yet (nor some of the other files). So I did some scanning - haven't found much yet...
In the ammo.dat the 8th byte I have partly figured out. Bit 6 (2^6) seems to represent if the ammo should explode on impact (only set for burst arrows [shape 554]). Bit 5-4 are always 11 for spells and always 10 for returning throwable weapons. Don't know what 01 and 00 mean...
The "type2" (byte 5 and 6) seem to represent what should be fired instead of this ammo. For example, for a cannon [702], and why is it in this list?] it is a cannonball [703]. And for light spells [70, 74] it is the glimmer spell [566]. Others don't use it.
Okay - so that is not that much or useful. I was wondering if anyone has attemted a sourcer or ida disassembly, of the U7.exe file for example? Or a bochs debug?
Before I spent several weeks locked behind my computer trying to make sense of the output - I thought I'd ask
Mentis.
I've played U7 and SI for ages in my youth and wandered upon this great project of yours. Being a programmer, I could not resist and had a look through the code... Looks okay I guess
I noticed (in the code & the faq) the ammo and weapons data files have not been deciphered fully yet (nor some of the other files). So I did some scanning - haven't found much yet...
In the ammo.dat the 8th byte I have partly figured out. Bit 6 (2^6) seems to represent if the ammo should explode on impact (only set for burst arrows [shape 554]). Bit 5-4 are always 11 for spells and always 10 for returning throwable weapons. Don't know what 01 and 00 mean...
The "type2" (byte 5 and 6) seem to represent what should be fired instead of this ammo. For example, for a cannon [702], and why is it in this list?] it is a cannonball [703]. And for light spells [70, 74] it is the glimmer spell [566]. Others don't use it.
Okay - so that is not that much or useful. I was wondering if anyone has attemted a sourcer or ida disassembly, of the U7.exe file for example? Or a bochs debug?
Before I spent several weeks locked behind my computer trying to make sense of the output - I thought I'd ask
Mentis.