Repository navigation
feat(studio): the map workspace and the stage backend - #30
Merged
Merged
Conversation
3 tasks
The map editor's scene, edit session, document, renderer and panels on the shell, and the stage tools from the research repo's tools/ (edit, collision, textures, live push and catch) on mhp-formats and mhfu.memory: `studio map inject|edit|push|exits|surfaces|budget|textures| verify`, `studio render map`. Fixes on the way: pack winding (the stripper honours the face order, and rotates a strip's first triangle so OBJ quads join), materials through Pmo.material, the GE's vertex scale, palette encoding, exit floors on multi-level stages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The far backdrop was textured, and every renderer samples a plane that wide at the horizon its own way. The synthetic backdrop is untextured; collision and markers get layer-alone images checked on coverage across renderers, exact hashes on the pinned one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es the game Found in the live test. STAGE_SCRATCH lay inside the framework's Lua slab, and the collision push wrote over memory it did not own after a warning. The framework now reserves the scratch on the emulator before any mod allocates (its size is in addresses.toml), and the push writes only zeros or its own last records, within that size. A catch whose slot goes to another file ends at the first foreign write instead of stopping the CPU on every write. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sp00ktober
force-pushed
the
pr-studio-map
branch
from
October 1, 2026 18:01
8e1ff22 to
90f8901
Compare
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.
For sp00ktober/MHFU-ModKit#67, 2 of 3. Stacks on #29.
stage/.map.tomlis written with tomli-w.stage.ops.app.pyis now one module per panel.studio render map: views, a hunter view and contact sheets (supersedes sp00ktober/MHFU-ModKit#46).tools/, built on mhp-formats,mhfu.memoryand ppsspp-debug watchpoints.stage/ops.py.studio map inject|push|edit|exits|surfaces|budget|textures|verify.Pac.table,Stage.table,Collision.table,Hits.heads),Tri.to_bytesand a publicBlock.spans.exit_fault,resident_fileskeeping only LOADED slots, andSTAGE_SCRATCH.Bugs from the issue:
Pmo.material. The copies of the rule are deleted. The old stage rule agreed with it on all 9,109 retail stage groups.TmhImage.encode.Found on the way:
addandclimbops: the editor never emitted them, and they are now rejected with a finding.Found in the live test, and fixed here:
STAGE_SCRATCHlay inside the framework's Lua slab, and the collision push wrote over memory it did not own after only a warning.addresses.toml.Test plan
uv run pytestwith and withoutMHFU_DATA,pre-commit run --all-files, and the CI jobs in a Linux container🤖 Generated with Claude Code