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

summom

Newbie
Dec 2, 2018
91
45
I cannot explain this without diving into the game's code.
So here's another thing.
After replace URM into the newest version 2.1.2, URM open well in former(problem ones).
But for latter, I can't open 2.1.2 URM by pressing ALT+M and also didn't work when choice is appeared... that save only works for 1.15.2 URM!

Guess what is the problem here?
 
Last edited:

Looking4Diamonds

New Member
Jul 7, 2023
14
22
URM 2.1.2
Small update for our Android users:
  • Fix: Validate write access for global settings (prevents crash on some Android games)
Everything the same except updated urm to latest Version

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

Although this fix the crash but i can't bring the menu up by drawing a "U" or when there is a choice option. Do i have to start new game instead of loading the saves for it to work?
 
Last edited:

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,636
Everything the same except updated urm to latest Version


Although this fix the crash but i can't bring the menu up by drawing a "U" or when there is a choice option. Do i have to start new game instead of loading the saves for it to work?
Does it work when you start a new game?
Did you maybe rollback after loading a save?
What game are we talking about?
 
  • Like
Reactions: Feyd

Mr.Grim

Newbie
Apr 28, 2019
88
58
So I was testing your mod on Pale Carnation. And for someone reason I keep getting error message when I try to open UA to change any variable.
 

lewdypie

Newbie
Feb 13, 2021
19
12
Feature request: I would like to be able to filter path notifications for specific conditions.

I'm currently playing Being Super and almost after every click, there is a path notification checking if you have the light or dark version of the game.
I don't want to disable notifications completely because I still want to know about other branches.

From a UI perspective, I propose adding an "ignore" button when viewing a path condition.

Anyway, keep up the great work 0x52. Really appreciate it!
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,636
So I was testing your mod on Pale Carnation. And for someone reason I keep getting error message when I try to open UA to change any variable.
But what is the error you're getting?
Check this:
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)?


Feature request: I would like to be able to filter path notifications for specific conditions.

I'm currently playing Being Super and almost after every click, there is a path notification checking if you have the light or dark version of the game.
I don't want to disable notifications completely because I still want to know about other branches.

From a UI perspective, I propose adding an "ignore" button when viewing a path condition.

Anyway, keep up the great work 0x52. Really appreciate it!
It's on the wishlist to be able to ignore certain conditions
 

tlovers

Newbie
Dec 26, 2018
23
149
But what is the error you're getting?
Check this:





It's on the wishlist to be able to ignore certain conditions
Hi there dear developer. I wanted to ask you if there is anyway to make your mod to work with A Wife's Phone v0.4.7 game? I mean I was trying everything and I just don't know how to make URM menu to fit a screen properly... Here I upload a screenshot to show you what I mean. Thank you. awfurmhelp.jpg
 

Wills747

Engaged Member
Dec 14, 2018
2,493
5,213
0x52 Just added a function to my Android ports to auto import 0x52_URM.rpa into the game folder if it's in the /Documents folder. (Means users only need to keep one file up-to-date)
It's currently running from a python early block in game but still requires a restart to load. Do you know a work around for this or would it require going even earlier from RenPy itself?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,636
I am having issues with this game https://f95zone.to/threads/4-kingdoms-supremacy-v0-14-piggy-nose-games.194636/ everytime I try to launch with urm I get the error text below.
I am using the latest version.

You don't have permission to view the spoiler content. Log in or register now.
This happens because the dev broke Ren'Py itself by using the "adv" for a transformation.
You could fix this by opening the file "game/images.rpy" and change "adv" in line 266 and line 95 to something else.
"adv_fix" for example:
Line 95: text "{b}Click when the gold dot reaches the center.{/b}" at adv_fix
Line 226: transform adv_fix:

Hi there dear developer. I wanted to ask you if there is anyway to make your mod to work with A Wife's Phone v0.4.7 game? I mean I was trying everything and I just don't know how to make URM menu to fit a screen properly... Here I upload a screenshot to show you what I mean. Thank you. View attachment 3515698
Unfortunately URM cannot support such a narrow screen resolution. You could change the variable config.screen_width in the options.py file to 1920, but that will probably make the game a little messed up

0x52 Just added a function to my Android ports to auto import 0x52_URM.rpa into the game folder if it's in the /Documents folder. (Means users only need to keep one file up-to-date)
It's currently running from a python early block in game but still requires a restart to load. Do you know a work around for this or would it require going even earlier from RenPy itself?
Sounds nice.
You could call renpy.reload_script() after placing the RPA file in the game's folder
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,636
URM 2.1.3
Just published 2.1.3 with two fixes:
  • Fix: Improved permissions validation for Android (global settings) (prevents crash on some Android games)
  • Fix: Implemented a workaround for some games that broke a Ren'Py feature that URM needs (this fixes the "AttributeError: 'ADVCharacter' object has no attribute '_getframe'" error some games throw)
 

Wills747

Engaged Member
Dec 14, 2018
2,493
5,213
Sounds nice.
You could call renpy.reload_script() after placing the RPA file in the game's folder
Mobile doesn't like reload, even though the exception is hashed out in 7.7.1/8.2.1
Placed script in renpy.py, main SDK directory and now coppies and loads happily
 
Mar 10, 2023
41
52
URM 2.1.3
Just published 2.1.3 with two fixes:
  • Fix: Improved permissions validation for Android (global settings) (prevents crash on some Android games)
  • Fix: Implemented a workaround for some games that broke a Ren'Py feature that URM needs (this fixes the "AttributeError: 'ADVCharacter' object has no attribute '_getframe'" error some games throw)
There seems to be a problem when using this mode with Pale Carnations. When I search for variables the game crashes and I have to rollback to continue playing but after that whenever I try to open the mod again it just crashes. I use the latest version 2.1.3 and the problem happenes with this game only other games work fine with the mod.
note: when I tried the old version of the mod 1.15.2, the game worked fine with the mod and I could change the variables just fine.
Thank you in advance.
 

kidderyao

Member
Jun 30, 2018
478
114
Code:
I'm sorry, but an uncaught exception occurred.

While processing text tag { u r m _ n o t l } in '{ u r m _ n o t l } C l o s e   U R M { / u r m _ n o t l }'.:
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
Exception: Unknown text tag ' u r m _ n o t l '

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

Full traceback:
  File "start.rpyc", line 757, in script call
  File "cl/labels_room.rpyc", line 84, in script
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ast.py", line 1968, in execute
    self.call("execute")
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\exports.py", line 3413, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 2818, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 1352, in draw_screen
    surftree = renpy.display.render.render_screen(
  File "render.pyx", line 486, in renpy.display.render.render_screen
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\screen.py", line 754, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 1361, in render
    surf = render(child,
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 1076, in render
    surf = render(d, rw, height - y, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 2276, in render
    virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 640, in __init__
    self.paragraphs = self.segment(text.tokens, style, renders, text)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 1394, in segment
    raise Exception("Unknown text tag %r" % text)
Exception: Unknown text tag ' u r m _ n o t l '

Windows-10-10.0.22621 AMD64
Ren'Py 8.2.1.24030407
Love & Sex : Second Base - 24.3.0a 24.3.0a
Mon Apr  8 20:58:59 2024
so close but still crash when I want to close the menu
nice try
so... did urm has close menu hot key?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,636
There seems to be a problem when using this mode with Pale Carnations. When I search for variables the game crashes and I have to rollback to continue playing but after that whenever I try to open the mod again it just crashes. I use the latest version 2.1.3 and the problem happenes with this game only other games work fine with the mod.
note: when I tried the old version of the mod 1.15.2, the game worked fine with the mod and I could change the variables just fine.
Thank you in advance.
Please add the crash info (traceback.txt). See also:
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)?

Code:
I'm sorry, but an uncaught exception occurred.

While processing text tag { u r m _ n o t l } in '{ u r m _ n o t l } C l o s e   U R M { / u r m _ n o t l }'.:
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
Exception: Unknown text tag ' u r m _ n o t l '

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

Full traceback:
  File "start.rpyc", line 757, in script call
  File "cl/labels_room.rpyc", line 84, in script
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ast.py", line 1968, in execute
    self.call("execute")
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\exports.py", line 3413, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 2818, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\core.py", line 1352, in draw_screen
    surftree = renpy.display.render.render_screen(
  File "render.pyx", line 486, in renpy.display.render.render_screen
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\screen.py", line 754, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 1361, in render
    surf = render(child,
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\display\layout.py", line 1076, in render
    surf = render(d, rw, height - y, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 2276, in render
    virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 640, in __init__
    self.paragraphs = self.segment(text.tokens, style, renders, text)
  File "F:\MEGA\Love_and_Sex_Second_Base-pc\LoSeSb-21.3.0b-pc\renpy\text\text.py", line 1394, in segment
    raise Exception("Unknown text tag %r" % text)
Exception: Unknown text tag ' u r m _ n o t l '

Windows-10-10.0.22621 AMD64
Ren'Py 8.2.1.24030407
Love & Sex : Second Base - 24.3.0a 24.3.0a
Mon Apr  8 20:58:59 2024
so close but still crash when I want to close the menu
nice try
so... did urm has close menu hot key?
You reported this issue before. There has to be something else causing this. It works fine on my side.
Please try with only URM installed
 
  • Like
Reactions: Feyd

kidderyao

Member
Jun 30, 2018
478
114
Please add the crash info (traceback.txt). See also:




You reported this issue before. There has to be something else causing this. It works fine on my side.
Please try with only URM installed
a little different
last ver just crash when I call urm menu
this time only crash when I move mouse to close menu button:unsure:
edit: use clean game still happen
this bug only happened when character appears in scene
 
Last edited:

Belzeebub$

Cheat Or Not
Game Developer
May 18, 2020
658
967
developer of Being A Dik is known for placing codes to detect whether the game is running on Android
If I am not wrong (and since I am creating Novel myself now) this first part is done by all developers. It is a renpy default thingy. The ui is different if you are a 'pc' user or 'mobile' user. The latter part is tricky though. In many games urm shows a path about this variant or I think you can search it yourself in variables.
 
Sep 10, 2023
29
172
If I am not wrong (and since I am creating Novel myself now) this first part is done by all developers. It is a renpy default thingy. The ui is different if you are a 'pc' user or 'mobile' user. The latter part is tricky though. In many games urm shows a path about this variant or I think you can search it yourself in variables.
I've never had problems with other developers regarding lines of code to close the game, or closing paths because the game is running on Android. I just wanted to know if the mod itself has any way to prevent these lines of code, or if the mod user needs to remove these lines of code on their own so the game doesn't have these intentional errors placed by the developer.
 
5.00 star(s) 42 Votes