Repository navigation
Releases
Sonic Dream Team NX 1.10.3
❤️This port is, and always will be, free and open. No paywalls, no locked builds.
It's built in my spare time: reverse engineering, debugging on real hardware,
and a lot of late nights. If it's been useful to you, support helps me spend
more time on it and on future recomps.
🎯 Current goal: $300/month — lets me dedicate an extra weekend each month to recomp work.
If this project helped you out, consider buying me a coffee on Ko-fi to support future updates!
Sonic Dream Team on Nintendo Switch, as a loader for the game's Android build. This is the second build of 1.10.3: it adds the Thorhax intro. The version shown on the console is still 1.10.3.
What you need
- A Switch with Atmosphère.
- The game's APK: Sonic Dream Team for Android, package
com.sdt.port, version 1.10.3 (2,245,078,225 bytes, SHA-256d4e6fb090277a4ca92f9645f3f5c80e215fe63c56382efa1b937332b7c6356f6). It is not included. Other versions are not expected to work.
Install steps are in the README.
On one overclocked console (CPU about 1785 MHz, GPU 768 MHz), handheld at 720p, from a four-core forwarder:
- The intro: every frame shown on time, the game takes over the screen afterwards, and skipping works. Both files here were started on the console.
- From earlier builds with the same game code: steady 60 fps in the heaviest level measured (Ego City Nightmare), about 57 fps there from the homebrew menu (title override, three cores); starting with no network, docked mode, sleep and wake, and HOME and return all work.
Known limits
- The intro was not tried through the homebrew menu (title override), only from a forwarder.
- No full playthrough has been done: a handful of levels were tested.
- Not measured at stock clocks; expect below 60 fps in heavy levels.
- The in-game Import Saves and Export Saves buttons do nothing.
- Game Center features (leaderboards, cloud saves) do not exist here.
- One run in about thirty showed 38 fps for no known reason. If it happens, put
SDT_FUTEX=bucketinenv.txt.
Files
sdt_nx.nro: the port.sdt_nx_debug.nro: the same with logging, for reporting problems.
Sonic Dream Team NX 1.10.3
Sonic Dream Team on Nintendo Switch, as a loader for the game's Android build. This is the first release numbered after the game version it runs.
What you need
- A Switch with Atmosphère.
- The game's APK: Sonic Dream Team for Android, package
com.sdt.port, version 1.10.3 (2,245,078,225 bytes, SHA-256d4e6fb090277a4ca92f9645f3f5c80e215fe63c56382efa1b937332b7c6356f6). It is not included. Other versions are not expected to work.
Install steps are in the README.
Changes since 0.1.5
- The game's logo as the icon.
- Version number 1.10.3. The code is the same as 0.1.5.
Tested
On one overclocked console (CPU about 1785 MHz, GPU 768 MHz), handheld at 720p:
- Steady 60 fps from a four-core forwarder in the heaviest level measured (Ego City Nightmare); about 57 fps there from the homebrew menu (title override, three cores).
- Starting with no network, docked mode, sleep and wake, and HOME and return all work.
- Tested with the 0.1.5 builds; these builds differ only in icon and version number.
Known limits
- No full playthrough has been done: a handful of levels were tested.
- Not measured at stock clocks; expect below 60 fps in heavy levels.
- The in-game Import Saves and Export Saves buttons do nothing.
- Game Center features (leaderboards, cloud saves) do not exist here.
- One run in about thirty showed 38 fps for no known reason. If it happens, put
SDT_FUTEX=bucketinenv.txt.
Files
sdt_nx.nro: the port.sdt_nx_debug.nro: the same with logging, for reporting problems.
v0.1.5
Performance release. Install as before: replace sdt_nx.nro in sdmc:/switch/sdt/.
Changes
- Heavy levels run about 10% faster, and can hold 60 fps. In the heaviest level measured (Ego City Nightmare) the release build went from 52 fps to about 57.5 when started from the homebrew menu, and to a steady 60 when started from a forwarder that allows four CPU cores. Measured on an overclocked console (CPU about 1785 MHz).
- Four cores are used when allowed. Starting through the homebrew menu (title override) gives the port three cores. A forwarder can allow the fourth, and the port then starts a fourth engine worker by itself. In sphaira: select
sdt_nx, Options, Install Forwarder, Address Space 39-bit, CPU Cores 4. - Where the gain comes from: a different graphics-jobs mode (the "native" option enabled since 0.1.3 was the slower one here), and the kernel's own wait call for the engine's threads in place of an emulation that woke every idle worker for each job.
- New optional settings in
env.txt(see the README):SDT_FPS=1writes a frame-rate file,SDT_FUTEX=bucketgoes back to the previous wait emulation, plusSDT_FIXED_STEP,SDT_LOD_BIAS,SDT_URPandSDT_THREADSfor experimenting. - The built-in profiler can sample the engine's worker threads (
SDT_PROFILE_THREADS).
Tested
- From the homebrew menu: three levels across the worlds, HOME and return.
- From a four-core forwarder: four levels across the worlds, HOME and return, with the logging build.
Known limits
- From the homebrew menu the heaviest level is still below 60 (about 57.5 fps).
- One test run with the new wait call sat at 38 fps and it never happened again in about thirty runs; the cause was not found. If you see a level stuck well below its usual rate,
SDT_FUTEX=bucketrestores the previous behaviour. - Pressing HOME and returning works, but the game gets no "pause" signal: pause it yourself first.
- The in-game Import Saves and Export Saves buttons do nothing.
- Not measured at stock clocks. Docked mode, and sleep and wake are untested.
- The game starts with no network (tested in airplane mode after release).
No game code or assets are included.
v0.1.4
Small performance release. Install as before: replace sdt_nx.nro in sdmc:/switch/sdt/.
Changes
- Heavy levels run about 3% faster. The engine now gets three worker threads instead of two; the third works while the main thread waits for the physics step. In the heaviest level measured (Ego City Nightmare) the rate went from 50.2 to 51.7 fps in one session, on an overclocked console. It is still not a 60 fps lock there.
- Two periodic 4–5 ms stalls removed. The port and the graphics driver each scanned the whole heap on a timer (once a second and twice a second). The first is gone from this build and the second now runs every 5 seconds.
SDT_BOOT_CONFIGdefault is nowgfx-enable-gfx-jobs=1;gfx-enable-native-gfx-jobs=1;job-worker-count=3(see the README).- The built-in profiler now names what a waiting thread is waiting for.
Tested
- Four levels across the worlds, HOME and return, and an in-level check of this build.
Known limits
- Pressing HOME and returning works, but the game gets no "pause" signal: pause it yourself first.
- The in-game Import Saves and Export Saves buttons do nothing.
- Not measured at stock clocks. No-network play, docked mode, and sleep and wake are untested.
No game code or assets are included.
v0.1.3
Performance release. Install as before: replace sdt_nx.nro in sdmc:/switch/sdt/.
Changes
- Heavy levels run about 20% faster. The engine now prepares its draw calls on its worker threads instead of the main thread ("graphics jobs"). In the heaviest level measured (Ego City Nightmare) the rate went from 44 to 53 fps; other levels that ran at 37–57 fps now mostly hold 54–60. Measured on an overclocked console with the logging build. It is not a 60 fps lock everywhere.
- The engine now receives the game's
boot.config. Before, none of its start-up settings applied. - New optional settings in
env.txt:SDT_BOOT_CONFIG(noneturns graphics jobs off) andSDT_SHADOW_DISTANCE(see the README). - The built-in profiler can name the game's and the engine's functions (see the README).
Tested
- One level in each of the four worlds, a seven-level session, HOME and return, and saving across a relaunch.
Known limits
- Pressing HOME and returning works, but the game gets no "pause" signal: pause it yourself first.
- The in-game Import Saves and Export Saves buttons do nothing.
- Not measured at stock clocks. No-network play, docked mode, and sleep and wake are untested.
No game code or assets are included.
v0.1.2: sound fix, vsync
Bug-fix release. Install as before: replace sdt_nx.nro in sdmc:/switch/sdt/.
Changes
- Sound no longer stops when a level loads. In v0.1.0 and v0.1.1 the release build played the menu music and then went silent for good at the first level load (the logging build usually escaped it). The audio driver the port used could wait forever if its thread was held up for more than 21 ms. The port now has its own audio output loop, which carries on after a stall.
- Vsync: frames are presented in step with the display. The first level holds 60.0 fps where it drifted between 60 and 62 (one run each, on an overclocked console).
- The game is told it is version 1.10.3.
- New optional settings in
env.txt:SDT_VSYNC=0,SDT_AUDIO=sdl(the old audio path) andSDT_AUDIO_TRACE=1(see the README).
Known limits
- Pressing HOME and returning works, but the game gets no "pause" signal: pause it yourself first.
- Not measured at stock clocks. No-network play, docked mode, sleep and wake, and levels after the first are untested.
No game code or assets are included.
v0.1.1: performance
Performance release. Install as before: replace sdt_nx.nro in sdmc:/switch/sdt/.
Changes
- Frame rate: a query the graphics driver answered by walking the whole heap was costing the render thread about a quarter of its time and the main thread a fifth. It is now cached.
- Fewer hitches: the game's list of 293 shader pipelines is built at boot (about 4 seconds the first time), and compiled pipelines are kept in
cache/pipelines.bin, so later boots take them from the file. - In the first level, the measured stretch went from 49–60 fps with hitches of 100 ms and more to a steady 60 fps (one run each, on an overclocked console).
- New optional settings in
env.txt:SDT_PSO_WARMUP=0andSDT_PROFILE=<samples per second>(a built-in profiler; see the README).
Known limits
Unchanged from v0.1.0: not measured at stock clocks; no-network play, docked mode, sleep and resume, and levels after the first are untested. Pressing HOME still gives the game no "pause" signal.
No game code or assets are included.
v0.1.0: first playable
First playable build of Sonic Dream Team on the Nintendo Switch.
What works
- Boots to the main menu, plays the intro video (skip with A, B or +) and the story cutscenes
- The first level is playable with a controller: camera, running, jumping, rails, boost, enemies
- Native 720p; sound; HTTPS to the game's server
- Reads the game straight from the unmodified APK
Install
- Copy
sdt_nx.nrotosdmc:/switch/sdt/. - Copy the game's APK (1.10.3) there as
base.apk. - Copy the four files of the APK's
lib/arm64-v8a/folder intosdmc:/switch/sdt/lib/. - Launch through title override (hold R while starting a game, then run it from the homebrew menu).
sdt_nx_debug.nro is the same build with debug.log and crash logs switched on.
Known limits
- Measured only on an overclocked console (about 50 to 60 fps in the first level). Stock clocks will be slower.
- Not yet tested: no-network play, docked mode, sleep and resume, levels after the first, and resuming progress after finishing a level.
- Buttons follow the on-screen labels, which are Xbox pictures: "A" is the Switch's A.
No game code or assets are included.