Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: CFG Magician - Create Custom Mame Cfg Files Automatically!  (Read 41312 times)

0 Members and 1 Guest are viewing this topic.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10093
  • Last login:May 08, 2023, 02:40:58 pm
  • Comanche, OK -- USA
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #40 on: July 30, 2009, 05:21:43 pm »
Here (rename extension to .7z and open with the free program 7-zip)

Or not.....I guess attachments are still botched.

Edit 2: Uploaded here
http://www.sendspace.com/file/hvzsrs
« Last Edit: July 30, 2009, 05:30:09 pm by Ginsu Victim »

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #41 on: July 30, 2009, 05:37:19 pm »
Thanks!  I'll give that a go soon!
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10093
  • Last login:May 08, 2023, 02:40:58 pm
  • Comanche, OK -- USA
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #42 on: July 30, 2009, 05:38:29 pm »
I think I'll have to finally give it a shot myself.

Coadey

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 02, 2009, 01:56:57 am
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #43 on: August 02, 2009, 01:50:39 am »
I was looking for an easy way to flip my cabinet to free play on Mame 0.133, and gave CFG Magician a shot.  Unfortunately many of the cfg's it uses are out of date or otherwise don't have the right values.  It's a much needed program though so hopefully Tempest will continue to update it. :)

In the meantime I extracted all of the free play values I could parse out of Mame 133, which came to 2149 titles.  Most of these configs should work although I only tested a handful, and you'll have to merge your local config changes if you've made any:

http://www.coadey.com/mame133freeplaycfgs.zip

Most notably there are a few games who, even after setting Free Play normally, don't seem to actually work (e.g. "gunbird").  A few others weren't easily parseable (e.g. "aliens"?) and are missing from the archive.  If anyone finds other issues with these configs please let me know, but hopefully these will be useful to someone.

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #44 on: August 02, 2009, 05:35:34 am »
Awesomely useful program!!  Thanks for putting this out!!

Would be cool to add a config file for single joystick (no buttons), one person at a time games (pacman, qbert, etc.)  I tend to use the player 2 stick for these with m righ hand. 

My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #45 on: August 02, 2009, 07:26:52 am »
You can always make your own list with RomLister...

There is the option to mirror 2 player alternating games, so if you select the AlternatingGames.txt as your list in CFG Magician, put a tick in the box for Mirror 2p alt Controls, it will copy the controls for player1 to player2. (You will have to enter your controls for player 1) Then, if you are playing by yourself, you can use either set of controls, and if you are playing with another person, you will each have your own set of controls. The only downside to this, is that you have to smack the hands of your 8 year old, if (S)he can't keep their hands off of the second set of controls while you are playing your turn.

CFG Magiciam only creates entries in the cfg files for the controls that you enter, so if you only want to mirror the joystick, just enter the control info for your p1 joystick, and leave everything else blank.

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #46 on: August 02, 2009, 01:50:46 pm »
Cool. I didn't know about romlister!  I'll use that.

I don't lie inputs multiply mapped. Without fail I bit them with my other hand. :)
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #47 on: August 28, 2009, 12:55:13 pm »
I finally got aroung to looking at this. This is a new set of blank cfgs for Mame 133.
Basically, there is no practical way for me to test every game in Mame, So I will depend on your feedback...

Updated Post #1
« Last Edit: September 20, 2009, 11:39:41 am by Morpheus »

ArcadeBliss

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 167
  • Last login:October 08, 2023, 11:47:26 pm
Re: CFG Magician 1.59 - Create Custom Mame Cfg Files Automatically!
« Reply #48 on: September 20, 2009, 08:38:13 am »
I think I have found a bug. When trying to enter the "keycode_0" (zero) the only thing the get's written is a "0". Does anyone else have this problem?

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #49 on: September 20, 2009, 11:40:44 am »
You are correct!

CFG Magician 1.60 Released:

Fixed 0 {Zero} key not mapped properly
Updated Blank cfg files to Mame 0.133

Updated Post #1

Twin-X

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:April 26, 2018, 05:59:44 pm
  • Yes this avatar was stolen too!!!
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #50 on: September 21, 2009, 02:15:43 pm »
Hi the last version i used was 1.53 but now i have tried 1.59 and 1.60 and i have no button input field? There is one big grey area only the bottom buttons show up and the options. However the dipswitches field is filled.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #51 on: September 21, 2009, 07:57:36 pm »
:censored: 'ed up the file structure. Please try downloading again. Sorry for the inconvenience.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #52 on: November 27, 2009, 11:37:43 am »
I edited my first post, and added the (source) cfg files that CFG Magician needs to create mame\cfg files for Mame0.135. Included in the .7z file, are two text files, Not Working.txt, and No Controls.txt. The No Controls.txt contains a list of games that are working, but have no controls that I use in CFG Magician.

The control types that I do use are : IPT_BUTTON,IPT_JOYSTICK,IPT_AD_STICK,IPT_DIAL,IPT_LIGHTGUN,IPT_MOUSE,IPT_PADDLE,IPT_PEDAL,IPT_POSITIONAL,IPT_TRACKBALL,IPT_PADDLE

A quick check of games in the No Controls list would show that most of the games are poker, mahjong, and slot? machines.

I intend to keep adding an additional download for each version of Mame, as they are released.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #53 on: January 01, 2010, 08:24:30 am »
Added Cfg files for Mame0.136 to first post.

Happy New Year!

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #54 on: January 20, 2010, 03:48:29 pm »
I am trying to use CFG Magician 1.60 to mirror P1 controls to P2, but it doesn't appear to be working for me. Here is what I did: using the AlternatingGames.txt file supplied, I entered keycodes for P1 up, down, left and right .I ticked the box to Mirror 2P controls, and then generate.

It fills the NEW CFG folder with CFG files corresponding to the list. But when I open one up to look at it, the only controls present are for P1, and the keycodes are the up, down, left and right that I entered. Shouldn't the final output look something like, "UP" OR "R"? Come to think of it, should I be entering my P2 controls, so it can OR them with P1 controls?

I'm confused. Thanks.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #55 on: January 20, 2010, 06:50:32 pm »
Yes, you will need to enter codes, for P1, and P2. Oherwise CFG Magician wouldn't know what to use for mapping.

You pretty much answered your own question.  :applaud:


Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #56 on: January 21, 2010, 03:13:35 pm »
OK, what am I doing wrong?

I entered the keys for all four directions and 6 buttons for P1 (arrows and crtl, alt, space, etc.) and then entered the keys for all for P2 (R,F,D,G,A,S,Q, etc.). Then I ticked Mirror 2P alt controls and Go. It creates the CFG files, but here is an example output (digdug):
Code: [Select]
<input>
            <port tag="IN0" type="P1_BUTTON1" mask="1" defvalue="1">
                <newseq type="standard">
                    KEYCODE_LCONTROL
                </newseq>
            </port>
            <port tag="IN0" type="P2_BUTTON1" mask="2" defvalue="2">
                <newseq type="standard">
                    KEYCODE_A
                </newseq>
            </port>
            <port tag="IN1" type="P1_JOYSTICK_UP" mask="1" defvalue="1">
                <newseq type="standard">
                    KEYCODE_UP
                </newseq>
            </port>
            <port tag="IN1" type="P1_JOYSTICK_RIGHT" mask="2" defvalue="2">
                <newseq type="standard">
                    KEYCODE_RIGHT
                </newseq>
            </port>
            <port tag="IN1" type="P1_JOYSTICK_DOWN" mask="4" defvalue="4">
                <newseq type="standard">
                    KEYCODE_DOWN
                </newseq>
            </port>
            <port tag="IN1" type="P1_JOYSTICK_LEFT" mask="8" defvalue="8">
                <newseq type="standard">
                    KEYCODE_LEFT
                </newseq>
            </port>
            <port tag="IN1" type="P2_JOYSTICK_UP" mask="16" defvalue="16">
                <newseq type="standard">
                    KEYCODE_R
                </newseq>
            </port>
            <port tag="IN1" type="P2_JOYSTICK_RIGHT" mask="32" defvalue="32">
                <newseq type="standard">
                    KEYCODE_G
                </newseq>
            </port>
            <port tag="IN1" type="P2_JOYSTICK_DOWN" mask="64" defvalue="64">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
            <port tag="IN1" type="P2_JOYSTICK_LEFT" mask="128" defvalue="128">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
        </input>

In MAME, the directional controls only show up as the arrows. Am I missing something?
« Last Edit: January 21, 2010, 04:28:41 pm by Neverending Project »

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #57 on: January 23, 2010, 06:34:31 am »
Do you have the AlternatingGames.csv file in the CFG Magician root folder?
IE: CFG Magician\AlternatingGames.csv

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #58 on: January 23, 2010, 11:57:51 am »
Yes. The correct cfg files are created. They just don't look correct inside.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #59 on: January 23, 2010, 02:06:58 pm »
Hmmm... I'm not sure if we are understanding each other. Just to re-iterate, If the AlternatingGames.csv file is not in the CFG Magician root folder, The cfg files will still be created, but without the info for player2. I probably should have done a check to make sure the file exists, but I didn't, and if it was deleted, or moved, it would cause what you are having happen.

I will continue to try and help you as much as I can, however, I tried it on my end, and it does create the files correctly.

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #60 on: January 23, 2010, 08:08:43 pm »
Very interesting, indeed. Yes, I have the AlternatingGames file in the same folder as CGF Magician. Although it is a .txt file in the .7z file downloaded from the first post of this thread.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #61 on: January 24, 2010, 07:32:22 am »
Then that is my mistake. Rename the file to a .csv extension, and let me know if that works.

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #62 on: January 25, 2010, 11:35:42 am »
It sounds like that is the issue. Unfortunately, the computer made it's way into my friend's arcade cabinet before I had a chance try again. If/when I get to the computer again, I will try again after changing the filename. Thanks for your help (and for your great app)!

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #63 on: March 20, 2010, 12:45:10 pm »
Added Cfg files for Mame0.137 to first post.

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:February 17, 2024, 10:24:34 pm
    • my baby
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #64 on: May 29, 2010, 06:05:22 pm »
thank you morpheus!

quick question, do i need the separate config files for 135 - 137 if i have config magician 1.60?  are they included with 1.60 and those extra configs are for folks who had a previous version of CM?

if i do need them, anyone want to upload them to rapidshare?  the links don't work as you have to be registered (tried registering but still can't log in)

thanks again for the wonderful app

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #65 on: May 29, 2010, 08:02:48 pm »
The Config files should match your version of Mame. EG: If you are using Mame0.137, then use the 137 version of the config files. I didn't realize that you are unable to download from the links that I provided. I use the forums at GameEx to post my stuff. I have an account at MediaFire, and can start uploading there, if need be. Do the links at MediFire Expire?

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:February 17, 2024, 10:24:34 pm
    • my baby
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #66 on: May 29, 2010, 08:08:15 pm »
thanks morpheus!  one last question, the cfg files for 137, are they just for roms added since 136, just an update pack, or are they complete for 137?

would you mind uploading to mediafire?  i registered for the board where you have them linked but still can't log on.

thanks, tony

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #67 on: May 30, 2010, 06:49:26 am »
Each set of configs is a complete set for each version of Mame.

My internet connection is so slow, that the upload at Mediafire timed out. I did manage to get the .137 configs uploaded.
Edit: I guess I didn't get them uploaded. :banghead:

I will work on getting other files uploaded when my connection improves.
« Last Edit: May 30, 2010, 07:25:57 am by Morpheus »

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6144
  • Last login:March 17, 2024, 07:49:54 am
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #68 on: June 15, 2010, 09:12:19 am »
Attachments here should be working if you want to attach something to a message here, or use the Files Repository to upload.
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade2.com/
     saint@arcadecontrols.com

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #69 on: July 01, 2010, 03:58:33 am »
does anyone have a neogeo only list?

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #70 on: July 01, 2010, 08:38:29 am »
You can make your own lists with romlister. I have created a NeoGeo list for you.



shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #71 on: July 01, 2010, 11:56:41 am »
thanks!

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician 1.60 - Create Custom Mame Cfg Files Automatically!
« Reply #72 on: July 31, 2010, 08:35:11 am »
Added Cfg files for Mame0.139 to first post.

ArcadeBliss

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 167
  • Last login:October 08, 2023, 11:47:26 pm
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #73 on: February 05, 2011, 03:23:35 pm »
I know this thread has not seen any action in a while. Nevertheless, is there a mame 141 version of the config file available?

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #74 on: February 16, 2011, 03:55:25 pm »
CFG Magician can be found here:

http://emumovies.com/forums/index.php?/files/file/601-cfg-magician/

Let me know if that is a problem.

Morpheus

  • Guest
  • Trade Count: (0)
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #75 on: November 04, 2012, 07:47:06 am »
I know this thread has not seen any action in a while. Nevertheless, is there a mame 141 version of the config file available?

I posted the program that I use to create the Data Files here:
http://emumovies.com/forums/index.php/topic/2141-software-cfg-magician/#entry11583

saloonstudios

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:August 08, 2018, 12:09:13 am
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #76 on: September 12, 2013, 01:02:35 pm »
I tried downloading this yesterday and the links didn't work for me. In the meantime I have a question-
What's the end-result difference between using this and making a custom Ctrlr file? Does LED Blinky light colors correctly using either method? Is CFG Magician just more flexible because you can compile your own lists using Romlister?

Edit: DER! Links worked, I just needed to register. As to my questions, it seems at first glance that the ctrlr file method won't work with LEDBlinky due to some order of operations, so I'll stick with manually changing cfg files for now.
« Last Edit: September 12, 2013, 09:45:23 pm by saloonstudios »

puntja

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:June 14, 2018, 05:50:29 am
  • I want to build my own arcade controls!
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #77 on: March 14, 2018, 08:24:51 am »
can I still use this with mame 0.195?

puntja

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:June 14, 2018, 05:50:29 am
  • I want to build my own arcade controls!
Re: CFG Magician - Create Custom Mame Cfg Files Automatically!
« Reply #78 on: March 20, 2018, 08:08:55 pm »
no one who can help? :(