Skip to content

Recomp 3.4.7 — the same math on every system (net3)

Pre-release
Pre-release

Choose a tag to compare

@recomp-code recomp-code released this 27 Oct 19:26
· 1 commit to main since this release

Pre-release: Mac and Android ready, Windows pending. It becomes the latest release once the Windows build (Recomp.exe) is attached and recomp-launcher.json gets its Windows entry; until then nobody is offered this update.

DBZ BT4 online: the same math on every system (protocol net3)

Online fights between different systems used to drift apart: the game's sine, cosine and arc cosine came from each system's own math library, which round differently in the last bit (macOS, Android's bionic, Windows' MSVC). The runtime now carries its own portable versions (patches/bt3recomp-bt4mod-detmath.patch in dbz-bt4-recomp), so a Mac, a PC and an Android phone compute the same fight bit for bit.

  • Checked: the same recorded fight on this Mac build and on an Android phone, 19,810 frames, identical state hashes; a live online fight Android vs Mac, 19,680 frames, 0 desyncs.
  • The launcher's online protocol is now net3: 3.4.7 plays with 3.4.7 and the Android preview, not with 3.4.6 or older.

Android

  • DBZ_BT4_Android.apk 3.4.7 (signed, installs over 3.4.6 keeping your data): the ISO picked from Downloads now works (it booted to a black screen), and the touch buttons hide on any controller press. Same build as android-v3.4.7.

Mac

  • DBZ_BT4_Mac.zip 3.4.7 (launcher 3.4.7, runner with the detmath layer, PGO build).