Jump to content

Recommended Posts

  • Supporter
Posted

I wrote a Messiah Texture Converter for some help with textures

Supports various compression types such as lz4, lzma, lzo, zstd, etc.

Supports encrypted and compressed files

Convert dds, astc, pvr and other formats

Currently, most Messiah games can be supported

You need to install various decompression libraries such as pylzma, pyzstd, etc. If the installation fails, you can remove the unnecessary decompression parts by yourself.

messiah_texture.py

Posted (edited)
2 jam yang lalu, AexaDev berkata:

saya bisa mengungkap semua file kecuali Engine gambar.thumb.png.3c7c480c45ef220e2c13dd15e5e0da70.png

 

yeah, my Script also works on Patch.mpk and Resources.mpk but failed to extract Engine.mpk it works for linux version

Screenshot_20250629-084055.jpg

Edited by SmurF
  • Supporter
Posted
1 hour ago, SmurF said:

yeah, my Script also works on Patch.mpk and Resources.mpk but failed to extract Engine.mpk it works for linux version

Screenshot_20250629-084055.jpg

resource.mpkinfo and engine.mpkinfo structures are the same

If it cannot be processed, is there any logic for the script to be processed?

  • Supporter
Posted
2 hours ago, SmurF said:

yeah, my Script also works on Patch.mpk and Resources.mpk but failed to extract Engine.mpk it works for linux version

Screenshot_20250629-084055.jpg

I've updated a universal version for this game
It can handle resource.mpkinfo, engine.mpkinfo, patch.mpkinfo three formats
For the files extracted by resource.mpkinfo, you can expand the script, use the in-game json file list, and restore the original file name through md5, but I have never downloaded the game, and I am not sure about the format and name of the file list, so this place is empty, and you can add the extension yourself if you need it.
This step is not required for the file extracted by patch.mpkinfo
@SmurF If you can't install the pylzma in my script, you can try the following command to install it
CFLAGS=-Wno-int-conversion pip install pylzma
If it is Windows version, you may need to install the Visual Studio compiler
For more errors and solutions to install this module, please refer to the github interface.
https://github.com/fancycode/pylzma/issues

mpk3.py

Posted
4 hours ago, wq223 said:

Bahasa Indonesia: Saya telah memperbarui versi universal untuk game ini.
Versi ini dapat menangani tiga format resource.mpkinfo, engine.mpkinfo, patch.mpkinfo
Untuk file yang diekstrak oleh resource.mpkinfo, Anda dapat memperluas skrip, menggunakan daftar file json dalam game, dan memulihkan nama file asli melalui md5, tetapi saya belum pernah mengunduh game tersebut, dan saya tidak yakin tentang format dan nama daftar file, jadi tempat ini kosong, dan Anda dapat menambahkan ekstensi sendiri jika Anda membutuhkannya.
Langkah ini tidak diperlukan untuk file yang diekstrak oleh patch.mpkinfo
@SmurF Jika Anda tidak dapat menginstal pylzma dalam skrip saya, Anda dapat mencoba perintah berikut untuk menginstalnya
CFLAGS=-Wno-int-conversion pip install pylzma
Jika ini adalah versi Windows, Anda mungkin perlu menginstal kompiler Visual Studio
Untuk kesalahan dan solusi lebih lanjut untuk menginstal modul ini, silakan lihat antarmuka github.
https://github.com/fancycode/pylzma/issues

mpk3.py 10,32 kB Bahasa Indonesia: 0 unduhan

Thank you, you are right I can't use pylzma on termux repository, I will try your suggestion to reinstall it.

  • Supporter
Posted
32 minutes ago, SmurF said:

Thank you, you are right I can't use pylzma on termux repository, I will try your suggestion to reinstall it.

I downloaded a termux, this command works, I have installed all the decompression libraries and tools that can be used for parsing the Messiah, and my script has been tested and is also available in termux

The following is a list of related modules I installed

pylzma (0.5.0) is used to decompress LZMA header compression

lz4 (4.4.4) is used to decompress ZZZ4 or ZZZX header compression

pyzstd(0.17.0) is used to decompress ZSTD or EZST header compression

python-lzo(1.15) is used to decompress ZZZZ header compression

pycryptodome(3.22.0) is used to decrypt partial compression

uncompyle6 (3.9.2) is used for python2 decompilation, pycdc can be used in python3

numpy(2.3.0) is used for grid file conversion

If you can successfully install these modules, you can run these scripts perfectly on your device

IMG_20250629_152511.jpg

  • 3 weeks later...
  • 4 weeks later...
  • 2 weeks later...
Posted
On 8/13/2025 at 11:43 AM, Smoox said:

image.png.6e3c92b261bd6f1d9d4fa279f2c31caf.png

I've tried using your script with Where winds meet Playtest, and with no success. You can see my pip list above.

Here is a link to download the mpkinfo from CBT.

https://mega.nz/file/O1RzBCqT#0QGU-wRthe_JbygneVMCRReQePsGeKdcLkKZd7O-nN8

This is the overview of the game files.

I'm trying to learn, but it is very hard. Help please

image.thumb.png.2d6b61ae2a17d274054470b5fdd13678.png

It is necessary, because this script is not for your game, your game is Where winds meet, they use two encryption compression methods, and the index structure is also different from before.
The hot update file of this game may store the index into the db file
I have scripts to unzip Where winds meet, but it is not convenient to upload, because this is a tool that supports many games, but it is not perfect yet
But you can try it with Where winds meet related bms script (I forgot to download it there)

where_winds_meet_mpk_v3.zip

Posted
12 hours ago, Seeker said:

Bro how did you do please can you send a video 

You can check out the previous reply

The previous scripts are only for specific games discussed previously

The index structure of early games was the same, which means that a script can be used for multiple games.

However, with the launch of game updates and new games, the indexes of most games have become different, and some even have added Xeno or other messy structures.

Where winds meet is a good example

Posted
On 8/24/2025 at 4:01 AM, ky123 said:

It is necessary, because this script is not for your game, your game is Where winds meet, they use two encryption compression methods, and the index structure is also different from before.
The hot update file of this game may store the index into the db file
I have scripts to unzip Where winds meet, but it is not convenient to upload, because this is a tool that supports many games, but it is not perfect yet
But you can try it with Where winds meet related bms script (I forgot to download it there)

where_winds_meet_mpk_v3.zip 3.29 kB · 5 downloads

can help write a script to extract and re-import the translate_words_map zh cn and translate_words_map_zh_cn_diff files in the game where winds meet chinese version.
Although this game is about to launch an international version, it still does not support my country's language. I want to extract it to make a translation to my mother tongue. thank you very much

translate_words_map_zh_cn.zip

Posted
4 hours ago, unokiller said:

can help write a script to extract and re-import the translate_words_map zh cn and translate_words_map_zh_cn_diff files in the game where winds meet chinese version.
Although this game is about to launch an international version, it still does not support my country's language. I want to extract it to make a translation to my mother tongue. thank you very much

translate_words_map_zh_cn.zip 32.68 MB · 7 downloads

I've published scripts about this file in discord before, but I always think that there is no full text in it.

This is a chunked file compressed by zstd. The first bytes are metadata and index, and the subsequent content is the compressed data. A file may contain one to several thousand compressed blocks. The script I provide supports you to decompress the chunked data, and also supports you to recombining the decompressed data back.

If you want to get the unzipped chunked file, a folder may get thousands of files, please use this command

python where_winds_meet_data.py Input folder Output folder

If you only want to see one file, you can use this command to obtain the merged decompressed data, but it is a bit troublesome because you need to delete other data blocks after the merge

python where_winds_meet_data.py a Input folder Output folder

where_winds_meet_data.py

Posted (edited)
3 hours ago, ky123 said:

I've published scripts about this file in discord before, but I always think that there is no full text in it.

This is a chunked file compressed by zstd. The first bytes are metadata and index, and the subsequent content is the compressed data. A file may contain one to several thousand compressed blocks. The script I provide supports you to decompress the chunked data, and also supports you to recombining the decompressed data back.

If you want to get the unzipped chunked file, a folder may get thousands of files, please use this command

python where_winds_meet_data.py Input folder Output folder

If you only want to see one file, you can use this command to obtain the merged decompressed data, but it is a bit troublesome because you need to delete other data blocks after the merge

python where_winds_meet_data.py a Input folder Output folder

where_winds_meet_data.py 7.12 kB · 2 downloads

i will try. but the .dat files still seem to be encrypted and the contents cannot be viewed

Edited by unokiller
Posted
1 hour ago, unokiller said:

i will try. but the .dat files still seem to be encrypted and the contents cannot be viewed

The unzipped file seems to be text with some special structure. My guess is that the front is an index and the back is text. Although it is very messy, the text part is already in plain text state.

IMG_20250830_052040.jpg

IMG_20250830_052023.jpg

Posted
20 hours ago, ky123 said:

The unzipped file seems to be text with some special structure. My guess is that the front is an index and the back is text. Although it is very messy, the text part is already in plain text state.

IMG_20250830_052040.jpg

IMG_20250830_052023.jpg

Is there any method or tool to be able to do a translation from these files?

Posted
6 hours ago, unokiller said:

Is there any method or tool to be able to do a translation from these files?

The best way is to wait for the international server to be launched, because the current state may not be successfully applied to the game even if you translate it, because they may contain detection, or these texts are not the main text.

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