Skip to content

Add missing race select border#516

Merged
foxtacles merged 2 commits into
isledecomp:masterfrom
FirecatFG:master
Jul 11, 2026
Merged

Add missing race select border#516
foxtacles merged 2 commits into
isledecomp:masterfrom
FirecatFG:master

Conversation

@FirecatFG

Copy link
Copy Markdown
Contributor

There were a few bytes from the source executable that were missing from these global definitions, causing Rocket Racer Run's border to read from unbound data.
My guess for why the last color entry looks so different is that someone at High Voltage probably added the values in the wrong order. Causing the border to render as yellow, instead of the red border it has in the 2001 version.

FirecatFG and others added 2 commits July 10, 2026 21:13
There were a few bytes missing from these definitions, causing Rocket Racer Run's border to read from unbound data.
@github-actions

Copy link
Copy Markdown

reccmp report

LEGORACERS (LEGORacers.exe)

Saved diff report generated July 06 2026, 16:13:42 (4 days, 22:40:38 ago)


Implemented:  99.49%  (4290 / 4312)
Accuracy:     97.29%
Progress:     96.79%
15 functions are aligned (0.35%)

GOLDP (GolDP.dll)

Saved diff report generated July 06 2026, 16:13:44 (4 days, 22:40:37 ago)


Implemented:  79.87%  (1127 / 1411)
Accuracy:     95.69%
Progress:     76.43%
51 functions are aligned (3.61%)

@foxtacles
foxtacles merged commit 21f45d7 into isledecomp:master Jul 11, 2026
9 checks passed
foxtacles added a commit to isledecomp/racers-portable that referenced this pull request Jul 11, 2026
)

Merges isledecomp/racers#516 — which restores the 5th VisualStateColor (0x1f1fdaff) and the 25th g_singleRaceVisualStateMap byte (4), both present in the retail binary — and reverts the #16 workaround. ApplyThemeColor returns to the upstream one-liner; index 24 for the special 7th circuit (Rocket Racer Run) is now in bounds, so no ASAN/UBSAN trip. singleraceselectbase.cpp is byte-identical to the decomp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants