March 29, 20242 yr Localization Does anyone know what compression algorithm is used in this file? 0x00 Compress Size 0x05 Size After Decompression Any help, no matter how small, would be greatly appreciated by me. EDIT:The compression algorithm of this file is the same as the .das file in Resident Evil 4 GameCube version. Sengoku Basara 2.zip Edited March 29, 20242 yr by Sadamekaze
May 5, 20242 yr Localization Solution On 3/29/2024 at 8:11 PM, Sadamekaze said: Does anyone know what compression algorithm is used in this file? 0x00 Compress Size 0x05 Size After Decompression Any help, no matter how small, would be greatly appreciated by me. EDIT:The compression algorithm of this file is the same as the .das file in Resident Evil 4 GameCube version. Sengoku Basara 2.zip 280.28 kBย ยทย 8 downloads I don't know exactly what the compression method is. but last week I made a tool to decompress it. but to compress it back is a bit difficult. The solution is to replace the compression method with a more frequently used one, like the lz family maybe, I use lz01x to compress back in my edited sb2h, it works well. SB2H_DEC.zip
May 6, 20242 yr Author Localization On 5/5/2024 at 12:05 PM, Gil_Unx said: I don't know exactly what the compression method is. but last week I made a tool to decompress it. but to compress it back is a bit difficult. The solution is to replace the compression method with a more frequently used one, like the lz family maybe, I use lz01x to compress back in my edited sb2h, it works well. SB2H_DEC.zip 17.5 kBย ยทย 6 downloads Thank you very much for the tools and solutions.
May 6, 20242 yr Author Localization On 5/5/2024 at 12:05 PM, Gil_Unx said: I don't know exactly what the compression method is. but last week I made a tool to decompress it. but to compress it back is a bit difficult. The solution is to replace the compression method with a more frequently used one, like the lz family maybe, I use lz01x to compress back in my edited sb2h, it works well. SB2H_DEC.zip 17.5 kBย ยทย 6 downloads Sorry to bother you. Could you please send me the file that has been compressed using lz01x, for example?
May 6, 20242 yr Localization 2 hours ago, Sadamekaze said: Sorry to bother you. Could you please send me the file that has been compressed using lz01x, for example? What do you mean? It depends on what game you are editing, I edited Sengoku Basara 2 Heroes, SLPM_668.48, you need to change the decompression routines in that file (I took the LZ01X decompressor from the Havest Moon STH game), and change all the compressed files to LZ01X, if you like. If you're interested inย modified this gameย continue this chat in PM. Edited May 6, 20242 yr by Gil_Unx
May 6, 20242 yr Author Localization 11 minutes ago, Gil_Unx said: What do you mean? It depends on what game you are editing, I edited Sengoku Basara 2 Heroes, SLPM_668.48, you need to change the decompression routines in that file (I took the LZ01X decompressor from the Havest Moon STH game), and change all the compressed files to LZ01X, if you like. If you're interested, I can send you the application and the files I edited. Can you send it and how to change the decompression routine of SLPM_668.48? I'm really confused about this game compression issue. Thank you so much for helping me.
July 19Jul 19 Localization On 5/5/2024 at 11:05 AM, Gil_Unx said:I don't know exactly what the compression method is. but last week I made a tool to decompress it. but to compress it back is a bit difficult. The solution is to replace the compression method with a more frequently used one, like the lz family maybe, I use lz01x to compress back in my edited sb2h, it works well.SB2H_DEC.zipSorry, but this tool cannot be used to unpack the "msg.pack" file. I not sure if this script is useful, but when I tested it, it worked to unpack the "msg.pack" file and generate .dat files. msg pack Unpacker.py sub_file_000.rar Edited July 19Jul 19 by Jinxmargo
July 25Jul 25 Localization This looks like Capcom's YZ2 compressor. Kind of like LZ compression, but it uses Capcom's own dictionary and range coding system.I only downloaded the ISO (SLPM_66447) as I needed to figure out how the compressor worked. I have no idea if the recompressed file will actually work in the game. I will leave that for you to figure out.# Decompress python .\YZ2.py .\msg.pack .\msg.fpk # Compress python .\YZ2.py --compress .\msg.fpk .\msg.packThere also seems to be a #fpk archive in the decompressed output, but that is beyond the scope of this script. I could take a look at that, if needed. YZ2.py Edited July 25Jul 25 by Falkrian Spelling
July 25Jul 25 Localization 8 hours ago, Falkrian said:This looks like Capcom's YZ2 compressor. Kind of like LZ compression, but it uses Capcom's own dictionary and range coding system.I only downloaded the ISO (SLPM_66447) as I needed to figure out how the compressor worked. I have no idea if the recompressed file will actually work in the game. I will leave that for you to figure out.# Decompress python .\YZ2.py .\msg.pack .\msg.fpk # Compress python .\YZ2.py --compress .\msg.fpk .\msg.packThere also seems to be a #fpk archive in the decompressed output, but that is beyond the scope of this script. I could take a look at that, if needed.YZ2.pyI using the ISO (SLPM668.48).
July 25Jul 25 Localization 2 minutes ago, Jinxmargo said:~ Snip ~Hey,Have you tried to decompress and/or recompress to see if it works or not?I went with SLPM_66447 because I assumed that is what the topic author is using judging by the screenshot. Could I ask you to share a *.pack file from SLPM_66848 or at least some file that has the compression? I will try to get my hands on SLPM_66848 myself and see if there is any difference.UPDATE #1I have managed to get my hands on SLPM_66848 and can confirm that there was only one minor change to Capcom's YZ2 compressor. I have managed to extract msg.pack from LINKDATA.AFS and decompressed/recompressed the file with the slightly modified script. The original file and recompressed file are identical. YZ2.py Edited July 25Jul 25 by Falkrian
July 26Jul 26 Localization 18 hours ago, Falkrian said:Hey,Have you tried to decompress and/or recompress to see if it works or not?I went with SLPM_66447 because I assumed that is what the topic author is using judging by the screenshot. Could I ask you to share a *.pack file from SLPM_66848 or at least some file that has the compression? I will try to get my hands on SLPM_66848 myself and see if there is any difference.UPDATE #1I have managed to get my hands on SLPM_66848 and can confirm that there was only one minor change to Capcom's YZ2 compressor. I have managed to extract msg.pack from LINKDATA.AFS and decompressed/recompressed the file with the slightly modified script. The original file and recompressed file are identical.YZ2.pyWhere you can get the file "msg.fpk" I can't find it Edited July 26Jul 26 by Jinxmargo
July 26Jul 26 Localization You need to extract msg.pack from LINKDATA.AFS and then decompress with the attached python script to get msg.fpk.python .\YZ2.py .\msg.pack .\msg.fpk Edited July 26Jul 26 by Falkrian Grammar
July 26Jul 26 Localization 30 minutes ago, Falkrian said:You need to extract msg.pack from LINKDATA.AFS and then decompress with the attached python script to get msg.fpk.python .\YZ2.py .\msg.pack .\msg.fpkI managed to decompress it. Can you check this file?msg.rar Edited July 26Jul 26 by Jinxmargo
July 26Jul 26 Localization I have checked the files you've uploaded. Our files are pretty much identical. I also extracted the files after figuring out the FPK archive format. ๐I have completed what I set out to do here. The OP wanted to know the compression used and two years later he/she finally received the answer, heh.I have no idea what your goals are but I sincerely hope you will achieve them. Good luck! MSG_FPK_Extracted.7z Edited July 26Jul 26 by Falkrian Attached extracted files
Create an account or sign in to comment