SSARecomp-Android

SSARecomp-Android is an Android port of Skylanders: Spyro's Adventure featuring touch controls and a Vulkan driver for Adreno GPUs.

README

Skylanders: Spyro's Adventure, recompiled

SSARecomp for Android

An Android port of SSARecomp, developed by tsapZ: the native recompilation of Skylanders: Spyro's Adventure (Xbox 360, 2011). The recompilation itself and everything that makes the game run natively (the portal and portal menu, the settings menu, the fixes) is tsapZ's work and that of the projects it builds on (see Credits). This port adds what Android needs: an ARM64 build, a Vulkan driver that draws the game right on Adreno GPUs, touch controls, a setup screen that installs the game from your ISO, and tuning for the GPUs of Android phones and tablets.

Playing on PC? SSARecomp is one of six Skylanders games tsapZ brought to PC natively. Skylanders: Core of Light is the launcher for all of them: show it your discs and it sets up and updates every game. Well worth a look.

You bring your own copy of the game; nothing of it comes with this project.

Unofficial fan project. Not affiliated with or endorsed by Activision or Toys for Bob. tsapZ doesn't maintain this port: please report problems of the Android version here, not there.

How far it is: playable, not thoroughly tested

This port was made to run, and a lot of the work went into getting a steady frame rate on one device. It has not been tested in depth: not every level, not other devices, not every setting. Expect things that don't work yet. All tests and measurements were made on:

Test device
DeviceHonor MagicPad 2 (tablet)
ChipQualcomm Snapdragon 8s Gen 3
GPUAdreno 735
Screen3000x1920 (12.3", 16:10)
SystemAndroid 16 (MagicOS)
Graphics driverMesa Turnip T30 (bundled)

Weaker devices will need a smaller 3D picture or won't reach 30 FPS; stronger ones may manage a larger one.

Please help:

  • Anything that doesn't work as it should: open a "Problem" issue, see Reporting a problem. Every report helps, even a short one.
  • Tell me what your device reaches: device and chip, the settings you used (3D picture size, driver, frame rate limit) and the FPS you get (Menu → Game → Frame rate display shows them). Use the "Performance report" issue form. That is how this table grows past one device.

Reporting a problem

Open New issue and pick the form that fits:

  • Problem: a crash, a freeze, wrong graphics, sound, touch, a controller, the portal, saves.
  • Performance report: the frame rate your device reaches with which settings.

The form asks for your device, Android version, graphics driver and app version. A log helps a lot: it is the newest file in Android/data/de.pixdel.ssarecomp/files/userdata/logs. Drag it into the issue or paste its end.

Problems of the Windows version belong to tsapZ/SSARecomp.

Getting started

  1. Download the APK from the Releases page and install it.
  2. Open it and choose your own Xbox 360 ISO of Spyro's Adventure (the region-free USA/Europe disc, which one). Its files (about 7.4 GB) are copied into the app once and the version is checked; then you can delete the ISO.
  3. Tap Play.

Long press on the app icon → Game files opens the setup screen again (another ISO, a graphics driver, Lossless.dll).

What you need

  • An Android device with a Qualcomm Snapdragon (Adreno GPU) and Android 11 or newer. Other GPUs (Mali, Xclipse, PowerVR) aren't supported yet.
  • About 8 GB of free storage (the ISO's files), plus the ISO itself while installing.
  • Tested only on an Honor MagicPad 2 (Snapdragon 8s Gen 3, Adreno 735): a steady 30 FPS with the default 3D picture size (560x352).

How it plays

  • Touch controls on the screen, hidden while a controller is connected (Menu → Controls → On-screen controls: always, only the menu buttons, or off; opacity and size). The eye button hides them for a moment. The menus (settings, portal, player) work by touch too: tap a row, a tab, a figure, or a button hint at the bottom.
  • Controllers work as on PC (the first one is player 1, a second one player 2).
  • Settings menu: the touch Menu button, or Back+RB on a controller.
The settings menu on Android

The menu is the PC version's, made for a handheld or tablet:

  • Graphics: no presets or internal resolution multiples (1x is what a phone GPU manages). Instead: Frame rate (30 or 60), 3D picture size (the knob for the frame rate, see below), Native renderer, Frame generation, Graphics driver, sharpening, texture filtering, glow, and Menu size.
  • Menu size (Normal, Large, Very large): how big the menus and their text are. Large is the default, for a 6" screen at 1080p.
  • Left out because they don't exist on Android: window size and fullscreen, monitor, VSync, render path, graphics card, graphics interface, HD textures, FXAA, Discord, keyboard and mouse, All settings.
  • Portal: the virtual portal menu or none (no USB portal on Android yet).
  • Controls: the on-screen controls (shown, menu buttons only, or off; opacity and size).
  • Game: Quit the game closes the app, Restart the game starts it again (for the settings marked with a dot). Both ask first, with No chosen.

Frame rates measured on the Honor MagicPad 2 (Snapdragon 8s Gen 3, Adreno 735, Turnip T30, frame rate limit 30, frame generation off), in the hub and the first chapter:

3D picture size (Menu → Graphics → 3D picture size)Honor MagicPad 2
Performance, 560x352 (default)30 FPS steady
Balanced, 700x440about 28 FPS
Sharp, 840x528about 25 FPS
Original, 1120x704 (Xbox 360)about 20 FPS

Other devices: please send yours (Performance report).

Graphics drivers

Qualcomm's own Vulkan driver draws the 3D scene wrong (one flat colour), so the app brings a Mesa Turnip driver: T30 by Mr. Purple (PurpleVK, Mesa 26.3), the only one that draws everything right in our tests. Menu → Graphics → Graphics driver picks it (Bundled, the default), a driver you imported on the setup screen (Own, a .so or an emulator driver .zip with meta.json), or the system's.

What we tried on the Snapdragon 8s Gen 3:

DriverResult
Turnip T30 (Mr. Purple, PurpleVK 26.3)right, 30 FPS at 560x352: bundled
Qualcomm (system)3D scene one flat colour (4x MSAA depth reads as 0)
Turnip K11MCH1 v26 R8black 3D scene
Turnip Banner v27about every third frame wrong (flicker); right only with flushall, then slower than T30

If you try others, please say which device and driver in an issue.

Frame generation (very experimental)

Menu → Graphics → Frame generation puts a computed frame between every two real ones (Lossless Scaling's frame generation through lsfg-vk). It needs Lossless.dll from your own copy of Lossless Scaling (Steam), imported on the setup screen. It is barely tested: on displays fixed at 120 Hz the extra frames aren't evenly spaced. Off by default.

Native renderer (experimental)

Menu → Graphics → Native renderer draws the game's Direct3D calls natively with NativeXRenderer instead of emulating the Xbox 360's GPU. On the Ayn Thor it reaches 38.7 instead of 26.3 FPS at the original 1120x704 scene with a 60 FPS cap; at small scenes both are about the same. It is experimental: some scenes may still look wrong. Building it needs a NativeXRenderer checkout (-DSSA_NATIVE_X_RENDERER_DIR); without one the app builds without the option. What was fixed for this game and the measurements are in docs/native-x-renderer-ssa.md.

Not there yet

  • Cheats (Menu → Extras) don't seem to work yet on Android.
  • A real USB Portal of Power (the virtual portal menu works).
  • GPUs other than Adreno.
  • Online play.

Building

See docs/android.md: Windows host tools, NDK r30, the native build, packaging and signing. The Windows version is documented in tsapZ's README.

How it was made

Like SSARecomp itself, almost all of the code was written with Claude (Anthropic), tested on the device above.

Credits

Skylanders is a trademark of Activision. This project is not affiliated with or endorsed by Activision.

License

The code and documentation in this repository are released under the MIT license. That doesn't cover the game or its data, which you need to own and supply yourself, or the third-party components in thirdparty/ and the bundled driver, which keep their own licenses; the app lists them on its setup screen (THIRD_PARTY_NOTICES.md).