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

5.00 star(s) 35 Votes

S_Rodney

Newbie
Jan 31, 2023
37
14
Do I have a doozy for ya...

Elmwood University. The way the author coded it... Variable changes aren't detected by URM. Instead of a choice leading to, let's say "RP +=1" it leads to "the next label" where variables change right at the start of it. So URM doesn't "properly" detect the change as usual since the code is so weirdly structured (but once you understand it, you get the logic)

here's a snippet of code...


Code:
    ch "So who was your favourite, [pname]?"
    scene e1cheer81 with dissolve
    default e1bestsplits = "None"
    menu:
        "Chelsea":
            $ e1bestsplits = "Chelsea"
            jump cheertalk7ch
        "Lydia":
            $ e1bestsplits = "Lydia"
            jump cheertalk7ly
        "Ella":
            $ e1bestsplits = "Ella"
            jump cheertalk7el
        "You were all great":
            $ e1bestsplits = "All"
            jump cheertalk7all

label cheertalk7ch:
    call chlike from _call_chlike_2
    call eldislike from _call_eldislike_1
    scene e1cheer81 with dissolve
    p "You were the best, Chelsea."
    scene e1cheer84a with dissolve
    ch "Aww, thanks! I think Ella was better though."
    jump cheertalk8

label cheertalk7ly:
    call lylike from _call_lylike_4
    call eldislike from _call_eldislike_2
    scene e1cheer81 with dissolve
    p "You were the best, Lydia."
    scene e1cheer82a with dissolve
    ly "Thanks, gorgeous. But I have to disagree, I've got nothing on Ella."
    jump cheertalk8
So when URM detects a choice... it only shows "jump cheertalk7ch"... and WHEN you start that label, chlike and eldislike are other labels that modifies variable values (if you know the variable name, URM will give you the value) but URM won't inform you of it.

it's not really a bug, at all, it's the way this code is structured. URM wasn't designed to "look that far" into the code... Think you can overcome this ?
 
  • Like
Reactions: Ass~God and darlic

Skep-tiker

Well-Known Member
Oct 11, 2023
1,285
1,497
Recent update of ripples does not respond to URM... deposited the .rpa in the correct game folder.... no URM notification, no 52 button, no U swipe possible.
 

hdhdhebdux

New Member
Dec 13, 2021
3
0
hi 0x52, I found a bug with the Town of Magic,
(sorry for the formatting, I'm a newbie)
You don't have permission to view the spoiler content. Log in or register now.
if you ignore the error messages, they are not much different
 

Azeroth67000

Newbie
May 15, 2018
87
144

I can't hide the quick menu buttons at the bottom of the screen no matter what I do, and it does it to me on several renpy games. Am I missing a step, or are these the games that block this mod feature ?
If you have any solutions or explanations, I'd love to hear from you. Thank you for your time.
 

Johan_0000

Member
Apr 14, 2023
449
335
Hey guys I seel to has been added but I don't understand it all
Quickmenu: Skip button now supports fast skipping to the next choice (right click / long press)
What does fast skipping mean, is it like jumping from choice to choice? And by right click/long press do you mean we have to long press the right click ? lol


  • Variable groups
  • Ability to ignore certain path detections
Also do you know when you'll be able to add those? You're doing a great job keep it up man,





THX
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,645
6,338
Do I have a doozy for ya...

Elmwood University. The way the author coded it... Variable changes aren't detected by URM. Instead of a choice leading to, let's say "RP +=1" it leads to "the next label" where variables change right at the start of it. So URM doesn't "properly" detect the change as usual since the code is so weirdly structured (but once you understand it, you get the logic)

here's a snippet of code...


Code:
    ch "So who was your favourite, [pname]?"
    scene e1cheer81 with dissolve
    default e1bestsplits = "None"
    menu:
        "Chelsea":
            $ e1bestsplits = "Chelsea"
            jump cheertalk7ch
        "Lydia":
            $ e1bestsplits = "Lydia"
            jump cheertalk7ly
        "Ella":
            $ e1bestsplits = "Ella"
            jump cheertalk7el
        "You were all great":
            $ e1bestsplits = "All"
            jump cheertalk7all

label cheertalk7ch:
    call chlike from _call_chlike_2
    call eldislike from _call_eldislike_1
    scene e1cheer81 with dissolve
    p "You were the best, Chelsea."
    scene e1cheer84a with dissolve
    ch "Aww, thanks! I think Ella was better though."
    jump cheertalk8

label cheertalk7ly:
    call lylike from _call_lylike_4
    call eldislike from _call_eldislike_2
    scene e1cheer81 with dissolve
    p "You were the best, Lydia."
    scene e1cheer82a with dissolve
    ly "Thanks, gorgeous. But I have to disagree, I've got nothing on Ella."
    jump cheertalk8
So when URM detects a choice... it only shows "jump cheertalk7ch"... and WHEN you start that label, chlike and eldislike are other labels that modifies variable values (if you know the variable name, URM will give you the value) but URM won't inform you of it.

it's not really a bug, at all, it's the way this code is structured. URM wasn't designed to "look that far" into the code... Think you can overcome this ?
URM will not look for code after a jump, if that's what you mean.
For example:
Python:
menu:
    "Option 1":
        jump somewhere
            
label somewhere:
    $ var = 1
var = 1 will not be detected here

Recent update of ripples does not respond to URM... deposited the .rpa in the correct game folder.... no URM notification, no 52 button, no U swipe possible.
See:
Reporting an issue
When reporting an issue with URM, please include the information below:
  • What version of URM are you using (make sure it's the latest)?
  • 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)?

hi 0x52, I found a bug with the Town of Magic,
(sorry for the formatting, I'm a newbie)
You don't have permission to view the spoiler content. Log in or register now.
if you ignore the error messages, they are not much different
Seem like the 0x52_URM.rpa file somehow got corrupted

I can't hide the quick menu buttons at the bottom of the screen no matter what I do, and it does it to me on several renpy games. Am I missing a step, or are these the games that block this mod feature ?
If you have any solutions or explanations, I'd love to hear from you. Thank you for your time.
You cannot hide the game's own quickmenu, you can only hide URM's custom quickmenu

What does fast skipping mean, is it like jumping from choice to choice? And by right click/long press do you mean we have to long press the right click ? lol
Yes. It takes you to the next choice

Also do you know when you'll be able to add those? You're doing a great job keep it up man,
No. I cannot give you a timeline
 

unnammed

Newbie
Oct 28, 2016
47
101
Just want to say thanks for the work, been doing manual mods for my own need previously but this does really well for most of the things that usually bothers me.

Cheers

I can't hide the quick menu buttons at the bottom of the screen no matter what I do, and it does it to me on several renpy games. Am I missing a step, or are these the games that block this mod feature ?
If you have any solutions or explanations, I'd love to hear from you. Thank you for your time.
Tried using quick_menu = False in the console?
 
Last edited:

Kingman92

New Member
Jul 3, 2021
10
0
I have seen this happening in some unique cases, but couldn't find a fix. Seems to be something related to some specific Ren'Py versions in some specific cases.


When you modify a variable's value the new value will be saved in you gamesave, so you don't need URM afterward for that.


Light mode uses the game's own dialogue with some limited customization options. In this case you can choose to have URM override the game's font.
In full mode there's no default font, because it's URM's own dialogue, thus you cannot clear the font.


Seems like the "0x52_URM.rpa" got corrupted?!


You are using a very old version of URM.
I'm sorry, but an uncaught exception occurred.

While loading the script.
Exception: Could not load from archive 0x52-URM/classes/API.rpyc.

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

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

It gives this error in many games, it would be good if it can be fixed in the future.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,645
6,338
I'm sorry, but an uncaught exception occurred.

While loading the script.
Exception: Could not load from archive 0x52-URM/classes/API.rpyc.

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

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

It gives this error in many games, it would be good if it can be fixed in the future.
Could it be that your 0x52_URM.rpa file got corrupted somehow?
 
  • Like
Reactions: Feyd

Kingman92

New Member
Jul 3, 2021
10
0
Could it be that your 0x52_URM.rpa file got corrupted somehow?
Thank you for your answer. After I put the file only in the game folder, the game does not open. As far as I understand, it will not work in any game made with Ren'Py 8.2.1.24030407 version. I sent you a message to ask if there is a solution for the future.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,645
6,338
Thank you for your answer. After I put the file only in the game folder, the game does not open. As far as I understand, it will not work in any game made with Ren'Py 8.2.1.24030407 version. I sent you a message to ask if there is a solution for the future.
Do you have an example of a game where you experience this?
 
  • Like
Reactions: Feyd

A. Dark

Member
Aug 19, 2021
115
78
Can someone plzz create an "Universal Unity"mod like this for unity games such as something unlimited?? :cry::cry::cry:
 

MaxRichard

Member
Oct 7, 2023
245
583
Too bad.. I wanted to learn how to mod/edit mainly the text dialogues and names of the characters in Unity games.. Can't get any idea how or where to start.. :'(
Unity games aren't editable like Ren'Py games, so there's nothing you can really do without some proper hacking AFAIK. Unless the game creator allowed for some sort of scripting on top of the engine, which is unlikely for this genre.
 
  • Sad
Reactions: A. Dark

shmurfer

Well-Known Member
Dec 29, 2019
1,076
909
Can variables be temporarily changed in replays? I was watching old events and sometimes there's a path with one choice based on if a variable is true or false. But when I tried opening the URM window it asked me if I wanted to end the replay instead.

[edit] Found it in search apparently on todo list
 

darlic

Well-Known Member
Feb 27, 2017
1,877
3,180
What does fast skipping mean, is it like jumping from choice to choice? And by right click/long press do you mean we have to long press the right click ? lol
Right-click OR long press (the latter is for mobile I guess) on the "Skip" voice in the game's quick menu
 
  • Like
Reactions: Johan_0000
5.00 star(s) 35 Votes