Repository navigation
Release v0.9.6: reviewed PR integration, rendering polish and reliability fixes - #222
Merged
Merged
Conversation
Both set TMC_AUTOPLAY=1 in-process at startup (same pattern as --glslp=), so the existing prelaunch/update-check checks pick it up with no duplicated logic.
"Additional Settings" section on the prelaunch card, above Play, lets users toggle skip_launcher without editing config.json by hand.
Same checkbox as the prelaunch card, placed above Ribbon mode setting, so it's reachable again once skip_launcher has already skipped that screen.
Classic mode has no ribbon footer, so the checkbox added there earlier was unreachable without switching modes. Adds the same toggle to the "Switch to ribbon mode" panel, classic mode's only persistent-settings surface.
Follows the existing local-stub pattern for gSave/gArea/gMain; the test target never links the real engine definitions.
port_repro_roomcap.c, new modes (all opt-in, env-driven):
- TMC_ROOMCAP_TOUR=<plan>: one game session warps through every view in
a plan ("area room x y [layer]" a line, room-local pixels) and captures
each to TMC_ROOMCAP_TOUR_OUT/<line>.png, as the voxel tour
(port_repro_npc_talk.c) walks every room: ~3 s a view instead of ~7 s
for a game started per capture. Each capture is logged with the room,
the camera (scroll - origin, room pixels) and where Link stood. A view
is taken only in the room, in GAMEMAIN_UPDATE, with the camera on Link,
Link in control and no message up, after TMC_ROOMCAP_SETTLE frames (160
outlasts the area-name box); a scene on arrival (a warp onto a fairy
fountain's Piece of Heart) is waited out with A. A view that never
arrives is skipped; a scene that never ends exits (3) naming the view,
and TMC_ROOMCAP_TOUR_START resumes after it. TMC_ROOMCAP_TOUR_DEBUG=1
logs each second's wait and the ROM address of every NPC's script, to
name a scene that holds the camera.
- TMC_ROOMCAP_CLEAN: the room alone -- the game's own HUD hide flags
(HUD_HIDE_ALL), Link not drawn, dialogue advanced with A.
- TMC_ROOMCAP_PROGRESS=<n> (tour): the new game starts past the prologue
with n dungeons cleared: TABIDACHI and LV1..n_CLEAR, and what the game
hands out by then -- each dungeon's element, since an area change takes
a clear back without it (gameUtils.c), which dropped Hyrule Town back to
the prologue's, whose intro scene (script_Npc4EIntroTown) then held the
camera; and the kinstone bag, without which the town plays Ezlo's
kinstone scene.
- The single capture logs its camera too ("[roomcap] view ...").
build.py: GIT_TERMINAL_PROMPT=0 for the per-submodule fetch, so a
private submodule fails instead of stopping the build at a
"Username for github.com" prompt.
The 3D room view guesses each tile's shape from collision alone and takes per-area fixes from voxel_shapes.json, edited by hand from F8 a tile at a time. assets/voxel_shapes.json fixes 475 tile types in 57 areas up front: - prop: bushes, saplings, rocks, pots, stumps, mushrooms, stones, boulders, planters, fences and signposts -- standing cards, where a run of them would otherwise stand up as a block; - block: partly solid tiles the collision test leaves flat -- tree-canopy edges, cliff corners, stone walls, building corners and roofs. Only where the view's own guess differs, and only tile types whose cells agree (80%). Water and holes are left to the view. No wall heights. build.py stages it into dist/ next to the binary, merged under an existing voxel_shapes.json: the player's own entries win, tile by tile. Generated from room dumps by tools/voxel_shapes.py in HelaFaye/tmc (vr branch), from its tile identification; the file holds tile type numbers and shape names only.
Room geometry standing between the camera and an actor (Link, or any ENEMY in the entity lists) thins to a 20% dither around the sight line, so the actor stays in sight: a house front, a cliff, a roof. With more camera angles it is also the back of a wall seen from outside. A pixel thins when it lies within 20 px (feathered over 14) of the line from the camera to the actor, aimed 12 px above its feet, in front of the actor, and above the ground it stands on -- the floor under Link never thins. The dither is a 4x4 Bayer screen door: each pixel is drawn or dropped, so what is drawn stays opaque and writes depth -- no sorting. Only room geometry (kind 0) thins; sprites, the backdrop and the HUD never do. - voxel.vert passes the world position; voxel.frag fadeKeep(), with the camera and up to 16 actors in a fragment uniform (set 3) pushed each frame from Port_Voxel_Present. SPIR-V rebuilt (voxel only). - F8 > Display > 3D walls out of the way (voxel_wall_fade, on by default). Built with --gpu_renderer=y. Not yet seen running: the machine it was written on has no Vulkan display.
A solid tile with no solid tile beside it already stands as a prop card: 5 such prop entries drop out, and 17 lone solid tiles that belong to a wall or tree get block, so the view does not stand them as cards. 510 tile types in 59 areas.
…finishes The asset tasks exec'd tools/bin/asset_processor without .exe and by a relative path xmake doesn't resolve on Windows; use an absolute path with the .exe suffix. build.py no longer raises UnicodeEncodeError when stdout is redirected (cp1252). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sset cache Fingerprint the asset tasks' inputs (ROM SHA1, assets/*.json, asset tool sources) so code-only full builds skip extract/convert/build; force re-extraction when inputs change; keep assets/<region>/ caches when staging dist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MapShownPct compared gRoomControls.scroll against the latched BG registers, which can be a tile apart for a frame while scrolling. Score the camera tile and its 8 neighbours and keep the best. Adds opt-in TMC_VOXEL_DEBUG logging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While the 3D view is drawing, entities up to 256 px past the GBA screen's top and sides get sprites; pieces OAM can't encode are parked off the 2D screen with their true position in the voxel tag. CheckOnScreen (used by gameplay) is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Text mode turned 0x0A into 0x0D 0x0A on Windows, growing a 64-byte dungeon map to 67 bytes and shifting 462 offsets in map_offsets.h by +4 in full builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… gbagfx/aif2pcm Run per-asset work on all cores (TMC_ASSET_JOBS), launch converters with CreateProcess/posix_spawnp instead of system(), and link gbagfx and aif2pcm in-process. Output is byte-identical; a full asset pass drops from ~23 min to ~17 s on Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use lexically_relative for the build-state manifest, skip the manifest in runtime-only mode, and delete the discarded editable tree in the background. Adds per-phase timing and TMC_EXTRACT_TIMING. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… extraction Nine paths are indexed twice with different sizes, so loose extraction raced. Keep the largest, matching PakBuilder::Write, so loose output is deterministic and packed output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # build.py
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.
Prepare Project Picori v0.9.6 by integrating all 11 reviewed PRs (#206, #207, #210, #212–#219) and correcting the review findings before release.
Quicksave failures preserve the previous disk snapshot and keep Save & Quit open. Graphics replacements and randomizer sidecars are bounded before writes. Extraction protects symlink targets, invalidates obsolete caches and supports embedded converters in CMake. The experimental 3D view keeps offscreen entities, shadows and upper-layer fading aligned; capture tours reject malformed inputs and incomplete captures.
Adds optional original-lettering HD dialogue, native widescreen menu decoration and named scene checks. Public shape and randomizer defaults ship in desktop archives and Android assets. Version is 0.9.6.
Validation: full
python3 build.py --usa; incremental game build; debug-actions and randomizer executables; save fault injection, graphics/sidecar ASan/UBSan, extraction/cache, voxel, tour (30 cases), HD text, menu and desktop/Android payload regression checks; committed two-scene PPU parity. All 18 software scene captures (original/widescreen/HD) and six Vulkan HD presentation captures repeated with matching hashes using separate local 384-width baselines. A real one-view tour completed. No EU/JP ROM parity, regional playthrough or Android device QA performed.Full platform CI passed: https://github.com/999sian/tmc/actions/runs/39346364188. All six desktop targets, the dual-ABI Android APK and the final Linux ROM smoke job completed successfully. Release publication follows archive verification and merge.
Merge with a merge commit to retain the original PR ancestry. Release tag follows successful verification and CI.