Karen Posted Sunday at 09:15 AM Posted Sunday at 09:15 AM 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 R2 FILES.zip
Solution DKDave Posted Sunday at 10:46 AM Solution Posted Sunday at 10:46 AM 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: r2.zip
Karen Posted Monday at 07:12 PM Author Posted Monday at 07:12 PM On 9/14/2025 at 6:46 PM, DKDave said: Try this QuickBMS script. It should decompress and extract the R2 archives correctly. Example: 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.
DKDave Posted Monday at 09:19 PM Posted Monday at 09:19 PM 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now