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

5.00 star(s) 33 Votes

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,088
6,045
yeah i can load one of my saves after yours without restarting game and the mod is activated and working
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,598
6,089
Sure thing, here you go.
Will be solved in the next update.

If you would like to know:
URM uses so called after_load_callbacks to prevent it from being unable to load. But this game, Fantasy Town, was overwriting all callbacks instead of appending one. Now I made sure URM appends its callback as late as possible.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,598
6,089
Version 1.3
URM version 1.3 has landed. The main new feature in this version is the option to sort variables and labels:
1624985832600.png
You can sort by name or manually using the "move" button

Some additional changes:
  • Added a scrollbar to the choices dialog
  • URM now forces itself to be on the foreground
  • Fix: Renaming characters with a variable as name was broken in 1.2
  • Fix: Crash with Ren'Py 7.4.x games when a variablename is shortened
  • Fix: Rare crash when URM is trying to look for a choices menu
  • Fix: Make sure URM is initialized correctly after loading a saved game (some game's code was breaking this)
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,088
6,045
Version 1.3
URM version 1.3 has landed. The main new feature in this version is the option to sort variables and labels:
View attachment 1271967
You can sort by name or manually using the "move" button

Some additional changes:
  • Added a scrollbar to the choices dialog
  • URM now forces itself to be on the foreground
  • Fix: Renaming characters with a variable as name was broken in 1.2
  • Fix: Crash with Ren'Py 7.4.x games when a variablename is shortened
  • Fix: Rare crash when URM is trying to look for a choices menu
  • Fix: Make sure URM is initialized correctly after loading a saved game (some game's code was breaking this)
awesome
i was hoping for a "sorting" option
thanks
 
  • Like
Reactions: 0x52

vimey

Active Member
Nov 29, 2020
823
599
0x52 I was trying the new version with the game Wife trainer and I got a bug when searching for variables and I can't open URM menu anymore to be fair it's not a regular renpy game with regular variables but maybe this can help
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,088
6,045
0x52 I was trying the new version with the game Wife trainer and I got a bug when searching for variables and I can't open URM menu anymore to be fair it's not a regular renpy game with regular variables but maybe this can help
was it working with 1.2 ?
maybe a importend info

edit: tested the game , works as intended with 1.3
which value was you looking for
 
Last edited:

vimey

Active Member
Nov 29, 2020
823
599
yeah sry - meant variables , not values

and no - im not digging further - its really really not my kin(k)d of game lol
0x52 will handle this error , im sure ;)
Im usually using mods and console just for 0x52 maybe this will help him
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,598
6,089
0x52 I was trying the new version with the game Wife trainer and I got a bug when searching for variables and I can't open URM menu anymore to be fair it's not a regular renpy game with regular variables but maybe this can help
was able to reproduce the error

occours if you click there

View attachment 1272168
I've fixed this issue (it's related to Ren'Py 7.4.x). It shouldn't happen anymore with URM 1.3.1.


But there's also another issue specific to this game (which break URM's variables tab, labels tab and watchpanel). Here's how you can fix this manually:
You don't have permission to view the spoiler content. Log in or register now.
This issue happens because Wife Trainer Files uses the variable sys for a character, this variable is also a module that's used internally by Ren'Py. Doing this could cause some strange issues.
 

FaceCrap

Active Member
Oct 1, 2020
882
619
awesome
i was hoping for a "sorting" option
thanks
You and me both... funny thing is, I asked for this a while back, and 0x52 mentioned something about not being sure how-to.
Was going to wait but restarted BaDIK today ad gawd so many replayable labels I thought to have a go at it...
spent an hour on it, had something that worked, came here to see if he had a github and damn... :LOL: found the new version with an even better implementation (manual ordering buttons...) than the simple method I came up with.

So, big thanks for that 0x52 (y) and enjoy the beers ;)

there's only two small things left on my wishlist...
an option to not get prompted if I want to overwrite the .urm file when saving
and ...
Code:
jsonData = json.dumps(data, indent=4)
to get a nicely formatted file. but like I said, just small things...
 
Last edited:
  • Like
Reactions: Boehser Onkel

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,598
6,089
You and me both... funny thing is, I asked for this a while back, and 0x52 mentioned something about not being sure how-to.
Was going to wait but restarted BaDIK today ad gawd so many replayable labels I thought to have a go at it...
spent an hour on it, had something that worked, came here to see if he had a github and damn... :LOL: found the new version with an even better implementation (manual ordering buttons...) than the simple method I came up with.

So, big thanks for that 0x52 (y) and enjoy the beers ;)

there's only two small things left on my wishlist...
an option to not get prompted if I want to overwrite the .urm file when saving
and ...
Code:
jsonData = json.dumps(data, indent=4)
to get a nicely formatted file. but like I said, just small things...
Thanks you very much for the beers, it's much appreciated.
I will definitely look at your wishes ;)
 

FaceCrap

Active Member
Oct 1, 2020
882
619
not sure if this is intentional, can't be helped, or just an oversight, but it looks like if you view labels (in list view) and variables and use the sort asc/desc buttons above the list, it sorts by keys rather than values. I.o.w. if you change the names to be e.g.

renamed "Name 1" : actual "this label/var"
renamed "Name 2" : actual "that label/var"

then after using i.e. the asc button it ends up as

renamed "Name 2" : actual "that label/var"
renamed "Name 1" : actual "this label/var"

since "that..." comes before "this..." alphabetically

another thing I noticed is that it's case sensitive... so all starting with [A..Z]'s appear before stuff starting with [a..z]' s
obviously if sorting on the renamed names one can prevent that by making sure everything is either starting with an uppercase or by keeping everything lowercase...
 
Last edited:
5.00 star(s) 33 Votes