Main > Main Forum
New Arcade Database
mahuti:
Re: 1.
Control panel key mappings should be taken from mame's own ctrl/ini files... so you only have to configure MAME.
Descriptions of the button names come from controls.dat. (i.e. leftshift=Thrust)
Key placement would be configured by users on CP layout files
sysrpl:
--- Quote from: mahuti ---Re: 1.
Control panel key mappings should be taken from mame's own ctrl/ini files... so you only have to configure MAME.
Descriptions of the button names come from controls.dat. (i.e. leftshift=Thrust)
Key placement would be configured by users on CP layout files
--- End quote ---
We feel we need our own key mappings to work with a multitude of emulators.
Rather than using a several configuration files to map what keys interact with both the front end and the games, when you launch a game, we tell the emulator what key mappings to use. This enables the the front end to swap the player 1 and player 2 controls as well as reverse the controls for left and right handed play without exiting the front end. This useful, for example, in changing cocktail table players positions, where the side you are using the UI from becomes player 1.
RetroJames:
Suggestion on the Arcade DB
Can you hook up an RSS feed that alerts when content updates are made (approved?)
Also, you have no entry for Defender 3...
tsk.tsk.
RetroJames:
How is the "Top Games" list generated? By views?
mahuti:
re: 1. I must not understand what you are trying to accomplish with that functionality.
Different games (especially in mame) require different key mappings...When I play donkey kong, it uses 1 button. I need to know which button on my control panel is being used for that one button, and what that button does. If I play king of fighters, it uses 4 buttons. If I have 8 buttons on the panel, I need to know which buttons are being used (is it the top 4 or the bottom 4 of the two rows of buttons?), and what they are for (ie. punch, kick, high kick, etc) I map controls in MAME's ingame (tab) menu to the bottom row of buttons for king of fighters. I map high-kick to left shift, low kick to left alt, etc. These all happen to be on the bottom row. I don't understand how your front end would be able to automatically decide which button configuration suits a particular game.
By reading the .ini files created when I do this mapping within mame, and parsing the info from controls.dat a front end can display how the keys are mapped to my control panel, and what they are called in game.