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

5.00 star(s) 37 Votes
Feb 24, 2020
201
70
If you use URM to play a Steam game such as [Because I Love Her], it prevents Steam achievements from unlocking. Tried playing on Steam with URM removed/uninstalled and the Steam achievements unlock as normal.
On the other hand, using other mods such as the Walkthrough mod by JokerLeader does not disable Steam achievements from unlocking.
 
Last edited:

shmurfer

Well-Known Member
Dec 29, 2019
1,224
1,048
If you use URM to play a Steam game such as [Because I Love Her], it prevents Steam achievements from unlocking. Tried playing on Steam with URM removed/uninstalled and the Steam achievements unlock as normal.
On the other hand, using other mods such as the Walkthrough mod by JokerLeader does not disable Steam achievements from unlocking.
That sounds like the dev not wanting people to cheat the game. And if they care enough they'll blacklist the walkthrough mod too.
 

13325

Newbie
Jun 21, 2017
88
59
Can you add an option for URM to display in 1920x1080 regardless of what the games config.screen_width and config.screen dictates?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
is there a way to change the size view i installed it on a wife's phone but cant see or really edit any variables
Nope. URM is not able to scale to such a small screen.
I'm thinking on this, but I'm not sure about how to work around this

Can you add an option for URM to display in 1920x1080 regardless of what the games config.screen_width and config.screen dictates?
You could force the game to use 1920x1080, but that would probably f* up the game
 
  • Like
Reactions: Feyd

FaceCrap

Well-Known Member
Oct 1, 2020
1,011
711
Can you add an option for URM to display in 1920x1080 regardless of what the games config.screen_width and config.screen dictates?
The only viable work arounds are either to run in windowed mode and resize the window to that size, or set your monitor to use that display resolution. With high-res games (QHD and up) you'll probably also want to adjust the text scaling (Shift-A)

Oh, and 0x52? You can remove Between Humanity from the list of incompatible games. It now works perfectly together with URM.
 
Last edited:
  • Like
Reactions: 0x52 and Twistty

13325

Newbie
Jun 21, 2017
88
59
Its really hacky, but what I'm going to do is just create a menu button that switches between resolutions and put auto-reload on. It does fuck up the geometry, until you return to the old resolution, and a grey untextured checkered background remains. Since the goal is primarily to view the choices code, maybe a new submenu/tab in the alt+m menu for choices would work. Would be a pretty cool feature that could expand into a walkthrough file, by creating a tree of your choice path.
 

taler

Well-Known Member
Oct 5, 2017
1,597
1,229
Can I use this to make a game with no skip transition have it? Specifically Lust Theory Season 2.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
Can I use this to make a game with no skip transition have it? Specifically Lust Theory Season 2.
Yes. Search for the variable "transitions" and set "preferences.transitions" to 0 to disable transitions.
1727113258370.png
 
  • Like
Reactions: Feyd

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
URM 2.4: Progressbar

Hi all,

I know it's been a while since last update. "Real life" took priority, but I hope you appreciate this update.
In 2.4 I've added a progressbar that can indicate how much of the game's content has been seen (all playthroughs combined).

Full changelog:
  • Added a progressbar that indicates how much of the content has been seen (all playthroughs combined)
    • A draggable progressbar can be enabled under the "Miscellaneous" options
    • It can be added to the watchpanel under the "Watchpanel" options
  • Fix: Prevent crash when game devs broke Ren'Py by assigning something to the variable "Character"

Progressbar.png
 

FaceCrap

Well-Known Member
Oct 1, 2020
1,011
711
I thought I had found a way to make URM work with Sunshine Love _if_ you also use the ipatches, I could get it as far as not throwing an exception, alas it also caused the ipatches to stop doing what they were supposed to do.
 
  • Wow
Reactions: Twistty

shmurfer

Well-Known Member
Dec 29, 2019
1,224
1,048
Does the ingame urm update not work or has it broken between 2.1.4 and now? I only ever used URM for one game and just clicked past the failed update every time.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
Does the ingame urm update not work or has it broken between 2.1.4 and now? I only ever used URM for one game and just clicked past the failed update every time.
Not that I know of.
Do you experience this with multiple games? If so, what it the behavior you're seeing. After the update has failed, can you close the game and check the log.txt file if there are any lines starting with "0x52"?
 
  • Like
Reactions: Feyd

shmurfer

Well-Known Member
Dec 29, 2019
1,224
1,048
Not that I know of.
Do you experience this with multiple games? If so, what it the behavior you're seeing. After the update has failed, can you close the game and check the log.txt file if there are any lines starting with "0x52"?
I only use it with one game, Lessons in Love. If it matters this is a download of their 0.42 update that I have patched 0.43 into, but I recall this happening before on the old update where that one was from like 0.36 onward.

There is a error, seems pretty "shit's broke" vague though.

0x52: Failed to process variable changes. get_changes() missing 1 required positional argument: 'previous'
I'll paste the full log but it's pretty bare on details. The log that happened from before this test where I actually played for a bit just spammed that same error a ton. This time I just opened the game, tried to update, tried to apply update, after thing came back the update screen appeared again, closed it and then closed the game.

2024-09-24 17:40:35 UTC
Windows-10-10.0.19045
Ren'Py 8.2.3.24061702

Lessons in Love
0.42.0
Built at 2024-07-31 20:48:36 UTC

Early init took 2.39s
Loading error handling took 0.17s
Loading script took 16.96s
Loading save slot metadata took 1.37s
Loading persistent took 0.06s
Set script version to: (8, 2, 3)
- Init at game/script.rpy:3 took 0.36899 s.
- Init at renpy/common/00images.rpy:55 took 0.72441 s.
- Init at 0x52-URM/classes/main.rpyc:178 took 0.78437 s.
Running init code took 2.46s
Loading analysis data took 0.54s
Analyze and compile ATL took 0.00s
Reloading save slot metadata took 0.83s
Index archives took 0.00s
Dump and make backups took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Initial gc took 0.74s
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: b"Couldn't load nvlib." (can be ignored)
Creating interface object took 0.05s
Cleaning stores took 0.00s
Init translation took 0.79s
Build styles took 0.01s
Load screen analysis took 0.68s
Analyze screens took 0.02s
Save screen analysis took 0.00s
Prepare screens took 2.15s
Save pyanalysis. took 0.51s
Save bytecode. took 0.42s
Running _start took 0.00s
Interface start took 0.94s

Initializing gl2 renderer:
primary display bounds: (0, 0, 1920, 1080)
swap interval: 1 frames
Windowed mode.
Vendor: "b'Intel'"
Renderer: b'Intel(R) UHD Graphics'
Version: b'4.6.0 - Build 27.20.100.9268'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(1920, 1017) drawable=(1920, 1017)
Maximum texture size: 4096x4096
Screen sizes: virtual=(1920, 1080) physical=(1920, 1017) drawable=(1920, 1017)
Maximum texture size: 4096x4096
0x52: Failed to process variable changes. get_changes() missing 1 required positional argument: 'previous'
0x52: Failed to process variable changes. get_changes() missing 1 required positional argument: 'previous'
Resetting cache.
Early init took 44.71s
Loading error handling took 0.51s
Loading script took 5.19s
Loading save slot metadata took 1.22s
Loading persistent took 0.05s
Set script version to: (8, 2, 3)
- Init at renpy/common/00images.rpy:55 took 0.62533 s.
- Init at 0x52-URM/classes/main.rpyc:178 took 0.61034 s.
Running init code took 1.55s
Loading analysis data took 1.60s
Analyze and compile ATL took 0.00s
Reloading save slot metadata took 0.62s
Index archives took 0.00s
Dump and make backups took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Initial gc took 0.83s
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: b"Couldn't load nvlib." (can be ignored)
Creating interface object took 0.00s
Cleaning stores took 0.00s
Init translation took 0.92s
Build styles took 0.01s
Load screen analysis took 0.55s
Analyze screens took 0.02s
Save screen analysis took 0.00s
Prepare screens took 1.84s
Save pyanalysis. took 0.47s
Save bytecode. took 0.06s
Running _start took 0.00s
Interface start took 1.05s

Initializing gl2 renderer:
primary display bounds: (0, 0, 1920, 1080)
swap interval: 1 frames
Windowed mode.
Vendor: "b'Intel'"
Renderer: b'Intel(R) UHD Graphics'
Version: b'4.6.0 - Build 27.20.100.9268'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(1920, 1017) drawable=(1920, 1017)
Maximum texture size: 4096x4096
Screen sizes: virtual=(1920, 1080) physical=(1920, 1017) drawable=(1920, 1017)
Maximum texture size: 4096x4096
0x52: Failed to process variable changes. get_changes() missing 1 required positional argument: 'previous'
 

Nero1

Newbie
Oct 14, 2017
17
15
Yo thanks for the mod! You think we could get an update with a choice screen feature, or is that too much? Like, showing the points for each option on screen, kinda like the Universal Choice Descriptor
 
  • Like
Reactions: doujin1
5.00 star(s) 37 Votes