Miscellaneous Forums > Scripting and Reverse Engineering

[FF7 PSX] What should be removed after recompressing the BATTLE.X file?

<< < (2/3) > >>

vayneruel:
Have you renamed BATTLE.X to BATTLE.gz, Raziel?

Raziel80:

--- Quote from: vayneruel on 2021-05-28 18:11:27 ---Have you renamed BATTLE.X to BATTLE.gz, Raziel?

--- End quote ---
Yes, I did what I wanted with ff7_gzip (FF7Dec + gzip) tools.
Information for modifying FF7 PSX files: http://forums.qhimm.com/index.php?topic=15074.0 ,
http://forums.qhimm.com/index.php?topic=12174.msg168727#msg168727

MysticLord:
It might be useful for someone to upload the decompressed version of the file, so you can compress it and see how it corresponds to the file you're working with.

Bosola:
It's been a long time since I worked on the BATTLE.X file. However, I did find the following README I wrote to myself, in a file from 2014. It was for running an assembler patch for long range enemy attacks:


--- Quote ---Here's the procedure:

- unpack the BATTLE.X by removing the initial eight header bytes (copy them somewhere)
- decompress the file as a gzip archive
- run the ASM file (enemy_long_range_attacks_asm.txt) through ARMIPS
- recompress with gzip (using the Cygwin version of gzip with the flags -9 -n will work best)
- re-add the initial header bytes
- reinsert your BATTLE.X file using whatever means you like

--- End quote ---

Raziel80:

--- Quote from: Bosola on 2021-05-31 23:03:47 ---Here's the procedure:

- unpack the BATTLE.X by removing the initial eight header bytes (copy them somewhere)
- decompress the file as a gzip archive
- run the ASM file (enemy_long_range_attacks_asm.txt) through ARMIPS
- recompress with gzip (using the Cygwin version of gzip with the flags -9 -n will work best)
- re-add the initial header bytes
- reinsert your BATTLE.X file using whatever means you like

--- End quote ---
Where can I download this Cygwin version of gzip?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version