Files
siegeandClaude Opus 5.5 244fd24670 Initial commit: M1 core + SDL3 skeleton, M0 RE tooling
- tbg_core: board (10x22, ROM layout), pieces, shared piece queue, player
  (gravity, DAS, lock delay, line clear); placeholder rotation/RNG/timings
- SDL3 front end: single board, 60 Hz fixed step, next-3 preview
- core tests
- RE tooling: Ghidra seed/export scripts, 65816 disassembler, headless
  Mesen2 wrapper + Lua input/snapshot driver, asm export, NOTES.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 18:55:37 -05:00

8 lines
448 B
Bash
Executable File

#!/bin/sh
# Headless Mesen2 test runner: re/mesen.sh <script.lua> [rom]
# LD_PRELOAD works around the 2.1.1 build's static libstdc++ clashing with system libstdc++ (std::bad_cast at load).
ROM="${2:-$(dirname "$0")/../rom/tbg_jp.sfc}"
LD_PRELOAD=/usr/lib/libstdc++.so.6 DISPLAY="${DISPLAY:-:1}" \
XAUTHORITY="${XAUTHORITY:-$(ls /run/user/$(id -u)/xauth_* 2>/dev/null | head -1)}" \
exec "$HOME/.local/opt/mesen2/Mesen" --testrunner "$ROM" "$1"