Hello, everyone! I'm getting close to releasing Einlanzer on Steam. I have a couple issues I'm trying to surmount and any help you can give would be greatly appreciated.
I need to change the default location for save games from the base /Game/ folder to, say, /Game/Savegames
Shaz has a script that works great to change the save game file location to something else. I'm no script-writer, but I'd assume I simply have to change one line of Shaz's script. Help?
Can you please remove my script from your post and put a link to the thread instead?
It would actually be better to NOT use my script for this. The simple solution will be to override any DataManager method that looks for Save* to look for Game/Save* instead.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Also I removed Shaz' script per terms of use of the script. Please only post links to scripts in the future, as most script writers do not allow posting of scripts directly.
I assumed you were going to ask a scripter to make a script for you. Save* wasn't literal - I meant anywhere that used Save (with something after it) needed to be changed.
I'm not asking anyone to make a whole script for me, just a little help. I'm spending hours trying to figure it out myself. This seems like something that would be super fast and easy for someone who knows ruby.
I just told you how to do it. Search for anywhere in DataManager that has Save (with something after it) as a text string, and add Savegames\ to the start of it. There is definitely more than one place.
Trying that now. Thank you Shaz.
In my RTP project, I find these on lines 119 and 132. I thought there would have been more.
So your changes will be:
119: !Dir.glob('Savegames/Save*.rvdata2').empty?
132: sprintf("Savegames/Save%02d.rvdata2", index + 1)
And of course, make sure your Savegames folder exists, as this will not create it for you, and will error if it's not there.
Shaz, I can't thank you enough. That is exactly what I needed. I have been banging my head on the wall for days trying to figure this out. I was just in the middle of contacting a buddy of mine from 15 years ago with a tech business to see if he could figure it out.
Thank you SO much! If there's anything I can do to help you in return, let me know.