Skip to content

Releases

v340

Choose a tag to compare

@github-actions github-actions released this 28 Oct 18:11
59b3800

v340 — RetroAchievements, core and netplay fixes, privacy, libraries built from source

This release collects the 36 pull requests merged since V339 (#19 to #54): achievements that read
the game's memory unlock again, and hardcore mode follows more of RetroAchievements' rules; the
emulator core takes upstream mupen64plus-core's fixes; netplay codes no longer need a server; the
app logs less, asks for fewer permissions and has a privacy policy and a licenses page; and the
native libraries that were committed in 2021 without a build record are now built from source.

Version code 340, version name 3.0.340 plus the build commit hash. Package
org.mupen64plusae.turnip.pwnedbygary, signed with the same release identity as the earlier
signed releases, so it updates an existing signed release in place; it does not replace the
separate .debug beta or transfer that beta's private saves.

Update check

The in-app update check compares the number in the latest release's tag with the app's version
code. V339 (15 October 2026) was built with version code 338, so V339, and every other build with
version code 338, kept offering V339 as an update after it was installed. Version code 340 fixes
this: with v340 installed, the check offers only a release whose tag has a higher number, and
earlier builds are offered v340.

RetroAchievements

  • Achievements that read memory unlock again (#19). A defect disabled every achievement that
    reads the game's memory as soon as the game loaded, in hardcore and in casual mode.
  • Hardcore unlocks are still recorded as casual. Going by its code, RetroAchievements' server
    keeps hardcore unlocks only from emulators that RetroAchievements has approved. It has not
    approved this app, so hardcore unlocks are recorded as casual (not yet seen on a device), and in
    hardcore the server's "Warning: Unknown Emulator" notice appears. The app now names itself to
    RetroAchievements as Mupen64Turnip/<version> (Android <release>) instead of the parent
    emulator's name (#19).
  • Hardcore rules (#19): fast-forward, slow motion, frame advance and audio sync are disabled;
    save states can be made but not loaded; cheats and GameShark are refused; a game resumed from
    its auto save and netplay sessions run in casual mode, each with a notice.
  • No built-in game fixes in hardcore (#49): the emulator's ROM database applies codes to three
    games in every mode: an end-credits fix for the GameCube dumps of Ocarina of Time, a multiplayer
    timing fix for Mario Kart 64 and a boot fix for Rat Attack (53 database entries list or inherit
    them). Hardcore sessions now run without them, with the notice "Hardcore mode: this game's
    compatibility fixes are disabled", and the Hardcore mode setting says that Rat Attack may not
    start. Casual, resumed and netplay sessions keep them.
  • During play (#19): notices for the session's mode, each unlock, an unlock or leaderboard
    entry that the server refuses, a lost and a restored connection, and each leaderboard attempt
    (started, failed, or submitted with its value). A line at the top of the screen shows active
    challenges, achievement progress and running leaderboard values, and lets touches through to the
    controls below it.
  • Achievement list (#19): the in-game menu's new "Achievements" item, shown when
    RetroAchievements is on, lists the mode, the unlocked count and points, then each achievement
    with its description, points and status. Every item of the in-game menu now has an icon, so
    their titles line up.
  • Unlocks made offline are kept (#19): each unlock and leaderboard entry stays on the device
    until the server records or refuses it, and is sent again after the next sign-in, with a notice
    of how many the server recorded.
  • Progress kept with each save state (#19): loading a state restores the achievement progress
    saved with it.
  • Sign-in (#19, #37): a game signs in with the saved session token first, and the app deletes
    the saved password once a sign-in returns a token. If RetroAchievements later rejects the token,
    the app says "the saved sign-in was rejected; enter your password in Settings again".
  • Float conditions (#38): conditions that compare a floating-point value in the game's memory
    with a constant no longer treat a NaN as if it were the constant. Derived from tests, not seen
    in a game.

Checked with debug builds on a Retroid Pocket 6 (Android 13): casual sessions with the mode notice
and the achievement list; "Match Winner" unlocked in Mario Tennis in casual mode, and the server
recorded it; in hardcore, the speed toggle, the Game speed dialog, audio sync, slot loads and
auto-save loads refused with their notices, and slot saves and the exit's auto save made with
their progress; Resume in casual mode; a reset while paused; the menu icons; and the password
deleted after a game's sign-in (#19, #37). Not run on a device: a hardcore unlock, an unlock made
offline, the line at the top of the screen, leaderboard attempts, netplay, and #49.

Emulator core

  • Upstream mupen64plus-core (#21, #25): the core followed a fork of mupen64plus-core that
    stopped taking upstream's changes in 2022. It now has 28 of upstream's bug and safety fixes
    (#21) and 125 more of upstream's commits, up to upstream's master of 19 October 2026 (#25):
    bounds checks in the emulated hardware and in ROM loading, dynamic recompiler and interpreter
    fixes, the interpreters' newer CPU accuracy, memory and register fixes, upstream's netplay code
    and an updated ROM database. The core keeps its own save file names, RetroAchievements, N64DD
    work, writable cartridge ROM, 256 MB ROM limit and 16 MB of RDRAM.
  • What can change for you (#21, #25):
    • Save states are written in version 1.9; 1.8 states still load. Read from the code, not
      tried: an older build would load a 1.9 state without its two new values.
    • Every netplay player needs v340 (see "Netplay").
    • The bundled ROM database is new, and installed apps extract it at their next start.
    • The game's process uses about 32 MiB more memory from the start, measured with debug builds
      on an arm64 phone and on the Retroid Pocket 6.
    • The dynamic recompiler now compiles code that a game runs from uncached memory, where it used
      to end the process.
    • A save state made by an earlier version with a Transfer Pak attached loads two old Transfer
      Pak values in the place of two new ones.
  • Memory safety (#29): the gaps that upstream's master also has are closed. SRAM and FlashRAM
    reads, writes and transfers, and transfers into a writable cartridge ROM, stay inside their
    memory, a damaged save state can no longer make the core write past its buffers, and the x86
    recompiler gets three guards that the other recompilers already had.
  • Fast math off for the core (#38): the core is compiled without fast math, and two
    floating-point compare helpers are fixed, so the interpreters' compares give the right result
    when one side is a NaN. The interpreters run when an emulation profile picks them, and for games
    whose GLideN64 settings name DisableFBInfo, such as Pokémon Snap and Jet Force Gemini. Mario
    Tennis on the dynamic recompiler used about the same CPU time at 59.8 fps on the Retroid Pocket
    6 (debug builds); the interpreters' speed was not measured.
  • Saves and save states (#19, #29, #34, #35):
    • A save state whose file cannot be written (full storage, a missing folder) no longer freezes
      the game. It, or a state whose file fails to close, is reported as failed, so Resume does not
      pick a cut-short auto save (#19, #29).
    • Controller Pak saves of players 2 to 4 are no longer replaced by player 1's data (#19).
    • A Transfer Pak's Game Boy save keeps what other Game Boy emulators append after its RAM, such
      as a clock (#19).
    • Project64 save states with an RDRAM size other than 4 or 8 MB, and M64P save states whose
      event list has no end, are refused instead of making the core read past its buffers (#19).
    • Save-state fields are copied out in a way that is defined on every processor; no change in
      behavior is expected (#34).
    • 32-bit builds (armeabi-v7a and x86) can open Project64 zip save states, which failed before
      (#35; shown under qemu).

Checked with debug builds: on an arm64 phone (Android 16), Mario Tennis resumed the previous
build's auto save (#21); on a Retroid Pocket 6 (Android 13), Mario Tennis loaded a 1.8 auto save,
saved and loaded a 1.9 slot state and resumed the exit's auto save (#25, #29), and F-Zero X with
its Expansion Kit disk reached the title screen with the 64DD logo and the attract race (#21,
#25). The game did not write to its disk in those runs. Not run on a device: the interpreters,
netplay, the Transfer Pak and Controller Paks, Project64 states, a game writing to its 64DD disk,
the 32-bit and x86 recompilers, #34 and #35.

Crash and hang fixes

  • Game start on 32-bit ARM and x86 devices (#20): every game start crashed on devices that use
    the app's armeabi-v7a, x86 or x86_64 libraries, such as 32-bit ARM TV boxes, Chromebooks with
    Intel or AMD processors and the Android emulator. Games start there again, and the Vulkan
    renderer uses the system's driver; a Turnip driver picked in Settings is not used on those
    devices. Shown on an Android 10 x86_64 emulator; not run on a real 32-bit ARM or x86 device.
  • Exit auto save (#22): an exit through the in-game menu could hold its auto save back for
    most of a minute (45 seconds on a phone), and past 60 seconds the app's watchdog would have
    ended the process before the save was written. On the Retroid Pocket 6, in exits timed to hit
    the stall, the old code's saves landed up to 34.9 seconds after the request and the new code's
    about 0.11 seconds after it (debug builds).
  • Failed save-state writes no longer freeze the game (#19; see "Emulator core").
  • An unexpected error during a RetroAc...
Read more

V339

Choose a tag to compare

@pwnedbygary pwnedbygary released this 15 Oct 18:53
d977906

v338 — RetroAchievements, gallery and theme fixes, new branding

This release collects everything merged since the published v337 tag plus the branding work:
RetroAchievements support with hardcore-mode enforcement, a set of gallery, theme and driver
fixes, and a complete replacement of the retired yellow and green cube artwork with the neon
"M" logo.

Version code 338, version name 3.0.338 plus the build commit hash. Package
org.mupen64plusae.turnip.pwnedbygary, signed with the same release identity as v337, so it
updates an existing signed release in place; it does not replace the separate .debug beta or
transfer that beta's private saves.

Wave Race compatibility update

This v338 update adds the verified Wave Race Shindou English translation to the
ROM database, inheriting the original Shindou defaults, including Count per Op
3. The bundled database revision is increased so existing installations
refresh it. Explicit per-game overrides, save identity, native N64DD policy,
and independent WritableROM behavior remain unchanged.

The user confirmed fresh Dynamic Recompiler gameplay with a manual Count per Op
setting of 3 using both GLideN64 and ParaLLEl. Host regression checks cover
lookup/inheritance and the database refresh; automatic-default behavior and
save/reopen have not yet been verified on a device. Keep existing saves and the
working manual override until automatic defaults are confirmed.

The original v338 source at ded55f412a778f15d839786776e223935afe7d0b is
preserved under archive/v338-original-ded55f41. This replacement retains
version code 338 and the release signing identity. Users who already installed
v338 must download and install the replacement manually; update checks based
only on version code may not offer it.

RetroAchievements (rcheevos)

  • Vendored rcheevos with native glue (upstream/src/api/ra_glue.c, api_export.ver) and a JNA bridge.
  • New RetroAchievements settings screen and preferences.
  • The client is started from the emulation lifecycle and uses the default HTTPS host.
  • Sign-in with password plus session-token capture, with escaped-string JSON handling fixed.
  • Hardcore mode enforced: save states, slots, GameShark and cheats are denied, the overwrite prompt
    is skipped when hardcore would deny the save, and fast-forward is blocked.
  • Hardcore denials no longer announce a save or load that never happens.
  • Cancel on confirmation dialogs no longer performs the action.
  • Device verification recorded in docs/RETROACHIEVEMENTS_REMAINING_ISSUES.md.

Gallery, orientation, theme and driver fixes

  • Gallery and Game activities handle orientation changes in place, and the gallery keeps its
    draw-behind-system-bars behaviour across rotation.
  • Stale service broadcasts after gallery recreation are fixed (issue #1).
  • The theme quick-switch crash caused by stacked activity.recreate() calls is fixed.
  • All AlertDialogs and popups are themed; submenu rows use the secondary accent; dynamic menu-row
    colours no longer go stale; a preset change re-colours text immediately.
  • ROMs larger than 64 MB are accepted, fixing the B3313 new-save crash (issue #3).
  • Per-game GPU driver labelling corrected, with a per-game "force stock driver" option.

Branding

  • The launcher icon is the neon "M" logo, and the glyph now fits entirely inside the launcher's
    circular mask. The previous asset was authored at the legacy 48 dp size, so the system upscaled it
    and the mask cut its corners. The adaptive background is a retrowave gradient and every layer is an
    oval, so the icon is round with transparent corners in every rendering context, masked or not.
  • Legacy ic_launcher.png and ic_launcher_round.png regenerated as round tiles for pre-API-26
    launchers and the android:roundIcon consumer.
  • The splash screen shows the new logo on a matching neon backdrop; the retired publisherlogo
    nine-patch is gone.
  • The retired cube is gone from the notification icon (drawable-*/icon.png), the Android TV banner
    and both web listing icons.
  • Regeneration is reproducible through three scripts: tools/generate-launcher-icon.py,
    tools/generate-launcher-legacy-icons.py and tools/generate-brand-assets.py.

Device verification

The signed release build was installed on a Retroid Pocket 6 running Android 13. Verified on device:
install and launch without crashes; a game ran with the emulator's foreground notification; the
launcher icon renders as a circle fully inside the mask (the glyph measured 98 px across inside the
148 px mask circle, against 97.6 px predicted for a masked draw); the splash screen and the first-install permission dialog show the new
logo; and the notification small icon matches the new logo (silhouette match 0.971 against 0.761 for
the retired cube).

Not re-tested on this build: N64DD and Expansion Kit behaviour, custom-machine saving, and the
writable-cart .cart_ram persistence path. v337 acceptance does not carry over, because this release
changed the cartridge-ROM paths those features use: CART_ROM_ADDR_MASK moved from 0x03ffffff to
0x0fffffff, CART_ROM_MAX_SIZE rose from 0x4000000 to 0x10000000, an oversized-ROM rejection was
added, and the mem_base layout shifted accordingly. N64DD and WritableROM therefore need their own
re-test before v338 can be described as v337-equivalent for disk and writable-cart use. The Android TV
banner and the pre-API-26 legacy icons were not exercised on a device.

v338

Choose a tag to compare

@github-actions github-actions released this 22 Sep 21:06

v338 — RetroAchievements, gallery and theme fixes, new branding

This release collects everything merged since the published v337 tag plus the branding work:
RetroAchievements support with hardcore-mode enforcement, a set of gallery, theme and driver
fixes, and a complete replacement of the retired yellow and green cube artwork with the neon
"M" logo.

Version code 338, version name 3.0.338 plus the build commit hash. Package
org.mupen64plusae.turnip.pwnedbygary, signed with the same release identity as v337, so it
updates an existing signed release in place; it does not replace the separate .debug beta or
transfer that beta's private saves.

Wave Race compatibility update

This v338 update adds the verified Wave Race Shindou English translation to the
ROM database, inheriting the original Shindou defaults, including Count per Op
3. The bundled database revision is increased so existing installations
refresh it. Explicit per-game overrides, save identity, native N64DD policy,
and independent WritableROM behavior remain unchanged.

The user confirmed fresh Dynamic Recompiler gameplay with a manual Count per Op
setting of 3 using both GLideN64 and ParaLLEl. Host regression checks cover
lookup/inheritance and the database refresh; automatic-default behavior and
save/reopen have not yet been verified on a device. Keep existing saves and the
working manual override until automatic defaults are confirmed.

The original v338 source at ded55f412a778f15d839786776e223935afe7d0b is
preserved under archive/v338-original-ded55f41. This replacement retains
version code 338 and the release signing identity. Users who already installed
v338 must download and install the replacement manually; update checks based
only on version code may not offer it.

RetroAchievements (rcheevos)

  • Vendored rcheevos with native glue (upstream/src/api/ra_glue.c, api_export.ver) and a JNA bridge.
  • New RetroAchievements settings screen and preferences.
  • The client is started from the emulation lifecycle and uses the default HTTPS host.
  • Sign-in with password plus session-token capture, with escaped-string JSON handling fixed.
  • Hardcore mode enforced: save states, slots, GameShark and cheats are denied, the overwrite prompt
    is skipped when hardcore would deny the save, and fast-forward is blocked.
  • Hardcore denials no longer announce a save or load that never happens.
  • Cancel on confirmation dialogs no longer performs the action.
  • Device verification recorded in docs/RETROACHIEVEMENTS_REMAINING_ISSUES.md.

Gallery, orientation, theme and driver fixes

  • Gallery and Game activities handle orientation changes in place, and the gallery keeps its
    draw-behind-system-bars behaviour across rotation.
  • Stale service broadcasts after gallery recreation are fixed (issue #1).
  • The theme quick-switch crash caused by stacked activity.recreate() calls is fixed.
  • All AlertDialogs and popups are themed; submenu rows use the secondary accent; dynamic menu-row
    colours no longer go stale; a preset change re-colours text immediately.
  • ROMs larger than 64 MB are accepted, fixing the B3313 new-save crash (issue #3).
  • Per-game GPU driver labelling corrected, with a per-game "force stock driver" option.

Branding

  • The launcher icon is the neon "M" logo, and the glyph now fits entirely inside the launcher's
    circular mask. The previous asset was authored at the legacy 48 dp size, so the system upscaled it
    and the mask cut its corners. The adaptive background is a retrowave gradient and every layer is an
    oval, so the icon is round with transparent corners in every rendering context, masked or not.
  • Legacy ic_launcher.png and ic_launcher_round.png regenerated as round tiles for pre-API-26
    launchers and the android:roundIcon consumer.
  • The splash screen shows the new logo on a matching neon backdrop; the retired publisherlogo
    nine-patch is gone.
  • The retired cube is gone from the notification icon (drawable-*/icon.png), the Android TV banner
    and both web listing icons.
  • Regeneration is reproducible through three scripts: tools/generate-launcher-icon.py,
    tools/generate-launcher-legacy-icons.py and tools/generate-brand-assets.py.

Device verification

The signed release build was installed on a Retroid Pocket 6 running Android 13. Verified on device:
install and launch without crashes; a game ran with the emulator's foreground notification; the
launcher icon renders as a circle fully inside the mask (the glyph measured 98 px across inside the
148 px mask circle, against 97.6 px predicted for a masked draw); the splash screen and the first-install permission dialog show the new
logo; and the notification small icon matches the new logo (silhouette match 0.971 against 0.761 for
the retired cube).

Not re-tested on this build: N64DD and Expansion Kit behaviour, custom-machine saving, and the
writable-cart .cart_ram persistence path. v337 acceptance does not carry over, because this release
changed the cartridge-ROM paths those features use: CART_ROM_ADDR_MASK moved from 0x03ffffff to
0x0fffffff, CART_ROM_MAX_SIZE rose from 0x4000000 to 0x10000000, an oversized-ROM rejection was
added, and the mem_base layout shifted accordingly. N64DD and WritableROM therefore need their own
re-test before v338 can be described as v337-equivalent for disk and writable-cart use. The Android TV
banner and the pre-API-26 legacy icons were not exercised on a device.

v337

Choose a tag to compare

@github-actions github-actions released this 17 Sep 21:09
7db5197

v337 — Native DD investigation cleanup

This release removes the DD/RSP investigation tracing, snapshots, command-buffer
watches and diagnostic-generated CPU hooks from the working development build.
It retains explicit per-game DD policy, the existing DD CPU/DMA corrections and
independent WritableROM support. Normal error reporting remains available.

The confirmed English Expansion Kit configuration is:

  • F-Zero X USA cartridge;
  • the English-translated USA-region NDD;
  • the prototype USA IPL;
  • Dynamic Recompiler and Parallel RSP.

The working configuration was demonstrated on development commit 5ebdc720.
That beta displayed version 336 but was not the published v336 tag
(dc955483). A subsequent user test of that tagged release showed the 3D N logo,
then “F-ZERO X cannot be played with this disk alone” and a request to insert the
Game Pak. The release source selects IPL-first when an IPL is loaded, whereas
the working beta supports explicit cartridge-first combo boot. That functional
boot selection is preserved here. The comparison does not isolate every other
intervening fix or establish that diagnostic logging made the game work.

The APK actually attached to the public v336 tag reports internal version code
335 and name 3.0.335 (beta) dc955483. v337 aligns the tag with version code 337
and name 3.0.337 plus the build commit hash.

Installation and saves

The cleaned CI candidate (7db5197f) was subsequently device-tested: the user
confirmed native N64DD loads and works, and custom-machine saving works.
This does not establish that cart-first boot alone accounts for the recovery,
or that every save type survives a full restart.

The release APK keeps the normal release application ID and signing identity.
It can update the earlier signed release without an uninstall. The diagnostic
beta uses a separate .debug package: this release does not update that beta
in place or automatically transfer its private saves. Keep the beta and its
saves until any desired transfer is backed up and verified.

No save-format changes are part of this release. Native disk save/reopen and
writable-cart persistence have not been re-tested on a device for this cleaned
binary. Preserve backups; an emulator autosave message alone does not verify
those features.

v336

Choose a tag to compare

@pwnedbygary pwnedbygary released this 12 Sep 02:15

Fix F-Zero X Expansion Kit Cart Hack saves via WritableROM; fix DD IPL boot priority
Cart hack bakes N64DD disk into extended ROM (~0xC00000+); PI DMA/CPU writes
to CART_ROM were dropped as read-only causing 'Previously saved data did not
write correctly'. Add per-game ROM DB flag WritableROM (rom.c/rom.h/m64p_types.h),
gated via ROM_SETTINGS.writablecartrom. Persist writes in cart_rom.c to
/.cart_ram + .idx sidecar, restore + compact on
init_cart_rom, cache FILE* handles closed via close_cart_rom() from main_run()
teardown, force-disabled under netplay_is_init() to avoid desync. Add DB entries
for 793F68B0 (EN v2.1), 5932D07D (U) and 685B2F0D (J) with RefMD5 EE79A8FE (SRAM).
Fix DD boot: always boot DD IPL when dd_rom_size>0 (even for combo 'C' carts
like F-Zero X+EK) in device.c. Add GamePrefs.migrateExpansionKitSaves() for
MD5-rotation proofing. Update TODO with findings/polish status.

Verified on-device: machines persist across restart; Mario Tennis EEPROM
regression clean; idx compaction 12->2.

Full Changelog: v335...v336

v335

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:33