Windows Rom Collection Browser n00b Tutorial please!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Angelscry Offline
Skilled Python Coder
Posts: 2,704
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #11
Where is located your mame.ini file? If it is working correctly out of XBMC, so mame.ini file must be located into the same directory than the mame executable file (mame.exe). So arguments must be something like this :

Code:
-inipath "C:\Program Files\mame" "%rom%"

If the mame.ini file is into the C:\Program Files\mame directory.
I'm not sure if RCB support it, but you may be also able to define executable path using %appath% like this :

Code:
-inipath "%appath%" "%rom%"

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
tranceology3 Offline
Junior Member
Posts: 47
Joined: Sep 2007
Reputation: 0
Post: #12
To make things simple I moved everything into C:\Program Files\mame

I have my code set exactly like above, and it loads the rom into mame through RCB just fine. However, I am having the same problem where its not loading my default.cfg, which contains my custom button layouts.

When running outside of RCB it loads my custom buttons just fine.

Is my mame.ini not loading my customized default.cfg? It seems that mame reverts back to its original button layout whenever I run the argument in RCB.

The ultimate problem is I cannot insert a coin, and start the game in mame with my Xbox Controller. I have to hit 6 then 1 on my keyboard to start a game, which defeats the purpose of an Xbox Controller.
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,704
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #13
Why haven't you simply change the arguments with the right pah? Copy/paste installed MAME application to another directory will surely fix your problem but will generate other errors. If the default.cfg file is supposed to be present in the installation directory of MAME, and if you have move this directory to another place, that's normal that MAME is not able to found it anymore and assign correctly your custom buttons. BTW, you can define where is located your cfg directory like this :

Code:
-inipath "C:\Program Files\mame" -cfg_directory "C:\Program Files\mame\cfg" "%rom%"

For your Xbox controller problem, assing the coin and start action to back and start buttons for exemple using MAME general input menu :

[Image: paperboy_setting.png]

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
tranceology3 Offline
Junior Member
Posts: 47
Joined: Sep 2007
Reputation: 0
Post: #14
I only changed the path to C:\ so I could test, I still kept my original path, and had the correct inipath in the argument, and I was getting those same errors.

I am going to to try the new code for my cgf file, and those buttons maps are how had them configured, just never can get them to load, I hope this works!. Thanks for the help Smile
find quote
tranceology3 Offline
Junior Member
Posts: 47
Joined: Sep 2007
Reputation: 0
Post: #15
You are a hero, it works!
find quote
Post Reply