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

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