Skip to content

Version 0.4.6

Latest

Choose a tag to compare

@ttom795 ttom795 released this 10 Nov 21:35
a11a6f2

LEGO Marvel Super Heroes for Android 0.4.6

APK: LegoMarvel-0.4.6.apk (arm64-v8a, Android 9+, Vulkan 1.1).
SHA-1: 1682a1990580f006d6114247664255e55cf409fb

This is the first release since 0.3.3. Changes are listed against 0.3.3.

New

  • New control scheme copied over from the Skyrim port.
  • Gyro aiming is set up in the controls config and only works while you hold X.

Fixes

  • Audio crackle and pops, worst in busy scenes, are fixed. There were two causes:
    • Android output: SDL's AAudio code gave up after 1 ms and threw away the rest of each chunk whenever the CPU was busy. It now writes every sample and has an 85 ms device buffer.
    • The game relies on a mastering limiter to tame loud mixes, and the port used to ignore it, so peaks were hard-clipped. The port now has its own limiter.
    • The audio mixer also runs at audio priority, with a queue that grows on its own if it falls behind.
  • Crash "no recompiled code at 004e0b10", which hit after a long play session. A switch-table bug in the recompiler dropped the function, but it's fixed now.
  • Startup "not a PE file" error. DLLs are now found whatever their filename case, and the message says which file is wrong and why.
  • Mali GPUs: the clip-distance fix from the Skyrim port.

Performance

  • Threads and cores, with the Skyrim port's changes, including its later fixes for 4+4-core chips from 0.27.6.
    • The main game thread runs on the fast cores.
    • Thread priorities now actually apply.
    • Waits are cheaper: a brief spin before sleeping, and gentler back-off on busy waits.
  • The Android performance hint (ADPF, Android 13+) covers the main thread and DXVK's render threads.
  • Presents in immediate or mailbox mode where the phone offers it.
  • D3D object lookups no longer take a global lock.
  • Pipeline cache on disk, so later launches compile fewer shaders.

Known issues

  • Characters' faces show black, blocky patches up close. This is still unsolved without using custom shaders.

The APK is debug-signed. It contains no game data: use your own copy of the PC game, as described in the README. Please attach port/log.txt from your LEGO Marvel folder to any bug report.