2.3 KiB
2.3 KiB
Disaster recovery — rebuild this machine from the Gitea mirror
This repo is a complete mirror of C:\VWE\firestorm (source + game assets + the VC6 toolchain +
SDKs + build outputs + the deployed game + the _UNUSED archive). Nothing is excluded.
Large binaries are stored in Git LFS. A single clone reconstitutes a working tree.
On a fresh Windows machine
- Install Git for Windows (includes Git LFS) — or Git +
git-lfsseparately. - Enable long paths before cloning (this tree has deep VC98/MFC paths > 260 chars):
(Also enable the OS setting:
git config --global core.longpaths true git config --global core.autocrlf false git lfs installHKLM\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1.) - Clone to the same location so the absolute paths baked into the toolchain config resolve:
git clone https://gitea.mysticmachines.com/VWE/firestorm.git C:\VWE\firestormgit clonepulls LFS objects automatically. If any are missing:cd C:\VWE\firestorm && git lfs pull.
After restore — make it buildable / runnable
- Build toolchain (VC6): import the registry config (ELEVATED), per
build-env\README.md:Then buildreg import C:\VWE\firestorm\build-env\vc6-hklm-registration.reg reg import C:\VWE\firestorm\build-env\vc6-directories.regGameleap\code\mw4\Code\MechWarrior4.dsw(seeCLAUDE.mdSTEP 1/3), or just use the already-mirroredGameleap\code\rel.bin/pro.binbinaries. - Run the game:
build-env\deploy-mw4.ps1reassemblesC:\VWE\firestorm\MW4and applies the Win11 DirectDraw compat shim; or run the already-mirroredC:\VWE\firestorm\MW4\MW4.exeafter re-applying the shim (AppCompat is keyed on exe path, so a new machine needs it re-set — the deploy script does this). - Editor:
Gameleap\mw4\run-editor.bat(installed in place; seeCLAUDE.mdSTEP 9).
Notes
core.autocrlf=false— line endings are preserved byte-for-byte; keep it that way.- The mirror includes machine-specific bits (registry exports, deploy AppCompat). They restore the files, but registry/AppCompat state must be re-imported on the new machine (steps above).
- See
CLAUDE.mdfor the full build/runtime reconstruction history andREADME.mdfor the layout.