Recompilation · a console game on PC
nba2k18-recomp
by itsvolkee · github.com/itsvolkee/nba2k18-recomp
0stars on GitHub
November 7, 2026last update
C++language
—license
What it is
NBA 2k18 repo
From its README: Work-in-progress setup for recompiling the Xbox 360 version of NBA 2K18 to a native Windows program with XenonRecomp.
- Register save/restore helper addresses
- 60 PowerPC opcodes added (patches/); 8 unrecognized remain, all mullhw,
- Jump tables: analysis/jtdetect.py finds 1,057 tables / 40,383 cases (stock XenonAnalyse finds 0)
- Switch-aware function analysis: "switch case outside function" errors 21,424 → 0
- Pointer-reached functions: analysis/fnptrs.cpp adds 2,640 functions only reached
- setjmp/longjmp addresses, if the game uses them
- Review the 668 jump tables that have no bounds check (sized from the table data)
- Guest memory, XEX loader, function table, guest threads with PCR/TLS
- 111 of 318 imports: memory, sync objects, waits, threads, TLS, time, strings,
- Windows build (scripts/build.ps1): NBA2K18.exe builds on the PC with llvm-mingw
- Gets through startup on Windows: 10 threads, opens all data archives (0A-0H),
- Graphics stand-in (runtime/gpustub.cpp): 60 Hz vsync interrupts, ring buffer
Get it
Latest release: Xenon tools (latest build) · November 3, 2026
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.