Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › emulator or game specific configuration files
- This topic has 16 replies, 6 voices, and was last updated 9 years, 10 months ago by mytheral.
-
AuthorPosts
-
01/10/2015 at 22:48 #84938Scott NathParticipant
Hi all,
I’m shifting around controllers regularly and would rather change configuration files than go into each system/game and run through the settings options.
Are there config files that I can edit for each emulator? For each game?
I’ve tried the retroarch configs for MAME here for instance:
/opt/retropie/configs/mame/retroarch.cfg
but even after making in-MAME changes, that file is still empty.
I’ve checked out the emulators config area. For instance this file for Gauntlet:
/opt/retropie/emulators/mame4all-pi/cfg/gauntlet.cfg
But I don’t even recognize what those characters are when I open them in a text editor.
MAMECFG<*ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€+ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€,ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€-ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€€€ 8/99€0€:@ÿÿ€€ÿ€€1ÿÿ€0ÿÿ€/ÿÿ€.ÿÿ€€ðÿÿ€89999*ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€+ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€,ÿÿ€ÿÿ€ÿÿ€€ÿÿ€ÿÿ€ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€-ÿÿ€ÿÿÿÿ€ÿÿ€ÿÿ ÿÿ€@ÿÿ€€ÿÿ€€ÿÿÿ€€€ 8/99€0€:@ÿÿ€€ÿ€€1ÿÿ€0ÿÿ€/ÿÿ€.ÿÿ€€ðÿÿ€8999900 Pÿÿÿÿÿÿÿÿÿÿÿÿ00 Pÿÿÿÿÿÿÿÿÿÿÿÿ
So…is there a way to config these games and emulators in a text editor?
thanks all,
Scott01/10/2015 at 23:01 #84942FloobMemberIn RetroPie 2.4 beta, the config file is held here (for mame4all)
/opt/retropie/configs/mame4all/cfgbut this is not editable with a text editor.
To edit mame controls you do it in the GUI like this
01/11/2015 at 02:59 #84959Scott NathParticipantThanks Floob. That’s what I’m trying to get around though – doing it in the GUI.
Is there any way to edit those files as text?
thanks,
Scott01/11/2015 at 03:10 #84961FloobMemberAs far as I know, the default and game specific controller files for mame4all-pi have to be edited via the GUI.
01/30/2015 at 00:31 #86132mytheralParticipantI have somewhat of a similar problem.
I am using a wired XBOX 360 controller and I use the GUI to change the inputs as shown in the video and the changes work just fine during the game but when I escape the game and go back to Emulationstation and start a new game, the configuration is set back to default without my inputs I have just setup.
Anything I am missing?
01/30/2015 at 06:31 #86137sncboom2kParticipantI had the same problem you’re having mytheral. I had to ftp in and delete the cfg folder for mame4all – then reboot my Pi and ftp in and create the cfg folder. Once I did that, I fired up MAME again and configured my controller. It has held ever since. I assume it was a folder permissions issue. See if it works for you. (But backup your cfg folder first to be safe.)
01/30/2015 at 06:40 #86141mytheralParticipantHmm I will have to try that. I haven’t used ftp with my pi but I’m sure it’s easy enough with my pi ip. I’ll let you know the results. Hopefully I can get to it tomorrow. Thank you!
01/30/2015 at 07:31 #86142sncboom2kParticipantNP – Just remember to use SSH connection type on port 22. Cyberduck and FlashFXP both support this.
Good luck!
01/31/2015 at 04:06 #86183mytheralParticipantOk i was able to FTP and delete the corresponding config folders for mame and mam4all… both times it did not work. below are the screenshots and it includes my path to make sure I am in the right place.
When i deleted the folder, i did not add the contents that were in that folder into the new folder I created. was this correct?
01/31/2015 at 04:06 #86186mytheralParticipantanother screen shot
01/31/2015 at 07:40 #86199brakanjeParticipantfrom ssh set your root password “sudo passwd root” i think then use the root account to ftp in. you then have the ability to delete folders anywhere. another option is to use “sudo chown pi (folder name)” from the SSH client. this will give you right permissions on the file without having to delete it.
Everything I said to do from SSH can be done from terminal too. I just don’t like using terminal because my pi keyboard is a sucky portable one and doesn’t feel good to use. :P actually even the deleting could be done from terminal so yeah if you like terminal you don’t need your main pc at all.
01/31/2015 at 08:02 #86204sncboom2kParticipantBrakanje is correct in you usually need root permission to delete those. Sorry I failed to mention that.
So Mytheral when you say it did not work, what exactly did not work? You were able to delete the config folders for mame (mine is only mame4all) – and then you ran mame and saved your config settings? But the next time you load it you had lost your mapping again?
01/31/2015 at 08:05 #86205sncboom2kParticipantOk I see something missing in yours that I created in mine. Open the configs folder for mame4all and create a folder in there called cfg
Then reboot your pi and try mame again – map your keys and they should stick.
Mine was lacking the cfg folder as well. It had that folder listed in your image – cfg,hi,etc….
But you need a folder named just “cfg”
Once you have that mame4all will save game info in it. Mine has a bunch in it now.
Good luck!
01/31/2015 at 13:26 #86212FloobMemberRemember that all the paths (except the main .cfg file) and folders for mame4all in RetroPie 2.4.x are in
/opt/retropie/configs/mame/01/31/2015 at 13:47 #86213dennisParticipanthi @all can someone please tell me how i can get the sd Card Image? becouse when i klick on the downloadbutton nothing happens. sorry for my bad english i am from Germany thanks
01/31/2015 at 14:00 #86215FloobMember[quote=86213]hi @all can someone please tell me how i can get the sd Card Image? becouse when i klick on the downloadbutton nothing happens. sorry for my bad english i am from Germany thanks[/quote]
Try this link:
https://www.petrockblock.com/download/retropie-sd-card-image-v2-4-2-beta/01/31/2015 at 14:54 #86217mytheralParticipantAhh Haa!! thank you all for your help. I was able to FTP into my config directory again and created the cfg folder sncboom2k said to make and it worked perfectly after that! My buttons are staying to what I configure them as in the GUI. Thank you all again for your help!!
I think I only have one more problem to post about (not related to input configuration) and this project of mine should be good to go!
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.