Results 1 to 9 of 9

Thread: mame ctrlr editor

  1. #1
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default mame ctrlr editor

    So I needed an xml reader for mame ctrlr files and finally broke down and made one...


    For the un-know: Mame uses ctrlr files that are XML files to read in what input of said joystick goes where. My program runs out side of mame and allows a much more elegant approach to editing it. The files are used for special controllers like the XArcade stick. This should also work with the default files but it was not made for it. In theory this files will work with any xml, but the formatting is tailored to a mame ctrl file.


    For the know: Hey if you can use it go for it. Yes I know there are XML readers out there and I know of one in game editor, but this is what I needed. So if you can use it go for it. If you would like to see a change name it. If you dont care then go away.. Bye now..



    For thoes of you that wish to have this or help beta test it get it here.. download


    TODO:

    1) There is a bug that wont allow saving if you run mame after ctrlr_editor is open. I think its a file lock issue.
    2) Try to make a button mapper so you can press the button in ctrlr_editor is stead of knowing the code.
    Last edited by Zach; January 1st, 2009 at 06:31. Reason: Image Extension Change
    Original, the only way to play.

    Forums
    main page - Working controllers

  2. #2
    Member
    Join Date
    Oct 2004
    Location
    Land of Oz
    Posts
    600

    Default Re: mame ctrlr editor

    Downloading now... at 3.61 MB it must be huge.

  3. #3
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default Re: mame ctrlr editor

    Na its a flash app that I created with swf studio. So its going to be a bit big.


    update, I was able to get the joystick button mapping work, stay tuned for the next release.

    BTW: If you get grooveutil error you have to uninstall the groveutil by Microsoft office ( change / remove ).
    Last edited by ulaoulao; December 26th, 2008 at 17:17.
    Original, the only way to play.

    Forums
    main page - Working controllers

  4. #4
    Crazy Frog
    Join Date
    Sep 2003
    Age
    38
    Posts
    3,065

    Default Re: mame ctrlr editor

    Curious why you went with flash?

  5. #5
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default Re: mame ctrlr editor

    Curious why you went with flash?
    - Very good question.

    To be honest, I never intended to release this.. I used flash do to the fact its ridiculously simple. That and the grafix are easier IMO.

    But its actually swf studio not flash, but samey samey.


    UPDATE:

    The newer version uses joystick inputs and a button location helper. You can use the ctrl key to do a "AND" or "OR" when adding buttons.

    FYI: Some controllers like smart joy use two buttons ID's for a button. Like the n64 B button used button ID 9 and 5. Gay... So in this case I just let it add both as I could not do much about it otherwise.. ( listed as a bug if there is interest ill work on it) The joy sticks also will add axis..

    also it's important to remember a button id in the control panel will show 1,2,3,4.... the MAME GUI shows the button id's as 0,1,2,3... the XML shows it like the control panel 1,2,3,4.... In other words. in MAME button 1 on your joystick will show as button 0, but in this app its 1 to mach the XML.




    Here is the old v1 file.
    Here is the new v2 file.
    Last edited by Zach; January 1st, 2009 at 06:34.
    Original, the only way to play.

    Forums
    main page - Working controllers

  6. #6
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default Re: mame ctrlr editor



    - Fixed a few bugs
    - Fixed alpha slow down.
    - added a copier so you can copy player 1 buttons to play 2 buttons
    - also added an ID changer to change the joystick ids.


    Here is the latest v2.5 .
    Last edited by ulaoulao; December 31st, 2008 at 02:32.
    Original, the only way to play.

    Forums
    main page - Working controllers

  7. #7
    Crazy Frog
    Join Date
    Sep 2003
    Age
    38
    Posts
    3,065

    Default Re: mame ctrlr editor

    Those screens are loading deftly slow... maybe you can reduce their size by half or 3/4 ?

  8. #8
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default Re: mame ctrlr editor

    LOL always a critic.. Its do to underground gamer uploads and that fact its on my server. LOL.. They are only 140, 398, and 412 k.

    Ok I changed them all to jpg so they are all now 80 k, but I cant edit my post... If you wish just change the PNG to JPG ( case SeNSiTiVe) linux.. .
    Last edited by ulaoulao; December 31st, 2008 at 23:20.
    Original, the only way to play.

    Forums
    main page - Working controllers

  9. #9
    Crazy Frog
    Join Date
    Sep 2003
    Age
    38
    Posts
    3,065

    Default Re: mame ctrlr editor

    Much better

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •