Custom pathing for ROMs/savegames
-
Well there goes another one of my shots at a good idea! Hahahaha
I am eagerly awaiting the 4.0 release! Especially the "Boot into Kodi first and if quit, go to ES"-thing is what really tingles my shingles
-
@herb_fargus,
Maybe I'm misunderstanding something here. Are we able to save.srm
and.state
files in a different directory in 4.0? Because that would be amazing. I have scripts to copy them out of the roms folder into a backup folder, but it would be great if I could just specify a separate directory. It would make backing up save data super easy. -
@MikeDave you can already define where your save states go through the retroarch.cfg file. you just have to define the filepath for where you want them to be saved
-
@herb_fargus Oh wow. I couldn't find it in the wiki, but now that I actually read through retroarch.cfg I see that it's literally the first thing in the file. Thank you.
-
@MikeDave yep, its not a super common/ well documented setting as most people are fine with the savestates in the same rom folder. just note that there are some issues with some emulators where defining the save state location won't work due to upstream issues (particularly with the mednafen/beetle emulators)
-
@herb_fargus OK. Good to know.
I also just found it in the wiki here. I just had to look through the
Pages
directory on the right. -
@MikeDave If you wanted you could do this on a per system basis if you wanted each system to have its own save game folder.
System specific retroarch.cfg id found in/opt/retropie/configs/{system-name}/retroarch.cfg
-
@Floob Good call. I'll definitely have to play around with different configs and see what I like.
-
How do yo scrape into romfolders? I installed 4.0 RC1 and it scrapes to downloaded-images. I've used both Sselph's and built-in scrapper.
-
@Flynn's update your setup script and it will be an option here: https://github.com/retropie/retropie-setup/wiki/scraper
-
Ah, I think I interpreted what you said incorrectly and since I only started using RetroPie as of ver. 4.0 RC1 I'm not sure what it use to be.
Previously, I assume downloaded-images was a folder with no subfolders but now it is?
Edit, I thought you said it would create an 'images' folder in the respective rom folders where the roms are held (as an option). But that is only if you have to use your own image
-
hi! I got issue with saving the .srm for various systems in a specific directory as specified in
/opt/retropie/configs/{system-name}/retroarch.cfg
. Let me take an example, for PSX. In myretroarch.cfg
for that system I've added:# Save all game saves to this directory. savefile_directory = /opt/retropie/roms/psx/saves/
I created the
saves
directory at this very location. Then I launch some games but unfortunately the.srm
files keep being saved next to the roms, in the same directory. It goes the same for all other systems (SNES, MD/GEN, PCE, etc).What am I missing? Latest RP, PI2.
-
@nemo93
Presumably you created the /roms/psx folders as well, as they arent there by default?
Therefore it could possibly be a permission issue?Your games by default are in
/home/pi/RetroPie/roms/psx
Your configs by default are in
/opt/retropie/configs/psx
-
That's what I thought at first. Yet I've created the
saves
directories over Samba hence no permission issue should occur. To be sure and to confirm here's the current permission sets still for the PSXsaves
directory. It looks fine by me.drwxr-xr-x 2 pi pi 4096 Aug 9 19:09 saves
I could give a try and apply
777
to it... -
Ok still same issue. I'm unable to put the *.srm or *.fs files into a separate folder :( Perhaps I'm not using the proper directory in the retroarch.cfg?? Any toughts please?
-
Well... I feel so stupid :((((( I didn't pay enough attention and my paths were completely wrong... /o\ I tried to save the
*.srm
into/opt/retropie/roms/<system>/saves/
which is non existing of course!! I changed that for/home/pi/RetroPie/roms/<system>/saves/
and it's all working now \o/silly me. Sorry for that :(
EDIT: it works nicely for libretro cores with the notable exception of lr-fba-next (generating
*.fs
files). With that core the.fs
are being saved next to the roms no matter you put in theretroarch.cfg
... -
@nemo93 said in Custom pathing for ROMs/savegames:
Well... I feel so stupid :((((( I didn't pay enough attention and my paths were completely wrong... /o\ I tried to save the
*.srm
into/opt/retropie/roms/<system>/saves/
which is non existing of course!! I changed that for/home/pi/RetroPie/roms/<system>/saves/
and it's all working now \o/silly me. Sorry for that :(
EDIT: it works nicely for libretro cores with the notable exception of lr-fba-next (generating
*.fs
files). With that core the.fs
are being saved next to the roms no matter you put in theretroarch.cfg
...I’m trying to do the same thing but the save files only go to one folder that the 1st line of code or whatever tells it to go to n I’m trying to have the save files for the system go to each system I have them for but it doesn’t work for me any help would be appreciated
-
@GrandMasterLynx I've written a small script SavePath that does the work for you. Read carefully the instructions!
For the setup you want with the/home/pi/RetroPie/roms/<system>/saves/
feature you would useSavePath.sh all "/home/pi/RetroPie/roms/$1/saves"
You need to activate the two save key in retroarch.cfg with
nano /opt/retropie/configs/all/retroarch.cfg
if you use the all parameter.- savefile_directory = ""
- savestate_directory = ""
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.