emulator or game specific configuration files

Home Forums RetroPie Project Everything else related to the RetroPie Project emulator or game specific configuration files

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 16 replies, has 6 voices, and was last updated by Profile photo of mytheral mytheral 2 years, 2 months ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #84938
    Profile photo of Scott Nath
    Scott Nath
    Participant

    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,
    Scott

    #84942
    Profile photo of Floob
    Floob
    Moderator

    In RetroPie 2.4 beta, the config file is held here (for mame4all)
    /opt/retropie/configs/mame4all/cfg

    but this is not editable with a text editor.

    To edit mame controls you do it in the GUI like this

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #84959
    Profile photo of Scott Nath
    Scott Nath
    Participant

    Thanks 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,
    Scott

    #84961
    Profile photo of Floob
    Floob
    Moderator

    As far as I know, the default and game specific controller files for mame4all-pi have to be edited via the GUI.

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #86132
    Profile photo of mytheral
    mytheral
    Participant

    I 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?

    #86137
    Profile photo of sncboom2k
    sncboom2k
    Participant

    I 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.)

    #86141
    Profile photo of mytheral
    mytheral
    Participant

    Hmm 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!

    #86142
    Profile photo of sncboom2k
    sncboom2k
    Participant

    NP – Just remember to use SSH connection type on port 22. Cyberduck and FlashFXP both support this.

    Good luck!

    #86183
    Profile photo of mytheral
    mytheral
    Participant

    Ok 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?

    • This reply was modified 2 years, 2 months ago by Profile photo of mytheral mytheral. Reason: added email notification
    Attachments:
    #86186
    Profile photo of mytheral
    mytheral
    Participant

    another screen shot

    • This reply was modified 2 years, 2 months ago by Profile photo of mytheral mytheral.
    Attachments:
    #86199
    Profile photo of brakanje
    brakanje
    Participant

    from 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. 😛 actually even the deleting could be done from terminal so yeah if you like terminal you don’t need your main pc at all.

    • This reply was modified 2 years, 2 months ago by Profile photo of brakanje brakanje.
    #86204
    Profile photo of sncboom2k
    sncboom2k
    Participant

    Brakanje 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?

    #86205
    Profile photo of sncboom2k
    sncboom2k
    Participant

    Ok 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!

    #86212
    Profile photo of Floob
    Floob
    Moderator

    Remember that all the paths (except the main .cfg file) and folders for mame4all in RetroPie 2.4.x are in
    /opt/retropie/configs/mame/

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #86213
    Profile photo of dennis
    dennis
    Participant

    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

    #86215
    Profile photo of Floob
    Floob
    Moderator

    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

    Try this link:
    http://blog.petrockblock.com/download/retropie-sd-card-image-v2-4-2-beta/

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #86217
    Profile photo of mytheral
    mytheral
    Participant

    Ahh 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!

Viewing 17 posts - 1 through 17 (of 17 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar