I'm building my first cabinet, and I have questions about how controls are handled in gamelists.
Whether I generate a gamelist using MaLa tools or Romlister, the "Input Controls" field is populated with a generic "joy" rather than a more specific "joy4way". I do see "4-way Joystick" further down in the game metadata. Is this the normal format for a gamelist?
I'm using retrogui, and it appears to be using the game metadata to choose the controls image to display. Trackballs and spinners are displayed properly, but joysticks aren't shown at all. I have used a hex-editor to modify a gamelist entry to change "joy" to "joy4way", and the joystick is displayed properly.
I don't have my Ultrastik 360's yet, but once I do, I'm planning to use the mapper plugin. From what I understand, it can use a few different methods to choose which map to use. Is the most common way to use the Input Controls info from the gamelist? Would metadata as described above cause problems?
After more investigation:
Yes, it does mess with the joystick mapping.
EVENT: Game start (ROM: 'joust', CLONE OF: '', CONTROL: 'joy')
_build_mapname: Built map file name: 'D:\MAME\MaLa174\MaLa174\Maps\joust.ugc'
_file_exists: Seeing if file 'D:\MAME\MaLa174\MaLa174\Maps\joust.ugc' exists
_file_exists: 'D:\MAME\MaLa174\MaLa174\Maps\joust.ugc' does not exist
_get_mapname: did not locate rom name map file: 'D:\MAME\MaLa174\MaLa174\Maps\joust.ugc'
_get_mapname: empty cloneof
_get_mapname: locating map by control type: 'joy'
_get_mapname: did not locate control name map file: 'D:\MAME\MaLa174\MaLa174\Maps\joust.ugc'
_build_mapname: Built map file name: 'D:\MAME\MaLa174\MaLa174\Maps\Toler Arcade.ugc'
_file_exists: Seeing if file 'D:\MAME\MaLa174\MaLa174\Maps\Toler Arcade.ugc' exists
_file_exists: 'D:\MAME\MaLa174\MaLa174\Maps\Toler Arcade.ugc' does not exist
_get_mapname: did not locate emulator map file: 'D:\MAME\MaLa174\MaLa174\Maps\Toler Arcade.ugc'
_build_mapname: Built map file name: 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc'
_file_exists: Seeing if file 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc' exists
_file_exists: 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc' does exist
_get_mapname: located default map file: 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc'
_file_exists: Seeing if file 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc' exists
_file_exists: 'D:\MAME\MaLa174\MaLa174\Maps\default.ugc' does exist
_run_ultramap: command line '"C:\Program Files\UltraMap\ultramap.exe" "D:\MAME\MaLa174\MaLa174\Maps\default.ugc" '
... and a another update after solving the problem:
MAME v0.144 changes the format of the xml output. I used v0.143 to generate the xml file, then ran through all the Romlister stuff, and everything worked.