Repository navigation
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Author
|
/code-review (high): two nits fixed in the last commit (make.py now reports a malformed |
…r-pack # Conflicts: # docs/PLAN.md # docs/PROGRESS.md # host/android/main.cpp
- An acknowledge that clears STAT bit 9 outright drops a deferred one, and a write's acknowledge never defers the edge that same write raises. - ps1_shot refuses --press with no buttons after the colon; the pack check refuses FRAMES that end before its Start press. - Say what SDL makes of the orientation hint; drop a redundant reset line.
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.
Closes #92 once the phone run passes (see below).
Ridge Racer (USA)'s game pack: its manifest, its recompiled code (public, the owner's choice on 2026-11-28, as ADR 0018 allows) and the app running it.
What's in it
manifests/ridge-racer-ntsc-u.toml: the dump's 15 files with sizes, SHA-1 and SHA-256 (the hashes only, never any bytes;games_dbchecks them against Redump), and[recomp] entries: 129 functions the game only reaches through pointers, found by profiling which calls the interpreter still ran after boot.packs/ps1/ridge-racer-ntsc-u/module.c: the generated module (382 functions, 6.4 MB, markedlinguist-generatedso diffs fold it). Built by CMake'sanqa_ps1_packintolibanqa_pack_ridge-racer-ntsc-u.so, always at-O2.anqa_ps1_modulemoved from the test programs toruntimes/ps1, so packs and tests build modules the same way.tools/ps1_pack/make.py: remakes the module. It checks the dump beside the CUE against the manifest's sizes and SHA-1s, then runsps1_recompwith the entries.--es game ridge-racer-ntsc-upasses it to the PS1 runtime. The native side refuses any id that isn't a manifest-style name (anqa_run::pack_id_ok), since MainActivity is exported and the id becomes a library path.Tests
ps1_pack_tests: 10 unit tests formake.py(entries, dump checks, the command, a stand-inps1_recomp).ps1_pack_ridge-racer-ntsc-u: the dump run both ways on a PC that has it, same frame at 900 frames. CI has no dump, so it's skipped there; it passes locally.host_runner_test:pack_id_ok.LaunchArgumentsTest(JUnit): the extras to the native arguments.ps1_programs_recompiled: nothing before the EXE is logged as a miss, andrecomp_smc's copied code is (a mutant without the rule fails it).Ridge Racer
On Linux (release build), with the entries: the same frame hash as the interpreter at 3000 frames, and about 96% of the cycles after boot recompiled (85% before). Most of the rest is time slices that end inside a block, which the interpreter finishes; that's #93's speed work.
Not done yet
manifests/db/ps1.tomlgoes tobootsafter that run.Checks
games_db,:launcher:assembleDebug,:launcher:testDebugUnitTest