Mhtools
MH tools: string tables, graphics, savedata and quest decrypter
Install / Use
/learn @codestation/MhtoolsREADME
mhtools - MH utilities. By codestation
encoder/decoder number meaning to use in binary files:
(Newer data.bin) 1 -> 0017, 2813-2818 3 -> 4202-4204 4 -> 3973-3987 7 -> mib files between 2819-3972
(Older data.bin) 1 -> 0016, 4757-4759 2 -> 5311-5323 3 -> 5370-5373
7 -> mib quests
To unpack and decrypt all the files from a container, e.g.: java -jar mhtools.jar --dec-all /home/user/data.bin output_dir
To extract all the string tables from a binary file, e.g.: java -jar mhtools.jar --extract 0017.bin 1
To rebuild a new binary file using the string tables, e.g.: java -jar mhtools.jar --rebuild /home/user/0017 1
To encrypt a binary file, e.g.: java -jar mhtools.jar --encrypt 0017.bin
To rebuild and encrypt, e.g.: java -jar mhtools.jar --reb-enc /home/user/0017 1
To decrypt a binary file, e.g.: java -jar mhtools.jar --decrypt 0017.bin.enc
To decrypt and extract, e.g.: java -jar mhtools.jar --dec-ext 0017.bin.enc 1
To only generate a index.bin (necessary to decrypt/encrypt), e.g.: java -jar mhtools.jar --gen-index /home/user/data.bin
To create a patchfile, e.g.: java -jar mhtools.jar --create-patch 0017.bin.enc 2813.bin.enc 2814.bin.enc MHP3RD_DATA.BIN (Note, it can use an optional data_install.txt to create tables that can be used in patchers who can patch the data install)
To extract images from a TMH container java -jar mhtools.jar --extract container.tmh 5
To pack images into a TMH container java -jar mhtools.jar --rebuild /home/user/unpacked_countainer_dir 5
To unpack a .pak file java -jar mhtools.jar --extract file.pak 6
The KIRK related functions requires the Bouncy Castle Crypto API that can be downloaded from http://www.bouncycastle.org/download/bcprov-jdk16-146.jar
The PSP Crypto engine and AES wrapper comes from the Jpcsp project.
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
