THE MODEL RESOURCE NAMED THESE BLOCKS. The ctor loads (part_012.c:15798) tie the master perf's anonymous offsets to field names our Mech__ModelResource already carried, and the names confirm the arithmetic as surely as the arithmetic confirms the names: rec+0x48 -> +0x5bc superStopAcceleration rec+0x80 -> +0x784 maxUnstableAcceleration rec+0x84 -> +0x788 unstableAccelerationEffect rec+0x88 -> +0x78c unstableGunTheEngineEffect rec+0x94 -> +0x798 unstableStopedTurnEffect THE SUPER STOP (@0x4aa353): hauling the throttle negative while the mech still rolls forward is a hard brake, not a reverse. The edge swaps the gait's acceleration rate to the authored superStopAcceleration, marks the update, and throws ONE random-signed lurch through both gyro channels; while it holds above a walk it repeats a pitch kick every 0.4s -- the shudder of a hundred tons standing on its heels. A chassis authoring -1.1 disables the system entirely (the sentinel must survive the model read unguarded). THE INSTABILITY MODEL (tail @0x4aab8e): three weighted terms -- filtered acceleration (squared), gunning the engine, and turning on the spot -- clamped to 1 into unstablePercentage, which was ALREADY a published cockpit attribute holding a staged zero, and republished to the gyro (whose tip/sway machinery @004b275c consumes it; that's the next gyro brick). THE TELEMETRY RINGS (@0x4aafba): the binary's five rings ARE the engine's AverageOf<Scalar>, and our telemetryFilter[5] has been sized 15 and unfed since the layout wave. FUN_0043ae47 is CalculateOlympicAverage -- a judge-style trimmed mean, min and max discarded. Two oddities kept verbatim and flagged: the vel.y ring is never reduced, and the derived acceleration's components come from a mongrel basis (only its length is consumed). CORRECTION to 5.3.122: 'realMaxSpeed' was a duplicate member for mech+0x7a0, which our tree already carried as runSpeedMax; merged. And the +0x7a4 'computed my own cap' flag is set by the ctor's MYOMERS sweep -- a mech with myomers broadcasts its cap, one without adopts the streamed value. Soaks (pod_render_superstop / pod_render_telem, BT_SUPERSTOP_SOAK cycling +0.8 for 6s then -0.5 for 4s): the super stop engages on the correct edge (speed 35.6, demand -28.0) and releases cleanly, repeatedly; the rings fill and the instability sweeps its whole range to the 1.0 clamp; zero faults. The new gauge immediately earned its keep as a diagnostic -- it pins high while walking because the mech demands 35.9 u/s and the reconstructed gait delivers 7.0, which is now a measurable open question rather than an invisible one. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
88 lines
3.0 KiB
Plaintext
88 lines
3.0 KiB
Plaintext
# pod_render_norio.conf -- pod_render_rec with the RIO serial port OFF.
|
|
#
|
|
# The emulator log shows a steady stream of serial1 RX OVERRUN errors on
|
|
# the RIO pipe, and controls post their events at HighEventPriority
|
|
# UNCONDITIONALLY (CONTROLS.HPP:250) -- so a chattering RIO port would
|
|
# flood a priority the background pump always serves first, starving the
|
|
# priority-0 renderer events the load gate waits on. This conf tests that
|
|
# by removing the port entirely. Everything else is identical to the rec
|
|
# conf, so a launch here and a hang there isolates the RIO.
|
|
#
|
|
[sdl]
|
|
output=opengl
|
|
# higher,higher not highest: HIGH_PRIORITY_CLASS starved the host desktop;
|
|
# with the retry patches a rare dropout self-recovers (see gauge_rio.conf).
|
|
priority=higher,higher
|
|
[dosbox]
|
|
memsize=32
|
|
machine=svga_s3
|
|
[cpu]
|
|
core=dynamic
|
|
cputype=pentium
|
|
cycles=max
|
|
[sblaster]
|
|
sbtype=sb16
|
|
sbbase=220
|
|
irq=5
|
|
dma=1
|
|
hdma=5
|
|
[mixer]
|
|
# match the EMU8000s' native rate (no resample) and buffer ~60ms so brief
|
|
# emulation-thread stalls (RIO retry recovery) don't audibly chop
|
|
rate=44100
|
|
blocksize=1024
|
|
prebuffer=60
|
|
[serial]
|
|
# RIO on COM1 with the low-latency options (rxpollus/rxburst) so the board's
|
|
# few-ms ACK deadline is met; plasma display on COM2 (real pod has both).
|
|
# VWE fork namedpipe backend (com0com/realport retired -- COM1/COM2 gone):
|
|
# DOSBox = pipe client (retry), vRIO/vPLASMA apps = servers; an unconnected
|
|
# pipe behaves as an unplugged cable so the mission still runs. serialnamedpipe.h
|
|
serial1=disabled
|
|
serial2=namedpipe pipe:vplasma
|
|
# live UNBUFFERED game output: DOS char devices are not buffered, so
|
|
# redirecting stdout to COM3 lands every line immediately. A normal
|
|
# '> file' redirect stays 0 bytes until the process exits, which hides
|
|
# all progress on a run that does NOT crash.
|
|
serial3=file file:C:\VWE\TeslaRel410\emulator\render-bridge\podlog.txt
|
|
[autoexec]
|
|
mount c "C:\VWE\TeslaRel410\ALPHA_1"
|
|
c:
|
|
cd \REL410\BT
|
|
set VIDEOFORMAT=svga
|
|
rem production pod card init (PARAMETR.BAT:181-186): DIAGNOSE + AWEUTIL per
|
|
rem card -- AWEUTIL /S does the EMU8000 bring-up and DRAM detect the HMI SOS
|
|
rem driver relies on; skipping it left the cards uninitialized (silent).
|
|
rem aweutil /s SKIPPED for now: it verifies the AWE32 GM ROM, which the
|
|
rem emulated cards lack (hangs in a retry loop) -- restore once the ROM is
|
|
rem dumped from a real card. diagnose /s kept (passes, sets mixer config).
|
|
set BLASTER=A220 I5 D1 H5 P330 T6
|
|
c:\sb16\diagnose /s
|
|
set BLASTER=A240 I7 D3 H6 P300 T6
|
|
c:\sb16\diagnose /s
|
|
set BLASTER=A220 I5 D1 H5 P330 T6
|
|
set TEMP=c:\
|
|
rem arena1 city mission (TESTARN.EGG: map=arena1, time=day) with the RIO
|
|
rem attached; stdout redirected so mission-load progress survives kills.
|
|
set BT_JOINTS=1
|
|
set L4VIEWEXT=1
|
|
set BT_STACK_LOG=1
|
|
set BT_MECH_LOG=1
|
|
set BT_SUPERSTOP_SOAK=1
|
|
set BT_TELEMETRY_LOG=1
|
|
|
|
set BT_GAUGE_LOG=1
|
|
|
|
set BT_FORCE_TURN=0
|
|
set HEAPSIZE=15000000
|
|
set L4GAUGE=640x480x16
|
|
call setenv.bat r s n p
|
|
32rtm.exe -x
|
|
BTL4REC.EXE -egg testarn.egg > COM3
|
|
|
|
echo GAME-RC=%errorlevel% >> RC.TXT
|
|
32rtm.exe -u
|
|
echo ALPHA1-RUN-DONE
|
|
pause
|
|
|