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

5.00 star(s) 35 Votes

Cazzan

Newbie
Dec 11, 2022
28
39
Anyone else have trouble getting this to run on Take Over
I do. Latest version of URM and latest (0.72) version of Take Over, and it crashes on startup giving the following error:
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
KeyError: u'x52Overlay'

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

Full traceback:
  File "renpy/bootstrap.py", line 326, in bootstrap
    renpy.main.main()
  File "renpy/main.py", line 617, in main
    run(restart)
  File "renpy/main.py", line 148, in run
    renpy.execution.run_context(True)
  File "renpy/execution.py", line 922, in run_context
    context.run()
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/ast.py", line 1397, in execute
    renpy.exports.with_statement(trans, paired)
  File "renpy/exports.py", line 1682, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "renpy/display/core.py", line 2656, in do_with
    self.with_none()
  File "renpy/display/core.py", line 2683, in with_none
    for layer, d in self.compute_scene(scene_lists).items():
  File "renpy/display/core.py", line 2838, in compute_scene
    rv[layer] = scene_lists.make_layer(layer, self.layer_properties[layer])
KeyError: u'x52Overlay'

Windows-10-10.0.22621
Ren'Py 7.4.5.1648
Take Over 0.72
Mon May 20 23:00:34 2024
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,646
6,356
I do. Latest version of URM and latest (0.72) version of Take Over, and it crashes on startup giving the following error:
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
KeyError: u'x52Overlay'

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

Full traceback:
  File "renpy/bootstrap.py", line 326, in bootstrap
    renpy.main.main()
  File "renpy/main.py", line 617, in main
    run(restart)
  File "renpy/main.py", line 148, in run
    renpy.execution.run_context(True)
  File "renpy/execution.py", line 922, in run_context
    context.run()
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/common/00start.rpy", line 208, in script call
    call _gl_test
  File "renpy/common/00gltest.rpy", line 385, in script
    with None
  File "renpy/ast.py", line 1397, in execute
    renpy.exports.with_statement(trans, paired)
  File "renpy/exports.py", line 1682, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "renpy/display/core.py", line 2656, in do_with
    self.with_none()
  File "renpy/display/core.py", line 2683, in with_none
    for layer, d in self.compute_scene(scene_lists).items():
  File "renpy/display/core.py", line 2838, in compute_scene
    rv[layer] = scene_lists.make_layer(layer, self.layer_properties[layer])
KeyError: u'x52Overlay'

Windows-10-10.0.22621
Ren'Py 7.4.5.1648
Take Over 0.72
Mon May 20 23:00:34 2024
Works fine on my side. I would assume it's caused by another mod.
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)?


I am unable to call the mod in this game called MILF's PLAZA. Here is the log.

You don't have permission to view the spoiler content. Log in or register now.
Work fine on my side.
Did you load a game or start a new game?
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)?
 
  • Like
Reactions: Feyd

theMickey_

Engaged Member
Mar 19, 2020
2,166
2,735
Any solution ?
I think it's because mod detection in College Kings 2 5.0.0 version
Hello, I have this error with the first act of College Kings.
Ill apreciate any help, this game has a lot of variables
It's the same error in College Kings 1 and College Kings 2, and 0x52 already responded to this (last part of the linked message): the College King developers broke Ren'Py itself, and there's no easy fix for that. Please go ask the developers of College Kings to fix their code.
 
  • Like
Reactions: 0x52

Dr Huge Vee

Member
Nov 18, 2021
211
217
It's the same error in College Kings 1 and College Kings 2, and 0x52 already responded to this (last part of the linked message): the College King developers broke Ren'Py itself, and there's no easy fix for that. Please go ask the developers of College Kings to fix their code.
What nooooooooo I never play games without this mod
 

MQH

Newbie
Jan 28, 2018
29
14
Works fine on my side. I would assume it's caused by another mod.
See also:

Work fine on my side.
Did you load a game or start a new game?
See also:
I tried everything there and nothing works. I find a temporary fix though by turning on the watch panel globally and it works with most of the game I am unable to call the panel with the short cut. Not sure what's happening.

Update: Restarted my computer and then worked smoothly. Not sure why.
 
Last edited:

subaru4711171

New Member
Nov 22, 2023
10
0
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

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

Full traceback:
  File "0x52-URM/classes/main.rpyc", line 18, in script
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.1.24030407
College Kings 2 5.0.0
Thu May 23 16:59:58 2024
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,646
6,356
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

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

Full traceback:
  File "0x52-URM/classes/main.rpyc", line 18, in script
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.1.24030407
College Kings 2 5.0.0
Thu May 23 16:59:58 2024
Check a few posts before yours
 
  • Like
Reactions: Feyd
Jul 17, 2020
395
273
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES 2.1.4
  • Which game has the issue (preferable a link to the game's thread) Earth's Last Guardian
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? trying to save .urm file
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows 10 Home 22H2
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO OTHER MODS
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,646
6,356
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES 2.1.4
  • Which game has the issue (preferable a link to the game's thread) Earth's Last Guardian
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? trying to save .urm file
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows 10 Home 22H2
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO OTHER MODS
For some reason they disabled the persistent save dir for this game. Meaning nothing is saved in %APPDATA% and if you delete the "saves" folder inside the game's folder, you saves are gone.

You could fix this by opening the file "options.rpy".
Look for the line define config.save_directory = None and replace it with define config.save_directory = 'EarthsLastGuardian' (or something else if you prefer)
 
  • Like
Reactions: Feyd

Connoisseur NTR

Active Member
Nov 17, 2020
768
614
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES
  • Which game has the issue (preferable a link to the game's thread) Lust and Power
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? Searching variables
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,646
6,356
Does it work with joiplay
Yes. As mentioned in the OP

anyone know how to freeze the code?
What do you mean?

Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES
  • Which game has the issue (preferable a link to the game's thread) Lust and Power
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? Searching variables
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO
See:
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

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.
 
  • Like
Reactions: Feyd

forgotp

Member
Nov 4, 2019
397
408
Errors when using it with https://f95zone.to/threads/lust-and-power-v0-66-regular-lurking-hedgehog.3882/
throws errors on loading any save and on starting new game, works fine if I remove 0x52_URM.rpa
tried using both 2.0.3 and 2.1.4 versions
```

I'm sorry, but an uncaught exception occurred.


While running game code:

File "renpy/common/000statements.rpy", line 670, in execute_call_screen

store._return = renpy.call_screen(name, *args, **kwargs)

File "renpy/common/00action_data.rpy", line 186, in SetLocalVariable

return SetDict(sys._getframe(1).f_locals, name, value)

AttributeError: 'ADVCharacter' object has no attribute '_getframe'


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


Full traceback:

File "_stock/home/myroom/myroom.rpyc", line 73, in script

File ".\Lust_and_Power-0.66\renpy\ast.py", line 2259, in execute

self.call("execute")

File ".\Lust_and_Power-0.66\renpy\ast.py", line 2241, in call

return renpy.statements.call(method, parsed, *args, **kwargs)

File ".\Lust_and_Power-0.66\renpy\statements.py", line 342, in call

return method(parsed, *args, **kwargs)

File "renpy/common/000statements.rpy", line 670, in execute_call_screen

store._return = renpy.call_screen(name, *args, **kwargs)

File ".\Lust_and_Power-0.66\renpy\exports.py", line 3347, in call_screen

rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)

File ".\Lust_and_Power-0.66\renpy\ui.py", line 299, in interact

rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 3582, 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 ".\Lust_and_Power-0.66\renpy\display\core.py", line 4055, in interact_core

root_widget.visit_all(lambda d : d.per_interact())

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 476, in visit_all

callback(self)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 4055, in <lambda>

root_widget.visit_all(lambda d : d.per_interact())

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 487, in per_interact

self.update()

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 680, in update

self.screen.function(**self.scope)

File "0x52-URM/screens/main.rpy.x52", line 20, in execute

File "0x52-URM/screens/main.rpy.x52", line 20, in execute

File "0x52-URM/screens/main.rpy.x52", line 37, in execute

File "0x52-URM/screens/main.rpy.x52", line 42, in execute

File "0x52-URM/screens/main.rpy.x52", line 49, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 28, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 28, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 35, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 42, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 75, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 76, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 80, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 88, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 89, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 90, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 92, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 99, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 100, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 103, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in keywords

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in <module>

File "renpy/common/00action_data.rpy", line 186, in SetLocalVariable

return SetDict(sys._getframe(1).f_locals, name, value)

AttributeError: 'ADVCharacter' object has no attribute '_getframe'


Windows-10

Ren'Py 8.1.4.23102801+nightly

Lust and Power 0.66


```
 
5.00 star(s) 35 Votes