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

Cyrix72

Newbie
Oct 31, 2021
56
27
I am currently having a weird issue with line spacing in Motherless when using custom text boxes. If there's a line break in a dialogue, there's missing some space between the text lines where characters of the 2nd line are sort of mold into the characters above:
1718124615255.png

It's not just for game text, even your mod seems to be affected:
1718124779907.png

Is this something that could be tweaked in the settings or is it too specific to this particular VN? I'd not call it severe, but it's a bit confusing while reading. Well, at least to me. :)
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,647
I've remembered a list variable and set it to notify when it changes, but the notifications don't popup even when new things are added to the list. I have the latest version, so just wondering if this is a bug or if lists just aren't supported for change notifications?
Sorry. Lists aren't supported by monitoring and freezing. I will block the monitor/freeze option in a next update, but might actually support them in a more distant release.

I am currently having a weird issue with line spacing in Motherless when using custom text boxes. If there's a line break in a dialogue, there's missing some space between the text lines where characters of the 2nd line are sort of mold into the characters above:
View attachment 3726896

It's not just for game text, even your mod seems to be affected:
View attachment 3726914

Is this something that could be tweaked in the settings or is it too specific to this particular VN? I'd not call it severe, but it's a bit confusing while reading. Well, at least to me. :)
I'll look into it.
Edit: Fixed in next release
 
Last edited:

Tiur

Well-Known Member
Nov 13, 2021
1,237
3,383
The question has already been asked, but on some games, the variable is not displayed when a choice is made. As with this game: Law School
The question has not only been asked and answered several times, Law School specifically was the game about which it last came up, last page. (Answers in the following posts to the linked one.)
 
  • Like
Reactions: Ptroll and 0x52

metacuca

Newbie
Jul 25, 2020
25
27
URM version 2.2.1, I got this error.

but on version 2.0.2 this error not happening.

test all versions after 2.0.2 this error did appear.

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

pds72

Active Member
Sep 25, 2019
996
915
  • Are you using the latest version of URM?
  • 2.2.1
  • Which game has the issue (preferable a link to the game's thread)
  • Mythic Manor [v0.21] [Jikei]
  • If it's a crash (grey screen) attach the "traceback.txt" file
  • N/A Game runs fine. It is just when opening the command console.
  • What did you do that caused the issue?
  • Open the console (shift+M) New error line shows when pressing "Enter"
  • Attach a screenshot of the issue (if possible)
  • URM_MM.png
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:"
  • You don't have permission to view the spoiler content. Log in or register now.
  • What OS are you on?
  • Windows-10-10.0.19045
    Ren'Py 8.2.0.24012702
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)?
  • Fresh install. The AppData folder was deleted. No other Mods were used.
Note: Don't know if it helps.... But before deleting the game to reinstall, I ran UNREN on the game. The older version UnRen-forallv.8.8 couldn't decompile the .rpyc fully and gave a bunch of errors. The newer 9.4 version worked.
 
  • Like
Reactions: theMickey_

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,647
URM version 2.2.1, I got this error.

but on version 2.0.2 this error not happening.

test all versions after 2.0.2 this error did appear.

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 h e c k   f o r   u p d a t e { / 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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\bootstrap.py", line 409, in bootstrap
    renpy.main.main()
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\main.py", line 749, in main
    run(restart)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\main.py", line 178, in run
    renpy.execution.run_context(True)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\execution.py", line 955, in run_context
    context.run()
  File "start.rpyc", line 773, in script call
  File "cl/labels_room.rpyc", line 84, in script
  File "lib/python3.9/future/utils/__init__.py", line 444, in raise_
  File "start.rpyc", line 773, in script call
  File "cl/labels_room.rpyc", line 84, in script
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\ast.py", line 1968, in execute
    self.call("execute")
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\exports.py", line 3413, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\display\core.py", line 2818, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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 "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\text\text.py", line 2276, in render
    virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\renpy\text\text.py", line 640, in __init__
    self.paragraphs = self.segment(text.tokens, style, renders, text)
  File "C:\Users\PC\Desktop\LoSeSb-24.5.1c-pc_itchio\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.22631 AMD64
Ren'Py 8.2.1.24030407
Love & Sex : Second Base - 24.5.1c 24.5.1c
Thu Jun 13 02:14:13 2024
[code]
This is a known issue with that game. Will probably be fixed in a future version of URM.

  • Are you using the latest version of URM?
  • 2.2.1
  • Which game has the issue (preferable a link to the game's thread)
  • Mythic Manor [v0.21] [Jikei]
  • If it's a crash (grey screen) attach the "traceback.txt" file
  • N/A Game runs fine. It is just when opening the command console.
  • What did you do that caused the issue?
  • Open the console (shift+M) New error line shows when pressing "Enter"
  • Attach a screenshot of the issue (if possible)
  • View attachment 3731287
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:"
  • You don't have permission to view the spoiler content. Log in or register now.
  • What OS are you on?
  • Windows-10-10.0.19045
    Ren'Py 8.2.0.24012702
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)?
  • Fresh install. The AppData folder was deleted. No other Mods were used.
Note: Don't know if it helps.... But before deleting the game to reinstall, I ran UNREN on the game. The older version UnRen-forallv.8.8 couldn't decompile the .rpyc fully and gave a bunch of errors. The newer 9.4 version worked.
Thanks. I expect this issue to cause variable freezing/monitoring to not work fully as expected.
I will look into this.
 
  • Like
Reactions: metacuca

Skep-tiker

Well-Known Member
Oct 11, 2023
1,719
2,206
Does URM offer an instant Walktrough feature (meaning showing variable changes directly in the choice menu) - if yes, how do i activate it?
 

theMickey_

Engaged Member
Mar 19, 2020
2,244
2,931
Does URM offer an instant Walktrough feature (meaning showing variable changes directly in the choice menu) - if yes, how do i activate it?
I'm also interested.
URM does not display the change of a variable within a choice text, but it does detect choices, and if a variable change is about to happen based on that choice, and it does happen within a reasonable (code) range of that choice, URM can display which variables will change if you click on "Show" in the "Code" column of URM's choice popup:

1718438452184.png

So it's not exactly the same as many walkthrough mods do, but it basically does the same -- and because URM doesn't change any of the original code of the game, it works with any version of the game unlike most walkthrough mods.
 
  • Like
Reactions: Skep-tiker

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,692
6,647
Does URM offer an instant Walktrough feature (meaning showing variable changes directly in the choice menu) - if yes, how do i activate it?
In addition to theMickey_'s answer. I do want to make an (optional) extended choices screen in URM in the future, that will automatically popup when choices are detected
 

theMickey_

Engaged Member
Mar 19, 2020
2,244
2,931
Could you please add a feature to retrieve the name of the currently playing game music?
If you want to get the music title, I'm pretty sure that's (almost) impossible. URM might be able to tell you "The song you're hearing currently is called 'Background_music.ogg'" -- but that's about it. Unless the game developers decided to name the music file exactly the same as the original title of the song, there's probably no way to identify the name of music within Ren'Py games.

I've extracted a couple of Ren'Py games, and this is what music files usually look like:
  • Background_music.ogg
  • Background_music2_Brunno.ogg
  • Background_music3_Disclo_ultralounge.ogg
  • Sexy_music1_monks_topher.ogg
  • Sexy_music2_necking_topher.ogg
  • at_jodys_1.mp3
  • booty_calls_1.mp3
  • chillax.mp3
  • days_1.mp3
  • 1.mp3
  • 2.mp3
  • caffe_music.wav
...and so on. I've only seen a single game so far where the file names are the actual song titles:
  • Chris Zabriskie - Laserdisc.ogg
  • Scott Buckley - Nightfall.ogg
  • Small Colin - Setup With An E.ogg
 

LinXuan67

Newbie
Dec 25, 2021
36
26
If you want to get the music title, I'm pretty sure that's (almost) impossible. URM might be able to tell you "The song you're hearing currently is called 'Background_music.ogg'" -- but that's about it. Unless the game developers decided to name the music file exactly the same as the original title of the song, there's probably no way to identify the name of music within Ren'Py games.

I've extracted a couple of Ren'Py games, and this is what music files usually look like:
  • Background_music.ogg
  • Background_music2_Brunno.ogg
  • Background_music3_Disclo_ultralounge.ogg
  • Sexy_music1_monks_topher.ogg
  • Sexy_music2_necking_topher.ogg
  • at_jodys_1.mp3
  • booty_calls_1.mp3
  • chillax.mp3
  • days_1.mp3
  • 1.mp3
  • 2.mp3
  • caffe_music.wav
...and so on. I've only seen a single game so far where the file names are the actual song titles:
  • Chris Zabriskie - Laserdisc.ogg
  • Scott Buckley - Nightfall.ogg
  • Small Colin - Setup With An E.ogg
Thank you for your reply.
 

MonkeyMonkz

Newbie
Feb 8, 2019
38
24
Tried on SugarService but doesn't seem to work when i press alt+M

****My bad. I removed URM and download the new one and tried again. now it works. Noice!
 
Last edited:

FrankKappel

Newbie
Jun 13, 2018
17
5
0x52

Edit: - Nevermind - I just noticed that "Monitor" and "Watch" are 2 different options.

----

Heres an idea / feature request for URM.

If you are watching a variable, and the side panel closed
Would it be possible to provide a small popup/notification if one of the watched variables changes ?

Maybe even transparent, only displaying text, dissolving quickly (1-2 seconds maybe ? )

Like
"Watched Var x changed, new value y"

Or something, while making sure its not too long of a string / number and not an object.
 
Last edited:
Jan 5, 2024
21
13
This is very amazing! Good job! I can now skip all the difficult minigames and focus on the importance of erotics (* ̄▽ ̄)b
 

FrankKappel

Newbie
Jun 13, 2018
17
5
But i found something that might be nice.
a shortcut button to set a value to a predefined one (without using freeze, as that may sometimes kill the game if used at the wrong time)

Like i have d1, and i'd like a button to set this var to value 5 at a button press, without freezing the var.
 

Cyrix72

Newbie
Oct 31, 2021
56
27
One more question about the text box and it's about Milfs of Sunville:
Having custom text boxes enabled, the ingame names are not displayed anymore:
1719507002111.png

After disabling, the names are fine:
1719507250999.png

It is plain season 1 from OP with just your mod added.

Is this something you could think of fixing?
 
5.00 star(s) 42 Votes