{"id":41020218,"url":"https://github.com/codestation/mhtools","last_synced_at":"2026-01-22T09:32:42.955Z","repository":{"id":1230024,"uuid":"1161511","full_name":"codestation/mhtools","owner":"codestation","description":"MH tools: string tables, graphics, savedata and quest decrypter","archived":false,"fork":false,"pushed_at":"2016-12-04T01:25:34.000Z","size":144,"stargazers_count":36,"open_issues_count":3,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-03-11T10:46:49.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codestation.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-12T17:07:14.000Z","updated_at":"2023-03-11T10:46:49.680Z","dependencies_parsed_at":"2022-07-21T00:14:43.491Z","dependency_job_id":null,"html_url":"https://github.com/codestation/mhtools","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/codestation/mhtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codestation%2Fmhtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codestation%2Fmhtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codestation%2Fmhtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codestation%2Fmhtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codestation","download_url":"https://codeload.github.com/codestation/mhtools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codestation%2Fmhtools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28660770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T09:32:42.824Z","updated_at":"2026-01-22T09:32:42.935Z","avatar_url":"https://github.com/codestation.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"mhtools - MH utilities. By codestation\n\nencoder/decoder number meaning to use in binary files:\n\n(Newer data.bin)\n1 -\u003e 0017, 2813-2818\n3 -\u003e 4202-4204\n4 -\u003e 3973-3987\n7 -\u003e mib files between 2819-3972\n\n(Older data.bin)\n1 -\u003e 0016, 4757-4759\n2 -\u003e 5311-5323\n3 -\u003e 5370-5373\n\n7 -\u003e mib quests\n\nTo unpack and decrypt all the files from a container, e.g.:\njava -jar mhtools.jar --dec-all /home/user/data.bin output_dir\n\nTo extract all the string tables from a binary file, e.g.:\njava -jar mhtools.jar --extract 0017.bin 1\n\nTo rebuild a new binary file using the string tables, e.g.:\njava -jar mhtools.jar --rebuild /home/user/0017 1\n\nTo encrypt a binary file, e.g.:\njava -jar mhtools.jar --encrypt 0017.bin\n\nTo rebuild and encrypt, e.g.:\njava -jar mhtools.jar --reb-enc /home/user/0017 1\n\nTo decrypt a binary file, e.g.:\njava -jar mhtools.jar --decrypt 0017.bin.enc\n\nTo decrypt and extract, e.g.:\njava -jar mhtools.jar --dec-ext 0017.bin.enc 1\n\nTo only generate a index.bin (necessary to decrypt/encrypt), e.g.:\njava -jar mhtools.jar --gen-index /home/user/data.bin\n\nTo create a patchfile, e.g.:\njava -jar mhtools.jar --create-patch 0017.bin.enc 2813.bin.enc 2814.bin.enc MHP3RD_DATA.BIN\n(Note, it can use an optional data_install.txt to create tables that can be used in\npatchers who can patch the data install)\n\nTo extract images from a TMH container\njava -jar mhtools.jar --extract container.tmh 5\n\nTo pack images into a TMH container\njava -jar mhtools.jar --rebuild /home/user/unpacked_countainer_dir 5\n\nTo unpack a .pak file\njava -jar mhtools.jar --extract file.pak 6\n\nThe KIRK related functions requires the Bouncy Castle Crypto API\nthat can be downloaded from http://www.bouncycastle.org/download/bcprov-jdk16-146.jar\n\nThe PSP Crypto engine and AES wrapper comes from the Jpcsp project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestation%2Fmhtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodestation%2Fmhtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestation%2Fmhtools/lists"}