CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

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

5.00 star(s) 42 Votes

Johan_0000

Active Member
Apr 14, 2023
715
554
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,693
6,649
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
103
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,693
6,649
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,693
6,649
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
124
89
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
390
981
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,464
1,388
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,903
3,221
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

Johan_0000

Active Member
Apr 14, 2023
715
554
URM will not look for code after a jump, if that's what you mean.
Oooooo that's why some games I played didn't show variable changes on choices.
Idk much abt coding or modding. But I'm kinda curious, why is that?
Is it bc it is too complicated to do? Or is that smt you're planning to add?

No. I cannot give you a timeline
Oh sry I think I didn't word myself correctly. Ik you don't have a "timeline". What I meant is more where'd you say they are situated on your priority list, or maybe you just go with how you feeling it?




THX
 
  • Like
Reactions: darlic

edem1978

Active Member
Apr 2, 2018
583
153
Hello, can someone tell me how I can make the background in the text box transparent? I've tried many things but can't get it to work.
 

bat2897

Member
May 5, 2017
100
132
Hello, can someone tell me how I can make the background in the text box transparent? I've tried many things but can't get it to work.
Go one youtube and search for this video "Universal Ren'Py Mod version 2.0 tour"
The video will run you through the features of URM. Within that they'll also showcase Textbox manipulation. It's SUPER useful. Once you create your ideal textbox you can save it then load it in other games as long as the saved file exists in your "game" folder
 

bat2897

Member
May 5, 2017
100
132
Does URM not work with Empress Game? I can't seem to find anything on this.

Here is the error I get. Any assistance would be much appreciated

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

While running game code:
File "0x52-URM/classes/main.rpy", line 33, in <module>
File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: __init__() got an unexpected keyword argument 'image'

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

Full traceback:
File "0x52-URM/classes/main.rpyc", line 18, in script
File "E:\path\EmpressGame-0.3.2a-pc\EmpressGame-0.3.2.Alpha-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\path\EmpressGame-0.3.2a-pc\EmpressGame-0.3.2.Alpha-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "0x52-URM/classes/main.rpy", line 33, in <module>
File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: __init__() got an unexpected keyword argument 'image'

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.0.23051307
EmpressGame 0.3.2.Alpha
Sat Aug 17 02:11:15 2024
```
 

MiltonPowers

Twins Basil! Twins!
Donor
Jul 26, 2023
8,818
16,747
Hello, can someone tell me how I can make the background in the text box transparent? I've tried many things but can't get it to work.
Go one youtube and search for this video "Universal Ren'Py Mod version 2.0 tour"
The video will run you through the features of URM. Within that they'll also showcase Textbox manipulation. It's SUPER useful. Once you create your ideal textbox you can save it then load it in other games as long as the saved file exists in your "game" folder
Links to how-to videos are all in the OP.

Screenshot 2024-08-17 105203.png
 
  • Like
Reactions: 0x52
5.00 star(s) 42 Votes