Repository navigation
Releases
v0.1 WIP - playable, not finished
Prebuilt artifacts for testing. Built from the sources in this repository.
These files contain code and shaders recompiled from NBA 2K13. They are here for people who already own the game
and want to run or test the port. They are not a substitute for the game.
Why the files are split into parts
The upload line here is 1.2 Mbit/s, and anything that takes longer than 5 minutes gets cut by the connection. So each
asset is uploaded as .partNN chunks. Join the parts first, then use the file.
1. Join the parts
Windows, in cmd, from the folder you downloaded into:
copy /b nba2k13.nro.part01+nba2k13.nro.part02 nba2k13.nro
copy /b NBA2K13_shaders.nfsp.tar.gz.part01+NBA2K13_shaders.nfsp.tar.gz.part02+NBA2K13_shaders.nfsp.tar.gz.part03 NBA2K13_shaders.nfsp.tar.gz
PowerShell, if you prefer:
function Join-Parts($pattern, $out) {
$s = [IO.File]::Create($out)
Get-ChildItem $pattern | Sort-Object Name | ForEach-Object {
$b = [IO.File]::ReadAllBytes($_.FullName); $s.Write($b, 0, $b.Length)
}
$s.Close()
}
Join-Parts 'nba2k13.nro.part*' 'nba2k13.nro'
Join-Parts 'NBA2K13_shaders.nfsp.tar.gz.part*' 'NBA2K13_shaders.nfsp.tar.gz'2. Verify
SHA256 (nba2k13.nro) D2C27242AD6BBFECE3732493ED51F3DF8E8A356F629A21B5C085785DE2062964
SHA256 (NBA2K13_shaders.nfsp.tar.gz) 2DECAD984EDF7248FECD6C78AF8C3F71419A7DB6A04A8931904233D06FE5C0E7
SHA256 (NBA2K13_shaders.nfsp) 484F467951E612C3096ED30F81B191408E54EB39B76E639B2418548D65E7265F
Get-FileHash .\nba2k13.nro -Algorithm SHA2563. Unpack the shader library
The .nfsp is inside a .tar.gz only because it compresses to 34% and that is 12 minutes of upload. Windows 10 ships
tar, so:
tar -xf NBA2K13_shaders.nfsp.tar.gz
(7-Zip also handles .tar.gz — extract twice.)
Where the files go
sdmc:/switch/nba2k13/
├── nba2k13.nro <- from this release
├── NBA2K13_shaders.nfsp <- from this release (unpacked)
├── nba2k13.toml <- dist/sdcard/ in the repo
├── subpasos.txt <- dist/sdcard/ in the repo
├── nativo.txt, video_mode.txt, rt_path.txt, vp_div.txt, draw_skip.txt
├── game_root/ <- the files from your own disc
└── user/, cache/, cont/ <- created on first run
Install dist/012a13c0de5f1000.nsp (launcher, in the repo) for a home-menu icon.
Launch in title takeover mode: hold R while starting any installed game, then pick nba2k13 from the Homebrew
Menu. Applet/album mode does not give it enough memory.
Known state
Playable, not finished — roughly 30 FPS handheld, full games. Six open issues are listed in docs/04-当前卡点.md, with
what has already been ruled out for each. In-game debug panel: L3 + R3 + D-pad Right.
Settings you must not change
rex_fisico_sin_relleno_64mb— keepfalse. Setting ittruereclaims 16 MB of alignment padding and the game
then writes past its block; the pre-game video freezes at shader load every time.nba2k13_nativo_perro_congelado— keepfalse. Diagnostic only.