Analysis model: gpt-5.5 xhigh

# Optimal Torque by Dubius - Technical Dissection

`Optimal Torque` is Dubius's MS-DOS demo from Assembly 1995. Pouet identifies it
as an August 1995 MS-DOS demo, and Demozoo plus the Assembly result file place
it eighth in the Assembly 1995 PC demo competition with 587 points.

This pass checks the Scene.org archive, Pouet/Demozoo metadata, public Demozoo
screenshots, a video-only public recording, the release text, a private muted
DOSBox-X smoke run, the PKLITE-wrapped launcher, and the `OPTIMAL.DAT` resource
directory. It is not a full disassembly of each embedded part executable. Old
contact details from the release text are intentionally not reproduced.

## Sources Checked

- Demozoo production page: https://demozoo.org/productions/7370/
- Demozoo screenshot page: https://demozoo.org/productions/7370/screenshots/
- Pouet production page: https://www.pouet.net/prod.php?which=3625
- Scene.org party archive: https://files.scene.org/get/parties/1995/assembly95/demo/optimal.zip
- Scene.org Hornet mirror path: https://files.scene.org/get/mirrors/hornet/demos/1995/o/optimal.zip
- Assembly 1995 result file: https://archive.scene.org/pub/parties/1995/assembly95/info/asm95res.txt
- Public video recording used as visual reference: https://www.youtube.com/watch?v=P6JctfXmdgw

The result file puts it between Orange and Kosmic:

```text
6th  Miracle  "Higher Desire"       896 points
7th  Orange   "Television"          799 points
8th  Dubius   "Optimal Torque"      587 points
9th  Kosmic   "Little Green Men"    541 points
```

Downloaded archive hash:

```text
f09d6200ee3469d5d6f2debd9c9465085a7636634fb075e726694f34ea25d924  optimal.zip
```

Archive contents:

```text
OPTIMAL.DAT   2232327  1995-08-11 00:53
OPTIMAL.EXE     21300  1995-08-11 01:08
OPTIMAL.NFO      2273  1995-08-11 13:15
FILE_ID.DIZ       427  1995-08-11 13:39
```

Extracted hashes:

```text
adc2f6dccea10e240576730d0e25ae4f1ac6f633991ad34c927a6353fafb2dcc  OPTIMAL.DAT
114b7f00c67b275900561fa741d9c80f5ace88c50126fe05f3a95fd3b2ded66d  OPTIMAL.EXE
8900d1568eefc3711de68bd2fbe046a5378b9fec26c6345543bfbc5cf1ceb2d5  OPTIMAL.NFO
c2fbb489a5edb711ba43b8a96b48d5f905cfa9d27bc9b38db8ebf678dfd45463  FILE_ID.DIZ
```

## Visual Reference

The local DOSBox-X run reached the setup menu and, with queued input, entered
the demo's own no-sound path before the DOSBox-X recorder aborted at the first
graphics mode switch. The moving effect media below is therefore public-video
evidence, not local emulator evidence. The source recording was downloaded as a
video-only stream for GIF/still extraction; no audio stream was used, and no
MP4/H.264 file is published.

![Optimal Torque public-video hallway motion](images/optimal-torque-public-hallway.gif)

The opening fly-through is a Descent-like room/corridor part: shaded block
walls, floor/ceiling panels, light panels, and camera motion through a simple
3-D space. The important thing is not whether every wall is correct; Pouet
comments even call out visible wall glitches. The important thing is that the
demo spends real bytes on textured space navigation before the object-show
sections.

![Optimal Torque public-video pink object motion](images/optimal-torque-public-pink-object.gif)

The title/object section shifts to an object in a circular mask over a saturated
magenta background. This ties directly to the `OPTIMAL.DAT` table below:
several child EXEs sit next to `.pnt/.srf` object/surface pairs and PCX/TGA
texture assets.

![Optimal Torque public-video checker-floor cube motion](images/optimal-torque-public-checker-cube.gif)

The checker-floor cube/object section is the most literal read of the resource
table: object geometry, texture images, palettes, and child executables working
as separate part payloads rather than one monolithic loop.

![Optimal Torque public Demozoo screenshot sequence](images/optimal-torque-demozoo-sequence-1hz.gif)

The GIF above is a one-frame-per-second sequence from Demozoo stills. It is a
slow still overview, not runtime-timed animation.

![Optimal Torque public-video title frame](images/optimal-torque-public-title.png)

![Optimal Torque public-video surface/tunnel frame](images/optimal-torque-public-surface-tunnel.png)

![Optimal Torque public Demozoo hallway frame](images/optimal-torque-demozoo-02.png)

![Optimal Torque public Demozoo title frame](images/optimal-torque-demozoo-09.png)

![Optimal Torque public Demozoo checker-floor object frame](images/optimal-torque-demozoo-18.png)

![Optimal Torque public Demozoo final Dubius frame](images/optimal-torque-demozoo-24.png)

## Runtime Smoke Boundary

The direct local smoke run used the exact extracted files:

```text
Emulator:        DOSBox-X 2026.01.02 SDL2
Capture date:    2026-07-21
Host drivers:     SDL video dummy, SDL audio dummy
Memory:          16 MB, XMS on, EMS on
CPU:             normal core, fixed 30000 cycles
Guest sound:     SB disabled, GUS disabled, MIDI disabled
Command:         dx-capture /v OPTIMAL.EXE
```

With no queued input, the run stayed on the setup screen. The visible options
are technically useful:

```text
0 - Gravis UltraSound
1 - Sound Blaster/Pro/16
2 - No Sound
ENTER - to start the Demo
```

A second run queued `2` and `Enter`. That selected the shipped no-sound path and
advanced to a 640x400 graphics surface. DOSBox-X then stopped the first
720x400 capture segment, started a second 640x400 segment, and aborted with:

```text
double free or corruption (!prev)
```

The second segment had no decodable graphics frames. I am not using the local
capture as visual evidence. It proves the setup menu, the no-sound route, and
the mode switch boundary only. No audible audio was played, and the raw AVI
artifacts remain private.

## Release Notes And Credits

The release text credits Tremor for code and the music player, and Nitro for
music and graphics. That split matches the archive:

- `OPTIMAL.EXE` is a small startup/setup/launcher host.
- `OPTIMAL.DAT` contains the real production mass.
- The data file includes one large FastTracker module and many visual assets.
- The visual assets are separated into PCX/TGA images, palette/lookup tables,
  object point files, object surface files, and child EXE parts.

The NFO also states that Assembly had permission to include the demo on the
Assembly 1995 CD-ROM. The non-technical contact section is omitted.

## Launcher Executable

`OPTIMAL.EXE` is a 21,300-byte DOS MZ executable with a PKLITE marker:

```text
physical file size:  21,300 bytes
MZ declared size:    21,300 bytes
overlay:                  0 bytes
relocations:              1
header paragraphs:        8
CS:IP:              fff0:0100
SS:SP:              0534:0200
PKLITE marker:      file offset 0x001e
```

The `fff0:0100` entry shape and `PKLITE` string are the classic packed-wrapper
surface. Without an unpacked image, the safe conclusion is limited: this is a
packed launcher, not the whole demo engine.

Important visible strings in the packed file include:

```text
0x001d  PKLITE Copr. 1990-92 PKWARE Inc.
0x0319  TrmPlay v1.8
0x05c6  SCRM
0x05da  Extended Module:
0x1921  opt3_9.xm
0x1937  tp1_6.exe
0x4b35  optimal.dat
0x4b55  Now loading Optimal Torque.
```

The player strings are fragmented by packing, but they are still enough to show
that Tremor's TrmPlay code covers Sound Blaster and Gravis-era paths while the
setup menu also exposes a no-sound route.

## OPTIMAL.DAT Container

`OPTIMAL.DAT` is the interesting file. It begins with a simple fixed-size
directory. The first directory entry says the first payload starts at `0x459`.
Since each entry is 21 bytes, the table has 53 entries:

```text
entry size:      21 bytes
entry layout:    uint32 offset, uint32 size, 13-byte zero-padded name
first payload:   0x000459
entry count:     0x459 / 21 = 53
```

The first and last entries prove the structure:

```text
01  0x000459   15774  otp1_6.exe
53  0x1897c3  620612  opt3_9.xm
```

Grouped by function, the table is a compact map of the demo:

| DAT entries | Evidence |
| --- | --- |
| `otp1_6.exe` ... `otpb_2.exe` | ten embedded MZ/PKLITE child executables, probably part payloads |
| `otlogo.pcx`, `pressure.pcx`, `ot3.pcx`, `ot4.pcx`, `cr1.pcx` ... | 320x200 PCX art pages |
| `tuntex2.pcx`, `p6otex.pcx`, `marble3.pcx`, `rocktex2.pcx`, `rfmaptx2.pcx`, `tuntex3.pcx` | 256x256-ish texture images used by the floor/tunnel/object scenes |
| `MPALE01.TGA` ... `MPALE19.TGA` | ten 256x256 indexed TGA images |
| `dubius.pnt/.srf`, `rock.pnt/.srf`, `cup.pnt/.srf`, `rfmobj.pnt/.srf`, `hcub.pnt/.srf` | point/surface object geometry families |
| `whirl.tab`, `rtlsmap`, `rtpal2`, `flrpal` | lookup/palette/table data |
| `opt3_9.xm` | FastTracker II module titled `Optimal Torque III` |

Carving the table confirms the formats:

```text
otlogo.pcx    PCX 320x200, 8-bit, RLE compressed
MPALE01.TGA   Targa mapped image, 256x256, 8-bit
opt3_9.xm     FastTracker II module, title "Optimal Torque III"
otp1_6.exe    MS-DOS MZ executable, PKLITE-wrapped
```

Selected carved hashes:

```text
95c6da27838d331b7131c0a7aedf58b5611223304b689299c87683c21af0c2bd  opt3_9.xm
14c410e236a432c2668e7a9cacac19d76109bced7d61c588ff7eb3747f2f02fb  otp1_6.exe
a695008b8603c9d30c619d0ae7f5f05620ccf329c546415796c36ee972f9a088  otlogo.pcx
268a73ad9c62cf9f908af5f63a6a89ab4f7cd07e005b5991aed9d27a9af2c258  MPALE01.TGA
```

This is the article's strongest code/data finding. `Optimal Torque` is not a
single tiny effect player and it is not just a big opaque blob. It is a small
packed launcher plus a hand-rolled resource archive containing part EXEs, art,
textures, object data, tables, palettes, and music.

## Visual-To-Data Concordance

The media lines up with the resource table:

- The hallway GIF corresponds to the texture-heavy `tuntex*`, `p6otex`,
  `marble*`, and child-EXE families rather than to a static title image.
- The magenta object GIF corresponds to object/surface pairs such as
  `dubius.pnt/.srf` and later `rock`, `cup`, `rfmobj`, or `hcub` families.
- The checker-floor cube GIF corresponds to the `hcub` object pair, palette
  tables, texture files, and the checker/object screenshots.
- The public title and final Dubius stills correspond to `otlogo.pcx`,
  `prod.pcc`, and `dubius.pnt/.srf` style branding assets.
- The setup screen corresponds to the packed launcher's sound-device selector
  and the TrmPlay/Sound Blaster/GUS strings.

The exact child-executable dispatch order is not recovered here. The filenames
strongly suggest separate parts, but assigning `otp3_4.exe` or `otp7_2.exe` to
a specific visual scene needs either unpacked child EXE analysis or a runtime
trace of DAT loads.

## Remaining Unknowns

This pass does not unpack the PKLITE launcher or the ten embedded PKLITE child
executables, and it does not recover the object vertex/surface formats for
`.pnt` and `.srf`. It also does not prove the exact timing script. Those are
the next useful targets if this production gets a deeper pass.

The current pass does prove the production identity, archive shape, startup
setup/no-sound boundary, public visual vocabulary, and `OPTIMAL.DAT` resource
architecture.
