Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

[PSX]Hikaru no Go - Heian Gensou Ibunroku Compress

Featured Replies

 

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

Solved by DKDave

  • Solution
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

  • Author
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.

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.

 

 

 

  • Author
On 9/16/2025 at 5:19 AM, DKDave said:

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

 

 

 

Using quickbms's reimport, I couldn't reimport the modified data.

However, I found other methods to recompress it. Thank you for your help.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.