Mod Ren'Py 18Titans Gallery++ Mod [v2.0.1] [Night Mirror]

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,924
11,287

Gamer_Dan92

Member
Apr 26, 2018
296
136
Found a bug that softlocks the game while modded as it doesn't occur unmodded. After Blackfire agrees to see Robin as her master she stopped appearing in the cell for me. I thought she'd come back for story but even when Starfire left due to her puberty and the game hints for you to ask Blackfire where Starfire went you can't visit her in cell. But when I played the game unmodded I could visit BumbleBee in living room and see Blackfire in the cells. When I tried loading up save file from unmodded where you start conversation with Blackfire about Star I got this message

```
I'm sorry, but an uncaught exception occurred.

While processing text tag {/color} in u'{color=fff}Resistance: {/color}Broken{/color}'.:
Exception: u'/color' closes a text tag that isn't open.

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

Full traceback:
File "scripts/rooms/hallway_01.rpyc", line 44, in script call
File "scripts/rooms/hallway_01.rpyc", line 187, in script call
File "scripts/blackfire/blackfire_labels.rpyc", line 29, in script
File "renpy/ast.py", line 1618, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1109, in menu
rv = renpy.store.menu(new_items)
File "renpy/exports.py", line 1364, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, 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 2165, 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 2818, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "renpy/display/core.py", line 1355, in draw_screen
renpy.config.screen_height,
File "render.pyx", line 486, in renpy.display.render.render_screen
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/display/layout.py", line 900, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/display/layout.py", line 900, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/display/layout.py", line 900, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/display/screen.py", line 754, 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 260, in renpy.display.render.render
File "renpy/display/layout.py", line 900, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/display/layout.py", line 1076, in render
surf = render(d, rw, height - y, cst, cat)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "renpy/text/text.py", line 2276, in render
virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
File "renpy/text/text.py", line 640, in __init__
self.paragraphs = self.segment(text.tokens, style, renders, text)
File "renpy/text/text.py", line 1148, in segment
raise Exception("%r closes a text tag that isn't open." % text)
Exception: u'/color' closes a text tag that isn't open.

Windows-7-6.1.7601-SP1 AMD64
Ren'Py 7.7.1.24030407
18titans 1.5.7
Thu Aug 21 09:26:36 2025
```
 

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,924
11,287
Found a bug that softlocks the game while modded as it doesn't occur unmodded. After Blackfire agrees to see Robin as her master she stopped appearing in the cell for me. I thought she'd come back for story but even when Starfire left due to her puberty and the game hints for you to ask Blackfire where Starfire went you can't visit her in cell. But when I played the game unmodded I could visit BumbleBee in living room and see Blackfire in the cells. When I tried loading up save file from unmodded where you start conversation with Blackfire about Star I got this message
Okay, I think I found the issue (both issues, the exception was just a typo on my end). There is a duplicated line in the original code that I didn't include (because there is lots of odd duplication in the original code, and I trimmed/combine lots (and lots (and lots)) of duplicate checks (again, not changing dialogue (other than typo correction), just backend code)). I simply overlooked this one.

The short version is that the missing code checks for her being over a certain break value (25 or more in this case), and if she is, the button to visit her stops showing up, and a different button (that... does the exact same thing (again, lots of weird code duplication)) takes it place. And that second button got trimmed out of the mod during code refactoring.

So, I removed the problematic check on the existing button, and that should resolve the issue? I can't check your exact state of the game, so~ maybe? It did work in local testing.

Unfortunately, while I can easily fix the file, there isn't a way for me to patch it without a full release (I left archive process on for this project, but I'll be turning it off for future releases, so that people can easily change/patch/mess with the code).

It will be fixed for the next version (which I imagine isn't that far away, feels like we are due for a game update soonish), but broken for now.

Thanks for letting me know!
 
  • Like
Reactions: Gamer_Dan92

Gamer_Dan92

Member
Apr 26, 2018
296
136
Okay, I think I found the issue (both issues, the exception was just a typo on my end). There is a duplicated line in the original code that I didn't include (because there is lots of odd duplication in the original code, and I trimmed/combine lots (and lots (and lots)) of duplicate checks (again, not changing dialogue (other than typo correction), just backend code)). I simply overlooked this one.

The short version is that the missing code checks for her being over a certain break value (25 or more in this case), and if she is, the button to visit her stops showing up, and a different button (that... does the exact same thing (again, lots of weird code duplication)) takes it place. And that second button got trimmed out of the mod during code refactoring.

So, I removed the problematic check on the existing button, and that should resolve the issue? I can't check your exact state of the game, so~ maybe? It did work in local testing.

Unfortunately, while I can easily fix the file, there isn't a way for me to patch it without a full release (I left archive process on for this project, but I'll be turning it off for future releases, so that people can easily change/patch/mess with the code).

It will be fixed for the next version (which I imagine isn't that far away, feels like we are due for a game update soonish), but broken for now.

Thanks for letting me know!
Thanks for the speedy reply and for your hard work. I understand I'll have to wait till next update and that's understandable. I can continue to play unmoved for now then go back with next update. Thanks again
 

yshxddy

New Member
May 13, 2025
2
0
Why does it show that this place is closed when I want to use the free ticket to get into pantha‘s part and I can't do anything else either?please help me.
 

yshxddy

New Member
May 13, 2025
2
0
Why does it show that this place is closed when I want to use the free ticket to get into pantha‘s part and I can't do anything else either?please help me.
 

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,924
11,287
Why does it show that this place is closed when I want to use the free ticket to get into pantha‘s part and I can't do anything else either?please help me.
Looks like a conditional bug that only happens if you wait until the last minute to visit Pantha. I've fixed it for the next version, but if you can't wait, two possible options:

1. Reload an earlier save before the raid on the warehouse, and go talk to Pantha.
2. Load the save in the base game (without the mod), progress through the scene with Pantha (and switch back after if you want or stay in the base version).
 

Helpme800

New Member
Aug 13, 2022
1
0
any reason it is flagged as malicious on virus total but it only the 18titans_gallery_mod-32.exe
 
Last edited: