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: Can't get CTRLR files to work  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:April 28, 2025, 12:29:02 am
Can't get CTRLR files to work
« on: January 19, 2003, 12:20:31 am »
Well I used to be running Mame 0.61 in my cabinet.  I was using ctrlr files and everything was working fine.  Then I backed up everything and reinstalled Windows 2000 on my cabinet since I got a new hard drive for it.  Anyways, I upgraded to Mame 0.63 and now I can't get the ctrlr files to work anymore.  In my Mame.ini I have the ctrlr_directory set to c:\mame\ctrlr and in that same folder I have all my ctrlr ini files.  I have a default.ini in there that is set to work for my custom control panel setup.  But Mame never see's it.  It's always got the default Mame keys setup.  I also tried deleting my default.cfg file for Mame. But that didn't make a difference.  Any thoughts or ideas?

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:14:24 pm
  • The Bears Still Suck!
Re:Can't get CTRLR files to work
« Reply #1 on: January 19, 2003, 01:52:17 am »
Try the command line way of doing it.  "mame -ctrlr myctrlr somegame"

ok, in your ini file if that works you should have.

ctrlr_directory           ctrlr
ctrlr                           myctrlr

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:April 28, 2025, 12:29:02 am
Re:Can't get CTRLR files to work
« Reply #2 on: January 21, 2003, 04:01:19 pm »
Okay Poonga, that didn't work.  When I do this:

mame -ctrlr ctrlr\default.ini shdancer

Then the game runs and the buttons are not correct, and when I exit it gives the fps like normal.

I can post my default.ini ctrlr file if you want but I know there is nothing wrong with it, unless ctrlr ini formats have changed since 0.61...

Nevermind I got it. Thanks
« Last Edit: January 21, 2003, 07:18:14 pm by Jakobud »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:14:24 pm
  • The Bears Still Suck!
Re:Can't get CTRLR files to work
« Reply #3 on: January 21, 2003, 09:25:38 pm »
make sure verbose is in the mame.ini file, that ay you see what files the game parsed.

Glad you figured it out:)

For those that read this and have trouble, the commandline he posted was WRONG!

Let's say you have c:\mame\ctrlr\mycabinet

The command line would be
mame -ctrlr mycabinet somegame

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:April 28, 2025, 12:29:02 am
Re:Can't get CTRLR files to work
« Reply #4 on: January 22, 2003, 02:17:58 pm »
Yes that's what confused me.  I forgot that the 'ctrlr' that you specify has to have it's own 'directory' called that same thing (it's case-sensitive) and then all your ini's would be in that folder and the default.ini has the have the ctrlrname set to the same name as the folder (again, case-sensitive).