User:Lilezek
1ST Experiment
Trying to find out what does the fight footer of the HAR file formats.
Editting the 30 bytes of FIGHTR0.AF. Setting them to full 1 bits (0xFF FF FF...).
--Lilezek 10:59, 4 March 2012 (EST)
Nothing happened to. Trying with setting them to full 0 bits (0x00 00 00 ...).
--Lilezek 11:17, 4 March 2012 (EST)
Now happens that every sound of the Jaguar has been lost. It could be a bug of dosbox, so I'm gonna try this once more.
Changing everything into full 1 bits again.
--Lilezek 11:25, 4 March 2012 (EST)
With everything full of 1, jaguar doesn't have sound neither. Backuping into the original file...
--Lilezek 11:28, 4 March 2012 (EST)
Now they have sound. It seems that the "junk 30 bytes" affect to sound.
Setting everything to FF except FGHED (last 5 bytes).
--Lilezek 11:32, 4 March 2012 (EST)
Now they have sound. What a weird behaviour... It seems that the game checks for FGHED to load sounds?
It doesn't affect to FGHED, but to the whole junk. Finding the bytes that stop sound...
--Lilezek 14:46, 4 March 2012 (EST)
YAY! Those bytes represents sounds. I'm playing with sounds of Shadow har (FIGHTR1.AF) and this is what I think:
Sounds table:
Unknown | 1 BYTE | This fist byte seems to be 0. |
MHHIT | 1 BYTE | Index of middle high hit. |
LHIT | 1 BYTE | Index of low hit. |
LTHIT | 1 BYTE | Index of low hit when falling down. |
FALL | 1 BYTE | Index of sound emitted when you hit the ground falling down. |
ATTACK | 1 BYTE | Index of attack sounds. |
GUARD | 1 BYTE | Index of guard sounds. |
Unkown | 1 BYTE | I found a 0. |
Unkown | 1 BYTE | I found a 0. |
Unkown | 16 BYTES | I'm studing this |
FGHED | 5 BYTES | 5 bytes representing string "FGHED". Nothing happens if you edit this, but is a good magic number. |