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

5.00 star(s) 37 Votes

theMickey_

Engaged Member
Mar 19, 2020
2,198
2,835
Oh well if its not going to be added then there is no more need to discuss it.
Just my final two cents about this:
  • URM in fact shows all the variables that are in the game, while through the Developer Menu --> Show Variables you'll only see those defined by the developer. So I get why you like the developer menu more, because you have a shorter list of variables that might be important throughout the game without being spammed with tons of variables that aren't game related (but are still there). Let's make this a feature request then, shall we?
    • Hey 0x52, it would be great to filter search results so it only shows user/developer defined variables and hide all the "internal" (or whatever they're called) ones.
  • The developer menu displays a sorted list of variables, which IMHO is always nicer to scroll through. URM does not yet sort the results, but being able to sort variables has been requested before and IIRC it's on the roadmap
I think URM doesn't need a developer menu if the only thing you want to do is list all available variables, because URM already does that. But the wildcard search of URM could be improved by some kind of sorting/filtering the results.
 
  • Like
Reactions: 0x52 and a1fox3

cpt-jack

Newbie
Jul 14, 2023
17
13
Yeah. I think Windows never really identifies as a real touch device.
Short update from me. I just added the new URM to a new game and it recognised my touchscreen. Not sure why but I thought it could be helpful.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,511
URM does not yet sort the results, but being able to sort variables has been requested before and IIRC it's on the roadmap
LOL. Sorting search results was supposed to be added in URM v2. Because of you comment I realize I didn't add it :unsure:
(I did mark the task as completed though)

Short update from me. I just added the new URM to a new game and it recognised my touchscreen. Not sure why but I thought it could be helpful.
It's probably using a newer Ren'Py version with improved touchscreen detection. Good to know.
 
  • Haha
Reactions: theMickey_

cpt-jack

Newbie
Jul 14, 2023
17
13
It's probably using a newer Ren'Py version with improved touchscreen detection. Good to know.
Sorry that was wrong information I forgot I activated the touch button globaly, I just tested it with a new install of the same game and globaly deactivated touchbutton and there is no reaction. So it seems like you were right before and windows doesn't identify touchscreens properly.
 
Apr 1, 2018
231
126
TLDR: I'm suggesting a for 5th search type that's a combo between the 2nd and 3rd search types in wildcard. A combo between 2,3,4 would be wildly useful too. (no pun intended)

Hello again! back with another very specific feature suggestion (as usual :cautious:) never gets old :). But hear me out I have a new suggestion for a feature to add onto the existing wildcard search. If possible, currently..
1707339409577.png

1.we have one to search exact matches,
2. one for searching if your word falls in between others (doesn't work with multiple parameters if I'm not wrong),
3. one that allows to search if your words encompasses others , and
4. one for prespecified number of unknowns.

but how about one that's insensitive to order? for example if we were trying to find a match that has the words "0x52" "was" "here" but didn't know which order they lined up. "0x52 was here"? "here was 0x52" "0x52 here was" "here 0x52 was"... etc? (ik its a dumb example) but bear with me, see how I was able to generate 4 random orders with just 3 words alone. It would be interesting for one to be able to (idk use some symbol) and search words that can fall in any order but as long as the word(s) are in the text it would pick it off. Here are some of my search type suggestions "0x52,was,here" (commas would search in any order) or keeping with the established * symbol "*0x52*was*here*". Idk what do yall think of this? is this dumb?


Self Criticism: one thing I would say is that not many variables let alone label/scenes in game use more than 2 words in their names so there couldn't be that many combos to try, perhaps for now we can put a pin on this for a later update ¯\_(ツ)_/¯ if we ever have one to search stuff in character dialogues?
 
Last edited:

soadeths

Newbie
Dec 4, 2021
85
155
Hello everyone... I'm having problems using "URM v2.0.3" in the game, twisted-world, the mod isn't letting me load my new save, can any light help me?
ive also been having this problem, game crashes as soon as you click "new game" with urm. cant add it in after making the save either because the game will just crash again. modifying anything in the save file with an editor will just make the game blackscreen when loading the save
I cannot reproduce this issue, could you maybe share your affected save?

Hello,
I had exactly the same problem with the game (Twisted World [v0.1.1 Remake]) which crashes with the latest URM version (2.0.3) when new game or loading a game.

However, out of curiosity, I tried it with version 1.5.2, and all works fine.

Here's my error report

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

Thanks in advance
 
  • Like
Reactions: Doom Marine

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,511
TLDR: I'm suggesting a for 5th search type that's a combo between the 2nd and 3rd search types in wildcard. A combo between 2,3,4 would be wildly useful too. (no pun intended)

Hello again! back with another very specific feature suggestion (as usual :cautious:) never gets old :). But hear me out I have a new suggestion for a feature to add onto the existing wildcard search. If possible, currently..
View attachment 3335233

1.we have one to search exact matches,
2. one for searching if your word falls in between others (doesn't work with multiple parameters if I'm not wrong),
3. one that allows to search if your words encompasses others , and
4. one for prespecified number of unknowns.

but how about one that's insensitive to order? for example if we were trying to find a match that has the words "0x52" "was" "here" but didn't know which order they lined up. "0x52 was here"? "here was 0x52" "0x52 here was" "here 0x52 was"... etc? (ik its a dumb example) but bear with me, see how I was able to generate 4 random orders with just 3 words alone. It would be interesting for one to be able to (idk use some symbol) and search words that can fall in any order but as long as the word(s) are in the text it would pick it off. Here are some of my search type suggestions "0x52,was,here" (commas would search in any order) or keeping with the established * symbol "*0x52*was*here*". Idk what do yall think of this? is this dumb?


Self Criticism: one thing I would say is that not many variables let alone label/scenes in game use more than 2 words in their names so there couldn't be that many combos to try, perhaps for now we can put a pin on this for a later update ¯\_(ツ)_/¯ if we ever have one to search stuff in character dialogues?
You can achieve the same result using "recursive search". After enabling it you first search for "0x52", then for "was" and then "here". You will have found all variables that contain those three words in any order.
I will think about implementing something for searching words out of order.

Hello,
I had exactly the same problem with the game (Twisted World [v0.1.1 Remake]) which crashes with the latest URM version (2.0.3) when new game or loading a game.

However, out of curiosity, I tried it with version 1.5.2, and all works fine.

Here's my error report

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

Thanks in advance
Seems related to this other issue, try switching to the default theme:
I did some digging and the problem is that they broke their own game. At the start you can choose a play mode. They save this mode in a variable named "Play", which is a that should not be used. URM just exposes their mistake.

There seems to be a way around it, because URM's theming engine exposes the issue. It looks like you have globally set a (non default) theme for URM. So if you clear the theme you've set from withing another game, Life in Alphaville should start fine.
But... this will not guarantee it won't still crash at some point. They still broke Ren'Py itself.
 
  • Red Heart
Reactions: MyGirlsNowYoink

Laitiri

Newbie
Jul 29, 2020
60
92
I want to give you an idea, maybe if you like it enough you might do it.
I was thinking URM could have a playlist mode of the labels.
So if we search with * to list all labels and start one of them we could play the next directly with a "]" key or the previous one on the list with "[" instead of ending manually and looking for through the list before hitting play again...
 

bip77

Member
Apr 21, 2020
114
179
If you switch to another font ([shift]-[a], because the game developer decided to use some hard to read script font or something like that), then the URM icons are broken.

Screenshot_20240212_003843.png
 
  • Like
Reactions: FaceCrap

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,511
I want to give you an idea, maybe if you like it enough you might do it.
I was thinking URM could have a playlist mode of the labels.
So if we search with * to list all labels and start one of them we could play the next directly with a "]" key or the previous one on the list with "[" instead of ending manually and looking for through the list before hitting play again...
I will consider this if there are more people who think this might be usefull.

If you switch to another font ([shift]-[a], because the game developer decided to use some hard to read script font or something like that), then the URM icons are broken.

View attachment 3347258
Whoops... URM used to prevent this, but I had to change that piece of code because of changes in URM v2, but forgot to do it.
Will be fixed in the next update ;)
 
  • Like
Reactions: FaceCrap

Kingman92

New Member
Jul 3, 2021
10
0
University of Problems game does not support

Tue Feb 13 14:33:08 2024
Unknown platform.
Ren'Py 7.4.10.2178


Bootstrap to the start of init.init took 0.00s
Bootstrap to the start of init.init took 0.00s
Manufacturer HUAWEI model STK-L21
Screen diagonal is 5.36918289873 inches.
Early init took 0.15s
Early init took 0.15s
Android search paths: /storage/emulated/0/Android/data/com.universityofproblems.rwazone/files/game /data/data/com.universityofproblems.rwazone/files/game
Loader init took 0.38s
Loader init took 0.38s
Loading error handling took 0.85s
Loading error handling took 0.85s

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
File "renpy/main.py", line 482, in main
File "renpy/script.py", line 283, in load_script
File "renpy/script.py", line 706, in load_appropriate_file
Exception: Could not load from archive 0x52-URM/classes/API.rpyc.

While running game code:
Exception: Could not load from archive 0x52-URM/classes/API.rpyc.
 

theMickey_

Engaged Member
Mar 19, 2020
2,198
2,835
I'm trying to trigger and event but it crashes the game. It has to do with caps? Like lvl or passed days?
What are you trying to do?
What game are you talking about?
What error do you get?

We can't read your mind or see your screen, so please fill out a proper Bug report if you think it's URM related:
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM?
  • Which game has the issue (preferable a link to the game's thread)
  • If it's a crash (grey screen) attach the "traceback.txt" file
  • What did you do that caused the issue?
  • Attach a screenshot of the issue (if possible)
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:"
  • What OS are you on?
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)?
Thanks!
 

FaceCrap

Well-Known Member
Oct 1, 2020
1,050
726
If you switch to another font ([shift]-[a], because the game developer decided to use some hard to read script font or something like that), then the URM icons are broken.
Whoops... URM used to prevent this, but I had to change that piece of code because of changes in URM v2, but forgot to do it.
Will be fixed in the next update ;)
Came here to report the same, and found the workaround and fix announcement at the same time, thanks to both. :LOL:
 
  • Like
Reactions: bip77 and 0x52

Remarius

Member
Mar 30, 2022
141
118
One of the default fonts that come with Ren'Py is "DejaVuSans-Bold.ttf" -- but some knobhead thought it might be a smart idea to rename it to "DejaVuSansBold.ttf" (without the "-") for this game. Well, turns out, it's not.

Check the "renpy\common" subfolder of the game, make a copy of "DejaVuSansBold.ttf" and name it "DejaVuSans-Bold.ttf".
Brilliant thanks... that was frustrating!
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,511
Yo,
I've started using URM recently and was wondering how to change the "Global" options in the settings like opacity and theme, so that I wouldn't have to change it for every game I use it on, can you help me with it?
Uhm... you are looking for this?
1708176781104.png
Local = current game
Global = Every game
 

a1fox3

Loving Family Member's
Donor
Respected User
Aug 8, 2017
24,078
16,539
Yes, but not exactly, I already knew about the local and Global options, but I was wondering how I can change the "Global" settings in one game and then if I place the URM file in another game, it'd be applied there too?

I've tried just changing the settings in the "Global" menu and copying the URM file to another game, but it always resets everything, I've to change the settings to my preferences every time for every game.
Same here "global" setting does not seem to work.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,511
Yes, but not exactly, I already knew about the local and Global options, but I was wondering how I can change the "Global" settings in one game and then if I place the URM file in another game, it'd be applied there too?

I've tried just changing the settings in the "Global" menu and copying the URM file to another game, but it always resets everything, I've to change the settings to my preferences every time for every game.
Same here "global" setting does not seem to work.
What OS are you on? I know for a fact that it works for others.
Does it not show the global option selected in other games? Or could it be that in those games you're overruling the global setting with a local one?
 
5.00 star(s) 37 Votes