Deploy: RP loops (no single-shot) + confirm DOSBox needs no bundled DLLs
- net-boot/loop_rp.bat: GO.BAT-style netnub loop for RP (mirror of loop.bat, retargeted to rpl4opt). deploy/net_rp.conf.tmpl now calls it instead of the single-shot netnub + DOS pause -- the deployable runs in a loop until the supervisor kills DOSBox (per operator: no single-shot in the product). - DLL closure resolved: dosbox-x.exe is a 182MB STATIC build -- import table is only Windows system DLLs, delay-import table empty, libpng/SDL/zlib embedded. Nothing to bundle; wpcap.dll comes from the Npcap install. package.ps1's "no DLLs" case is now informational, and the plan/README note the static build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ Sources for the self-contained, air-gapped pod install. See
|
||||
| `postinstall.bat` | elevated entry TeslaLauncher runs after extraction: finds the package folder, installs bundled Npcap, calls `configure.ps1` |
|
||||
| `configure.ps1` | the per-pod step: detects the NIC + bay IP, derives the game IP = **bayIP+100**, binds DOSBox's pcap (`realnic`), renders the conf templates, stamps `WATTCP.CFG my_ip` |
|
||||
| `net_loop.conf.tmpl` | BattleTech conf template (looped netnub) |
|
||||
| `net_rp.conf.tmpl` | Red Planet conf template (single-shot) |
|
||||
| `net_rp.conf.tmpl` | Red Planet conf template (looped netnub via `loop_rp.bat`) |
|
||||
| `package.ps1` | assembles the deployable zip from repo sources + a fresh self-contained `pod-launch` publish |
|
||||
|
||||
Template tokens filled at install: `@@ROOT@@` (package dir), `@@REALNIC@@` (this
|
||||
@@ -71,13 +71,19 @@ zip root + the package folder), and writes `emulator\dist\<PackageName>.zip`.
|
||||
`-NoContent` skips `ALPHA_1`/`net-boot` for a fast structural check. Externally-
|
||||
procured pieces are bundled only when their paths are passed (else flagged).
|
||||
|
||||
## DLLs / runtime
|
||||
|
||||
`dosbox-x.exe` is a **static build** (182 MB): its import table is only Windows
|
||||
system DLLs and the delay-import table is empty, so there are **no MinGW/SDL DLLs
|
||||
to bundle**. The one runtime DLL it needs, `wpcap.dll`, is provided by the Npcap
|
||||
install. (Its other `LoadLibrary` strings are optional features our confs don't
|
||||
use -- Glide/3dfx, ASPI, ANGLE, inpout -- or Windows-provided D3D/DXGI.)
|
||||
|
||||
Both deploy confs run netnub in a **loop** until the supervisor is killed
|
||||
(`loop.bat` for BT, `loop_rp.bat` for RP) -- no single-shot in the deployable.
|
||||
|
||||
## Not yet in the repo / OPEN
|
||||
|
||||
- `npcap.exe` (licensed installer -- procured out-of-band) and any `vc_redist`.
|
||||
- The frozen `renderer.exe` (packaging decision with David; `pod-launch` falls
|
||||
back to `pyw live_bridge.py` when absent).
|
||||
- **DOSBox-X runtime DLL closure** (MinGW/SDL DLLs): none sit beside
|
||||
`dosbox-x.exe` in the dev tree -- it finds them via MSYS2 on PATH. The air-
|
||||
gapped package must bundle them; `package.ps1` copies any DLLs beside the exe
|
||||
and warns when there are none.
|
||||
- RP loop-vs-single-shot for retail parity (template currently mirrors dev).
|
||||
|
||||
Reference in New Issue
Block a user