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

5.00 star(s) 33 Votes

desmosome

Conversation Conqueror
Sep 5, 2018
6,117
14,110
I'm not sure if this function exists already, but I think it would be convenient to be able to add your own variables and such. Pretty much like dev console but within the URM UI. I usually drop URM on every game I play, but don't bother turning on console unless I need it. That means I gotta exit the game, find the 00console.rpy and enable it. Would be awesome if I can just enter in a variable I want within URM.

A lot of games get errors because of undefined variables.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
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'x52URM'

-- 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 1646, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "renpy/display/core.py", line 2603, in do_with
self.with_none()
File "renpy/display/core.py", line 2630, in with_none
for layer, d in self.compute_scene(scene_lists).items():
File "renpy/display/core.py", line 2751, in compute_scene
rv[layer] = scene_lists.make_layer(layer, self.layer_properties[layer])
KeyError: u'x52URM'

Windows-10-10.0.19041
Ren'Py 7.4.4.1439
Long Road Home 0.8.0
Sun Mar 27 12:38:47 2022
What did you do to get this error? I cannot reproduce it.

I'm not sure if this function exists already, but I think it would be convenient to be able to add your own variables and such. Pretty much like dev console but within the URM UI. I usually drop URM on every game I play, but don't bother turning on console unless I need it. That means I gotta exit the game, find the 00console.rpy and enable it. Would be awesome if I can just enter in a variable I want within URM.

A lot of games get errors because of undefined variables.
I will add it to the wishlist. I makes sense to add, since the mod already offers the option to delete variables
 
  • Like
Reactions: desmosome

1stplayer

New Member
Feb 16, 2022
8
0
What did you do to get this error? I cannot reproduce it.


I will add it to the wishlist. I makes sense to add, since the mod already offers the option to delete variables
When I start the game normally, there is no problem, but when I throw the mod, I get this error
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
When I start the game normally, there is no problem, but when I throw the mod, I get this error
Do you maybe also have something else installed? Like another mod or translation.
When I test URM 1.6 on Long Road Home 0.8.0 I don't have any issues.
 

TheSidewinder

Well-Known Member
Mar 31, 2020
1,577
2,844
0x52 Just FYI:

URM 1.6.0 crashes at startup on "A House in the Rift".
URM 1.5.3 works fine.

Traceback of crash with v1.6.0:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

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

Full traceback:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "renpy/common/_errorhandling.rpym", line 44, in script
init label _errorhandling:
File "O:\RenPy Games\AHouseInTheRift-0.6.0r2-pc\renpy\ast.py", line 865, in execute
renpy.config.label_callback(self.name, renpy.game.context().last_abnormal)
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

Windows-8-6.2.9200
Ren'Py 7.3.5.606
A House in the Rift 0.6.0r2
Mon Mar 28 12:25:56 2022
 
  • Like
Reactions: 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
0x52 Just FYI:

URM 1.6.0 crashes at startup on "A House in the Rift".
URM 1.5.3 works fine.

Traceback of crash with v1.6.0:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

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

Full traceback:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "renpy/common/_errorhandling.rpym", line 44, in script
init label _errorhandling:
File "O:\RenPy Games\AHouseInTheRift-0.6.0r2-pc\renpy\ast.py", line 865, in execute
renpy.config.label_callback(self.name, renpy.game.context().last_abnormal)
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

Windows-8-6.2.9200
Ren'Py 7.3.5.606
A House in the Rift 0.6.0r2
Mon Mar 28 12:25:56 2022
Thanks! This is a very stupid mistake on my side :censored::cry:
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
0x52 Just FYI:

URM 1.6.0 crashes at startup on "A House in the Rift".
URM 1.5.3 works fine.

Traceback of crash with v1.6.0:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

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

Full traceback:
File "renpy/common/00library.rpy", line 28, in script call
call _errorhandling
File "renpy/common/_errorhandling.rpym", line 44, in script
init label _errorhandling:
File "O:\RenPy Games\AHouseInTheRift-0.6.0r2-pc\renpy\ast.py", line 865, in execute
renpy.config.label_callback(self.name, renpy.game.context().last_abnormal)
File "game/0x52/classes/labels.rpy", line 121, in labelCalled
TypeError: ahitr_label_callback() takes exactly 2 arguments (0 given)

Windows-8-6.2.9200
Ren'Py 7.3.5.606
A House in the Rift 0.6.0r2
Mon Mar 28 12:25:56 2022
I think it has been reported but I got this with Seducing thedevil using sanchomod along with it
Just released 1.6.1, which should fix this issue.

I'm very excited to see how URM's auto-update feature is going to work, since this is the first URM update that can be installed using this feature. When on 1.6 you should automatically get a pop-up about the new update (after starting/loading a game), if not, you can click the update icon in the right top of URM's main screen.
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,088
6,041
Just released 1.6.1, which should fix this issue.

I'm very excited to see how URM's auto-update feature is going to work, since this is the first URM update that can be installed using this feature. When on 1.6 you should automatically get a pop-up about the new update (after starting/loading a game), if not, you can click the update icon in the right top of URM's main screen.
checked for update

error
 
  • Like
Reactions: 0x52

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,088
6,041
:cry: Seems to be a Ren'Py 7.4 issue. I will look into this.
At least I've fixed/prevented that crash in URM 1.6.1 :cool:
and many thanks for this :cool: (y)

edit : just tested with Radiant - works like it should for this game
this renpy v7.4 cause many troubles huh
 
Last edited:
  • Love
Reactions: 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
and many thanks for this :cool: (y)

edit : just tested with Radiant - works like it should for this game
this renpy v7.4 cause many troubles huh
I've already got a fix ready. Will be in the next release ;)
Thanks for letting me know.

And, yes. 7.4 causes me some headache every once in a while.
 
  • Like
Reactions: Boehser Onkel

loqex

Well-Known Member
Aug 5, 2016
1,000
510
Personally don't care for an auto check for new version every time when starting a game. Firewall goes off saying xyz wants to access internet blah blah blah.

Any chance of having a config.ini or file that 0x52_URM can read (or perhaps registry setting) to disable auto check for new version?
 

HroH

New Member
Dec 30, 2020
7
0
:cry:Sorry, English is not my native language,

Can URM add functions or settings to display other languages?:oops:

In some games, URM cannot display its "message" and "value" normally, which is slightly inconvenient to modify...o_O

(Google translate):alien:
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,593
6,038
:cry:Sorry, English is not my native language,

Can URM add functions or settings to display other languages?:oops:

In some games, URM cannot display its "message" and "value" normally, which is slightly inconvenient to modify...o_O

(Google translate):alien:
I am not sure what you mean.
I do not have any plans on supporting multiple languages, if that is what you mean.
 
5.00 star(s) 33 Votes