Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Software:Ridge Racer

From ReverseEngineering.wiki
Software
Developer Namco
Publisher Namco
Uses Library:Psy-Q SDK
Platforms Platform:PlayStation
Versions JP SLPS-00001 (target of the decompilation)
Website https://github.com/kazuyette/rr-decomp
On this wiki Facts · Code · Notes · Topics

Namco's 1994 PlayStation launch racing game. kazuyette/rr-decomp is a matching decompilation of the Japanese PSX.EXE (SLPS-00001) in which all 408 game functions are C compiled with GCC 2.5.7 and the executable matches the original byte for byte.

Overview

The repository kazuyette/rr-decomp (MIT) is a matching decompilation of Ridge Racer for the PlayStation, Japanese release, volume RIDGERACER, executable PSX.EXE (SLPS-00001). Its README reports game code: 408/408 functions in C, 186536/186536 bytes (100.00 %) and a build check build/PSX.EXE 31ec5d3616a0fdb456da27a984fc5b92259ff1f6 OK - matches the original.

Builds

What is C and what is not

Per the README: the 408 game functions (0x800121F4 to 0x8003FA9C, Namco's code) are one C file each in src/fn/, compiled by GCC 2.5.7 (-O2 -G0 -mips1 -msoft-float) through maspsx in ASPSX 2.21 mode. The Library:Psy-Q SDK libraries (from 0x8003FA9C) stay assembly, and data stays splat output. The README has a history note: an earlier count of 949/949 came from transcribing assembly into __asm__ blocks and was replaced by the honest function count above, so figures quoted from older copies of the project are not comparable.

Using the project

symbol_addrs.txt (328 lines) starts with __main = 0x8003FA94; // type:func, __SN_ENTRY_POINT = 0x8003FA9C; rr.yaml and undefined_syms.txt complete the splat setup (Tool:Splat, Technique:Matching decompilation).

Code & repositories

See the repository link on this page.

  • https://github.com/kazuyette/rr-decomp @ 3b42b36e222b2d9aa968666706e940bf49ee76f8 · license: MIT (declared by the contributor for the files used; GitHub reports MIT (read from LICENSE; GitHub's detector did not classify it) for the repository)
    Matching decompilation of Ridge Racer (JP PSX.EXE, SLPS-00001): 408 game functions in C, splat config, symbol_addrs.txt; no game data in the repository.
    Tested on: source read, not run: Read at commit 3b42b36e22: README, rr.yaml, symbol_addrs.txt; not built. · checked 2026-10-18; last activity 2026-10-10