R4: Ridge Racer Type 4 Remixed
Ridge Racer Type 4 Remixed is a native PC port of Ridge Racer Type 4 that adds a custom menu, local multiplayer, and a rewind feature.
- Type: PC port
- Game: R4: Ridge Racer Type 4
- Runs on Windows and macOS
- By RidgeRacerForever
- Latest release v0.2.4, 2026-11-19
- Source: https://github.com/RidgeRacerForever/RidgeRacerType4Modernized
README
Ridge Racer Type 4 Remixed
R4: Ridge Racer Type 4 (USA, SLUS-00797), statically recompiled to a native runtime using psxrecomp and our custom menu. Release qualification is in progress.
Current status
Version 0.2.4 is released for Windows x64 and macOS Apple silicon. See release notes and qualification status.
The custom R4 menu replaces the main menu and supported offline race pause. Start, Select/Back or Esc opens it during a race. It includes display settings, Modern/Classic controls, keyboard/gamepad bindings, input devices, deadzones, mods and volume. Live settings apply immediately; restart-only changes are saved and labelled. PGXP stays enabled.
Local multiplayer supports two to four players on one screen: horizontal split for two, quadrants for three or four. Online play keeps a full-screen view per player. The optional Modern race HUD and HD HUD textures are separate Graphics options. See local multiplayer.
With Modern controls, hold Y/Triangle/F8 to rewind at gameplay resolution; release to resume. The right stick looks around and R1 changes view. The camera feedback and moving-car shaking are fixed. Native Mac DualSense and PC Steam Controller playtests passed; the owner accepted the camera and performance.
Fresh packages enable 3× rendering, 60-FPS races and rewind. Resolution can be lowered through the menu for slower hardware. Mac and PC finite race checks averaged about 60 VBlanks/s; this is not an every-course performance promise. Linux GPU and Steam Deck performance are not yet qualified. Audio listening acceptance remains pending after muted automated tests.
All native overlay variants are linked into the executable. No runtime compiler, Python installation or overlay preparation is needed to play. Supply your own USA disc image. Preserve your saves and settings when updating.
Build on the Mac
Install Xcode command-line tools and Homebrew cmake, ninja, and Python
3.11 or newer. Supply your own USA BIN/CUE disc; verify it against DISC.md.
No game data or retail BIOS is required to compile the committed native C.
The bundled OpenBIOS is open source.
git clone --branch master https://github.com/tetrisgm/RidgeRacerType4Modernized.git ridgeracertype4
cd ridgeracertype4
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DR4_BUILD_TESTS=ON -DR4_PGXP=ON -DPSX_DEBUG_TOOLS=ON \
-DPSX_EXECUTION_PROFILE=ENHANCED -DPSX_RUNTIME_IPO=OFF
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure
Tests that inspect disc sites require the USA disc in disc/; CMake warns
when it is absent. Select your disc in build/r4-runtime, or place the
BIN/CUE at disc/R4 - Ridge Racer Type 4 (USA).{bin,cue} and use the helper.
The nine distinct code-overlay images are compiled into the executable from
committed generated C; no runtime compiler or cache preparation is needed.
See native overlay evidence.
Automated verification uses an isolated runtime/profile and never copies player settings or saves back:
python3 tools/verify_native_overlays.py analysis/native-check-unique-name
An ordinary clone/build needs no regeneration. Only after seed, annotation,
recompiler configuration or engine pin changes, run tools/regen.sh and
commit its generated output with the change. Never edit generated/ by hand.
Release packages
Build and packaging instructions: Mac, Windows, Linux. Development and cross-builds run on the Mac. Packages are checksummed and contain no disc image, retail BIOS or player data. Mac apps use Developer ID signing and notarization; Windows portable executables are unsigned.
On Windows/Linux, extract the complete folder into a writable location and
run r4-runtime. To use Steam Input, add the executable as a non-Steam game
with the Gamepad layout. On Mac, run the native R4 app directly; a normal
Bluetooth or USB controller does not require Steam.
References
- Workflow, pin history, upstream PRs.
- Consolidation decisions and recovery.
- Historical fork README records the old feature set; it is not a current feature claim.
- Widescreen, disc identity, performance investigation.
License
PolyForm Noncommercial 1.0.0 for this repository's own code — see LICENSE.
PERMISSIONS.md grants standing permission for voluntary
donations, sponsorships and advertising revenue; payment must not buy access to
the software, games built with it, or their updates, features or content,
including early access. The psxrecomp and recomp-ui (recomp-launcher)
submodules and other third-party components carry their own licenses; release
zips carry their notices in licenses/ and assets/. R4: Ridge Racer Type 4 is
© Namco (Bandai Namco Entertainment). Neither this repository nor its release
zips contain the disc image or the game's data (models, textures, audio,
movies, the R4.BIN overlays). Two things in them do come from the game:
generated/is the boot EXE's code translated to C by psxrecomp, and the compiled game is built from it. psxrecomp keeps each original MIPS instruction word beside its translation (in a comment and as an argument to the PGXP hooks), so the EXE's code section can be read back out ofgenerated/; its data section is not there.- The launcher's box art (
recomp/launcher/boxart.*, shipped asassets/img/boxart.tga) is the game's cover; seeTHIRD-PARTY-LICENSES/README.md.
The bundled HD HUD pack is Kuid0us's artwork of the HUD (see
docs/HD_HUD.md).
The compiled game needs your own disc to run.
Rewind
Hold-to-rewind uses full-resolution rendering and resumes from the selected moment. Classic controls use Select + Y/Triangle; F8 works on the keyboard. Rewind is unavailable in local or online multiplayer. Historical phase-5 reports describe an older architecture and are not current instructions.