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

5.00 star(s) 49 Votes

RayJefferson

Member
Mar 4, 2018
389
243
231
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

Newbie
Feb 22, 2017
15
6
145
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
 

CurtimusPrime92

Active Member
Jul 17, 2020
587
463
152
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
10
159
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,340
3,165
357
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
10
159
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
61
13
161
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?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,285
712
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?
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 there,
does anyone know if we can add/replace fonts in URM?
You can't. Maybe at some point in the future
 
  • Like
Reactions: Feyd and TribalJOB

Existence X

Member
Oct 14, 2018
153
326
258
0x52 is the fucking GOAT for making this, thank you.
By the way, is it possible to see all the labels somewhere?
Even search blank and return it all would be great, since it could work like a "gallery".
 

MiltonPowers

Twins Basil! Twins!
Donor
Jr. Uploader
Jul 26, 2023
18,189
46,269
922
0x52 is the fucking GOAT for making this, thank you.
By the way, is it possible to see all the labels somewhere?
Even search blank and return it all would be great, since it could work like a "gallery".
Most devs are logical in their coding. So for example all the episode 1 scenes would be ep01..... I've found with a little trial and error and using the last label seen function, you can usually find them all with a simple search like "ep1" and then "ep2" after an update etc. Or sometimes you get really lucky and dev puts "lewd" in the name of them all. :)
 

Existence X

Member
Oct 14, 2018
153
326
258
Most devs are logical in their coding. So for example all the episode 1 scenes would be ep01..... I've found with a little trial and error and using the last label seen function, you can usually find them all with a simple search like "ep1" and then "ep2" after an update etc. Or sometimes you get really lucky and dev puts "lewd" in the name of them all. :)
Yeah, the last time I needed it used the characters names as keyword, but even then I couldn't find some scenes.
I guess I can simply search vowels to find it all.
But I get that most games have a native gallery or by mod and it can get buggy to reproduce some labels in some sandbox games.
It would be nice to have it but we already can work it out with what we have, such a great work.
 
  • Like
Reactions: MiltonPowers
5.00 star(s) 49 Votes