Skip to content

Swap2-Native 0.2.2-beta

Pre-release
Pre-release

Choose a tag to compare

@mamcjr mamcjr released this 05 Dec 03:31

Swap2-Native 0.2.2-beta

A game file check for .nup games, a keep-alive service so a game in the background is not the first one Android closes, the thermal cap on Android, and another round of fixes from Banana Native, nxnative, peanuts-native, TOTKRecompAndroid and BOTWRecomp.

Install over 0.2.1-beta. Games, packs, mods and saves are kept, and the games are not prepared again. The shader libraries do not change. The first start of each game after the update is slower: some shaders are rewritten on the phone, so the driver compiles their pipelines once more (Zelda: Ocarina of Time took about 12 minutes on a POCO F7 Ultra with Swap2-Turnip, then 8 seconds on the next start). Leave the game open on its loading screen until it finishes.

New

  • Check game file (a .nup game's Options, and Game settings › Advanced): reads every file of the game against its checksum and writes a report you can share, with a fingerprint of each package and folder, so that two copies of a game can be compared.
  • Games in the background stay open longer: a small service keeps the game's process alive while it is suspended, so Android's memory cleaner ends other apps first.
  • Thermal cap on Android: while the phone reports a serious thermal state, the game holds 30 fps until the phone has been cool for 30 seconds, as on iOS.
  • Overlay: the detailed panel (double-tap the overlay) shows the GPU's load and clock on phones that let apps read them.
  • StevenMXZ's Adreno-Tools-Drivers in the driver download list.

Fixed

  • Objects missing for the rest of a session after the phone ran short of memory: a pipeline the driver refuses for lack of memory is made again 5 seconds later (from TOTKRecompAndroid and BOTWRecomp).
  • A custom GPU driver made for another GPU no longer leaves the game with no picture: the system driver is used instead, and the log says so.
  • The screen's refresh rate now follows the game even when the change is not seamless (Android 12 and later).
  • A notification sound no longer mutes the game for about 2 seconds.
  • The launcher no longer runs out of memory checking a library of .nup games after an update.
  • A pipeline is no longer marked as crashing the driver when Android closed the game from outside while it was being built (GitHub #14, #15).
  • Memory pools placed in parts join correctly across two parts (GitHub #10, #15).
  • From Banana Native: block-compressed texture copies with a partial edge, converted indices, file-backed pool write-back on a thread of its own, and lock words with no owner answered as the Switch does.
  • From peanuts-native and nxnative: texture copies stay inside their level, blending that only copies, a pass that samples its own target, shuffles within a pixel quad, and several smaller GPU fixes.

Tested

On a POCO F7 Ultra with Swap2-Turnip and the Qualcomm 891.17 driver: Zelda: Ocarina of Time, Mario Kart World, Donkey Kong Bananza and Yoshi and the Mysterious Book run with no new errors; the game file check passes on the 25.6 GB Ocarina of Time package in 42 seconds.

Known issues

  • Mario Kart World can lose the GPU in a race when the GPU clock floor is forced to the highest clock with DM_VK_GPU_FLOOR=100 in env.txt (3 of 10 runs on the POCO F7 Ultra). Without that line it did not happen in 13 runs.
  • Yoshi and the Mysterious Book: some scenes are still black.
  • A game that closes, or the shader update that does not finish: run the Automatic diagnosis (Game settings › General) and send its report.

Everything else is as in 0.2.1-beta.

Thanks

moceure and the Banana Native contributors, the nxnative and peanuts-native authors, Peiikai (TOTKRecompAndroid, BOTWRecomp), StevenMXZ, enjoyerofslop / DroidPlay Core, Sergii "iOrange" Kudlai (bcdec), erickmendes22 and EddizEge / AnkaNative. Licenses and attribution are included in the sources.