# MAME 0.285 as a closed-box detector The binary only (the script finds `mame` on PATH or in `$MAME`). One MAME process at a time, a few emulated seconds of tracing per run, `nice` and `taskset -c 24-31` on this shared machine. ```sh source ../profile-env-2026-11-23.sh # MAME_ROMPATH nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --maps nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --cpu main --seconds 27 --from-frame 1500 --frames 60 nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --cpu sound --seconds 27 --from-frame 1500 --frames 60 nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --cpu dasp --seconds 26 --from-frame 1500 --frames 3 nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --watch main,CC0000,4 --seconds 25 nice taskset -c 24-31 python -I scripts/mame_trace.py salmndr2 --snap 5 --seconds 31 python -I scripts/trace_stats.py reference/mame/salmndr2-main/error.log --clock 24e6 ``` What it runs: `mame -rompath $MAME_ROMPATH -video none -sound none -nothrottle -noreadconfig -skip_gameinfo -seconds_to_run N -autoboot_script run.lua` (plus `-debug -debugger none -log` for traces and watches), with `reference/mame/-