- Aug 3, 2020
- 152
- 135
Sorry for the late response, basically yeah the "whateveryourusernameis" part is just the file path to the data directory of the game. C:\Users\myusername\Desktop\ObasansSaga_1.30\Obasans Saga ver130\www\dataBoss!
Terribly sorry, dumb/ignorant here. I figured we replace our name in the filedata.replace.
But I couldn't figure out what else needed to be replaced or to what.
Whateveryourusernameis: game name? or since this is in the file directory, computer user name?
Write the file out again
with open(file, 'w') as mapfile:
mapfile.write(filedata)
brain fart here boss. Don't know how to proceed.
Could you save me?
You arent dumb either, I just wrote that part pretty poorly sorry about that. Once you change the directory to match yours you should be good to just adjust the name as well and good to go from there. Let me know if u have any issues with it.
so in my case the code i would run would look like, this:
('C:\\Users\\MYNAME\\Desktop\\ObasansSaga_1.30\\Obasans Saga ver130\\www\\data')
Just as long as it points to the data directory you should be golden.