This bridge is split into two parts:
- Lua addon (
Interface/AddOns/PipBoyBridge) samples position and writes JSON files withExportFile. - DLL (
PipBoyBridge.dll) runs in the game process, hosts a UDP endpoint, and broadcasts position updates to subscribers.
The addon writes the following files into WoW's imports/ folder:
pipboy_ctrl.json: bridge control (enabled,bind_ip,bind_port)pipboy_pos.json: latest position payload
The DLL reads these files and sends packets to clients that register with hello.
Client -> server:
{"type":"hello","proto":1,"client":"pipboy-test","want":"pos"}Server -> client:
{"type":"hello_ack","proto":1,"server":"pipboy-bridge","tick_hz":10}Position stream:
{"type":"pos","ts":123456,"player":"Name","map":"Elwynn","zone":"Elwynn Forest","x":0.1,"y":0.2,"hp":1000,"hp_max":1200,"level":30}Optional discovery:
{"type":"discover","proto":1}Response:
{"type":"discover_ack","proto":1,"server":"pipboy-bridge","port":38442}./pipboybridge/build.sh- Ensure
PipBoyBridge.dllexists in the WoW root directory. - Add
PipBoyBridge.dlltodlls.txt. - Enable the
PipBoyBridgeaddon in-game. - Use
/pipboy statusto verify settings.