Jump to content

Messiah game zzz4 compression


Go to solution Solved by DKDave,

Recommended Posts

Posted (edited)

Game link: https://hlr.163.com/

It now got some image files which are extractable but corrupted with Spiritovod's messiah texture extractor bms script

I can provide the tool and more samples if needed, as this variant is still rare in the game files

sample.zip

Edited by Jenny1367
Posted
8 hours ago, Jenny1367 said:

Game link: https://hlr.163.com/

It now got some image files which are extractable but corrupted with Spiritovod's messiah texture extractor bms script

I can provide the tool and more samples if needed, as this variant is still rare in the game files

sample.zip 92.33 kB · 3 downloads

The ZZZ4 segments are LZ4 compressed.  The final image in your sample should look like this, but I'm not sure if it's 100% correct as it looks a bit strange.  It should be easy enough to do a Noesis script to extract them, assuming all files use the same format.

 

image.png.e6e747a6a746149dda92a9d0dae7e4ee.png

 

 

 

Posted
6 hours ago, DKDave said:

The ZZZ4 segments are LZ4 compressed.  The final image in your sample should look like this, but I'm not sure if it's 100% correct as it looks a bit strange.  It should be easy enough to do a Noesis script to extract them, assuming all files use the same format.

 

image.png.e6e747a6a746149dda92a9d0dae7e4ee.png

 

 

 

The format should be the same, here are some other samples for testing:

These are kinda extractable with the original script but the dimensions are messed up sample.zip

Posted
15 minutes ago, DKDave said:

Based on the dimensions in the archive, these are the 2 largest from those extra samples.  I guess these are right.

 

Test2.png

Test3.png

ah ok, is it possibleto ask how to change the script to make the first sample (the weird one) work?

Posted (edited)
1小时前,Jenny1367 说:

  

热!

另外,Spiritovod 的脚本也已更新,现在也可以适用于较新的格式 ><

请允许我稍微离题一下,我修改了之前用于其他 messiah 游戏的存储库重命名脚本,以适应您提到的游戏:Painted Travelers in Time and Space,通过存储库,我能够恢复 90% 文件的原始名称和后缀,并将它们导入正确的文件夹
剩下的几个文件是脚本文件,这类文件的原始名称信息不包含在存储库中
我尝试将 lz4 的解压缩逻辑添加到脚本中,以便它可以直接处理未压缩的存储库文件,但是失败了,所以我删除了解压缩逻辑,当您运行脚本时,他要求您输入存储库文件,您应该输入已解压的存储库文件
您可以使用早期的 BMS 脚本进行解压,我试过了,他做到了
然后您可以使用我的脚本将哈希文件名重命名为实际文件名

resource.py

Edited by wq223
  • Thanks 1
Posted (edited)
43 minutes ago, wq223 said:

Allow me to digress a bit, I modified the repository renaming script that I used earlier for other messiah games to accommodate the game you mentioned: Painted Travelers in Time and Space, and through the repository I was able to recover the original names and suffixes of 90% of the files and import them into the correct folder
The few remaining files are script files, and the original name information of such files is not included in the repository
I tried to add lz4's decompression logic to the script so that it could directly handle the undecompressed repository files, but it failed, so I removed the decompression logic, when you run the script he asks you to enter the repository file, you should enter the repository file that has been unzipped
You can use an earlier BMS script to unzip, I tried it and he did
You can then use my script to rename the hash file name to the actual file name

资源文件

Thank you very much! This saves a lot of manual searching

Edited by Jenny1367
Script download fixed itself
Posted

hmm just wondering, has there been any threads (maybe on xentax/zenhax) about those not identified files and csb? as examples below samples.zip Never had a clue what encryption these even are

Anyways thank you so much for your help!

Posted (edited)
2025年1月19日下午1点13分,Jenny1367 说:

嗯,我只是想知道,有没有关于那些未识别文件和 csb 的帖子(可能在 xentax/zenhax 上)?例如以下  根本不知道这些是什么加密

不管怎样非常感谢您的帮助!

文件夹内的.csb文件应该是Cocos2D使用的UI文件格式

还应该有一个额外的.plist文件和.json文件,用于拆解纹理中的精灵

另外文件夹中的E206是脚本文件,你可以使用我写的这个脚本来提取它们

并使用另一个重命名脚本将它们恢复为原始文件名

写得有点糟糕

 

Edited by wq223
  • Thanks 1
Posted (edited)
16 minutes ago, wq223 said:

The .csb file inside the folder should be the UI file format used by Cocos2D

There should also be an additional .plist file and .json file, which should be used to disassemble the sprite in the texture

In addition, the E206 in the folder is a script file, and you can use this script I wrote to extract them

and use another rename script to restore them back to their original file names

It's a bit badly written

decrypt.py 2.31 kB · 0 downloads rename.py 5.5 kB · 0 downloads

Thank you for clarifying, these are really helpful!

Edited by Jenny1367
Missed up my files, no problem with the script
Posted
9 minutes ago, Jenny1367 said:

感谢您的澄清,这些真的很有帮助!

Yes, the script works directly with the entire folder, you need to define the input and output folders in my script
Here are the two files you provided after processing

decrypt.zip

  • Thanks 1
Posted
2 minutes ago, wq223 said:

Yes, the script works directly with the entire folder, you need to define the input and output folders in my script
Here are the two files you provided after processing

decrypt.zip 2.57 kB · 0 downloads

Yup I found out what I was doing wrong, the script is perfect. Thank you so much for your patience!

  • 3 weeks later...
Posted
On 2025/1/19 at PM1点47分, Jenny1367 said:

是的,我发现我做错了什么,剧本很完美。非常感谢您的耐心!

I have conducted a counter -compilation test on the script of the traveler (I use the anti -compilation script from the dark destruction of the Diablo) to modify the operating code to apply the traveler, including the two decrypted documents we discussed before, and myself The re -downloaded code script file, more than 90 % of files can be successfully compiled. I think this is a favorable start. I will do the final test. After everything, I will update their anti -compilation script

IMG_20250203_150844.jpg

IMG_20250203_150734.jpg

IMG_20250203_150613.jpg

IMG_20250203_150549.jpg

decrypt.zip

Posted
On 2/3/2025 at 8:16 PM, wq223 said:

I have conducted a counter -compilation test on the script of the traveler (I use the anti -compilation script from the dark destruction of the Diablo) to modify the operating code to apply the traveler, including the two decrypted documents we discussed before, and myself The re -downloaded code script file, more than 90 % of files can be successfully compiled. I think this is a favorable start. I will do the final test. After everything, I will update their anti -compilation script

IMG_20250203_150844.jpg

IMG_20250203_150734.jpg

IMG_20250203_150613.jpg

IMG_20250203_150549.jpg

decrypt.zip 1.94 kB · 1 download

Just saw this, thank you so much! This is really helpful!

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