101
Archive / Scene.Bin editing
« on: 2005-07-16 07:06:04 »
Evasion, Luck and speed can be very easy implemented, I will do this in next release.
I wrote this program using scene.bin format described in Gears, maybe this description isn't complete. I'll have to take a look on it again.
Part of post cut out, not valid info
If you have better description of this section then please let me know.
If you're good at graphics then sure, I'd like to have a nice icon for my program, because Delphi's default icon is ugly as hell .
Edit: I think that Terence Fergusson could help us, however I think that he is hard to catch lately .
Edit2: Update - new release
Version: 1.1.3
Changes:
- added: evade, luck and speed editing
- added: credit to people at Qhimm's forums
- added: readme, history and enemies files to program archive
- changed: 'Author' to 'About'
- fixed: bug when there are 2 monsters but second record is empty
Link: Scene Edit v1.1.3
Edit3: Format update
I think I understand now how this works. I'll write it down here so everyone interested could benefit from it, and so I don't forget how this works .
------
Offsets here are relative, from the beginning of each enemy's data.
0x88h [4 bytes] - win/steal info & rates
These are chances to get items listed in next section. 1 byte per item. But now comes the tricky part. If the rate is lower than 80h, for e.g. 08h - then this is a drop item and has 8/63 [63 is max] chance for drop. But if rate is higher than 80h, let's say... A0h, then this is an item for steal, and chances for successful steal is A0h - 80h = 20h = 32/63.
0x8Ch [8 bytes] - win/steal item list
This is a list of items described above. 2 bytes per item.
So, if the data is (file 105, Mighty Grunt):
This means, that this monster drops one item - Tranquillizer [0Eh], with 8/63 chance for drop, and you can steal either a Tranquillizer (32/63 chance) or Grenade [14h] (8/63 chance) from it.
-----
Please correct me if I'm wrong. With this info I'll be able to write item management option in my app, I think It'll be ready tomorrow. Stay tuned .
I wrote this program using scene.bin format described in Gears, maybe this description isn't complete. I'll have to take a look on it again.
Part of post cut out, not valid info
If you have better description of this section then please let me know.
If you're good at graphics then sure, I'd like to have a nice icon for my program, because Delphi's default icon is ugly as hell .
Edit: I think that Terence Fergusson could help us, however I think that he is hard to catch lately .
Edit2: Update - new release
Version: 1.1.3
Changes:
- added: evade, luck and speed editing
- added: credit to people at Qhimm's forums
- added: readme, history and enemies files to program archive
- changed: 'Author' to 'About'
- fixed: bug when there are 2 monsters but second record is empty
Link: Scene Edit v1.1.3
Edit3: Format update
I think I understand now how this works. I'll write it down here so everyone interested could benefit from it, and so I don't forget how this works .
------
Offsets here are relative, from the beginning of each enemy's data.
0x88h [4 bytes] - win/steal info & rates
These are chances to get items listed in next section. 1 byte per item. But now comes the tricky part. If the rate is lower than 80h, for e.g. 08h - then this is a drop item and has 8/63 [63 is max] chance for drop. But if rate is higher than 80h, let's say... A0h, then this is an item for steal, and chances for successful steal is A0h - 80h = 20h = 32/63.
0x8Ch [8 bytes] - win/steal item list
This is a list of items described above. 2 bytes per item.
So, if the data is (file 105, Mighty Grunt):
Code: [Select]
08 A0 88 FF 0E 00 0E 00 14 00 FF FF
This means, that this monster drops one item - Tranquillizer [0Eh], with 8/63 chance for drop, and you can steal either a Tranquillizer (32/63 chance) or Grenade [14h] (8/63 chance) from it.
-----
Please correct me if I'm wrong. With this info I'll be able to write item management option in my app, I think It'll be ready tomorrow. Stay tuned .