News: 11 March 2016 - Forum Rules

Author Topic: [Technical/PSX]Extract Bioharzard: Gun Survivor compressed TIM file  (Read 604 times)

wtrace3zh

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Hello everyone, I am trying to make Simplified Chinese translation for Bioharzard: Gun Survivor, the translation work has completed 90%, but I have encountered a problem, there are some texture files that need to be translated. It seems that it is not possible to use a conventional scanning tool (such as JPSXDEC, Tim2View).


I don't have any experience finding files, so I need help.  The game ID I use is: SLPS-02553

Compressed textures include buttons in the backpack interface and in-game notes.



« Last Edit: March 12, 2022, 10:22:20 am by wtrace3zh »

FAST6191

  • Hero Member
  • *****
  • Posts: 3526
    • View Profile
Re: [Technical/PSX]Extract Bioharzard: Gun Survivor compressed TIM file
« Reply #1 on: March 13, 2022, 09:46:37 am »
Compression on the PS1 is not going to be too radical, though it is powerful enough to get us into real compressions (compared to SNES stuff where it was a bit simpler). https://ece.uwaterloo.ca/~ece611/LempelZiv.pdf if you wanted an overview on the types available. It is curious that some things work and others might not.

To that end you might want to grab the texture in the ROM (presumably a nice name, directory name, corruption, file swapping effort or the like telling you what it is) and grab the texture from RAM when it is being used.
You can then compare the two and see what was changed for it.

You don't even necessarily have to make a tool to compress it again afterwards (that would be a harder task, though you might be able to adapt an existing one as most things just vary LZ compression in the location/amount split, window size and values used for flags) -- most LZ compression has a "nothing compressed in this section" flag however many bytes apart for that implementation. Make every section have this flag (trivial to do really) and then even if the game tries to decompress it then all it will in essence be doing is copying every section in to make the whole file.

Anime_World

  • RHDN Supporter
  • Jr. Member
  • *****
  • Posts: 83
    • View Profile
Re: [Technical/PSX]Extract Bioharzard: Gun Survivor compressed TIM file
« Reply #2 on: March 14, 2022, 02:24:51 pm »
Did you try Biofat (BioHazart Archive Tool)?
https://www.romhacking.net/utilities/1019/

Reevengi Tools can help too:
http://www.the-coroner.com/RELEASE/PMDATA/reevengi-tools-0.5.zip
« Last Edit: March 14, 2022, 02:40:58 pm by Anime_World »