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>
87 lines
1.3 KiB
Plaintext
87 lines
1.3 KiB
Plaintext
[jointrgun]
|
|
parent=jointrshoulder
|
|
Type=hingex
|
|
Object=vul_rgun.bgf
|
|
dzone=dz_rgun
|
|
Former Segment=segrgun
|
|
tranx=1.055
|
|
trany=-0.975
|
|
tranz=0
|
|
pitch=-6.93889e-15
|
|
yaw=3.4639e-14
|
|
roll=-2.27537e-14
|
|
site=siterugunport
|
|
site=siterdgunport
|
|
site=siteedz_rgun
|
|
|
|
[siterugunport]
|
|
parent=jointrgun
|
|
tranx=0.17
|
|
trany=0.017
|
|
tranz=-3.83199
|
|
pitch=-2.73406e-11
|
|
yaw=6.98481e-10
|
|
roll=-8.81441e-14
|
|
|
|
[siterdgunport]
|
|
parent=jointrgun
|
|
tranx=0.527
|
|
trany=-0.365002
|
|
tranz=-3.833
|
|
pitch=-4.93003e-10
|
|
yaw=6.98481e-10
|
|
roll=-8.81441e-14
|
|
|
|
[siteedz_rgun]
|
|
parent=jointrgun
|
|
tranx=0.34714
|
|
trany=-0.17446
|
|
tranz=-0.58661
|
|
pitch=-3.58832e-08
|
|
yaw=-3.0268e-09
|
|
roll=-7.45067e-09
|
|
|
|
[jointlgun]
|
|
parent=jointlshoulder
|
|
Type=hingex
|
|
Object=vul_lgun.bgf
|
|
dzone=dz_lgun
|
|
Former Segment=seglgun
|
|
tranx=-1.06
|
|
trany=-0.976
|
|
tranz=0
|
|
pitch=7.18212e-09
|
|
yaw=6.61305e-09
|
|
roll=-1.78814e-06
|
|
site=sitelugunport
|
|
site=siteldgunport
|
|
site=siteedz_lgun
|
|
|
|
[sitelugunport]
|
|
parent=jointlgun
|
|
tranx=-0.163
|
|
trany=0.0179996
|
|
tranz=-3.832
|
|
pitch=-1.37373e-07
|
|
yaw=1.64372e-08
|
|
roll=-1.06563e-15
|
|
|
|
[siteldgunport]
|
|
parent=jointlgun
|
|
tranx=-0.519
|
|
trany=-0.364002
|
|
tranz=-3.83301
|
|
pitch=-1.53205e-07
|
|
yaw=2.01625e-08
|
|
roll=-1.47851e-15
|
|
|
|
[siteedz_lgun]
|
|
parent=jointlgun
|
|
tranx=-0.34
|
|
trany=-0.173011
|
|
tranz=-0.587
|
|
pitch=-1.56931e-07
|
|
yaw=2.01626e-08
|
|
roll=1.69874e-06
|
|
|