mame64 pacman -window -nosound -nothrottle -debug Advanced 0.164-specific:
# Core video video d3d # or 'ddraw' for older GPUs; 'gdi' for debug numscreens 1 window 0 maximize 1 keepaspect 1 unevenstretch 1 waitvsync 0 syncrefresh 0 throttle 1 sleep 1 speed 1.0 refreshspeed 0 lowlatency 0 Core sound sound dsound samples 1 volume 0 Input lightgun 0 mouse 0 joystick 0 multi_keyboard 0 steadykey 0 offscreen_reload 0 ROM paths rompath roms hashpath hash samplepath samples State saving state 0 autosave 0
<?xml version="1.0"?> <mameconfig version="10"> <system name="sf2"> <input> <port tag=":INPUTS" type="P1_BUTTON1" mask="1" defvalue="0"> <newseq>KEYCODE_LCTRL JOYCODE_1_BUTTON1</newseq> </port> </input> </system> </mameconfig> Basic: mame 1645
mame64 sf2 -record sf2.inp -playback sf2.inp Limitation: INP files desync if MAME version differs. 0.164’s INP is not compatible with 0.163 or 0.165.
For 0.164, is recommended for debugging, Merged for arcade cabinets. 4.4 CHD Troubleshooting Check CHD version: mame64 pacman -window -nosound -nothrottle -debug Advanced 0
Record video (AVI):
Convert a newer CHD to v4 (rarely successful, but try): In-game press Tab → “Cheat” → enable Poke or Watch
clrmamepro.exe -profile mame0146.dat # convert .dat to .cmp In ClrMamePro: Set “ROM Path” → “Merged” → Rebuild. | Type | Parent ROM | Clone ROM | Space | Speed | |------|------------|-----------|-------|-------| | Split | Full | Only differences | Medium | Fast | | Merged | Full | Contained in parent | Small | Slower | | Non-merged | Full | Full copy | Huge | Fastest |
mame64 -listxml > mame.xml For those who want the exact 0.164.5 experience:
bp 0x1000,1,printf "Hit PC %x\n", pc; g Download cheat.zip for 0.164 (cheat database version 0.164). Activate with -cheat . In-game press Tab → “Cheat” → enable Poke or Watch. 6.3 Recording and Playback Record an input (INP) file: