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

Bingoogus

Engaged Member
Sep 5, 2021
3,554
9,299
I have a bit of a random question about this mod. In some games the mod is fluid as can be but in some it's really gluggy, typing into it or deleting text is very slow and i'm just curious what could be causing it? I know that's not giving useful details but i'm just hoping it's a simple sort of thing that really only has one answer, like the game takes up too much RAM or something, i dunno.
 
  • Like
Reactions: Guz007

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,693
6,649
this is great mod, r u considering launching a simplified Chinese language?
It's in my notes, but it's complicated to accomplish

I have a bit of a random question about this mod. In some games the mod is fluid as can be but in some it's really gluggy, typing into it or deleting text is very slow and i'm just curious what could be causing it? I know that's not giving useful details but i'm just hoping it's a simple sort of thing that really only has one answer, like the game takes up too much RAM or something, i dunno.
Does this always happen with specific games or when doing something specific?
 
  • Like
Reactions: Feyd

Bingoogus

Engaged Member
Sep 5, 2021
3,554
9,299
Does this always happen with specific games or when doing something specific?
I've only noticed it here or there, it's pretty rare, i can go a whole bunch of games without seeing it and then some odd one has it. Only real way to notice it is to try typing with the menu up, it's pretty consistent overall, if the game has the problem. Since it's so rare i've never managed to remember long enough to try and find a pattern but i was just figuring it was something simple you'd already know about, like old Renpy versions or a specific module some devs use when they should use another one instead but they're new and don't know better. The fact your asking tells me you're unfamiliar with it which actually surprises me and now i feel like a dipshit for not coming to you with actionable information.
 
  • Like
Reactions: Guz007

DaFinker

Member
Apr 24, 2024
353
783
I'm going to assume the answer is "yes", but if attempting to use URM on a VN that has been finalized and had an independently developed WT mod merged into it, will this cause a conflict?

I'm playing a completed VN for whom someone had done a WT Mod, and the Dev incorporated that mod into the VN and re-issued the "Modded" VN after completion.

I'm trying to go back and change the MC name without restarting, but the script file is .rpyc (or .rpya - I always get those confused when I'm not looking directly at the directory) instead of .rpy, and the definition isn't showing up in any other .rpy file as I've usually found, suggesting that URM is my only real solution outside of completely rewriting the few files I can access with the simple tools I have, or completely restarting the routes from the beginning.

It isn't a huge deal, but there are many routes now, and I finally thought of a fitting name other than the default. Just a little point of "it would be better if", but it isn't an essential thing.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,693
6,649
I'm going to assume the answer is "yes", but if attempting to use URM on a VN that has been finalized and had an independently developed WT mod merged into it, will this cause a conflict?
I don't see why this would cause a conflict
 
  • Like
Reactions: Feyd

RayJefferson

Member
Mar 4, 2018
352
164
Error with game my Legacy
https://f95zone.to/threads/my-legacy-v1-0-saddoggames.1356/
I'm sorry, but an uncaught exception occurred.

While running game code:
File "0x52-URM/classes/main.rpy", line 6, in script
File "0x52-URM/classes/main.rpy", line 7, in <module>
File "0x52-URM/framework/bootstrap.rpy", line 20, in load
Exception: 0x52: This mod (x52URM) does not support Ren'Py version 6.99.12.4.2187. Lowest supported version is 6.99.14

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

Full traceback:
File "E:\F95\F95 Games\1Complet\1Renpy\My_Legacy_v1.0-pc\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "E:\F95\F95 Games\1Complet\1Renpy\My_Legacy_v1.0-pc\renpy\main.py", line 419, in main
game.context().run(node)
File "0x52-URM/classes/main.rpy", line 6, in script
File "E:\F95\F95 Games\1Complet\1Renpy\My_Legacy_v1.0-pc\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\F95\F95 Games\1Complet\1Renpy\My_Legacy_v1.0-pc\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "0x52-URM/classes/main.rpy", line 7, in <module>
File "0x52-URM/framework/bootstrap.rpy", line 20, in load
Exception: 0x52: This mod (x52URM) does not support Ren'Py version 6.99.12.4.2187. Lowest supported version is 6.99.14

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
 

Right_Raven

New Member
Feb 22, 2017
13
5
Hi friends! Looks like Wife Trainer again spit new error
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 223, in script call
    call day_loop from _call_day_loop
  File "game/script.rpy", line 234, in script call
    call core_loop from _call_core_loop
  File "game/script.rpy", line 253, in script
    call screen wait_for_input
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/common/00action_data.rpy", line 157, in __init__
    super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

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

Full traceback:
  File "game/script.rpy", line 223, in script call
    call day_loop from _call_day_loop
  File "game/script.rpy", line 234, in script call
    call core_loop from _call_core_loop
  File "game/script.rpy", line 253, in script
    call screen wait_for_input
  File "renpy/ast.py", line 1971, in execute
    self.call("execute")
  File "renpy/ast.py", line 1953, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "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 "renpy/exports.py", line 3420, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 2166, 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 "renpy/display/core.py", line 2688, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "renpy/display/displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 480, in visit_all
    callback(self)
  File "renpy/display/core.py", line 2688, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "renpy/display/screen.py", line 491, in per_interact
    self.update()
  File "renpy/display/screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "0x52-URM/screens/main.rpy.x52", line 72, in execute
  File "0x52-URM/screens/main.rpy.x52", line 72, in execute
  File "0x52-URM/screens/main.rpy.x52", line 82, in execute
  File "0x52-URM/screens/main.rpy.x52", line 114, in execute
  File "0x52-URM/screens/main.rpy.x52", line 143, in execute
  File "0x52-URM/screens/main.rpy.x52", line 158, in execute
  File "0x52-URM/screens/main.rpy.x52", line 161, in execute
  File "0x52-URM/screens/main.rpy.x52", line 162, in execute
  File "0x52-URM/screens/search.rpy.x52", line 5, in execute
  File "0x52-URM/screens/search.rpy.x52", line 5, in execute
  File "0x52-URM/screens/search.rpy.x52", line 17, in execute
  File "0x52-URM/screens/search.rpy.x52", line 80, in execute
  File "0x52-URM/screens/search.rpy.x52", line 90, in execute
  File "0x52-URM/screens/utils.rpy.x52", line 67, in execute
  File "0x52-URM/screens/utils.rpy.x52", line 67, in execute
  File "0x52-URM/screens/utils.rpy.x52", line 68, in execute
  File "0x52-URM/screens/utils.rpy.x52", line 71, in execute
  File "0x52-URM/screens/utils.rpy.x52", line 74, in execute
  File "0x52-URM/screens/search.rpy.x52", line 90, in execute
  File "0x52-URM/screens/search.rpy.x52", line 91, in execute
  File "0x52-URM/screens/search.rpy.x52", line 92, in execute
  File "0x52-URM/screens/search.rpy.x52", line 94, in execute
  File "0x52-URM/screens/search.rpy.x52", line 97, in execute
  File "0x52-URM/screens/search.rpy.x52", line 97, in keywords
  File "0x52-URM/screens/search.rpy.x52", line 97, in <module>
  File "renpy/common/00action_data.rpy", line 157, in __init__
    super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

Windows-10-10.0.19041 AMD64
Ren'Py 7.7.3.24061702
The Wife Trainer Files 0.7r
Tue Sep  3 02:26:20 2024
Old fix even dnt found
 
Jul 17, 2020
425
300
Hi friends! Looks like Wife Trainer again spit new error
You don't have permission to view the spoiler content. Log in or register now.

Old fix even dnt found
When you get this exception (just showing it partially here):
return SetDict(sys._getframe(1).f_locals, name, value)
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

This is caused when a developer assigned something to Ren'Py's "sys".
By doing this they broke Ren'Py itself. You can fix this using these instructions.
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.
 
Last edited:
  • Like
Reactions: 0x52

itsallgoodman09

New Member
Feb 2, 2018
11
9
Hi love your mod and always use it. So thanks for this. Today I tried to use it in Shadows of Desire v0.4c, but it does not load anything Alt+M opens the menu and everything but no variables are loaded or dialog choices shown. Any solution for this ?
 

theMickey_

Engaged Member
Mar 19, 2020
2,244
2,931
Today I tried to use it in Shadows of Desire v0.4c, but it does not load anything Alt+M opens the menu and everything but no variables are loaded or dialog choices shown.
Are you talking about this game? Because I've just tested it, and it works fine on my end:

1725889401326.png 1725889410552.png

I also get like 80+ pages of variables, and a couple of them are related to some characters, so I'm not sure why it wouldn't work for you. If you need further assistance, please fill out a proper report:

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)?
 
  • Like
Reactions: 0x52

itsallgoodman09

New Member
Feb 2, 2018
11
9
I am extremely sorry about not providing the link. For clarification, the game that is linked by theMickey_ is unofficial remake in renpy from rpgm but the official one has started the new chapters in renpy and I reported the issue in v0.4c from official renpy build.
Upon playing the game more I realised they have special dialogue option which is not detected by the mod. As for the variables they are loading fine so my bad. Please ignore my issue report because everything is working as it should be apart from special dialogue options. Thanks.
 
  • Like
Reactions: theMickey_

Warcry25

Newbie
Feb 11, 2018
58
13
I'm sorry, but an uncaught exception occurred.

While running game code:
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 72, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 58, in afterLoad
File "0x52-URM/classes/settings.rpy", line 131, in __getattr__
File "0x52-URM/classes/settings.rpy", line 154, in get
TypeError: argument of type 'bool' is not iterable

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

Full traceback:
File "script.rpyc", line 643, in script
File "E:Tales_from_the_Unending_Void_2-0.20.1-Extra_Scenes_Edition\TFTUV2-0.20.1-Extra Scenes Edition\renpy\ast.py", line 1088, in execute
renpy.easy.run_callbacks(renpy.config.label_callback, self.name, renpy.game.context().last_abnormal)
File "E:Tales_from_the_Unending_Void_2-0.20.1-Extra_Scenes_Edition\TFTUV2-0.20.1-Extra Scenes Edition\renpy\easy.py", line 311, in run_callbacks
return cb(*args, **kwargs)
File "0x52-URM/classes/labels.rpy", line 144, in labelCalled
File "0x52-URM/classes/main.rpy", line 72, in onLabelCalled
File "0x52-URM/classes/main.rpy", line 58, in afterLoad
File "0x52-URM/classes/settings.rpy", line 131, in __getattr__
File "0x52-URM/classes/settings.rpy", line 154, in get
TypeError: argument of type 'bool' is not iterable

Windows-10-10.0.22631 AMD64
Ren'Py 8.1.1.23060707
Tales From The Unending Void 0.20.1
Tue Sep 8 12:30:50 2024




what should be done?
 
5.00 star(s) 42 Votes