CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Mod Ren'Py Universal Ren'Py Mod / URM [2.5] (mod any Ren'Py game yourself)

5.00 star(s) 42 Votes

StarCrafted

Newbie
Jul 13, 2020
50
60
Awesome mod, I've been using it since I found out about it! Lately, since the 1.9.x version, I've been having crashes after playing for a while and trying to save my games. I can rollback/ignore just fine, but the savefile won't be generated correctly. Any means of saving (Auto, Quick, Normal or Alt+Q) fail. Here's the log (currently on version 1.9.2 of URM):
You don't have permission to view the spoiler content. Log in or register now.
Ok, I added a .rpy with the following code to the game dir to get a more accurate description of the exception, here it is:
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:
Jan 21, 2021
158
191
Like I said. You're searching for variable names, there are actually no variables including a dot.
And your wishes are noted ;)


I'm honored this is your first post is over 4 years :D
  1. I don't think I want quick buttons on the watchpanel. I want a cleaner watchpanel/less buttons. But I'm planning on optimizing some stuff there
  2. I'm aware it sometimes auto advances while a path is detected. This depends on the game's implementation. But I'm going to see if I can prevent this somehow


Awesome that you're supporting URM in your ports!
On the roadmap is a task to make URM "touch-aware", when this is implemented the overlapping keyboard issue should also be solved.
i actually do think that a modifiable and optional +/- button would make modifying a large amount of variables in quick succession much easier than having to click and type out 9999999 every time then click the change button. it would also be easier to make it cramp things less with the new global settings so that people could turn it on/off if they dont want it. ive recently been modifying variables in superhuman but due to the fact that the affection variable is set up as having to type out each individual characters name into the search bar and that i have to individually change the variables by typing out a large number, the process is very drawn out. i think that the +/- buttons would be very useful, especially if the amount is modifiable and theyre optional.
 

Moonywb

Newbie
Apr 14, 2019
78
134
Looks as if a game is using RenPy 8.0.0.22051902n - Immoral Stories of Rebecca.

Latest version of URM does not work with the game.
Latest version error spits out:

Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/0x52/classes/settings.rpy", line 45: invalid syntax
                except Exception, e:
                                 ^
    

File "game/0x52/framework/API.rpy", line 95: invalid syntax
                    except Exception, e:
                                     ^
    

Ren'Py Version: Ren'Py 8.0.0.22051902n
Tue May 31 22:11:06 2022

Version before this latest one gives this error:

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 3, in script
    scene black with fade
Exception: Screen URM_overlay is not known.


-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 3, in script
    scene black with fade
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\ast.py", line 1638, in execute
    renpy.exports.with_statement(trans, paired)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\exports.py", line 1654, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 2797, in do_with
    return self.interact(trans_pause=True,
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 3359, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 3552, in interact_core
    renpy.display.screen.show_overlay_screens(suppress_overlay)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\screen.py", line 1468, in show_overlay_screens
    show_screen(i)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\screen.py", line 1184, in show_screen
    raise Exception("Screen %s is not known.\n" % (name[0],))
Exception: Screen URM_overlay is not known.


Windows-10-10.0.19043
Ren'Py 8.0.0.22051902n
IS 1.3
Tue May 31 22:10:17 2022
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,646
Awesome mod, I've been using it since I found out about it! Lately, since the 1.9.x version, I've been having crashes after playing for a while and trying to save my games. I can rollback/ignore just fine, but the savefile won't be generated correctly. Any means of saving (Auto, Quick, Normal or Alt+Q) fail. Here's the log (currently on version 1.9.2 of URM):
You don't have permission to view the spoiler content. Log in or register now.
Ok, I added a .rpy with the following code to the game dir to get a more accurate description of the exception, here it is:
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Thanks you for the details. This issue only seems to occur with Ren'Py 7.4.11.2266.
I have some questions about this:
  1. Are you able to reproduce this or is it random?
  2. Did you get the error with exactly URM 1.9.2? (not an earlier version)
  3. Have you used URM before 1.9 on this exact game without any issues?

Looks as if a game is using RenPy 8.0.0.22051902n - Immoral Stories of Rebecca.

Latest version of URM does not work with the game.
Latest version error spits out:

Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/0x52/classes/settings.rpy", line 45: invalid syntax
                except Exception, e:
                                 ^
   

File "game/0x52/framework/API.rpy", line 95: invalid syntax
                    except Exception, e:
                                     ^
   

Ren'Py Version: Ren'Py 8.0.0.22051902n
Tue May 31 22:11:06 2022

Version before this latest one gives this error:

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 3, in script
    scene black with fade
Exception: Screen URM_overlay is not known.


-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 3, in script
    scene black with fade
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\ast.py", line 1638, in execute
    renpy.exports.with_statement(trans, paired)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\exports.py", line 1654, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 2797, in do_with
    return self.interact(trans_pause=True,
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 3359, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\core.py", line 3552, in interact_core
    renpy.display.screen.show_overlay_screens(suppress_overlay)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\screen.py", line 1468, in show_overlay_screens
    show_screen(i)
  File "M:\VN Games\NEW DOWNLOADS\IS-1.3-pc\renpy\display\screen.py", line 1184, in show_screen
    raise Exception("Screen %s is not known.\n" % (name[0],))
Exception: Screen URM_overlay is not known.


Windows-10-10.0.19043
Ren'Py 8.0.0.22051902n
IS 1.3
Tue May 31 22:10:17 2022
URM isn't Ren'Py 8 compatible yet. This Ren'Py is a prerelease version not meant for production only for testing
 

StarCrafted

Newbie
Jul 13, 2020
50
60
Thanks you for the details. This issue only seems to occur with Ren'Py 7.4.11.2266.
I have some questions about this:
  1. Are you able to reproduce this or is it random?
  2. Did you get the error with exactly URM 1.9.2? (not an earlier version)
  3. Have you used URM before 1.9 on this exact game without any issues?


URM isn't Ren'Py 8 compatible yet. This Ren'Py is a prerelease version not meant for production only for testing
Howdy.

No previous version of URM has been used IIRC, *MAYBE* 1.9.1 (I don't remember exactly if I turned off global Auto-Update before playing this title or during). But I know for sure that I started the game clean with 1.9.2 before I did *ANY* modifications.

The error keeps happening randomly. Sometimes rollback will go past it and it saves correctly. Sometimes it does not.

After applying the pickles.rpy it seems rollback/ignoring and trying to save again sometimes works. There's no clear way to reproduce the error since it happens randomly.

Ever since copying the pickles.rpy into the gamedir and letting the game run with it, I only had 1 occurence of the error happening (the the traceback log with pickles) and I rolled back and saved again at the same scene, and that time it saved correctly.

In the quicksaves menu (because I use quicksave a lot), there was a gap where the save that gave the error should have been, and in the game dir, the corresponding savefile for the blank slot didn't exist. So the game removes the file but fails to generate a new one.

I also let the game run in the background for around 8hrs now, and when I came home as I am typing this, I did a quicksave and it saved correctly.

If there's any more info that I can help you with, don't hesitate to ask.

I will report back with more rollback logs if it happens again.
 
Last edited:

TheKingTermux

Newbie
Jan 19, 2021
25
2
URM crashes after saving variable and returns to variables tab.
Crash log with traceback attached

Game : Corrupted World
Version : 0.1.6
URM Version : 1.9.2
 

StarCrafted

Newbie
Jul 13, 2020
50
60
Ok, I tried to rollback and ignore, this time it isn't saving anything.

I'll attach saves that are not visible in the Load menu (but the files exist in the \game\saves and in the %appdata%\RenPy\ game folder. I'll attach both, including the persistent file.

EDIT: The saves somehow got moved to "page two" of the Auto and Quick slots. Once renamed, they were accessible once again, and not corrupt. I couldn't see them because there's no page number for Quick and Auto save slots.

Here's 5 tracebacks at different lines in the script (URM 1.9.2 - the last traceback is different because I tried to name the save as "a"):
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
EDIT: New kind of error, popped up randomly again (URM 1.9.2):
You don't have permission to view the spoiler content. Log in or register now.
EDIT: Error persists in URM v1.8 (again when saving)
You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,646
URM crashes after saving variable and returns to variables tab.
Crash log with traceback attached

Game : Corrupted World
Version : 0.1.6
URM Version : 1.9.2
They assigned a character to the variable sys. Which is a , that's used internally in RenPy.
So they broken Ren'Py doing this, not an URM issue.

Ok, I tried to rollback and ignore, this time it isn't saving anything.

I'll attach saves that are not visible in the Load menu (but the files exist in the \game\saves and in the %appdata%\RenPy\ game folder. I'll attach both, including the persistent file.

EDIT: The saves somehow got moved to "page two" of the Auto and Quick slots. Once renamed, they were accessible once again, and not corrupt. I couldn't see them because there's no page number for Quick and Auto save slots.

Here's 5 tracebacks at different lines in the script (URM 1.9.2 - the last traceback is different because I tried to name the save as "a"):
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
EDIT: New kind of error, popped up randomly again (URM 1.9.2):
You don't have permission to view the spoiler content. Log in or register now.
EDIT: Error persists in URM v1.8 (again when saving)
You don't have permission to view the spoiler content. Log in or register now.
Thanks a lot. I'll look into this
 

StarCrafted

Newbie
Jul 13, 2020
50
60
They assigned a character to the variable sys. Which is a , that's used internally in RenPy.
So they broken Ren'Py doing this, not an URM issue.


Thanks a lot. I'll look into this
URM v1.7 is affected as well it seems

Ok, here's the weird part. Check out the lines numbers in ch5s29cassiamakeupsex.rpyc (will attach the decompiled .rpy).

Lines 230 and 242. They both had an error when I tried to save.
But after rolling back, both points saved correctly and did not error out.

I saw the "function startReplay" in the traceback so maybe it's because of that?

I'll keep an eye out on the next lewd scene for the replay thing and will try to save after the .rpy started with $ setReplay() but before it has a chance to write into persistent or do $ renpy.end_replay()
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
EDIT: I have attached the decompiled versions of the .rpyc's that I have provided tracebacks for so far in my posts. Maybe it'll help.

EDIT: So I switched back to v1.9.2 and loaded a save which I saved using v.1.7.0. Upon trying to save using v1.9.2, I instantly got an error. Here are the tracebacks from the v1.9.2 errors (.rpy decompiled file attached as well/post updated):
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

StarCrafted

Newbie
Jul 13, 2020
50
60
Ok, I did some experimenting. I will attach the save file I am loading, the corresponding decompiled .rpy from the game, and the different scenarios and URM versions while I tried loading the attached save:
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
No pickles.rpyc, with URM 1.7.0: Loads fine, save was made while using URM 1.7.0 with pickles.rpyc.
With pickles.rpyc, with URM 1.7.0: Same as above.
With pickles.rpyc, with URM 1.9.2: Same as above.

After loading with pickles.rpyc and URM 1.9.2, I still can't save in the exact spot the save was loaded, I get the following traceback error:
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Saving in the exact spot with pickles.rpyc and URM 1.7.0 works as intended.

Hope these help somehow. Let me know if there's more I can help you with.
 
Last edited:

TheKingTermux

Newbie
Jan 19, 2021
25
2
They assigned a character to the variable sys. Which is a , that's used internally in RenPy.
So they broken Ren'Py doing this, not an URM issue.
Thanks for helping
Whereas in versions before 0.1.3, URM can still be used. But in version >0.1.3 the game immediately crashes
Once again I thank you very much
 

StarCrafted

Newbie
Jul 13, 2020
50
60
Another title, another version of RenPy (7.4.6.1693), worked fine for a chapter with URM 1.9.2 but after that, when I was trying to quicksave, *POOF*, it went and crapped itself again. Unfortunately I didn't have the pickles.rpyc in the gamedir (only URM 1.9.2 used - and I didn't modify ANY variables, only set some to being watched). Here's the traceback, .rpy script and watched variables. I added pickes.rpyc to the gamedir now, so if another save error happens, I will update this post with the more detailed traceback.
You don't have permission to view the spoiler content. Log in or register now.
 

URMfollower22

Newbie
Jun 5, 2022
20
60
Hi. Longtime user. Dead Computer. PW was on dead computer (DOH!) ergo, new account.

In the URM 1.9 and 1.9.2 there's a problem I have with replacing text. It's hard to explain.

It used to be that I click the bar, enter the text I want to replace, click the other bar, enter the replacement text. Done.

Now, on either bar, I click the bar, enter ONE letter, and the bar is unselected... so I have to click on the bar between each... and every... single... letter. I looked in options, and couldn't find what had changed.

Not program breaking, just annoying. What am I doing wrong? Tried searching, and I missed it if anyone else has this problem. Happens across multiple games in case it matters.
 

StarCrafted

Newbie
Jul 13, 2020
50
60
Hi. Longtime user. Dead Computer. PW was on dead computer (DOH!) ergo, new account.

In the URM 1.9 and 1.9.2 there's a problem I have with replacing text. It's hard to explain.

It used to be that I click the bar, enter the text I want to replace, click the other bar, enter the replacement text. Done.

Now, on either bar, I click the bar, enter ONE letter, and the bar is unselected... so I have to click on the bar between each... and every... single... letter. I looked in options, and couldn't find what had changed.

Not program breaking, just annoying. What am I doing wrong? Tried searching, and I missed it if anyone else has this problem. Happens across multiple games in case it matters.
Howdy. I tested it in URM 1.9.2 and it seems that you can type in the field as long as the mouse hovers over it. If the mouse cursor is not over a text field, you can't type in said text field. My cursor was around where the circle is in the below picture, and I could type in the highlighted field ("Original"). When I moved my cursor further down over the "Replacement" field, I would automatically type in that field instead. See if it works like that.

1654395500251.png
 
Last edited:
  • Like
Reactions: URMfollower22

URMfollower22

Newbie
Jun 5, 2022
20
60
Howdy. I tested it in URM 1.9.2 and it seems that you can type in the field as long as the mouse hovers over it. If the mouse cursor is not over a text field, you can't type in said text field. My cursor was around where the circle is in the below picture, and I could type in the highlighted field ("Original"). When I moved my cursor further down over the "Replacement" field, I would automatically type in that field instead. See if it works like that.
Thank you for your post, but it didn't work. I think it might be game based. For both my examples, it's version 1.9.2.

For - Such a Sharp Pain - it works fine EXACTLY as you said.
https://f95zone.to/threads/such-a-sharp-pain-v0-2-31r-f95-ketzal.113697/

For - Just For You - Kinetic Novel - cursor right where you said, you click one letter, and the highlight disappears.
https://f95zone.to/threads/just-for-you-kinetic-novel-v1-0-mando-logica.119016/

I do appreciate the help, though.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,646
Thank you for your post, but it didn't work. I think it might be game based. For both my examples, it's version 1.9.2.

For - Such a Sharp Pain - it works fine EXACTLY as you said.
https://f95zone.to/threads/such-a-sharp-pain-v0-2-31r-f95-ketzal.113697/

For - Just For You - Kinetic Novel - cursor right where you said, you click one letter, and the highlight disappears.
https://f95zone.to/threads/just-for-you-kinetic-novel-v1-0-mando-logica.119016/

I do appreciate the help, though.
It's on my todo-list to improve the input behavior. I hope this problem will be solved after that
 
  • Like
Reactions: URMfollower22

StarCrafted

Newbie
Jul 13, 2020
50
60
Thank you for your post, but it didn't work. I think it might be game based. For both my examples, it's version 1.9.2.

For - Such a Sharp Pain - it works fine EXACTLY as you said.
https://f95zone.to/threads/such-a-sharp-pain-v0-2-31r-f95-ketzal.113697/

For - Just For You - Kinetic Novel - cursor right where you said, you click one letter, and the highlight disappears.
https://f95zone.to/threads/just-for-you-kinetic-novel-v1-0-mando-logica.119016/

I do appreciate the help, though.
Howdy.

Maybe worth mentioning that the first title (that input with the mouse hover over the input field works for - SSP) is made in RenPy 7.4.11.2266.
The second title, JFY, is made in Ren'Py 7.4.2.1292. In that one, the field, even with the mouse over it, loses focus, and the input goes directly into the game, not URM itself.

G'day :)
 

StarCrafted

Newbie
Jul 13, 2020
50
60
0x52 I found some code that you maybe could adapt or use parts of it for URM's multiple inputs on the same screen? It's for a character name, but it uses "textbutton" instead of "button" like your code does. Hope it helps.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,646
0x52 I found some code that you maybe could adapt or use parts of it for URM's multiple inputs on the same screen? It's for a character name, but it uses "textbutton" instead of "button" like your code does. Hope it helps.
I've already created really nice code for this. I only need to find time to implement it
 
5.00 star(s) 42 Votes