Repository navigation
Overlay
Native module (tools/overlay/ in the repository) that replaces two menu handlers with ImGui panels.
It also carries the runtime fallback for a native-travel join that stays on the loading screen. It is
optional: a client built with the play profile (or --add no_loading_screen) leaves the screen on its
own.
At load, two 12-byte patches (mov rax, imm64; jmp rax) replace the handlers and return null:
| menu entry | handler | result |
|---|---|---|
| PLAY → FIND MATCH |
HomePlayMenu.onQuickmatch 0x14062EF80
|
opens the community-server panel |
| PLAY → NEW MATCH |
HomePlayMenu.onHost 0x140630E50
|
opens the host panel |
The game's own chains never run: no region lookup, no Streamote onboarding, no party call. The rest of the menu is untouched.
The panel fetches a plain-text registry over HTTP (overlay.ini: host, port, path). The
repository ships a minimal registry in tools/registry_server.py: it serves the list, accepts
POST /heartbeat from a running server, drops entries older than --ttl, and with --probe also
TCP-connects to each entry so dead hosts disappear. List format:
Lab Server Alpha|127.0.0.1:7777|3|16
Remote Example|203.0.113.9:7777
The third and fourth fields are optional player counts; when present the row reads
name 3/16 host:port.
Selecting a row calls the same native travel the joiner uses (FUN_14148FA60 with an FString,
num = len + 1, zeroed FGuid), so the client connects to the chosen host.
A native-travel join never sets the client's map-loaded flag (s_mapLoaded), so the game's per-frame
tick never calls closeLoadingScreen and the LOADING... widget stays forever. The client build
(no_loading_screen, file 0x7D9B80) returns from the opener instead, so a play client needs
nothing here. For an unpatched client the overlay arms the game's own latch (setMapLoaded,
FUN_1407DA770) eight seconds after the widget appears; the tick then closes the screen normally and
the client renders the live match with no fatal.
Calling closeLoadingScreen directly instead crashes the render thread
(RenderingThread.cpp:682), and the map-loaded handler's dedicated-server branch is not reached for a
Browse join.
A Present hook on the DXGI swap-chain vtable draws ImGui over the game; the hook creates and binds
its own back-buffer render target because the game unbinds it before Present. A WndProc subclass
forwards to the game and only gives ImGui input while the panel is visible.
zig 0.13 (or newer) with ImGui 1.90.9 sources; cross-compiles a Windows x64 DLL from macOS or Linux.
The build needs an import library for d3dcompiler_47.dll; the UCRT API-set DLLs
(api-ms-win-crt-*.dll) must be resolvable from the directory containing Streamline.exe.
- The host panel is a placeholder. Hosting cannot use
ClientTravel(a map name returns to the menu). The engine path isUWorld::ServerTravelat vtable slot 63 (+0x1F8,0x1417D6A70); the Haxe wrapperFUN_1403a3050(UWorld*, uintptr_t hxString, bool, bool)decodes the string handle (even ->*(handle+0x18)is anFString; odd ->handle-1inline) and calls it. The world handle and the correct argument form are still being wired. - Rows are fetched every 10 seconds while the panel is open; there is no latency measurement yet.