v.2024-11-05
Parent Page

Mame Controls

To launch mame menu while in game press the joystick in the down position while holding the right coin door button for about 4 seconds.

links

gregs qna2

input general

2 Players Start is set to 2 or RetroPad2 Start. We need to remap this
P1 Button 1 is set to LCTRL or RetroPad1 B
P1 Button 2 is set to LALT or ReroPad1 Y

Changes

We need to remove '2 from 2 Players Start.
We need to add '2' to p1 Button 2.
This should change p2 start button to action Button 2 allowing us to play Contra, 1941, and commando from this unit.
I pressed p2 start button '2' in P1 Button 2 settings. This removed LALT and added '2', but this did NOT remove 2 from 2 Player Start.
Seems there is no way to unbind in mame. So go back to tp start hook up USB keyboard and lets press a key we will never use. I pressed LALT on keyboard.
Copy the default config back into here so we can use powershell to propagate new settings. D:\_GAMES\emu\roms\mame-libretro\mameCfg\donkeykong

mame .cfg settings files

  1. Always end with .cfg
  2. Always stored in a mame2003\cfg\ folder under roms share where zip file exists.
  3. To make RA use one cfg file you would need to add argument to launch commands specifying save locations.
  4. Always stored in binary not text, so not human readable.

default.cfg

  1. Mame General Settings are always stored in default.cfg
  2. default.cfg always start with MAMEDEF at start of file.
  3. These are per rom dir, so there is no true General Mame Settings file that I can find.
  4. /romdir/mame2003/cfg/default.cfg
  5. I have 26 of these on Centipede. I doubt I have one in each dir, so I doubt there are any truly general settings anywhere for mame config.
  6. Always 9kb (+3 Times larger than title.cfg files.
  7. UI Select and Cancel can be changed in this file only. NOT in title.cfg.
  8. Has Trackball, Pedal, Lightgun, Paddle, P1-P9 controls. Every possible control ever invented are in here, which is why the default.cfg is so much larger than any title.cfg
  9. To truly make global we would need to replicate this file across every single rom dir.

Generating a fresh default.cfg

Delete all .cfg files from am subfolder.
Run a game and quit.
copy default.cfg generated here
D:\_GAMES\emu\roms\mame-libretro\mameCfg\donkeykong
copy default .cfg to original.cfg
Edit the default.cfg to have controls remaps you want. The original should stay unchanged in case you want to rollback
Use Mame2003Cfg.ps1 to propagate default.cfg to all subdirs

Mame2003Cfg.ps1

Use this propapage to am and librettor folders. I configmed the only way to get p2 to be useful is to spread this default.cfg.
Onece this is done the librettro mame core will at least work on this unit with 2 buttons games. Still better than only 1 button games. Never gonna use p2 start.