Repository navigation
Releases
NFSCarbon-NX v1.0.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. Version 1.0.0: a big performance release, playable at the Switch's stock clocks at 540p and at a steady 30 FPS in races with a moderate overclock, for all nine editions.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
nfscarbon-nx-fr.zip |
France | Need for Speed - Carbon (France) |
3c7ff8665b503c544da65f1a01d84b155e822d53 |
nfscarbon-nx-it.zip |
Italy | Need for Speed - Carbon (Italy) |
1f0cc79777b0cb6f332ea61f363ea93e86349dd3 |
nfscarbon-nx-de.zip |
Germany | Need for Speed - Carbon (Germany) |
e68337df51b659eb86ad565b3a4c430fa6c7e0f0 |
nfscarbon-nx-es.zip |
Spain | Need for Speed - Carbon (Spain) |
ac5be143c59452c8d52e3da8150a6a14da254db8 |
nfscarbon-nx-collector_usa.zip |
Collector's Edition (USA) | Need for Speed - Carbon - Collector's Edition (USA) (En,Es) |
0f685c38fc972972be36f3ce63e85e2e77f84a59 |
nfscarbon-nx-collector_pal.zip |
Collector's Edition (Europe) | Need for Speed - Carbon - Collector's Edition (Europe) |
2020cfe3f0df44ded6cdd7c164542ab18d886ee2 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition, for example:
sdmc:/switch/nfscarbon-nx-fr/ nfscarbon.nro nfscarbon.toml game_root/ (French disc)
sdmc:/switch/nfscarbon-nx-de/ nfscarbon.nro nfscarbon.toml game_root/ (German disc)
sdmc:/switch/nfscarbon-nx-collector_usa/ nfscarbon.nro nfscarbon.toml game_root/ (Collector's Edition, USA)
Updating from v0.7.0: replace the NRO and nfscarbon.toml (two defaults changed, see below); keep game_root/ and your saves. If you set options in Options > Video before, check the Resolution row once: the old "Balanced (600p)" is now "Balanced (540p)".
Only the Collector's Edition (Europe) was played through for this release. The other eight editions run the same code, with every hook found in their own code automatically; each was started and checked briefly.
Performance
Collector's Edition (Europe), handheld, default settings apart from the resolution, four CPU cores, Race Wars and circuit races:
| CPU / GPU / RAM (MHz) | Resolution | Race starts (whole pack on screen) | Rest of the race |
|---|---|---|---|
| 1020 / 460.8 / 1331 (stock) | 540p | 19 FPS | 28 FPS |
| 1224 / 614.4 / 1600 | 540p | 24 FPS | 30 FPS |
| 1326 / 691.2 / 1600 | 540p | 25 FPS | 30 FPS |
| 1326 / 691.2 / 1600 | 720p | 23.5 FPS | 26.5 FPS |
| 1428 / 691.2 / 1600 | 720p | 23 FPS | 28 FPS |
| 1428 / 768 / 1600 | 720p | 24.5 FPS | 29.5 FPS |
| 1581 / 768 / 1600 | 720p | 26 FPS | 28 FPS |
| 1581 / 844.8 / 1600 | 720p | 26 FPS | 29.5 FPS |
| 1683 / 844.8 / 1866 | 720p | 28 FPS | 30 FPS |
| 1785 / 921.6 / 1866 | 720p | 27.5 FPS | 30 FPS |
| 1963.5 / 1152 / 2366 | 720p | 29.5 FPS | 30 FPS |
These are averages over whole sessions: in the busiest moments, Race Wars starts above all, the frame rate drops lower for a few seconds. Race starts are CPU-bound (only the CPU clock helps there); the rest of the race at 720p is GPU-bound, and 540p gives about 3 FPS more at the same clocks. Details: docs/measurements.md.
What's new since v0.7.0
Faster
- The game's frame pacing no longer waits for a 60 Hz vblank after each frame (guest vblank at 1 kHz,
carbon_gpu_vsync = false): heavy scenes that used to fall from ~28 to 20 FPS now stay near 28. - The renderer records its Vulkan commands on a thread of its own, reuses texture bindings within a frame and across frames, checks and copies only the changed parts of vertex buffers, and lets NVK use ZCULL (fast depth rejection) on depth buffers.
- Shader translation: the Xbox 360's zero-safe multiply is written in the form the NVK compiler turns into a single instruction, and shaders with loops get structured loops.
- The frame preparer, the renderer threads and the audio mixer are pinned to their own cores by default.
- Native versions of hot game code: the vector math the game uses everywhere (point transform, 4x4 matrix product) and the audio server's loops (voice parameter graph, ADPCM decoder, filter, scale).
Sound
- Much less crackle when the frame rate drops: the mixer decodes up to two XMA packets per stream itself instead of waiting for the decoder thread, and the audio output keeps a 16-frame queue.
Options > Video
- New FPS Limit row (30 / 40 / 60).
- Resolution: Balanced is now 540p (was 600p): 360p, 480p, 540p, 720p, 1080p.
Fixes
- A thin black line in the menus at resolutions below 720p is gone.
Settings (nfscarbon.toml)
carbon_gpu_vsync = false(new default, see above).nfscarbon_switch_ram_1600 = true: the NRO no longer pulls the RAM back to 1331 MHz when an overclock tool raises it. With an overclock tool you can also setnfscarbon_switch_gpu_mhz = 0, and the NRO leaves every clock to the tool.
Known issues
- A one-frame white flash in races: now and then a nearby AI car lights the road and the scenery for one frame, about every 3 seconds while it is right behind or beside you. It may be the game's own effect; still being looked into.
- The road texture can disappear for 1-2 seconds and then come back.
- A short freeze when the player takes control at the start of a race.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition and which clocks.
NFSCarbon-NX v0.7.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release adds the two Collector's Editions (USA and Europe): nine editions in all, each with its own profile-guided NRO.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
nfscarbon-nx-fr.zip |
France | Need for Speed - Carbon (France) |
3c7ff8665b503c544da65f1a01d84b155e822d53 |
nfscarbon-nx-it.zip |
Italy | Need for Speed - Carbon (Italy) |
1f0cc79777b0cb6f332ea61f363ea93e86349dd3 |
nfscarbon-nx-de.zip |
Germany | Need for Speed - Carbon (Germany) |
e68337df51b659eb86ad565b3a4c430fa6c7e0f0 |
nfscarbon-nx-es.zip |
Spain | Need for Speed - Carbon (Spain) |
ac5be143c59452c8d52e3da8150a6a14da254db8 |
nfscarbon-nx-collector_usa.zip |
Collector's Edition (USA) | Need for Speed - Carbon - Collector's Edition (USA) (En,Es) |
0f685c38fc972972be36f3ce63e85e2e77f84a59 |
nfscarbon-nx-collector_pal.zip |
Collector's Edition (Europe) | Need for Speed - Carbon - Collector's Edition (Europe) |
2020cfe3f0df44ded6cdd7c164542ab18d886ee2 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition, for example:
sdmc:/switch/nfscarbon-nx-fr/ nfscarbon.nro nfscarbon.toml game_root/ (French disc)
sdmc:/switch/nfscarbon-nx-de/ nfscarbon.nro nfscarbon.toml game_root/ (German disc)
sdmc:/switch/nfscarbon-nx-collector_usa/ nfscarbon.nro nfscarbon.toml game_root/ (Collector's Edition, USA)
Updating from v0.6.1: replace the NRO only; keep the toml, game_root/ and your saves. Nothing changed for the seven editions of v0.6.1 apart from the version number.
What's new since v0.6.1
Collector's Edition (USA) and Collector's Edition (Europe)
- Each runs its own disc, with the extra cars, races, challenge events and vinyls of the Collector's Edition, and everything the other editions have: the Options > Video settings, the shadow, reflection, Neville's garage and HOME/sleep sound fixes.
- Speed is the same as the other editions (profile-guided builds).
How they were made (for those curious): each Collector's Edition is its region's normal disc with the extra content added, which moves the code after about 0x821DF800. The function list and every hook were carried over by matching the code, from the region's normal disc first. The Europe one needed the same hand-set function bounds as the normal Europe disc, moved by 0x1D0 (docs/collectors_editions.md).
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores, default settings)
| All nine editions | |
|---|---|
| Normal races, police chases | 28-30 FPS |
| Race Wars start (whole pack on screen) | 18-22 FPS, then 28-30 |
| Sound | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.6.1
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. A fix release for all seven editions: Neville's garage cutscene at the start of the career and the crackling sound after HOME or sleep are fixed.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
nfscarbon-nx-fr.zip |
France | Need for Speed - Carbon (France) |
3c7ff8665b503c544da65f1a01d84b155e822d53 |
nfscarbon-nx-it.zip |
Italy | Need for Speed - Carbon (Italy) |
1f0cc79777b0cb6f332ea61f363ea93e86349dd3 |
nfscarbon-nx-de.zip |
Germany | Need for Speed - Carbon (Germany) |
e68337df51b659eb86ad565b3a4c430fa6c7e0f0 |
nfscarbon-nx-es.zip |
Spain | Need for Speed - Carbon (Spain) |
ac5be143c59452c8d52e3da8150a6a14da254db8 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition, for example:
sdmc:/switch/nfscarbon-nx-fr/ nfscarbon.nro nfscarbon.toml game_root/ (French disc)
sdmc:/switch/nfscarbon-nx-de/ nfscarbon.nro nfscarbon.toml game_root/ (German disc)
Updating from v0.6.0: replace the NRO only; keep the toml, game_root/ and your saves.
What's new since v0.6.0
Neville's garage cutscene fixed (all editions)
- After the first police chase of the career, Neville meets you at the garage. With the tuner or the muscle car the camera sits inside your car there, and the screen was covered by flat grey and black shapes, with Neville hidden behind them.
- Cause: the renderer clamped depth instead of clipping at the near plane in every draw, so the parts of the car behind and around the camera were stretched across the screen. It now clips like the Xbox 360 does, and clamps only when the game asks for it.
- The renderer also honours the game's user clip planes now (an Xbox 360 GPU feature that was missing; not used in this scene).
No more crackling sound after HOME or sleep (all editions, #3)
- Going to the HOME menu or putting the console to sleep and coming back often left the sound crackling until the game was restarted (or until another trip to HOME happened to fix it).
- Cause: the audio thread slept an extra half second when the console suspended the game in the middle of one of its waits. The game's audio engine then thought its voice had stopped, and the rescue taken over from nfsmw-nx freed sound packets that were still playing, so the game mixed over them.
- Now the extra sleep is gone, the rescue does not count the time away, and the audio output starts cleanly again on return.
The first start after updating rebuilds the pipeline list once, so the first race may stutter a little more than usual.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores, default settings)
| All seven editions | |
|---|---|
| Normal races, police chases | 28-30 FPS |
| Race Wars start (whole pack on screen) | 18-22 FPS, then 28-30 |
| Sound | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.6.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release adds the French, Italian, German and Spanish discs: seven editions in all, each with its own profile-guided NRO.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
nfscarbon-nx-fr.zip |
France | Need for Speed - Carbon (France) |
3c7ff8665b503c544da65f1a01d84b155e822d53 |
nfscarbon-nx-it.zip |
Italy | Need for Speed - Carbon (Italy) |
1f0cc79777b0cb6f332ea61f363ea93e86349dd3 |
nfscarbon-nx-de.zip |
Germany | Need for Speed - Carbon (Germany) |
e68337df51b659eb86ad565b3a4c430fa6c7e0f0 |
nfscarbon-nx-es.zip |
Spain | Need for Speed - Carbon (Spain) |
ac5be143c59452c8d52e3da8150a6a14da254db8 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition, for example:
sdmc:/switch/nfscarbon-nx-fr/ nfscarbon.nro nfscarbon.toml game_root/ (French disc)
sdmc:/switch/nfscarbon-nx-de/ nfscarbon.nro nfscarbon.toml game_root/ (German disc)
Updating from v0.5.0 (USA and the two Europe discs): replace the NRO, keep the toml, game_root/ and your saves. Nothing changed for those three editions apart from the version number.
What's new since v0.5.0
Four new editions: France, Italy, Germany, Spain
- Each runs its own disc, with everything v0.5.0 brought: the Options > Video settings, the car shadow and reflection fixes, motion blur, the audio and video fixes.
- The game's menus, subtitles and speech are in the disc's language.
- Speed is the same as the other editions (profile-guided builds): 28-30 FPS in races, about 18-22 FPS at the start of Race Wars while the whole pack is on screen.
How they were made (for those curious): the code of these discs is the same build of the game as USA, moved around a little. The function list and every hook were carried over by matching the code. Two things needed more care:
- The small "this-adjust" thunks (two instructions reached through a vtable) are packed in a different order on each disc. They are now all declared from the disc itself (
tools/add_thunks.py): before that, the French disc could not start a race. - Groups of identical small functions cannot be told apart by their code, so they were added by hand (the German disc skipped three of them).
Next: the Collector's Editions.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores, default settings)
| All seven editions | |
|---|---|
| Normal races, police chases | 28-30 FPS |
| Race Wars start (whole pack on screen) | 18-22 FPS, then 28-30 |
| Sound | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- In Neville's garage cutscene at the start of the career, Neville stays hidden with the muscle car (with the tuner only for a moment). Seen in all six European builds; USA not checked lately.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.5.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release adds video settings inside the game (Options > Video) and fixes the car shadow sliding behind the car.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition:
sdmc:/switch/nfscarbon-nx-usa/ nfscarbon.nro nfscarbon.toml game_root/ (USA disc)
sdmc:/switch/nfscarbon-nx-pal2/ nfscarbon.nro nfscarbon.toml game_root/ (Europe disc)
sdmc:/switch/nfscarbon-nx-pal/ nfscarbon.nro nfscarbon.toml game_root/ (Europe (Nordic) disc)
Updating from v0.4.7: replace the NRO and the toml (the new toml has the new settings), keep game_root/ and your saves.
What's new since v0.4.7
Video settings in the game (all editions)
- The game's Options > Video screen now has these rows next to Brightness. Change them with left/right, as with the game's own options:
| Row | Choices | Default |
|---|---|---|
| Motion Blur | On / Off | On |
| Anti-Aliasing | Off / On | Off |
| Scene Detail | Full / Reduced | Reduced |
| Car Reflections | Full / Reduced / Off | Full |
| Anisotropic Filtering | Off / 2x / 4x / 8x / 16x | 4x |
| Resolution (Restart) | Ultra Performance (360p) / Performance (480p) / Balanced (600p) / Quality (720p) / Ultra Quality (1080p) | Quality (720p) |
| Rear-View Mirror | Full Rate / Half Rate | Full Rate |
- Your choices are saved in
nfscarbon_options.txtnext to the NRO and win over the toml. Everything applies at once except Resolution, which needs a restart. - Motion Blur Off removes the speed and NOS blur and keeps everything else (the pause screen and cutscenes look as before). Thanks to zofo007 for the request (#5).
- What they cost on a Switch Lite: Scene Detail Full about 2-3 FPS in crowded scenes, Anti-Aliasing about 1-2 FPS, Motion Blur and Anisotropic Filtering nothing measurable. The game is CPU-bound, so resolutions below 720p do not raise the frame rate in races; 1080p runs at about 14-15 FPS.
Car shadow fixed (all editions)
- The car's shadow slid behind the car at speed, most of all at Race Wars starts. The game rewrites the shadow every frame, but the renderer's vertex cache checked unchanged data only every 4 frames, so the shadow was drawn where the car had been a few frames earlier (worse the lower the frame rate). The cache now checks every frame, and checks data the game has changed before on every draw. No cost in frame rate.
Other fixes
- A freeze in a menu (seen on the Challenge Series screen): the game's audio mixer could spin at full CPU and starve the rest. It is now lowered for a moment when that happens.
logs/rex/rex_perfil.logkeeps the last five sessions (rex_perfil_1.logtorex_perfil_4.logare the older ones).
Next: the French, Italian, German and Spanish discs.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores, default settings)
| USA | Europe | Europe (Nordic) | |
|---|---|---|---|
| Normal races, police chases | 28-30 FPS | 28-30 FPS | 28-30 FPS, 20-26 in crowded chases |
| Race Wars start (whole pack on screen) | 18-22 FPS, then 28-30 | 18-22 FPS, then 28-30 | 18-22 FPS, then 28-30 |
| Sound | clean | clean | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- In Neville's garage cutscene at the start of the career, Neville stays hidden with the muscle car (with the tuner only for a moment). Seen in all six European builds; USA not checked lately.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.4.7
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release fixes the car reflections: the paint is glossy again, as on the Xbox 360.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
Each NRO only runs its own disc. Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition:
sdmc:/switch/nfscarbon-nx-usa/ nfscarbon.nro nfscarbon.toml game_root/ (USA disc)
sdmc:/switch/nfscarbon-nx-pal2/ nfscarbon.nro nfscarbon.toml game_root/ (Europe disc)
sdmc:/switch/nfscarbon-nx-pal/ nfscarbon.nro nfscarbon.toml game_root/ (Europe (Nordic) disc)
Updating from v0.4.5: replace the NRO, keep the toml, game_root/ and your saves.
What's new since v0.4.5
Car reflections (all editions)
- The cars looked matte. The game draws the world around the car into six small images every frame (the faces of a reflection cube map) and the car paint reflects that cube. Those images stayed on the GPU and never reached the game's memory, while the cube the paint reads was always taken from memory, so the paint never saw them. The renderer now puts the cube together on the GPU from the six faces it just drew (only when a face changed). The paint reflects the sky, the city lights and the surroundings again.
- No cost in frame rate: the same 28-30 FPS as before.
Next: the French, Italian, German and Spanish discs, then the Collector's Editions.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores)
| USA | Europe | Europe (Nordic) | |
|---|---|---|---|
| Normal races, police chases | 28-30 FPS | 28-30 FPS | 28-30 FPS, 20-26 in crowded chases |
| Sound | clean | clean | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- Europe (Nordic): in Neville's garage cutscene at the start of the career, Neville stays hidden with the muscle car (with the tuner only for a moment).
- The car's shadow slides behind the car at speed.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.4.5
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release adds the Europe edition, the English-only European disc.
Needs your own copy of Need for Speed: Carbon for Xbox 360, one of the editions below (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
| Archive | Edition | Disc | default.xex SHA-1 |
|---|---|---|---|
nfscarbon-nx-usa.zip |
USA | Need for Speed - Carbon (USA) (En,Es) |
75ed29cfde2af689fb4f0615d743c07cab31b9da |
nfscarbon-nx-pal2.zip |
Europe (new) | Need for Speed - Carbon (Europe), English only |
1092188030919ba25994094dad0dfc8c15a14dc8 |
nfscarbon-nx-pal.zip |
Europe (Nordic) | Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi) |
90c2181d9f67612b017da1ce23b07d735e2d3f58 |
Each NRO only runs its own disc. There are two European discs: the one called Europe (Nordic) here is the v0.4.0 "Europe" build (English, Dutch, Swedish, Danish, Finnish). Not sure which one you have? Compare sha1sum default.xex with the table.
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card, and a Sphaira forwarder with 4 CPU cores and a 39-bit address space (README, fourth core). One folder per edition:
sdmc:/switch/nfscarbon-nx-usa/ nfscarbon.nro nfscarbon.toml game_root/ (USA disc)
sdmc:/switch/nfscarbon-nx-pal2/ nfscarbon.nro nfscarbon.toml game_root/ (Europe disc)
sdmc:/switch/nfscarbon-nx-pal/ nfscarbon.nro nfscarbon.toml game_root/ (Europe (Nordic) disc)
A forwarder remembers the path of its NRO: after moving or renaming an NRO, install its forwarder again.
Updating from v0.4.0: replace the NRO, keep the toml, game_root/ and your saves. For USA and Europe (Nordic) nothing changed in the game code.
What's new since v0.4.0
Europe edition
- The English-only European disc, made the same way as Europe (Nordic): the function list and all the hooks (sound, FFmpeg videos, frame pacing, ring wait, LOD) carried over from USA and Europe (Nordic) by matching the code. One function needed its bounds set by hand: its switch table lands on a 64 KB boundary in this disc and the code generator cut the function there (the game crashed at the first video).
- Played for over two hours: career, cutscene videos, races, police chases. No crash, no freeze. About the same speed as the other editions: 28-29 FPS median, 23-26 FPS in the heaviest scenes, clean sound.
Next: the French, Italian, German and Spanish discs. Each has its own default.xex, and their manifests are in progress. Then the Collector's Editions and Japan.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores)
| USA | Europe | Europe (Nordic) | |
|---|---|---|---|
| Normal races, police chases | 28-30 FPS | 28-30 FPS | 28-30 FPS, 20-26 in crowded chases |
| Sound | clean | clean | clean |
Known issues
- Rare crashes in police chases, seen in the Europe (Nordic) build. The same code is in the other builds; cause not found yet.
- Europe (Nordic): in Neville's garage cutscene at the start of the career, Neville stays hidden with the muscle car (with the tuner only for a moment).
- The car's shadow slides behind the car at speed.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.4.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release fixes the freezes of long career sessions, a crash in police chases, and adds the Europe edition.
Needs your own copy of Need for Speed: Carbon for Xbox 360, USA or Europe edition (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz with the fourth CPU core.
Files
Download the archive for your edition. Each one holds nfscarbon.nro (profile-guided build) and nfscarbon.toml (settings).
- USA:
Need for Speed - Carbon (USA) (En,Es) - Europe:
Need for Speed - Carbon (Europe) (En,Nl,Sv,Da,Fi)
Each NRO only runs its own disc. Replace your old nfscarbon.toml (new setting protect_zero).
Install
Same as before (README): the NRO, nfscarbon.toml and your disc's files in game_root/, in one folder on the SD card. Any folder works: the game, saves, logs and caches are found next to the NRO. To keep both editions, use one folder each:
sdmc:/switch/nfscarbon-nx-usa/ nfscarbon.nro nfscarbon.toml game_root/ (USA disc)
sdmc:/switch/nfscarbon-nx-pal/ nfscarbon.nro nfscarbon.toml game_root/ (Europe disc)
and a Sphaira forwarder for each NRO with 4 CPU cores and a 39-bit address space (README, fourth core). A forwarder remembers the path of its NRO: after moving or renaming an NRO, install its forwarder again.
Updating from v0.3.0: replace the NRO and the toml, keep game_root/ and your saves.
What's new since v0.3.0
No more freezes in long sessions (USA and Europe)
- Late in a career session the game could freeze at a cutscene, when a boss or crew intro video did not show up, or entering a race (canyon intros) or free roam after a race. It ran out of memory when it started a new thread. Four fixes, together: finished threads give back their memory, smaller host thread stacks (4 MiB instead of 16), GPU memory in 32 MiB blocks instead of 256, and the game's memory committed in 64 KB granules (fewer kernel mappings). Sessions of 1.5-2.5 hours now run without freezes in our tests.
Police chase crash (USA and Europe)
- A police chase after a territory race crashed on one of the game's own checks (it writes to address 0 when an object it expects is missing).
protect_zero = falsein the toml lets the game carry on.
Europe edition
- Until now only the USA disc was supported. Europe
(En,Nl,Sv,Da,Fi)is the first edition added after it, and the one the support for more editions was built and tested with: it runs well. Its code is the same build of the game with small changes, so the USA function list and all the USA hooks (sound, FFmpeg videos, frame pacing, ring wait, LOD) were carried over by matching the code of the two discs. The game asks for the language at the first start. - Played for several hours: career with the first three bosses, sprint, circuit, drift, canyon, Race Wars, police chases. About the same speed as USA: 28 FPS median, 20-26 FPS in the heaviest scenes (crowded police chases), clean sound.
The other editions follow soon, each as its own build, the same way: the other European discs (French, German, Italian, Spanish), Japan, and the Collector's Editions.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133, four cores)
| USA | Europe | |
|---|---|---|
| Normal races, police chases | 28-30 FPS | 28-30 FPS, 20-26 in crowded chases |
| Race Wars, first seconds | 24-27 FPS, then 28-30 | similar |
| Sound | clean | clean |
Known issues
- Rare crashes in police chases: twice in the Europe build, once already at heat level 1. The same code is in the USA build; cause not found yet.
- Europe: in Neville's garage cutscene at the start of the career, Neville stays hidden with the muscle car (with the tuner only for a moment). Later cutscenes are fine.
- The car's shadow slides behind the car at speed.
- A rare one-frame white flash in long races; once in a while a few black frames at a race start.
- The first race stutters while it compiles pipelines (only the first time).
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log, logs/rex/rex_perfil.log and, for a crash, logs/rex/rex_crash.log from the game's folder, plus unregistered_targets.txt if there is one next to the NRO. Say which edition, which clocks, and whether the fourth core was enabled.
NFSCarbon-NX v0.3.0
Need for Speed: Carbon (Xbox 360) running natively on the Nintendo Switch. This release makes the game playable from start to finish with an overclock: clean sound with the fourth CPU core, cutscene videos at normal speed, and the cutscene and boss-box graphics bugs fixed.
Needs your own copy of Need for Speed: Carbon for Xbox 360, USA edition (a
.isoor the extracted disc withdefault.xex). No game files are included here.Needs an overclock. The game is CPU-bound and does not run well at the Switch's stock clocks. Everything below was tested at CPU 1683 / GPU 844 / RAM 2133 MHz.
Files
nfscarbon.nro: the port (profile-guided build)nfscarbon.toml: settings. Replace your old one: several defaults changed in this release.
Install
You need a Switch running Atmosphère and a way to overclock it (for example sys-clk).
- Download
nfscarbon.nroandnfscarbon.tomlbelow. - Put them on the SD card together with the files of your disc:
sdmc:/switch/nfscarbon-nx/
nfscarbon.nro
nfscarbon.toml
game_root/ (the files of your disc: default.xex, NFS/, MOVIES/, ...)
A .iso placed next to the NRO works too, instead of game_root/. To extract a disc image on a PC: python3 tools/fase1_extraer.py path/to/game.iso -o game_root.
3. Set the overclock: CPU 1683 MHz or more, GPU 844 MHz, RAM 2133 MHz. More CPU clock helps further.
4. Start the game in one of two ways:
- Recommended: a forwarder with four CPU cores and a 39-bit address space (see the next section). This gives the cleanest sound and the best frame rate.
- Title takeover: hold R while starting any installed game, then pick
nfscarbon.nro. This works too, but uses three cores, so the start of Race Wars is slower and the sound pops a little there.
Album (applet) mode does not give the game enough memory and will not work.
Updating from v0.2.0: replace the NRO and the toml, keep game_root/ and your saves.
The first race stutters while graphics pipelines are compiled. They are saved on the SD card (cache/carbon_gpu), so later sessions start smoothly. Saves go to nfscarbon/ next to the NRO, logs to logs/.
Enable the fourth CPU core (recommended)
A Switch game normally runs on three of the console's four CPU cores; the fourth is kept for the system. The port can use the fourth one too, and at the start of Race Wars, where the CPU is fully busy, that is the difference between broken-up sound and clean sound. The core count is set by the launcher, so this needs a HOME Menu forwarder:
- Install Sphaira if you don't have it.
- In Sphaira's homebrew list, select
nfscarbon.nroand install a forwarder for it. - In the forwarder options, set the CPU core count to 4 and the address space to 39-bit (the game needs the memory).
- Start the game from the new icon on the HOME Menu (no need to hold R).
If you already had a forwarder for nfscarbon-nx, delete it first and install it again with these options. Your game files, saves and settings on the SD card are not touched.
To check that it worked, open sdmc:/switch/nfscarbon-nx/logs/rex/rex_perfil.log after playing: it should say nucleos del proceso 4 (mascara 0xF).
Using another forwarder tool? Make the forwarder with a 39-bit address space, then patch its main.npdm with python3 tools/npdm_core3.py main.npdm -o main.npdm.core3 (from the source repository) and put the result at sdmc:/atmosphere/contents/<forwarder title id>/exefs/main.npdm.
The fourth core is shared with the system (HOME Menu, overlays, background services). It has worked fine in our tests, but long sessions have not been tested much: please report anything odd.
Performance (Switch Lite, CPU 1683 / GPU 844 / RAM 2133)
| Four cores (forwarder) | Three cores (title takeover) | |
|---|---|---|
| Menus, free roam, cutscenes | 30 FPS | 30 FPS |
| Normal races, canyon duels, police chases | 28-30 FPS | 28-30 FPS |
| Race Wars, first seconds (whole pack on screen) | 24-27 FPS, then 28-30 | 19-24 FPS for 20-40 s, then 26-30 |
| Sound | clean | some popping at Race Wars starts |
The game is locked to 30 FPS by design, as on the Xbox 360.
What's new since v0.2.0
Fourth CPU core
- The game's threads now run on every core the process is given. With four cores, the lost audio blocks at the start of Race Wars went from 59-179 per 10 seconds to none. Thanks to the player who reported it in #1.
Videos
- Cutscene videos and the boss face videos are decoded with FFmpeg's WMV3 decoder (ported from zofo007's NFS-Carbon-NX). They now play at normal speed.
Graphics fixes
- In-car cutscenes (boss confrontations, Neville's garage): the people behind the car windows no longer disappear.
- The boss picture-in-picture box now runs at full frame rate instead of looking choppy.
- The vertex cache is now 256 MiB. At 128 MiB it filled up in crowded races and started over, which made the white flash much more frequent.
- Together these cost less than 1 FPS.
Sound and CPU
- More of the audio server's hot loops run as native code (ramped mixing, sample unpacking), checked to give exactly the same output as the original code.
- New optional setting
nfscarbon_lod_bias(from NFS-Carbon-NX): below 1.0 (for example 0.8), small far objects drop out sooner and crowded scenes draw less. Default 1.0, the game's own detail.
Building from source
- The full build no longer takes over an hour on some machines.
Known issues
- The car's shadow slides behind the car at speed (it sits under the car when slow). Most visible in Race Wars.
- A rare one-frame white flash in long races. Once in a while, a few black frames at a race start.
- A short freeze when you take control at the start of a race.
- The first race stutters while pipelines are compiled (only the first time).
- Only the USA edition is supported.
Reporting problems
Please open an issue and attach logs/nfscarbon_*.log and logs/rex/rex_perfil.log from sdmc:/switch/nfscarbon-nx/. For a crash, add logs/rex/rex_crash.log and the Atmosphère report from sdmc:/atmosphere/crash_reports/. Say which clocks you used and whether the fourth core was enabled.
NFSCarbon-NX v0.2.0
Performance and sound update. Still a work in progress.
You need your own copy of Need for Speed: Carbon for Xbox 360, USA edition (Need for Speed - Carbon (USA) (En,Es), as an .iso or the extracted disc with default.xex). No game files are included.
Install
- Download
nfscarbon.nroandnfscarbon.tomlbelow. - Put them on the SD card next to the files of your disc:
sdmc:/switch/nfscarbon-nx/
nfscarbon.nro
nfscarbon.toml
game_root/ (default.xex, NFS/, MOVIES/, ...)
A .iso next to the NRO also works instead of game_root/.
3. Launch with title takeover (hold R while starting any installed game) or a forwarder with a 39-bit address space. Album (applet) mode does not have enough memory.
Updating from v0.1.0: replace the NRO and the toml; keep game_root/. The first race compiles graphics pipelines again and stutters for a while.
What's new since v0.1.0
Speed
- Profile-guided build (PGO) with the hottest functions grouped together: about 25 % faster in the heaviest scenes (Race Wars start: 20.7 → 25.8 FPS).
- Renderer: no more 1-3 s freezes in longer races (vertex cache fix), faster draw path on NVK, cheaper shader constant and timer handling.
Sound
- The game's audio server is watched every frame and a stalled packet is rescued.
- XMA audio decoding reworked: fixes the silent menu after which a race never loaded.
- Native versions of the audio mixer's hottest loops, checked bit-exact against the original code.
- The audio mixer runs above the renderer. Sound gaps at the start of Race Wars are about half of what they were.
State (Switch Lite, CPU 1683 / GPU 844 / RAM 2133 MHz)
| FPS | Sound | |
|---|---|---|
| Normal races, police chases | 28-30 | fine |
| Race Wars, first 20-40 s | 19-24 | some popping |
| Race Wars after the start | 26-30 | fine |
Known issues
- Race Wars start: lower frame rate and some popping while the whole pack is on screen.
- A random one-frame white flash now and then.
- A second, ghost car shadow.
- A short freeze during the race countdown.
- The first race stutters while it compiles pipelines (saved on the SD card afterwards).
Feedback
Please open an issue with logs/nfscarbon_*.log and logs/rex/rex_perfil.log from sdmc:/switch/nfscarbon-nx/, and say which clocks you used. For a crash, add logs/rex/rex_crash.log and the Atmosphère crash report.