Jump to content
LaunchBox Community Forums

jrallen81

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by jrallen81

  1. Hi everyone,

    I am modding an arcade1up head to head (cocktail), replacing the guts with a pc. Under video options, there is supposed to be a cocktail mode in mame but I literally don't see it. Or is the issue I need a different ini or layout file? I'm in over my head here if someone can help. mame documentation not that helpful. 

  2. On 6/26/2022 at 7:18 PM, Slag-O-Matic said:

    I again thank you for your help.  🙂

    I found the function and was experimenting with it a bit. While I'm able to get it "somewhat" working, it's not 100%. I was experimenting with Street Fighter II Championship Edition as my test case, and use this image for reference on the controller.

    SF2 has six buttons. Using the arcade machine as the template, buttons X, Y, and RB would be light/medium/heavy punch respectively, while A, B, and RT would be light/medium/heavy kick respectively. I also decided to use the SELECT button as the P1 COIN button, and the START button as the P1 START button. For the moment I'm ignoring the two macro buttons on the controller (the two black buttons in the upper-right corner).

    I went into Input (general) then Player 1 Controls. In addition to the keyboard and mouse controls, MAME saw all of the buttons on my controller but they were not in the correct order. MAME lists the default buttons thusly: Button 1 (A), Button 2 (B), Button 3 (X), Button 4 (Y), Button 5 (LB), Button 6 (RB), Button 7 (START), Button 8 (BACK). (Note that BACK is how MAME sees the SELECT button on the controller.) I want the buttons to be defined as: Button 1 (X), Button 2 (Y), Button 3 (RB), Button 4 (A), Button 5 (B), Button 6 (RT), Button 7 (LB), Button 8 (LT). (Also note that SF2 doesn't use buttons 7 and 8 but I wanted to define them universally anyway.)

    Also, by default P1 SELECT (aka P1 COIN) is defined as 5 and P1 START is defined as 1. I want to change them to BACK and START respectively.

    I was able to remap things as I wanted, but not all of the controls work. The joystick, three kick buttons (A, B, RT), and light punch (X) work, but that's it. Medium and heavy punch (Y and RB) doesn't work, nor does P1 COIN (BACK) or P1 START (START).

    One thing I did notice: As I was adjusting the mappings, most of the changes I made showed up dimmed out. All of the default settings are in bright white, but when I make an adjustment it's like 50% white. There is no correlation between the color of the mapping and its functionality; some of the dim ones work, some don't.

    If you have any insight there I'd love to hear it.

    On a similar note, please check my understanding of how MAME uses config files. As I understand it, MAME stores its configuration files inside of a "cfg" folder within the MAME folder. On a perfectly clean/never used installation of MAME there will be a single file in there called __empty.cfg which is basically a default template that MAME uses. Upon MAME's first launch it will copy that __empty.cfg file as default.cfg. When you go into Input (General) those are the settings you are modifying. When you launch a ROM, MAME looks for a config file that matches the ROM name (e.g., sf2ceusa.cfg). If it finds one then it uses those settings; if you go under Input (This Machine) those are the settings you're modifying. If it doesn't find one then it makes a copy of default.cfg and names it after the ROM (e.g., sf2ceusa.cfg).

    Now, here's where I get a little uncertain. Let's say I launch SF2CE and (based on my understanding above) MAME copies default.cfg into sf2ceusa.cfg. I make no changes to either the General or This Machine inputs. Then at some point in the future I'm playing Berzerk and I change the General settings. When I go back into SF2CE, are my new adjustments to General going to be reflected there? In other words, does MAME "know" that I didn't tweak any settings in SF2CE and therefore always want SF2CE to use the General settings, or does the mere act of launching SF2CE effectively "lock in" whatever the General settings were at the time I first launched it?

    If I'm understanding it right, it sounds like the Input (General) settings is NOT "use these settings everywhere UNLESS there's a custom configuration for a specific machine" but rather "use these settings going forward as the default values for any new ROM that's opened". The latter seems very limited and poorly worded (I would have called it "Input (Default Template)" instead) but does seem to be what's happening; the former is what I was expecting. Which is accurate?

    Thanks yet again.

    EDIT/UPDATE: So, I kind of answered my own question. I deleted everything inside of my MAME/cfg folder except for __empty.cfg. Through BigBox I launched MAME and SF2CE. The General and This Machine inputs were largely the same. I modified the General settings, quit out of everything, then deleted the sf2ceusa.cfg file from within MAME/cfg. When I relaunched MAME and SF2CE the inputs were copies of all the General settings that I made before. So it seems that it functions as "Default Template" rather than "General" after all. And, oddly enough, after doing all this ALMOST all of the buttons work. The only buttons that aren't working are BACK (SELECT, aka P1 COIN) and START (P1 START). I still have to use the keyboard 5 and 1 for those, respectively. Any ideas why?

    Did you ever get an answer for this? I’m about to try to map for joysticks and had some unrecognized last time. 
     

    thx!!!

×
×
  • Create New...