Product Diaryby Remnant Security

Eternal Darkness: Cutting a Trailer, and the Deck's Last Gap

Ian Trimble6 min readGames

Three days on the Eternal Darkness recompilation: a trailer guided by Derek Lieu's pacing rules, a 60 fps prologue capture, a menu harness quirk, and a save-path crash I caused.

24 s and 33 s cuts, 1080pTrailer
1280x720 at 60 fpsPrologue
0 to 100 from the fileGrader
60.19 Hz measuredDeck
44.1 kHz device, 32 kHz guest, rate 1.000xAudio
fixed locallyCrash

The trailer is the part strangers actually watch, so it's what ate three days—and it took five rough cuts before I realized the problem wasn't the editing at all.

Four cuts that scored high and felt flat

Because I didn't trust my own eye after the first cut, I wrote an automated grader first. It inspects the finished MP4 directly: detects shot boundaries from pixel deltas, counts cuts, tracks how long each shot lingers, checks whether pacing ramps up across the runtime, confirms the opening second moves instead of stalling on a title card, and measures soundtrack energy.

My fourth cut came back with 96 out of 100. It was also dead boring, and I couldn't pin down why until I listed what the viewer actually saw: just five distinct scenes (mansion observatory, cathedral infirmary, the Tome, the options book, and the Poe quote) chopped across nineteen edits. The grader rewarded the cut count while staying completely blind to the fact that I'd filmed the same five rooms four times apiece. That's a classic blind spot in a tool you build yourself, and it explained four tidy cuts that followed every formatting rule without saying anything.

What the trailer guides actually say

Re-reading the editing guides with numbers in hand made the mistake obvious right away. Derek Lieu's structure boils down to tell, show, repeat: hook the viewer inside five seconds, show the core loop by twenty-five, escalate cleanly from there, and pair every caption directly with gameplay that proves it. You write an eight-to-twelve-beat shot list before capturing a single clip because a trailer has its own narrative spine: 2 to 4 seconds to establish a place, 1 to 2 seconds through a montage, half a second to a second at the climax, targeting 30 to 45 seconds for a teaser or 60 to 90 for full gameplay.

Looking back at the original 2001 Eternal Darkness teaser cemented it: Nintendo sold one unforgettable premise—Maximilian Roivas ranting in his cell about the coming apocalypse. One man, one room, one promise. Meanwhile, I'd spent four edits trying to sell an options menu.

The 24-second cut, rendered 1 December 2026. The story beats open it, the proof follows, and the title lands on the last hit of the score.

The story cut

Cut five finally opens with the game's own prologue film, sitting untouched on the disc the whole time:

In 1760 a man found a book. The worn leather cover in close-up, framed above the game's own subtitle.

It told him what was coming. The creature rising to fill the shot.

He could not stop it. The mansion at night with the red sigil burned across the walls.

His granddaughter came looking. Alexandra in the observatory, crisp and unchanged since 2002.

The prologue's leather book with its own line underneath

The book and its line from the 24-second cut on 1 December 2026. My caption sits at the top so it never collides with the disc's bottom subtitle.

From there the edit pivots into proof—the mansion, the cathedral, the Steam Deck build, the Tome—plus two visual comparisons while cut duration drops from one second to seven tenths right as the title card lands on the final beat.

The creature from the prologue film

The creature on 1 December 2026. The clean window lasts only 1.4 seconds before the "in collaboration with" card fades in.

Same frame at 480 and 1440 render lines

The 480p versus 1440p bookcase comparison on 1 December 2026, cropped to 270 by 210 pixels and scaled up to show crispness.

The blit against FSR 1

Plain bilinear blit on the left versus FSR 1 on the right, 1 December 2026. Lettering edges and shelf grain sharpen cleanly without shifting colors.

Three measured numbers: nineteen shots across five visuals, fifteen across eleven, and the Deck at 60.19 Hz

A generated telemetry card comparing cut variety and measured Steam Deck refresh, rendered 1 December 2026 alongside an animated X clip.

Teaching the grader to see what an eye sees

The story cut scored 80 out of 100, lower than cut four's 96, which turned out to be another lesson about instrument bias. A deliberately patient story hook and steady middle comparison shots flatten raw tempo scores, and worse, checking cuts by mean brightness merged two adjacent dark gothic shots into one long blob—docking the opening 10 points out of 20 despite three clear cuts inside eight seconds. Adding brightness histogram comparison and debouncing camera shake closer than a third of a second fixed the false merges. Twice in three days, when my eyes disagreed with the tool, the tool had the bug.

Capturing the prologue, and three frame-dump traps

Pulling clean frames from the prologue reel cost three afternoons of confusion over guest versus host frame counters:

  • AURORA_FRAME_DUMP_COUNT defines the length of the frame range, not the number of output files (FIRST=2400 COUNT=44 STEP=60 emits one PNG because only 2400 falls inside the window).
  • That counter resets on every boot, so capturing frame 10300 requires letting the app run for at least 172 real seconds.
  • A shell heredoc silently ate the leading letters off two output paths (ansion-night and oe-quote), wasting an entire pass before I noticed.

Mapping one frame per second pinned down the exact boot timeline: logos clear around frame 2400, the mansion exterior runs through 4700, the memory-card prompt hits near 9840, and pressing A launches the prologue film.

The chapter harness, and one stubborn menu cursor

Twelve chapters sit behind the title menu's Jump to Game option when exposed via ED_UNLOCK_JUMP_TO_GAME=1. To script captures cleanly without blind timers, I added three tools in the repo: ED_MENU_LOG=1 to inspect active menu-screen IDs (screen 7 for the title menu, screen 9 for chapter select), conditional pad scripts (when:<screen>,<button>,<frames>[+delay]), and ED_MEM_DIFF to snapshot 64 KB blocks and print exact memory diffs.

A twenty-frame hold finally triggered the default menu row where eight-frame taps had been ignored for hours. After that, the highlight refused to budge: D-pad, analog stick, and C-stick all left Start Game pinned across seven runs even though pad logs confirmed the presses reached the guest. Seven words shift around 0x8030514B on Down like a scroll offset, yet the cursor index itself lives somewhere I still haven't located. That's honestly where chapter automation paused, and where it picks back up next.

The Deck's audio bug was real

Switching to Steam's Big Picture mode on the Steam Deck killed controller input and dragged sound into slow motion while guest logs kept smiling at 60 fps and rate=1.000x. Nothing in the port listened when PipeWire changed the active audio sink, leaving the stream bound to a disappeared device. Wiring an SDL device-change watch plus a once-per-second default-format check solved it: swapping onto the 48 kHz headphone sink and back now holds rate=1.0002 with zero throttles, and regaining window focus re-locks the display at 60.01 Hz after a terminal steals it.

A startup crash I wrote myself

At 15:50 that afternoon, my freshly deployed build died immediately on launch with _FORTIFY_SOURCE aborting inside quickstate_init:

[report] crash: SIGABRT (6) … __fortify_fail … __chk_fail … quickstate_init

Trying to log where save states resolve, I'd passed a fixed QS_PATH_MAX buffer into realpath(), which expects room for up to PATH_MAX bytes. _FORTIFY_SOURCE caught the overflow cleanly before anything worse shipped. Letting realpath allocate its own buffer fixed it, and after rebuilding and redeploying, the build stayed rock-solid—exactly the kind of day-one crash I'm glad bit me on my desk instead of a user.

What the Deck still owes a real player

Slot A holds a mounted 4 Mbit memory card that's still sitting at 122,988 bytes, completely blank. Every session so far relies on host save states instead of a genuine memory-card write, save, quit, and reload cycle, and that end-to-end card test was still running as I wrapped up. One minor polish fix sits alongside it: the window still reports 1280x801 instead of 1280x800, which means I've been shaving one stray row off captures for weeks instead of fixing the border math.

Earlier context sits in Eternal Darkness: 4K on the Mac, 1080p under the Television and the 30 November Steam Deck breakthrough.

Sources

Keep reading