Jump to content

[PSX]Hikaru no Go - Heian Gensou Ibunroku Compress


Go to solution Solved by DKDave,

Recommended Posts

Posted

 

Hi all,

I'm trying to extract files from a Konami PSX game. The data is in .R2 archives, which are  containers (file count at 0x4).

The files inside are compressed. The compressed data starts with the magic string "TEN2". This prevents tools like JPSXDEC from finding resources like TIM images, even though they are listed in the archive header.

In the script file (SCRIPT.R2), I can see fragmented, readable text, which suggests the compression might not be very heavy.

Does anyone recognize this "TEN2" compression format from old Konami games? I'm looking for any information on the algorithm or a way to decompress the files.

Sample files are attached.

Thanks for any help

image.png.c4f90642a5109eba1ffed2d160066fd8.png

image.png.ebf87392e1061e1587f68ef6692444f8.png

image.png.412683140eb2a1e7d126a29da160c2cf.png

 

R2 FILES.zip

  • Solution
Posted
1 hour ago, Karen said:

 

Hi all,

I'm trying to extract files from a Konami PSX game. The data is in .R2 archives, which are  containers (file count at 0x4).

The files inside are compressed. The compressed data starts with the magic string "TEN2". This prevents tools like JPSXDEC from finding resources like TIM images, even though they are listed in the archive header.

In the script file (SCRIPT.R2), I can see fragmented, readable text, which suggests the compression might not be very heavy.

Does anyone recognize this "TEN2" compression format from old Konami games? I'm looking for any information on the algorithm or a way to decompress the files.

Sample files are attached.

Thanks for any help

 

 

Try this QuickBMS script.  It should decompress and extract the R2 archives correctly.  Example:

image.png.22995dfd684aeb00d065e602773534cb.png

 

 

r2.zip

Posted
On 9/14/2025 at 6:46 PM, DKDave said:

 

Try this QuickBMS script.  It should decompress and extract the R2 archives correctly.  Example:

image.png.22995dfd684aeb00d065e602773534cb.png

r2.zip 427 B · 2 downloads

Thank you! I didn't expect this to be done so quickly; I was prepared for a long wait. I have decompressed those files using this BMS script.

However, I have a question. I have modified the TIM and script files, so how should I recompress them back into the kind of file that the game marks as Z2?

If I have the new Z2 files, then all that's left is to repack them into the R2 file.

Posted
2 hours ago, Karen said:

Thank you! I didn't expect this to be done so quickly; I was prepared for a long wait. I have decompressed those files using this BMS script.

However, I have a question. I have modified the TIM and script files, so how should I recompress them back into the kind of file that the game marks as Z2?

If I have the new Z2 files, then all that's left is to repack them into the R2 file.

You could try the QuickBMS reimport function.  I've not tried it myself, but it does work for many archives.

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...