github bhuiyah/ff7-recomp-android v1.1.43

one hour ago

Fixed: more crashes when loading a save state (#77, #68)

Loading a save state replaces the game's memory. FFNx, the graphics engine, still had a few things of its own stored in there:

  • The picture buffer for textures (#77). FFNx decodes textures into a buffer that was inside the game's memory. While a state loaded, FFNx used or freed that buffer at its old address, which damaged the freshly loaded game. The crash came as the state loaded or right after.
  • Texture file names (#68). The names FFNx gives the game for eye textures were stored there too. After a load, the next new eye texture was asked for under a garbage name, and the game crashed a few steps later.
  • Mod files FFNx keeps open, plus a few smaller buffers with the same weakness.
  • A texture mod turned off since the state was saved. The game's own smaller texture was read as if it were the mod's large one, which could crash the load. It now loads with the game's own texture.

A state still has to be loaded at the frame-rate setting it was saved with. A state saved with a very different mod list can still fail, so use an in-game save if you are about to change many mods.

What was tested: on an AYN Thor, the #68 reporter's state crashes 1.1.42 while loading there and loads in 1.1.43. Walking, the menu, saving and loading again several times, and moving to the next part of the map worked after it. The #77 reporter's state now loads and plays too, without the mods that aren't on the test device. The exact #68 crash (a few steps after the load) did not come up on the Thor before the fix; its cause was confirmed from the crash address in the report.

Thanks to @diggles4 and @mrplattner for the states and logs.

Updating

Go to Settings → Updates in the launcher (or install this APK over your current version), then press Play. It asks to Update the game once (a few seconds); this release needs it.

APK SHA-256: 0365c89ab9789f7e0ab3c3e5996e2f374f0d2e1360c3f1bce7cce7a2013ad4b9
Signing certificate SHA-256: 4f:c0:18:09:12:1b:af:25:f5:8c:8f:5e:7a:47:c4:80:c4:f8:6c:1e:a0:66:6e:37:c7:41:19:13:40:4d:1d:7c

Don't miss a new ff7-recomp-android release

NewReleases is sending notifications on new releases.