Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › save controller settings in mame4all pi in retropie 2.1 ?
Tagged: permissions
- This topic has 12 replies, 9 voices, and was last updated 9 years, 7 months ago by jhabu.
-
AuthorPosts
-
07/05/2014 at 12:05 #12211octubrqParticipant
I have a problem, when I press TAB to configure the buttons on MAME4ALL, it works in the game, but if I put another game is not recorded my settings. one could change this?
07/05/2014 at 13:22 #12216tafazzi87Participantyou’ve to do with root permissions…you’ve to go on terminal (press f4) and
sudo -i cd /opt/retropie/emulators/mame4all (mame4all folder i don't remember specifically folder) ./mame
now you choose a game and inside game press tab on keyboard and you’ve to configure buttons
07/05/2014 at 13:37 #12218dem1980Participantor you can log into console and type :
sudo chmod 777 /opt/retropie/emulators/mame4all/mame.cfgand now pi user have rights to update this file from the game menu TAB
07/05/2014 at 13:44 #12224nemo93Participanthi octubrq,
definitely related to permissions within the “/opt/retropie” folder. Have a look at this location please: https://www.petrockblock.com/forums/topic/no-writing-permission-for-retroarch-cfg/#post-12219
hope this helps.
cheers,07/05/2014 at 16:28 #12261octubrqParticipantI first tried the solution of Taffazi87 , and this is the problem
pi@raspberrypi ~ $ sudo -i
lvl0: No systems found! Does at least one system have a game present? (check that extensions match!)
(Also, make sure you’ve updated your es_systems.cfg for XML!)where is it es_systems.cfg ?
Dem1980 the mame.cfg not is the problem , the problem is inside the game . configure all buttons inside the game
07/05/2014 at 18:52 #12287dem1980Participantuser pi hasn’t rights to write in the mame.cfg file.
So when you left a game and start a new game, the mame.cfg you configure in the last game had not been saved, because your user (pi) hadn’t the rights.
To make user pi has the rights you have tu type the command :
sudo chmod 777 -R /opt/retropie/
for all emulators
sudo chmod 777 /opt/retropie/emulators/mame4all/mame.cfg
for only mame4all07/05/2014 at 20:27 #12298octubrqParticipantthe problem is not the mame.cfg, I can edit that file with Winscp. loggin: root and password: ……. but in that file I can edit some controls but not all. only you can edit all within a game of MAME4ALL as you can see in the picture costs. I read in the forum that these controls keeps the mame inside and can not be edited. retropie in 1.9 as it was not necessary to be root, if kept, but now the problem of being tenenmos root
12/19/2014 at 02:48 #83750luckyme8Participant(Total Noob here)
I was mapping the controls for MAME using the keyboard and I accidentally set the “TAB” button as the Exit button. Now I can’t access the configuration page from a game using TAB because it will exit the game.
Is there another way I can access it or possibly reset it?
I know how to access my Raspi through the Terminal commands on my Mac if that makes a difference.
Any help is appreciated.
Thanks
12/19/2014 at 11:05 #83758FloobMemberYou can change the config back here:
/opt/retropie/emulators/mame4all/mame.cfgI imagine if you rename that file a new one would be created if you dont want to edit it.
01/10/2015 at 22:00 #84933AnonymousInactive[quote=83758]You can change the config back here:
/opt/retropie/emulators/mame4all/mame.cfgI imagine if you rename that file a new one would be created if you dont want to edit it.
[/quote]I’m going to jump in here, because I’ve been trying to resolve the same issue (accidentally set my MAME UI Select button to NONE and then can’t use the UI). You do not need to delete the mame.cfg file. You actually need to delete or rename the default.cfg file that exists under the /cfg/ folder in mame4all then reboot and go into mame.
cd /opt/retropie/emulators/mame4all-pi/cfg/
mv default.cfg default_old.cfg
sudo reboot(The ‘mv’ command is renaming the default.cfg file instead of deleting)
02/27/2015 at 20:55 #89489jhabuParticipantHi
I have the same problem that in the first post (mame4all doesn’t remember joy config).
I chekcked the writing permissions and tried to execute mame as root but nothing works.
Any ideas ?
Thank you
03/28/2015 at 17:09 #92961whizzkidParticipantdoes anyone have a solution for this problem yet? can’t use mame without a keyboard now. which sucks.
changing permissions, super user. owner etc… nothing seems to work.
03/29/2015 at 19:50 #93067jhabuParticipantI solved the problem using mam4all-pi instead of mame4all
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.