Create and Fuck your AI Slut -70% OFF
x

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

5.00 star(s) 49 Votes

Bingoogus

Forum Fanatic
Sep 5, 2021
4,257
12,757
628
This took a lot of digging, but I found the issue with A House in the Rift.

The game is calling Function() 20 times a second... yes!! 20 times a second!
Every time this is called Ren'Py rebuilds te whole screen. So when URM is showing a lot it all gets rebuild a lot, which slows things down.

ZanithOne, your game can be made a lot more efficient by changing the line in misc_utils from:
timer 0.05 action Function(periodic_callback) repeat True
to:
timer 0.05 action Function(periodic_callback, _update_screens=False) repeat True
(I didn't take a deep dive into it, but the screenupdate seems unnecessary)
Fascinating... so it can be assumed that is most likely what is going on in other games? I can't imagine many game devs think to add that update screen component if they're new to adding that function call, only thing to ponder than is why a dev would want to add that in the first place? It's not common for games to lag with URM open, so i can't see it as common to use that function call, so it must serve some niche purpose, even a clueless dev needs to have some impetus to add it in the first place... no one just wakes up and adds random shit to their code for no reason...
 
  • Haha
Reactions: Boehser Onkel

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,731
592
0x52

https://f95zone.to/threads/breeze-of-passion-v9-00-regular-l7team.162702/

at this game , the urm watchpanel disappears everytime you watch a replay from here

Screenshot_1.png

the little watchpanel button stays at the replays , but disappears after the replay is done

and the worst part - you cant activate urm again after this
alt-m dont works
you have to delete the persistent file and start a new game to get urm working again
or rollback the whole replay until before you start to play it

urm v 2.6.1
win 10 x64

there is a workaround , but ..
enabling the urm quickmenu to have the urm button
 
Last edited:

ZanithOne

A House in the Rift dev
Game Developer
Oct 2, 2018
533
5,195
708
This took a lot of digging, but I found the issue with A House in the Rift.

The game is calling Function() 20 times a second... yes!! 20 times a second!
Every time this is called Ren'Py rebuilds te whole screen. So when URM is showing a lot it all gets rebuild a lot, which slows things down.

ZanithOne, your game can be made a lot more efficient by changing the line in misc_utils from:
timer 0.05 action Function(periodic_callback) repeat True
to:
timer 0.05 action Function(periodic_callback, _update_screens=False) repeat True
(I didn't take a deep dive into it, but the screenupdate seems unnecessary)
Oh :unsure:

Thank you for the info! Added this timer thingie ages ago without thinking much about it and never noticed any effects. Will check if the change breaks anything for whatever reason, and if not, yay, free performance. Cheers!
 

MiltonPowers

Twins Basil! Twins!
Donor
Jr. Uploader
Jul 26, 2023
18,116
45,920
922
I haven't had this before. I can't get URM to open at all on a new game.

Pharaoh's Veil

I'm using the latest version (2.6.1) and no other mods at all.

It's like it doesn't exist at all.

Alt-M doesn't work.
A global quick menu I use doesn't show up.
Choices detected pop up doesn't come on either.
 
  • Like
Reactions: I-love-boobies

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,731
592
I haven't had this before. I can't get URM to open at all on a new game.

Pharaoh's Veil

I'm using the latest version (2.6.1) and no other mods at all.

It's like it doesn't exist at all.

Alt-M doesn't work.
A global quick menu I use doesn't show up.
Choices detected pop up doesn't come on either.
extract the urm.rpa

Screenshot_1.png
 

567753

New Member
Dec 10, 2020
1
0
11
Hello! Thank you very much for this beauty of a mod! but I have trouble with it

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 73, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 59, in afterLoad
File "0x52-URM/classes/settings.rpy", line 138, in __getattr__
File "0x52-URM/classes/settings.rpy", line 161, in get
TypeError: argument of type 'bool' is not iterable

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

Full traceback:
File "script.rpyc", line 71, in script
File "renpy/ast.py", line 773, in execute
renpy.easy.run_callbacks(renpy.config.label_callback, self.name, renpy.game.context().last_abnormal)
File "renpy/easy.py", line 313, in run_callbacks
return cb(*args, **kwargs)
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 73, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 59, in afterLoad
File "0x52-URM/classes/settings.rpy", line 138, in __getattr__
File "0x52-URM/classes/settings.rpy", line 161, in get
TypeError: argument of type 'bool' is not iterable

Windows-10-10.0.26100 AMD64
Ren'Py 7.7.1.24030407
Full Service 1.6-release
Tue May 20 03:59:54 2025
0x52 URM 2.6.1```
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,284
712
Hello! Thank you very much for this beauty of a mod! but I have trouble with it

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 73, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 59, in afterLoad
File "0x52-URM/classes/settings.rpy", line 138, in __getattr__
File "0x52-URM/classes/settings.rpy", line 161, in get
TypeError: argument of type 'bool' is not iterable

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

Full traceback:
File "script.rpyc", line 71, in script
File "renpy/ast.py", line 773, in execute
renpy.easy.run_callbacks(renpy.config.label_callback, self.name, renpy.game.context().last_abnormal)
File "renpy/easy.py", line 313, in run_callbacks
return cb(*args, **kwargs)
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 73, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 59, in afterLoad
File "0x52-URM/classes/settings.rpy", line 138, in __getattr__
File "0x52-URM/classes/settings.rpy", line 161, in get
TypeError: argument of type 'bool' is not iterable

Windows-10-10.0.26100 AMD64
Ren'Py 7.7.1.24030407
Full Service 1.6-release
Tue May 20 03:59:54 2025
0x52 URM 2.6.1```
I don't feel like searching this thread. But I'm pretty sure this was mentioned before and is caused by another mod
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,284
712
Hi 0x52 I recently stumbled across a bug I can't get solved by resetting urm default settings.
After playing through born2breed I noticed now while playing MurMur, that the default box sizings are somewhat out of order. In the attached screenshot you can see what I mean. While for the first two screenshots I does not bother me, the third screenshot which shows the panel for editing variable values is bigger than the screen and therefore limited in moving the panel / not adjustable. Can you give me a quick run-down on how to reset to previous behaviour (I deleted the settings file in appdata/renpy/0x52-URM, tested both on v2.60 and v2.61)

Edit: Some panels like in screenshot 4 are not affected by this

You don't have permission to view the spoiler content. Log in or register now.
Will be fixed in the next release.

Some detail: The game defined a fixed height for vertical scrollbars and URM uses hidden scrollbars in some screens, because they're needed when displaying a huge amount of data in those screens. But the fixed height from the game stretched those URM screens.

0x52

You don't have permission to view the spoiler content. Log in or register now.

What version of URM are you using -> 2.6.1

Which game has the issue https://f95zone.to/threads/thief-of-hearts-p2-ep-4-v0-0-4a-mrdots-games.214581/ Part 1

What did you do that caused the issue? -> simple search attempt

What OS are you on? -> Win10 x64

Do you have any other mods installed? -> No

the error occurs only when "show unsupported variables" is activated
Will be fixed in the next release
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,284
712
0x52

https://f95zone.to/threads/breeze-of-passion-v9-00-regular-l7team.162702/

at this game , the urm watchpanel disappears everytime you watch a replay from here

View attachment 4839584

the little watchpanel button stays at the replays , but disappears after the replay is done

and the worst part - you cant activate urm again after this
alt-m dont works
you have to delete the persistent file and start a new game to get urm working again
or rollback the whole replay until before you start to play it

urm v 2.6.1
win 10 x64

there is a workaround , but ..
enabling the urm quickmenu to have the urm button
For some reason they created a custom replay mechanism instead of using the built-in one. After a replay ends they call a method to hide all screens (all layers actually).
I don't want to built something into URM to prevent this. A work around would be to save and reload the game when this happens.
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,731
592
For some reason they created a custom replay mechanism instead of using the built-in one. After a replay ends they call a method to hide all screens (all layers actually).
I don't want to built something into URM to prevent this. A work around would be to save and reload the game when this happens.
save and reload the game is not the solution - sadly
rollback to before the replay or an earlier save works

but thanks for your time

(2 saves to test it)
 

9537

Newbie
Feb 18, 2024
63
49
37
may i have a question how can i to change the font size of games,some game's font size it's too small.
about this i don't know how to do.

and the other question how could i set QUICK KEY about to start and shot Quick menu's function.
the last thanks for this mod.
 

9537

Newbie
Feb 18, 2024
63
49
37
may i have a question how can i to change the font size of games,some game's font size it's too small.
about this i don't know how to do.

and the other question how could i set QUICK KEY about to start and shot Quick menu's function.
the last thanks for this mod.
i like this mod but i don't understand it too much,
 

cpdp11

Member
Jul 5, 2020
109
172
208
I found a weird bug.
In Power Vacuum(main game - Ch. 12), you can't rollback after events with URM.
Of course, you can rollback (after events) without URM.

It works fine on the first run, but if you save once, then restart the game and load the save again, you will get this bug (only with URM)
 

cpdp11

Member
Jul 5, 2020
109
172
208
i tested it
cant reproduce this "bug"
Start a new game, save, then exit and restart the game.
Load your save and play an event. After completing the event, try to roll back. (Mouse wheel)
does not work.

(This is a bug I got from someone else as well)
 

cpdp11

Member
Jul 5, 2020
109
172
208
i did a new install with new game (i dont play it for myself)
i did as you told at the first post
what kind of event are you talking about?
upload a save?
Let me clarify: I don't play this game either (I was just testing it out at someone's request)
Start a new game and play(or skip) until you get this screen.

screenshot0001.png

Save the game now, quit and restart. (Make sure URM loaded now)
Then click that face icon and play the scene.

screenshot0002.png

After you come back here, try to rollback. (It should work if you don't have URM)
But if you have URM, rollback doesn't work here.
I tested it several times.
 

cpdp11

Member
Jul 5, 2020
109
172
208
Here're also 3 saves,

1-1. I just started a new game and saved it.
1-2. Saved after playing an event with URM (you can't rollback with/without URM with this save)
1-3. Saved after playing an event(the same event) without URM (you can rollback without URM with this save but you can't with URM)
 

cpdp11

Member
Jul 5, 2020
109
172
208
And I just noticed that the 1-3 save file size is larger than the other two.
(1-1, 1-2 saved with URM and only 1-3 saved without URM)

*The only difference between 1-2 and 1-3 save files is URM.
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,731
592
And I just noticed that the 1-3 save file size is larger than the other two.
(1-1, 1-2 saved with URM and only 1-3 saved without URM)
well

you need the uncensor patch for sandbox first ...
and idk why urm would block this
obove my knowledge
0x52
 
5.00 star(s) 49 Votes