Ren'Py New Ren'Py Token Check (when creating a save)

shoty

Newbie
Apr 27, 2017
23
18
Actualy, the solution that saveeditonline proposed works wonders and its quite easy to implement, just go to the renpy folder inside you main game folder, look for savetoken.py, open it with a text editor and replace the line "if token_dir is None" to "if True", and that´s it, you can import any save you want, without further modify you save or upload your codes anywhere. No mod needed, it´s quite simple
Hello Twistty
Hey so I did your mod and installed it in a game that I was playing and it worked wonders, but I try modifying the save again it gave me this, any thoughts? View attachment 3664426
 
  • Hey there
Reactions: Twistty

Twistty

The Happy Beaver
Donor
Respected User
Former Staff
Sep 9, 2016
4,228
38,214
Actualy, the solution that saveeditonline proposed works wonders and its quite easy to implement, just go to the renpy folder inside you main game folder, look for savetoken.py, open it with a text editor and replace the line "if token_dir is None" to "if True", and that´s it, you can import any save you want, without further modify you save or upload your codes anywhere. No mod needed, it´s quite simple
That is only a partial fix - depending on the ren'py version used.
Some of the newer versions added a few extra line of code - if not edited or removed - may cause "issues".

Also the "extra_savedirs_fix.rpy" file - stops the extra "sync" files *(redundant save files) from being created in the appdata/roaning/renpy/game folders. Those files are fairly useless - and wastes a lot of drive space. It also includes some of the most common, and used game fixes - that aid many games.

But the choice is always up to each individual user! ;)
Cheers
 

WuzzyFuzzy

Well-Known Member
Jan 23, 2020
1,415
2,872
Twistty
I've recently ran into a conflict on a few games I thought I'd bring to your (and everyone else's) attention. If a game does NOT have a .../renpy/common/00steam.rpy file in place, adding your fixes (and thereby adding that 00steam.rpy file) will crash the game at onset with:

You don't have permission to view the spoiler content. Log in or register now.
Removing that file allows the game to run without issue. Do we need to have two versions? One for games headed to Steam and another version for non-Steam games?
 
  • Yay, new update!
Reactions: Twistty

Twistty

The Happy Beaver
Donor
Respected User
Former Staff
Sep 9, 2016
4,228
38,214
Twistty
I've recently ran into a conflict on a few games I thought I'd bring to your (and everyone else's) attention. If a game does NOT have a .../renpy/common/00steam.rpy file in place, adding your fixes (and thereby adding that 00steam.rpy file) will crash the game at onset with:

You don't have permission to view the spoiler content. Log in or register now.
Removing that file allows the game to run without issue. Do we need to have two versions? One for games headed to Steam and another version for non-Steam games?
Yes - I totally forgot about that when I updated my mod.

Edit:
The game you listed is:
Ren'Py 7.3.5.606
It shouldn't even need this mod - just the extra_savedirs_fix.rpy - if you find the game fixes useful.
The renpy folder part of the mod is only needed if it has a savetoken.py already a part of the game.
 
Last edited:
  • Like
Reactions: WuzzyFuzzy

WuzzyFuzzy

Well-Known Member
Jan 23, 2020
1,415
2,872
Yes - I totally forgot about that when I updated my mod.

Edit:
The game you listed is:
Ren'Py 7.3.5.606
It shouldn't even need this mod - just the extra_savedirs_fix.rpy - if you find the game fixes useful.
The renpy folder part of the mod is only needed if it has a savetoken.py already a part of the game.
You're correct. My bad. I should have looked at that version number. I'll look more closely next time. Thanks.
 
  • Crown
Reactions: Twistty

maverickson

New Member
Jun 5, 2024
9
0
Actualy, the solution that saveeditonline proposed works wonders and its quite easy to implement, just go to the renpy folder inside you main game folder, look for savetoken.py, open it with a text editor and replace the line "if token_dir is None" to "if True", and that´s it, you can import any save you want, without further modify you save or upload your codes anywhere. No mod needed, it´s quite simple
clarification
if token_is is non
if true
would it look like if true in place of token_dir
 
Aug 3, 2022
22
1
Hi, if you try to do this on an android device do the following:

1. Connect your device to a computer.

2. Enable PTP

3. Create, on your computer, a file called security_keys.txt with the text: Signing-key (and nothing else).

4. Make that file read only.

5. Transfer that file to your device.

6. Replace the signing_keys.txt file inside the folder that holds your saves with the file you had created.

*7. Open the game, load the fixed file and then save to a new spot.

*8. Close the game and delete the altered security_keys.txt.

*9. Reopen the game (so it will recreate the original security_keys.txt) and open the NEW save, it will ask you one time if you sure but will let you to open.

*10. Save the game again and there should be no problems henceforth.

11. Enjoy.

* 7-10 are to address the concern about not having the original security_keys.txt
I didnt get the steps sorry, can you explain further? Plz