Did you read the notes?I get this error with urm + 3rd party I-patch. Not sure if its interesting or helpful info but there it is.
notes:
Not compatible with 0x52_URM.
Seems like this occurs because you have the "Skip splashscreen" option enabled.I get this error with urm + 3rd party I-patch. Not sure if its interesting or helpful info but there it is.
The piece of code you've attached is not related to the issue, it's this part:If it comes to that, I want to ask, is it possible to do something with my patch that it would work with your mod (if I install both your mod and my patch, my patch does not work, no bugs)?
p.s. I have zero coding knowledge, just know this function(text.replace), and a few others.
class LabelOverridesSwitch(object):
def __init__(self, passthru):
self.ipatch = set()
self.passthru = passthru
def get(self, key, default=None):
return key + "_i" if key in self.ipatch else self.passthru.get(key, default)
if not isinstance(config.label_overrides, LabelOverridesSwitch):
config.label_overrides = LabelOverridesSwitch(config.label_overrides)
class LabelOverridesSwitch(object):
def __init__(self, passthru):
self.ipatch = set()
self.passthru = passthru
def get(self, key, default=None):
return key + "_i" if key in self.ipatch else self.passthru.get(key, default)
def __getitem__(self, key):
return self.get(key)
def __setitem__(self, key, value):
self.passthru[key] = value
def __delitem__(self, key):
if key in self.passthru:
del self.passthru[key]
elif key in self.ipatch:
self.ipatch.remove(key)
if not isinstance(config.label_overrides, LabelOverridesSwitch):
config.label_overrides = LabelOverridesSwitch(config.label_overrides)
LabelOverridesSwitch
. You could just use the config.label_overrides
as intended. This would be all the code you need in the first init block:config.label_overrides['Fish1'] = 'Fish1_i'
config.label_overrides['Day9'] = 'Day9_i'
config.label_overrides['Acryroom'] = 'Acryroom_i'
config.label_overrides['VisitM26'] = 'VisitM26_i'
config.label_overrides['cel34V'] = 'VisitM26_i'
You cannot use URM do add scenes, if that's what you're asking.Hi, I have a quick question. I'm thinking of expanding my currently limited Ren'Py modding knowledge and modding some games just for personal use. So far I (mostly) just know how to do things like edit dialogue and images.
But some of the things that I would specifically like to learn how to do involve things like:
1) Creating different dialogue branches for certain scenes. For example; "Do you want to be more [Dominant] or [Submissive]?". Writing the branches separately and then adding a way in-game to choose which one gets used for the scene.
2) Create a new modded ending for a game using assets from other alternate endings.
Would this mod and its tutorials help me achieve those specific goals, or no? Thank you for any info or tips btw =)
Just to clarify: I'm talking about modding already completed games, not making my own (not yet anyway).
No, that involves rewriting the jump and label code in ways specific to each individual game.Hi, is it possible to add a “choose both” button when players need make dicisions.
Like when choose to visit which girl, we can “choose both” to get all the points and flags.
Its a basic feature for many mods.
Of course I know there is chance to broken the game, maybe you can have it disabled by default or add some notice.
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_other.rpy", line 540, in __eq__
TypeError: 'unicode' object is not callable
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "script.rpyc", line 144, in script call
File "CH 1.rpyc", line 923, in script
File "renpy/ast.py", line 921, in execute
File "renpy/exports.py", line 1373, in say
File "renpy/character.py", line 1266, in __call__
File "renpy/character.py", line 930, in do_display
File "renpy/character.py", line 666, in display_say
File "renpy/ui.py", line 299, in interact
File "renpy/display\core.py", line 3377, in interact
File "renpy/display\core.py", line 3804, in interact_core
File "renpy/display\core.py", line 582, in visit_all
File "renpy/display\core.py", line 582, in visit_all
File "renpy/display\core.py", line 582, in visit_all
File "renpy/display\screen.py", line 451, in visit_all
File "renpy/display\core.py", line 3804, in <lambda>
File "renpy/display\screen.py", line 462, in per_interact
File "renpy/display\screen.py", line 653, in update
File "0x52/screens/main.rpy.x52", line 54, in execute
File "0x52/screens/main.rpy.x52", line 54, in execute
File "0x52/screens/main.rpy.x52", line 60, in execute
File "renpy/common/00action_other.rpy", line 540, in __eq__
TypeError: 'unicode' object is not callable
```
I'm unable to find "Heads will roll - Downfall" on this site, but it seems like they have assigned something to theHey there, was using the mod with Heads will Fall - Downfall.
Stuff was working all fine, until I decided to click on Snapshots in the URM which gave me errors.
And now I can't access URM with Alt-M as it will try to access the Snapshot tab directly which will give errors again.
Is there a way to open URM at another page?
Sorry, I can't explain this issue and it would be a lot of work to investigate.Hi there, I was playing Misfits part 1 on android without any mods (because there aren't any) and whenever I click on search bar I get this error and It's the first time I got an error while using URM. View attachment 2982109
Python:``` I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00action_other.rpy", line 540, in __eq__ TypeError: 'unicode' object is not callable -- Full Traceback ------------------------------------------------------------ Full traceback: File "script.rpyc", line 144, in script call File "CH 1.rpyc", line 923, in script File "renpy/ast.py", line 921, in execute File "renpy/exports.py", line 1373, in say File "renpy/character.py", line 1266, in __call__ File "renpy/character.py", line 930, in do_display File "renpy/character.py", line 666, in display_say File "renpy/ui.py", line 299, in interact File "renpy/display\core.py", line 3377, in interact File "renpy/display\core.py", line 3804, in interact_core File "renpy/display\core.py", line 582, in visit_all File "renpy/display\core.py", line 582, in visit_all File "renpy/display\core.py", line 582, in visit_all File "renpy/display\screen.py", line 451, in visit_all File "renpy/display\core.py", line 3804, in <lambda> File "renpy/display\screen.py", line 462, in per_interact File "renpy/display\screen.py", line 653, in update File "0x52/screens/main.rpy.x52", line 54, in execute File "0x52/screens/main.rpy.x52", line 54, in execute File "0x52/screens/main.rpy.x52", line 60, in execute File "renpy/common/00action_other.rpy", line 540, in __eq__ TypeError: 'unicode' object is not callable ```
Thanks, will give it a try.I'm unable to find "Heads will roll - Downfall" on this site, but it seems like they have assigned something to theYou must be registered to see the links"list".
You could delete the persistent file (or rename it to not lose it) in both the game/saves folder and in the Appdata and start the game again. URM will revert back to the "Search" tab.
But... them using "list" will break other things like sorting and textbox customization. And possibly internal Ren'Py things.
Sorry, I can't explain this issue and it would be a lot of work to investigate.
Oh okay no worries, thanks for replying.Sorry, I can't explain this issue and it would be a lot of work to investigate.
This is not related to URM. The code causing the error is not URM code.Hi. I ran into an uncaught exception when using this mod.
on this game
https://f95zone.to/threads/the-lewdest-house-v0-1-10-dmf.142759/
v0.1.10-pc
using v1.15.2 of universal renpy mod
start a new game. hit alt+m. go to rename screen and click on "rename a character" and it gives this uncaught exception
it is sayingCode:I'm sorry, but an uncaught exception occurred. While processing text tag {color= #3d5577 } in '{noalt}{color= #3d5577 }Lana{/color}{color=#ffffff} &{/color} {color= #f26491 }Lola{/color} (twins)'.: File "game/Script/Chapter1/script-001.rpy", line 43, in script ronnie "The other day when we were together.." Exception: Color string ' #3d5577 ' must be 3, 4, 6, or 8 hex digits long. -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/Script/Chapter1/script-001.rpy", line 43, in script ronnie "The other day when we were together.." File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\ast.py", line 921, in execute renpy.exports.say(who, what, *args, **kwargs) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\exports.py", line 1373, in say who(what, *args, **kwargs) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\character.py", line 1266, in __call__ self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\character.py", line 927, in do_display display_say(who, File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\character.py", line 666, in display_say rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\core.py", line 3377, 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 "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\core.py", line 3912, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\core.py", line 2602, in draw_screen surftree = renpy.display.render.render_screen( File "render.pyx", line 495, in renpy.display.render.render_screen File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\screen.py", line 704, 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 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\dragdrop.py", line 474, in render cr = render(child, width, height, st, at) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\transform.py", line 747, in render return transform_render(self, width, height, st, at) File "accelerator.pyx", line 187, in renpy.display.accelerator.transform_render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1334, in render surf = render(child, File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1105, in render surf = render(d, width - x, rh, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1105, in render surf = render(d, width - x, rh, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1847, in render cwidth, cheight = sizeit('c', width, height, 0, 0) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1844, in sizeit rend = renpy.display.render.render_for_size(pos_d[pos], width, height, st, at) File "render.pyx", line 318, in renpy.display.render.render_for_size File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\viewport.py", line 256, in render surf = renpy.display.render.render(self.child, child_width, child_height, st, at) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1105, in render surf = render(d, width - x, rh, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\behavior.py", line 885, in render rv = super(Button, self).render(width, height, st, at) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\display\layout.py", line 1334, in render surf = render(child, File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\text\text.py", line 2109, in render virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\text\text.py", line 627, in __init__ self.paragraphs = self.segment(text.tokens, style, renders, text) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\text\text.py", line 1195, in segment push().color = renpy.easy.color(value) File "D:\games_win\HG\The Lewdest House\thelewdesthouse-0.1.10-pc\renpy\color.py", line 167, in __new__ raise Exception("Color string {!r} must be 3, 4, 6, or 8 hex digits long.".format(c)) Exception: Color string ' #3d5577 ' must be 3, 4, 6, or 8 hex digits long. Windows-10-10.0.19045 AMD64 Ren'Py 8.0.3.22090809 The Lewdest House 0.1.10 Thu Oct 5 23:31:40 2023
Exception: Color string ' #3d5577 ' must be 3, 4, 6, or 8 hex digits long.
and... it is 6 digits long. it is a valid color:
You must be registered to see the links
is it maybe the space before and after?
actually... is this maybe something that would occur in base game too if I reach that point and not just a URM problem?
This is already on my todo listNot sure if this is the proper forum for enhancement requests for this excellent mod so please excuse if it's not.
I would like to have an option to control the width of the textbox. Here's an example:
View attachment 2984044
The original textbox is fine except for the annoying background gradient. (The purple color behind the text.)
View attachment 2984046
The modified textbox is what I'm looking for but the text is too wide now to read easily and the text runs into the QUICK MENU on the right. I would like to be able to shorten the right left and right margins of the text so it would appear in three or four lines instead of two as it is now.
Seems the game forcefully replaces the font. Could be that it's fixed by changing the font through the accessibility menu (press A and select a different font). If that doesn't help I would like to know which game you're tryingUniversal Ren'Py Mod [1.15.2] How to set the language of other regions, I tried to change it myself but it was garbled
Seems like it's something just for this game. When there are other games causing the same issue I will create a fix.Crashed in Corrupted Kingdoms v0.20.1You must be registered to see the links
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/0x52/classes/main.rpy", line 203, in <module>
File "game/0x52/framework/01loader.rpy", line 34, in load_file
AttributeError: 'str' object has no attribute 'decode'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "0x52/classes/main.rpyc", line 199, in script
File "D:\COC and stuff\CorruptedKingdoms-0.20.1-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\COC and stuff\CorruptedKingdoms-0.20.1-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/0x52/classes/main.rpy", line 203, in <module>
File "game/0x52/framework/01loader.rpy", line 34, in load_file
AttributeError: 'str' object has no attribute 'decode'
Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
Corrupted Kingdoms 0.20.1
Fri Oct 6 19:06:18 2023
This a wild guess, but could it be that the font which is used to show the text on these buttons, doesn't support your language?No, I want to change the menu language of the mod, but after changing it he has a problem, the second image is the language I want to change, that is, Chinese