Change save location/stuck on 0%/Network share
-
Hi guys.
Sorry for my english.
I rebuild my retropie with a version 4.71 and change some features with the retropie tutorials.
I coonfig a network share for PSX roms and everithing works, but i cant save any game on PSX.
So i try the tutorials and still dont work.
I'm very noob on linux commands and i really dont know whats wrong.Pi Model: Raspberry Pi 3 Model B Rev 1.2
Power Supply used: 2.5a usb font
RetroPie Version Used :4.71
Built From: Raspberry pi imager
USB Devices connected: a ps3 controller
Controller used: ps3 controller or usb controller
Error messages received: Stuck in 0%
Guide used: https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/
FSTAB option
Emulator: PSX only (network share windows )I try change this files
I attempted to edit /opt/retropie/configs/all/retroarch.cfg
and change the line:savestate_directory = "/home/pi/RetroPie/trysave/"
BUT... after restarting the Raspberry Pi, it saves all game states into each game's ROM directory and NOT into the directory "/home/pi/RetroPie/trysave/"
I then attempted to edit:
/opt/retropie/configs/nes/retroarch.cfgAnd changed the line:
savestate_directory = "default"
to....
savestate_directory = "/home/pi/RetroPie/trysave/"and try
chown -R pi:pi /home/pi/RetroPie/roms/Saves)
So my files are like this /opt/retropie/configs/psx/retroarch.cfg
Settings made here will only override settings in the global retroarch.cfg if$
input_remapping_directory = "/opt/retropie/configs/psx/"
savefile_directory = "/home/pi/RetroPie/trysave"
savestate_directory = "/home/pi/RetroPie/trysave"
#include "/opt/retropie/configs/all/retroarch.cfg"and
And I added the following lines before the #include "/opt/retropie/configs/all/retroarch.cfg" line:
savefile_directory = /RetroPie/roms/psx
savestate_directory = /RetroPie/roms/psx
but still dont work.
-
savefile_directory = /RetroPie/roms/psx
savestate_directory = /RetroPie/roms/psx
This is not a correct location, shouldn't it be
/home/pi/RetroPie/roms/psx
?Regardless of the location you set, check if your user (
pi
) has write access to it. Try creating an empty file in that location (touch <path_to_file>
) and see if you get an error. -
@mitu Hello.
I chaged the line in "/opt/retropie/configs/all/retroarch.cfg"
for this
savefile_directory = "/home/pi/RetroPie/roms/psx"
savestate_directory = "/home/pi/RetroPie/roms/psx"and try to execute the command you send.
pi@retropie:~ $ sudo chown -R pi:pi /home/pi/RetroPie/roms/psx
pi@retropie:~ $ touch /home/pi/RetroPie/roms/psx
touch: setting times of '/home/pi/RetroPie/roms/psx': Permission denied
pi@retropie:~ $My PSX roms are in a windows netowrk share usb external hard drive.
-
@crffpa said in Change save location/stuck on 0%/Network share:
touch: setting times of '/home/pi/RetroPie/roms/psx': Permission denied
Try creating a file in that folder:
touch /home/pi/RetroPie/roms/psx/save.txt
if you still get an error (permission denied), then the rights on the share are not correct and your user cannot write it it. And no, using
sudo chmod/chown
will not help if the Windows share does not allow writing. Post the/etc/fstab
entry you added to mount your Windows share in this case. -
pi@retropie:~ $ touch /home/pi/RetroPie/roms/psx/save.txt
touch: cannot touch '/home/pi/RetroPie/roms/psx/save.txt': Permission denied/etc/fstab i use the command in https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/
//192.168.5.181/retropie-mount/roms /home/pi/RetroPie/roms/psx cifs username=crfxxxx@xxxxxxxx.com,password=xxxxxxxxx,nounix,noserverino,defaults,users,auto 0 0
i would like to save psx files inside sd, not external disk
I'm very grateful for the help so far
-
@crffpa said in Change save location/stuck on 0%/Network share:
i would like to save psx files inside sd, not external disk
In this case, you should leave the
savefile_directory
andsavestate_directory
local, not on the mounted folder.
You already tried with the/home/pi/RetroPie/trysave
first, but does that folder exists ? If not, then try creating it first and addsavefile_directory = "/home/pi/RetroPie/trysave" savestate_directory = "/home/pi/RetroPie/trysave"
to
/opt/retropie/configs/psx/retroarch.cfg
.If that doesn't fix the saving issue, start a game with verbose logging enabled, try to save and then post the resulting logfile to pastebin.com.
-
@mitu thanks a lot. <3 you save my project.
works fine, as I am a windows user, I hardly know the linux commands, with your tips I managed to create the necessary folders and permissions.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.