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

5.00 star(s) 33 Votes

kidderyao

Member
Jun 30, 2018
362
86
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,550
5,879
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
362
86
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:
Sep 10, 2023
24
138
I would like to ask the creator something. The developer of Being A Dik is known for placing codes to detect whether the game is running on Android, or if it has mods. The question actually concerns mods: Does your mod have any "protection" against these arrests?

If I'm not mistaken, it puts the mod file names in the code, to detect, but I don't remember it well.
 
  • Thinking Face
Reactions: Belzeebub

Belzeebub

Active Member
May 18, 2020
631
881
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
24
138
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.
 

hoobadoobamaster12

New Member
Jun 3, 2023
1
0
Fan signature
View attachment 3198400
You don't have permission to view the spoiler content. Log in or register now.

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

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

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)?

URM files
You can put these files in you "game" directory and load them through the mod.
If you have an URM file, feel free to post is here, so I can add it to this list.
ok first time typing
but does anybody know how to get rid of the blackscreen when a animation plays
 

theMickey_

Engaged Member
Mar 19, 2020
2,065
2,597
...does anybody know how to get rid of the blackscreen when a animation plays
What game are you talking about? I've never seen any blackscreen for the games I've played, and I'm guessing it doesn't have anything to do with URM. But then again: if you want more help, you'll need to provide more details.

And btw: there's no need to reply to the OP just to ask a question ;)
 

N0lla

Newbie
Aug 25, 2023
48
43
Is it possible to add a note to a variable as I have noted that some AVN have some wierd labels for a certain character and I want to be able to add a note to them saying what they actually are.

TIA
 

theMickey_

Engaged Member
Mar 19, 2020
2,065
2,597
Is it possible to add a note to a variable...
If you search for a variable, and then click "Remember", you can pick any name you want, which will then be listed in the "Variables" overview.

1712849889237.png

And if you select to "Watch" it, you can pick an even different name, which will be used in the watch panel.

1712849931087.png

This does not change the name of the variable itself, it's just for your convenience to better know what they're for -- just like notes ;)
 
  • Like
Reactions: 0x52 and N0lla

tlovers

Newbie
Dec 26, 2018
23
149
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
You were right it did broke the game mechanincs itself and make it look crappy... So I want to ask you if its possible in RenPy Engine to make URM open like in new window when ALT + M is used or something similiar to new window or like label that for the time of using URM would make it 1920 width and height? I mean right now I've edit a lot of URM Vars and it is almost whatt I want it to be but there is still a lot of what could be improved.

1712863233445.png
 
  • Like
Reactions: awakashi

theMickey_

Engaged Member
Mar 19, 2020
2,065
2,597
only on versions from v2.1 to v2.1.3
...
AttributeError: 'ADVCharacter' object has no attribute '_getframe'
This happens if the developer of the game (somehow) "breaks" Ren'Py, see this:
1712908691303.png

But since version 2.1.3 URM should have a workaround for this exact error implemented, maybe it's not fully working yet for all games...?! You can still try to fix it yourself using the instructions mentioned in that post.
 
  • Like
Reactions: 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,550
5,879
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.
I have seen devs trying to block using mods in different ways. So there's no universal way to prevent this.

Problem with https://f95zone.to/threads/the-fosters-back-2-school-v0-4-_13_.159831/

Doesn't matter if new game oder load an old Save
You say you get this error directly after loading a save or starting a new game?
This error should not be possible. There seems to be something wrong with your persistent file.

You could try deleting or renaming the persistent file in the saves folder and in %appdata%\RenPy\TheFostersSpecial1-1673995418 and then start the game again.
 

OeRBeL

New Member
Jun 22, 2020
2
0
I have seen devs trying to block using mods in different ways. So there's no universal way to prevent this.


You say you get this error directly after loading a save or starting a new game?
This error should not be possible. There seems to be something wrong with your persistent file.

You could try deleting or renaming the persistent file in the saves folder and in %appdata%\RenPy\TheFostersSpecial1-1673995418 and then start the game again.
That helped, thank you very much (y)
 

yamabear

Member
Dec 27, 2020
201
91
Hi!
The main characteristic of URM is that it does not interfere or change the structure or script of a game.Fact!
Just one question.
The URM tool can, among other features, also unlock galleries? Like UGU, for example.
If yes, how can I proceed?

I apologize in advance if this is already common knowledge and recurring here on the forum.
 

Zazzu

New Member
Nov 13, 2020
14
3
There is a problem with URM and Pale Carnations
I am using version 2.1.3 of URM and PC Ch4 Update 4. When I try to search for a variable, it goes to the grey crash screen, and all I can do is "Rollback" which puts me back into the game. If I try to invoke URM with Alt-M, nothing happens. If I progress a bit in the game and URM notifications come up again, I can hit Alt-M, but it immediately goes to the crash screen. I am using EndeavourOS, an Arch based linux distro. The traceback.txt file is attached. No other mods are being used.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,550
5,879
Hi!
The main characteristic of URM is that it does not interfere or change the structure or script of a game.Fact!
Just one question.
The URM tool can, among other features, also unlock galleries? Like UGU, for example.
If yes, how can I proceed?

I apologize in advance if this is already common knowledge and recurring here on the forum.
I might add something like this in a future version, but it's not guaranteed to work on every game.

There is a problem with URM and Pale Carnations
I am using version 2.1.3 of URM and PC Ch4 Update 4. When I try to search for a variable, it goes to the grey crash screen, and all I can do is "Rollback" which puts me back into the game. If I try to invoke URM with Alt-M, nothing happens. If I progress a bit in the game and URM notifications come up again, I can hit Alt-M, but it immediately goes to the crash screen. I am using EndeavourOS, an Arch based linux distro. The traceback.txt file is attached. No other mods are being used.
See this post by theMickey_ a couple of posts before yours.
 
  • Like
Reactions: Feyd
5.00 star(s) 33 Votes