Repository navigation
feat(mhfu-port): the MHP3rd porter, built from a manifest on mhp-formats - #8
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of sp00ktober/MHFU-ModKit#63. GPL-3.0-or-later.
mhfu-port build|inject ports/<name>.toml: the manifest is the only input.injecthands the bytes tomhfu.injectunder the manifest'spacname.buildisport_monsteras steps: donor, host, record map, rig (rig,retarget), skin and PMO (skin,mesh), motion, PAC.constraintschecks the engine's rules before it writes.fk: the one engine FK, matched to the old copies within 1e-12; the studio (sp00ktober/MHFU-ModKit#67) and Blender (sp00ktober/MHFU-ModKit#70) move onto it.manifest: the whole schema, read with tomllib, written with tomli-w.ports/*.tomlcarry no comments. Derived keys (host_frame,fid,orig,em_id,animated) and dead ones (hops,reweight_undriven) are gone, and so is the Tigrex hitzone table the Zinogre's manifest copied from the game.mhfu-port diff OLD NEW: two builds compared group by group and clip by clip.mhfu:injecttakes the file name a Lua mod expects and names the.orig;Extracted.findreads another game's variable.Against today's builds,
mhfu-port difffinds only fixes:Skeleton, textures, skin weights and the other entries are identical. Also fixed:
skip_bonesreaches the build; retarget mode maps records by the record table instead of by position; a second root at bone 1 hung the partition (275 of 2122 MHP3rd skeletons).Test plan
uv run pytestwith and withoutMHFU_DATA/MHP3RD_DATA; both manifests build to pinned hashes🤖 Generated with Claude Code