Clean, self-contained extraction of the BattleTech-specific work from the
reverse-engineering workspace -- engine + game + content + build, with nothing
from Red Planet or the raw archive dumps. Builds green (Win32) and runs the
single-player drive->animate->target->fire->damage->destroy loop out of the box.
Layout:
engine/ MUNGA + MUNGA_L4 shared 2007 engine, carrying our BT render/loader
work (bgfload/L4D3D/L4VIDEO: BSL bit-slice decode, LOD/ground/shadow
models) + image codec; the minimal rp/ headers the audio HAL needs
game/ reconstructed BT logic + surviving-original BT source + fwd shims
+ WinMain launcher
content/ full runtime tree (BTL4.RES, VIDEO/, GAUGE/, AUDIO/, eggs, BTDPL.INI)
docs/ format specs + reconstruction ledgers
reference/ raw Ghidra pseudocode (recon source-of-truth) + decomp exporter
tools/ MP console emulator + map/resource scanners
One top-level CMake builds munga_engine lib + bt410_l4 game lib + btl4.exe.
All paths relativized (186 fwd shims + ~437 CMake abs paths -> repo-relative);
DXSDK is the one external, overridable via -DDXSDK. Verified: builds to a
byte-identical 2.27MB exe and runs combat (TARGET DESTROYED, 0 crashes) against
the bundled content.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
51 lines
916 B
Plaintext
51 lines
916 B
Plaintext
[object]
|
|
gatfile=gauge.gat
|
|
|
|
[lods]
|
|
level0=10000
|
|
|
|
[vertices]
|
|
v0=-70, 0, -578
|
|
v1=-28, 0, -585
|
|
v2=13, 0, -609
|
|
v3=55, 0, -703
|
|
v4=13, 0, -796
|
|
v5=-28, 0, -820
|
|
v6=-70, 0, -828
|
|
v7=-111, 0, -820
|
|
v8=-153, 0, -796
|
|
v9=-195, 0, -703
|
|
v10=-153, 0, -609
|
|
v11=-111, 0, -585
|
|
|
|
v12=486, 0, -56
|
|
v13=586, 0, -73
|
|
v14=686, 0, -132
|
|
v15=786, 0, -356
|
|
v16=686, 0, -579
|
|
v17=586, 0, -638
|
|
v18=486, 0, -656
|
|
v19=386, 0, -638
|
|
v20=286, 0, -579
|
|
v21=186, 0, -356
|
|
v22=286, 0, -132
|
|
v23=386, 0, -73
|
|
|
|
v24=-460, 0, 782
|
|
v25=-385, 0, 769
|
|
v26=-310, 0, 724
|
|
v27=-235, 0, 557
|
|
v28=-310, 0, 389
|
|
v29=-385, 0, 344
|
|
v30=-460, 0, 332
|
|
v31=-535, 0, 344
|
|
v32=-610, 0, 389
|
|
v33=-685, 0, 557
|
|
v34=-610, 0, 724
|
|
v35=-535, 0, 769
|
|
|
|
[level0]
|
|
linelist=a_rock v0 v1 v2 v3 v4 v5 v6 v7 v8 v9 v10 v11 v0
|
|
linelist=a_rock v12 v13 v14 v15 v16 v17 v18 v19 v20 v21 v22 v23 v12
|
|
linelist=a_rock v24 v25 v26 v27 v28 v29 v30 v31 v32 v33 v34 v35 v24
|