NFSU.cc / RE Atlas

Need for Speed Underground (Speed.exe) Reverse Engineering Atlas

Primary binary documentation for 49 subsystems of Need for Speed Underground (2003 PC Speed.exe, 3.18 MB, 13,764 x86 functions statically recompiled to WebAssembly), citing 2858 unique verified binary addresses. Every note ships in both HTML and raw Markdown (.md).

Binary: Speed.exe (md5 b6b9232c55376b3c38c56aac1f8a121d, base 0x400000) Ver resumen en Español llms-full.txt docs/re/ on GitHub

Driving & Physics

Car physics and handling (Speed.exe PC)Marks: V = read in code or bytes this session, I = inferred, U = open. Tools: G = Ghidra (gpar.sh on /root/ghidra_named, decomp and xref),53 addrs · .html / .mdAcceleration chain and the knobs that scale itQuestion from the OWNER: "0-60 in ~2.7 s feels too fast". Sources read this session: docs/re/physics.md,14 addrs · .html / .mdTuning, parts and garage (Speed.exe PC)Marks: V = read in code or bytes this session, I = inferred, U = open. Tool after each claim: G = Ghidra 12.1.465 addrs · .html / .mdFeel patch planBase: feel_candidates, the archived feel notes (not published) (OWNER complaints), camera.md,32 addrs · .html / .mdFeel probe fixRun that exposed the bugs: runs/w_d_a/log.txt, 682 FEEL lines, every one cam 0 pov -1 row 00000000 dist 0.00 h 0.00 fov 0,20 addrs · .html / .md

Camera Systems

Cameras (Speed.exe PC)Marks: V = read in code or bytes this session, I = inferred, U = open. Tool after each claim: G = Ghidra 12.1.4 headless227 addrs · .html / .mdChase camera map (Speed.exe PC)Tool for every line: G = Ghidra export census/ghidra/decomp_.c (read this session), C = capstone tools/recomp/asm.py dis,37 addrs · .html / .mdCamera at speed: distance, height, pitch, FOVWish: "camera low/flat and car small at speed". Tools: capstone on the unpatched pc/Speed.exe (read-only, no build,40 addrs · .html / .mdJump camera: trigger, camera, return, and why it was missingTools: G = Ghidra export census/ghidra/decomp_0x401000_0x4a6800.c, D = bytes of the unpatched exe (python struct, tools/recomp/asm.py),55 addrs · .html / .mdJump cam refusals and the crash camSource: OWNER log nfsu-session-2026-11-01T00-54-07 (WORLD 1010), disasm of pc/Speed.exe, Ghidra export. Nothing was run.45 addrs · .html / .md

Rivals & Race AI

Rivals: the AI racers of Speed.exe (PC)Marks: V = verified (two tools agree: Hopper + Ghidra, or code + bytes of the game files), I = inferred, U = open.182 addrs · .html / .mdRacer AI of Speed.exe: how rivals race each otherTools: Ghidra named decompile (/root/re/named_export, live Ghidra for missing functions), capstone scans of the whole76 addrs · .html / .mdRivals: how often they get stuck, and what GetUnstuck really isQuestion: how often are rivals stuck or sideways, what triggers GetUnstuck (type 0xa, update 0x452070),36 addrs · .html / .mdSlipstream (rebufo): car+0x47c, how much speed, and who gets itQuestion: how many m/s does the draft give on a straight, is it applied to the player, rivals and traffic the same, does the26 addrs · .html / .mdReview 2: the three patchesScope: (a) bec/lalo docs/re/ai_stuck.md float readers + patch, (b) bec/tomas docs/re/ai_traffic.md patch 1 at57 addrs · .html / .mdWhy the car passes walls or falls after a reset: hypotheses rankedScope: the original code (pc/Speed.exe, hopper decomp in census/hopper/decomp.c, build/build/hopper/frame.txt,70 addrs · .html / .md

Traffic Simulation

Traffic: road network, spawn, recycling, models, AI (Speed.exe PC)Marks: V = verified (two tools agree, or code plus file bytes), I = inferred, U = open. Tools: H = Hopper export114 addrs · .html / .mdTraffic limits: how many cars, which models, colours, lights (Speed.exe PC)Read only, nothing was run. Tools: Ghidra live on the named project (G), capstone tools/recomp/asm.py (C),45 addrs · .html / .mdWhy traffic ignores the player, and the smallest fixTools: G = Ghidra live (named project), C = capstone tools/recomp/asm.py. V = code read, I = inferred, U = open. Names: census/names_traffic_w4.tsv. Slot = 0x38-byte row of the neighbour...64 addrs · .html / .mdTraffic: count byte, 0xcc / 0xd4 data, and who honksSources: build/hopper/trafficrow.txt + honk.txt (Hopper, complete), census/hopper/decomp.c, capstone (C). V = read in code, I = inferred, U = open. Nothing ran.38 addrs · .html / .mdTraffic cap plan: every fixed per-car array blocking 30 / 40 / 48 / 64Read-only RE on pc/Speed.exe (base 0x400000). Every address below was read with75 addrs · .html / .mdFree Run traffic placementQuestion: Free Run asked for 18 traffic cars, the race had 9 (1003) and 13 (1010). Where do they go?13 addrs · .html / .md

Tracks, Roads & Props

Track: loading, sections, streaming, collision, route (Speed.exe PC)Marks: V = verified (a second tool agrees: Hopper export H vs Ghidra export G, plus capstone C over pc/Speed.exe, or file118 addrs · .html / .mdRoad section IDsScope: retail pc/Speed.exe, existing road patches, UG2 source graph; no patch, build, game run or git write.59 addrs · .html / .mdProps: smackable street objects (Speed.exe PC)Marks: V = verified (two tools agree, or code + file bytes), I = inferred, U = open. Tools: H = Hopper export,41 addrs · .html / .md

Rendering & Shaders

Render: D3D9 layer, effects, queue, views, EAGL and the static D3DX (Speed.exe PC)Marks: V = read in code and a second tool agrees (Hopper H, Ghidra G, capstone C), I = inferred, U = open. Names: census/names_render.tsv156 addrs · .html / .mdPC renderer of Speed.exe: what the Remaster needsMarks: V = read in code or bytes this session (tool named), I = inferred, U = open.120 addrs · .html / .mdSpeed blur (Speed.exe PC)Marks: V = read in code or bytes this session, I = inferred, U = open. Tool after each claim: G = Ghidra 12.1.4 headless103 addrs · .html / .mdHitches in `runs/w_L1/log.txt`: what `spike:` and `SMOOTHJOB` areLog: runs/w_L1/log.txt (37,033 lines). Nothing was built or run; every number below comes from reading that log28 addrs · .html / .mdNight lighting in Speed.exeSources: Ghidra headless (tools/ghidra/gpar.sh on build/ghidra/proj), Hopper batches build/hopper/{hlproj,carlight,worldflare}.txt,78 addrs · .html / .mdCar light flare size (PC Speed.exe vs PS2 SLUS_208.11)Marks: V = read in disassembly/decompile this session, I = inferred, U = open. PC: Ghidra headless (build/ghidra/proj). PS2: ref/tools/rea/out/corpus/c and ref/docs/re/flares.md.31 addrs · .html / .mdThe in-race minimap: how Speed.exe draws it, and why it is blurry and pale in our portAnswer first. The minimap is not geometry and not a render target. It is a baked 256x256 texture (TRACKn_MAP) drawn38 addrs · .html / .md

Audio & Soundtrack

Sound (Speed.exe PC)Marks: V = read in code or bytes this session, I = inferred, U = open. Tools: G = Ghidra 12.1.4 (REA MCP / headless128 addrs · .html / .mdDefault music volume in Speed.exeAnswer: the nine Options > Audio sliders are nine floats in the per-player options block. A constructor,57 addrs · .html / .md

Menus, Garage & Career Flow

GameFlow and FEng: boot, front end, track load, race, unload (Speed.exe PC)Marks: V = a second tool agrees (H = Hopper export, G = Ghidra export, C = capstone over pc/Speed.exe), I = inferred or one tool,441 addrs · .html / .mdMain menu flowV = capstone + Hopper agree, I = one tool, U = unknown. FEng objects are hashes (FEng::HashName 0x4fd230, upper-cased); text is a string-table hash.51 addrs · .html / .mdGarage UI flow, end to end (Speed.exe PC)Source: night-opus-a2 with a sonnet-exec worker (2026-10-29). Data reader for the career chunk: tools/census/career.py.197 addrs · .html / .mdRace setup: NFSU1 data to running carsStatic read of pc/Speed.exe (base 0x400000, MD5 b6b9232c55376b3c38c56aac1f8a121d); no race placed or run.69 addrs · .html / .mdHUD and input (Speed.exe PC): FEng HUD widgets, minimap, DirectInput8 action maps, EZ Wheel wrapperMarks: V = a second tool agrees (Ghidra export G and Hopper export H show the same callee set, at least 80 %, and/or capstone C over235 addrs · .html / .mdUnlock state and checks in Speed.exeTools: G Ghidra, C capstone, GC ref/_ext/gc/Speed.elf (NFSU1 GameCube, symbols). Everything below V unless marked I.50 addrs · .html / .mdNative Original / Remaster menu buttonOWNER 2026-11-14: add a seventh main-menu button in both modes. This is the sole permitted addition to Original's shipped menu. No shipped action is relabelled.19 addrs · .html / .md

Assets, Runtime & Shipping

Assets: containers, chunk loaders, resource files, compressionMarks: V = verified (two tools agree or bytes round-trip), I = inferred, U = open. Tools: H = Hopper export,55 addrs · .html / .mdCar assets: how a car is assembled and drawn (NFSU Speed.exe)Tool tags: G = Ghidra export (census/ghidra/decomp_0x54c000_0x5f1800.c), H = Hopper export (census/hopper/decomp.c),29 addrs · .html / .mdRuntime: MSVC CRT, SEH/EH and the engine base layer (Speed.exe PC)Marks: V = read in bytes/code and a second tool agrees (Hopper H, Ghidra G incl. its Function-ID library match "FID", capstone C),108 addrs · .html / .mdMisc: the "unknown" bucket of census/systems.tsv (Speed.exe PC)Marks: V = read in code or bytes and a second tool agrees, I = inferred (one tool, or shape of code), U = open. Tools: H = Hopper export50 addrs · .html / .mdPublic pack: what the browser downloadsThe pack tools/build_public.py writes to dist/ and tools/upload_r2.sh sends to R2: 2.04 GB, songs and movies kept (build log 2026-11-21).method / spec · .html / .mdHosting: Cloudflare R2 behind nfsu.ccNothing below runs without the OWNER's go for that upload.method / spec · .html / .md

RE Methodology

Systems tags (census/systems.tsv)One row per function start of pc/Speed.exe (17,368: Hopper 14,333 + 3,035 lifter starts Hopper lacks); all 13,73910 addrs · .html / .mdCoverage: which guest functions ever ranCount at function ENTRY, direct calls included. Off by default; the normal build is byte-identical (md5 of build/gen7 addrs · .html / .md
Play Need for Speed Underground in Browser