Skip to content

Star Wars: KOTOR universal 1.0.1 — muOS/ROCKNIX launcher fix

Choose a tag to compare

@NextOs-Ports NextOs-Ports released this 06 Aug 06:32

Star Wars: KOTOR universal 1.0.1 — muOS / ROCKNIX launcher fix

Fixes the two first-round tester failures (RG40XX-H muOS, RG DS ROCKNIX). The game data
install was already completing on both devices — the launcher environment was the problem.

What was broken

  • muOS (libGLESv2.so.2: wrong ELF class: ELFCLASS64): the launcher did not carry the
    literal PORT_32BIT="Y" marker muOS inspects to expose its 32-bit runtime, and the
    library path fell through to the 64-bit /usr/lib, so the ARMHF game binary could not
    find a 32-bit GLES driver.
  • ROCKNIX (SDL_Init Error: Could not connect to PulseAudio): the pipewire-pulse
    socket lives under $XDG_RUNTIME_DIR, and the 32-bit process had no path to the
    32-bit ALSA/PipeWire/SPA modules, so every SDL audio backend failed and the game aborted.
  • Both: the input-normalizer LD_PRELOAD leaked into 64-bit helper processes,
    spamming wrong ELF class: ELFCLASS32 warnings.

What changed

Launcher scripts only — the game binaries are byte-identical to 1.0.0, and the recipes
follow our published, device-validated TASM2 ARMHF launcher:

  • PORT_32BIT="Y" exported by the visible launcher and by run.sh before the
    PortMaster hooks load.
  • /usr/lib32, /usr/local/lib32 and the PortMaster libs/libs.armhf folders are
    probed ahead of /usr/lib.
  • 32-bit ALSA/PipeWire/SPA module directories exported when present; PulseAudio socket
    probe extended to $XDG_RUNTIME_DIR/pulse/native.
  • LD_PRELOAD scoped to the game process only.

Updating

Drop this zip over the previous install. Game data already installed by 1.0.0 is
reused as-is (the installer fast-validates and skips extraction).