torchlight-nx 1.0.2 runs smoother on Switch, same picture
torchlight-nx 1.0.2 raises the frame rate of the unofficial Switch port of Torchlight, at stock clocks and with the same visuals.
torchlight-nx 1.0.2 makes the unofficial Switch port of Torchlight run noticeably smoother. The console stays at stock clocks, and the picture doesn’t change.
torchlight-nx is a fan-made port of the Xbox Live Arcade version of Torchlight (2011). There’s no emulator here. The game’s PowerPC code gets statically recompiled to C++ with the ReXGlue SDK, then built for the Switch. The bottleneck was the main thread, which runs the OGRE engine and the game logic on one CPU core. That thread now does the same work in less time, so the frame rate goes up in town and in dungeons.
What changed:
- The recompiled code gets rewritten at build time. Table calls that almost always hit one function become direct calls. Read-only constants go into the code. Short functions and loops keep registers in the CPU instead of memory. These rewrites come from the sa2-nx port by ChanseyIsTheBest.
- Three of the engine’s busiest functions are now native code: the search for visible objects, the per-frame texture and particle timer updates, and text width measurement. The author checked each one against the original game code for bit-for-bit identical results.
- Long quest dialogs were the worst case. Text layout is now much faster.
- The main thread waits less on memory when it hands each frame to the Vulkan renderer.
Nothing changes on screen. No frames get skipped and no effects get cut.
To update, replace sdmc:/switch/torchlight/torchlight.nro with the file from the zip. Game files, saves and settings stay put.
You need:
- A Switch on custom firmware, like Atmosphère.
- Your own Torchlight package from your Xbox 360, 197 MB.
- About 400 MB free on the SD card during install, 200 MB after you delete the package.
Launch it through a forwarder such as Sphaira. The README recommends that. Starting from the Album (applet mode) doesn’t give the game enough memory, and it quits. Expect some stutter in the first minutes, because the shaders compile on the console the first time they’re needed.
The port still needs your own game package, and this release doesn’t change that.
