Skip to content

Releases

v1.0.4-palworld-linux

Choose a tag to compare

UE4SS v1.0.4-palworld-linux — Linux Native Build

🐛 Bug Fixes

  • fix: stale FName::ToString Lua override SIGSEGV-floods init after game update

    • Steam buildid 24575149 (v1.0.3.101283, 2026-08-10) moved FName::ToString(FString&)
    • from 0x7945dd0 to 0x794e6e0. The hardcoded Lua override address now points at
    • LZ4 code — every init call SIGSEGVs, the iter-recovery floods the log, and
    • UE4SS init fails (mods never start). Reproduced on our infra, two downstream
    • users hit it (issues BlackBookOfficial#11/BlackBookOfficial#14).
    • Two safety nets:
      1. Lua override is now prologue-validated before assign_address — a stale
    • address is rejected and the dlsym/AOB/Conv fallback chain takes over.
      1. The built-in AOB now carries the verified 23-byte prologue+body signature
    • (unique in the binary) and self-resolves after future game updates.
    • Lua scripts updated to the verified new address 0x794e6e0.
  • fix: image payload staleness + Engine.ini tick enforcement in fork-overlay — payload ships config-fixed WorkProbe/SM; overlay re-applies NetServerMaxTickRate=60 every boot (manual-mode servers otherwise revert to 120 via game shutdown write-back)

  • fix: config.lua was inert in ServerMaintenance + WorkProbe — dofile writes _G.CFG, local CFG never received values; merge loaded table into local (auto_trim flip would have silently done nothing)

📝 Other Changes

  • chore: dedupe stale comment fragment in strong-AOB block

  • docker: ship rebuilt libUE4SS.so (62b7e1ab) with prologue validation + strong AOB

  • docs: arm-5b + arm-6 verdicts — launch-args-off NULL (24.67 vs 25.00, noise); shim CPU-neutral on clean stack

  • docs: optimization-map section 16 — CPU campaign (mod cleanup -10.5pts, sigmask shim, arm-5b)

  • docs: cpu-lever validation — arm-5 clean-stack verdict, sigmask storm root cause + shim fix, live promotion + deploy trap

  • docker: bake sigmask-dedup shim into the image (multi-stage build + overlay install)

    • The fork's signal-based crash-recovery trampoline flips the process mask
    • around every Lua/UObject step on the game thread. Measured: 289K
    • rt_sigprocmask syscalls/s on the populated world (~18-20% of one core in
    • kernel syscall + _copy_to_user per rev-1 RE), 144K/s idle, 36K/s after
    • the mod-side cleanup (a497278/e150d63). The shim keeps a thread-local
    • mirror of the mask and returns without a syscall when the requested
    • change is a no-op — verified: identical-repeat test 2M syscalls -> 2;
    • game-side storm 36K/s -> 0 with boot clean, census/snapshots flowing.
    • Dockerfile: multi-stage gcc:12 build, COPY the .so into the payload
    • fork-overlay.sh: install the shim + rewrite the launcher every boot so
    • pre-existing volumes pick it up (previously launcher was create-only)
    • source: docker/shims/sigmask-dedup.c (v1.0, per-thread mirror)
  • image: revert bUseUObjectArrayCache flip — INERT on Linux

    • The searcher-pool population lives in PostInitialize, which the fork
    • skips wholesale on Linux (UnrealInitializer.cpp:1890-1895, stale-pointer
    • crash protection). The flag is only read inside PostInitialize, so
    • true/false changes nothing on Linux. Reverting; the residual sigmask
    • storm is being attacked with the LD_PRELOAD dedup shim instead.
  • image: bUseUObjectArrayCache=true — kill full-array lookups through the crash-recovery trampoline

    • rev-1 RE (2026-08-05): the residual rt_sigprocmask storm (36K/s after the
    • mod cleanup, was 289K/s) is UE4SS's signal-based per-step crash-recovery
    • trampoline churning masks around mod-driven object lookups. With
    • bUseUObjectArrayCache=false every FindAllOf/find-object call iterates the
    • full GUObjectArray. The cache (hash searcher pools + GUObjectArray
    • listeners) exists precisely to avoid that. false was an upstream
    • limited-mode startup-crash workaround (b13413a); empirical test on test
    • first — if the listener offset is wrong on this build, FindAllOf goes
    • stale and we revert.
  • docs: live cross-check — EOS sigmask storm present on idle live (144K/s)

  • docs: populated-world decomposition + arm-5 clean-stack plan

  • image: sync fixed mods into payload, disable WorkProbe + HookAActorTick

    • docker/ue4ss/Mods: sync PSO adaptive-refresh + WorkProbe enabled-gate
    • fixes into the image payload (postinstall re-copies from payload every
    • boot, so asset-only fixes never reached containers)
    • mods.txt: WorkProbe : 0 (measurement mod; catch-up experiment done;
    • production-like stack per oracle review — stays in Mods/ as opt-in)
    • UE4SS-settings.ini: HookAActorTick = 0 — no enabled mod registers
    • actor-tick callbacks; the vtable hook fires per-actor per-frame for
    • nothing on the populated world
  • mods: adaptive player-location refresh (PSO) + real CFG.enabled gate (WorkProbe)

    • PSO: refresh_player_locations walked the full object array via
    • FindAllOf("PalPlayerController") every 1s (measured ~4.4% CPU on the
    • populated world). With zero players the walk is pure waste — back off
    • to 30s when cached_player_locations is empty, resume 1s when a
    • controller appears.
    • WorkProbe: CFG.enabled was defined but never read — the config flag
    • did nothing (found via oracle cross-check). schedule() now honors it.
  • docs: docker README → v1.0.4, tick enforcement note

  • docs: Engine.ini tick durability fix — v1.0.4 overlay enforcement verified; ghcr push deferred (PAT needed)

  • docs: optimization-map §15 — measured CPU lever A/B (tick 60 -13pts), RE corrections, inert-config bug, post-A/B state

  • docs: inert config.lua bug (SM+WorkProbe) — fix verified, auto_trim A/B unblocked

  • docs: CPU A/B complete — arm 4 autosave 300 -1.8pts (test-only); final table; live already runs arm 2

  • docs: CPU A/B arm 3 — fixed-frame adds nothing over tick 60 (revert block)

  • docs: Engine.ini write-back trap + safe deployment sequence (arm-3 lesson)

  • docs: CPU A/B arm 1 vs arm 2 — tick 60 saves ~13% CPU (measured, populated world)

  • docs: RE verification — sigmask is SDL I/O not tick logic (retracted claim), spin is bounded task-feed with no knob

  • docs: CPU lever validation record — oracle + research verdicts, A/B design (tick 60, fixed-frame, autosave)

  • docker: README — document populated-volume migration validation (2026-08-04)

  • docs: Phase-4 CLOSED — ToString leak was the entire RSS story; no Trim/GC needed (10h+ band-flat soak)

  • scripts: disk-cleanup — weekly safe build-artifact sweep (world-drop prevention; journald evidence: disk-full -> corrupt autosave -> silent world unload)

  • docs: world-drop incident section (§12, disk-full root cause) + stall-watch v1.1

  • scripts: stall-watch v1.1 — add disk-pressure check (>=90% = world-drop risk; 08-03/04 incident root cause: disk-full -> corrupt autosave -> world unload)

  • scripts: stall-watch.sh — autosave-stall watchdog (detect + stage recovery, no auto-restart; 2026-08-04 save-corruption incident)

  • scripts: soak-trend v1.1 — match SM v1.7 snapshot format (epoch-prefixed, no 'snapshot:' token)

  • docker: README with image reference, run instructions, build path

  • docker: restore COPY ue4ss/ payload into image (lost in split-design edit — postinstall was silently exiting without it)

  • docker: postinstall writes mods.txt to Mods/mods.txt too (fork reads that path)

  • docker: chown scripts to steam so the custom-script hook's chmod succeeds

  • docker: restore ENV block keyword (ALWAYS_UPDATE_ON_START default)

  • docker: postinstall hook re-copies mods after steamcmd install wipes Mods/ (CUSTOM_SCRIPT_PATH); overlay keeps only core payload

  • docker: repair fork-overlay mod-copy block (recursive dir copy + config preservation)

  • docker: fix fork-overlay mod copy to recurse into Scripts dirs

  • docker: fixed-fork Palworld server image (obnyis-derived, reviewed lib + mods baked, no forced updates)

  • ci: BUILD_INFO says ubuntu-24.04 runner (matches actual build host)

  • ci: fix zip asset path + stale build-config text in release body

    • The Package zip step creates release/ue4ss-linux-palworld-.zip (one
    • level below workspace root), but softprops files glob referenced it at the
    • root — the zip never attached (v1.0.3 shipped without it; uploaded
    • manually). Fix the glob to release/. Also correct the release body: the
    • build is GCC 13 on the ubuntu-24.04 runner, not Debian 12/GCC 12 (that
    • container cannot compile — see 4d18f78).

Full commit history: v1.0.3-palworld-linux...v1.0.4-palworld-linux

Build Configuration

  • Build Type: Game__Dev__Linux64
  • GUI: Enabled (GLFW3/OpenGL3)
  • Input: Disabled
  • Profilers: Disabled
  • Compiler: GCC 13 (Ubuntu 24.04 runner)

Artifacts

  • ue4ss-linux-palworld-<tag>.tar.gz — Standard Unix archive, full drop-in: library, settings, Mods folder, config
  • ue4ss-linux-palworld-<tag>.zip — Zip archive with identical contents, for mod-hosting sites (NexusMods, etc.) that only accept zip uploads
  • libUE4SS.so — Stripped shared library only (advanced users)
  • BUILD_INFO.txt — Build metadata

Usage

LD_PRELOAD=./libUE4SS.so ./YourGameBinary

Compatibility

  • Built on Ubuntu 24.04 (GitHub-hosted runner), x86_64
  • Requires: libGL, libEGL, libX11, libXrandr, libXinerama, libXcursor, libXi
  • Engine Tick Hook: Auto-detected via dlsym (or Lua scan override in UE4SS_Signatures)

v1.0.3-palworld-linux

Choose a tag to compare

UE4SS v1.0.3-palworld-linux — Linux Native Build

✨ Features

  • fix: FName::ToString FString buffer leak — pre-reserve (7a3ac60) + Lua override guard (67654d7), Copilot-reviewed (42918cd). Full story in PR BlackBookOfficial#12
  • fix: debug GUI console default off — headless-server SIGSEGV (issue #1 Crash 1), PR BlackBookOfficial#13
  • fix: release workflow — Debian 12 container can't compile C++20 <format> (GCC 12); build on ubuntu-24.04 (GCC 13), the config that actually shipped v1.0.2

🔧 Refactoring & Optimization

  • feat: ServerMaintenance v1.7 — config-gated automated game-thread Trim probe
  • feat: PSO v1.2.1 — strong-IsValid guard, proximity-wake UAF fix
  • feat: WorkProbe v1.8.x — work→camp distance-tier instrumentation
  • feat: soak-trend.sh — hourly four-signal slope analyzer

📝 Other Changes

  • docs: optimization-map, LINUX_PORT_AUDIT BlackBookOfficial#18-25, STATUS hook table
  • ci: signature script packaged in release (FName_ToString.lua ships active)

Full commit history: v1.0.2-palworld-linux...v1.0.3-palworld-linux