Mod Ren'Py 18Titans Gallery++ Mod [v3.0.0] [Night Mirror]

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,934
11,335

Gamer_Dan92

Member
Apr 26, 2018
296
137
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,934
11,335
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
137
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,934
11,335
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:

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,934
11,335
Update is in progress for anyone waiting on it. I've merged in all the code and artwork, and I'm in the process of Gallerying the game right now. Hoping to be done either by end of day today, or tomorrow at the latest.

Anyone hoping for the Walkthough to be completed will sadly be disappointed. I wasn't able to make time for it this go around, but I'll do my best to move it along for next time (mainly it's just been very tedious the deeper into the game it gets, taking upwards of an hour sometimes to work out the next step due to how the variables in the game work).


While my goal here is mainly to add functionality without content changes, there are a few minor things I'm fiddling with:
  • Space shooting mini-game reworked a bit
    • Controls moved to the middle of the screen
    • Enemy ships moved up screen when spawning
    • Enemy ships speed cut in half
    • Skip (cheat) button added for anyone that hates mini-games
  • If Beast Girl can't change back, she now goes off with the other girls (minor dialogue changes for her absence)
  • New Skip for 1.6.0 added at the start, skip for 1.5.7 also still there.
  • Turned off .rpy packing for the project, so script files should be easy to access/change (and patch if I fuck something up)
  • Bug fixes from the forums integrated and tested.

Anyhow, thanks for being awesome!

Edit:
Update is live! Download it from post #1 of this thread.
 
Last edited:

GAB

Salty Montrealer
Donor
May 10, 2017
2,465
18,713
Not sure if the scene is badly rendered in base game but there is a visual issue with this scene


issue happens in the Conquest scene of Blackfire

Also I'm not used to your gallery mod, do you always make a copy of the original game and add your changes? I'm used to gallery mod that are just drag and drop. I was surprised that the download took longer than the base game so that's why I'm asking
 

Night Mirror

Well-Known Member
Modder
Jun 2, 2018
1,934
11,335
Not sure if the scene is badly rendered in base game but there is a visual issue with this scene
That is a gallery bug, here is a fix for it (the attachement at the bottom of this post). This one you can drag, drop, and overwrite.

Also I'm not used to your gallery mod, do you always make a copy of the original game and add your changes? I'm used to gallery mod that are just drag and drop. I was surprised that the download took longer than the base game so that's why I'm asking
The game is packed in a .rpa file by the dev, making modifications to it... challenging. If I did it as a patch only (the way many mods work (with games that are not wrapped in a .rpa file)), you, the player, would be required to unren the .rpa file first so that the correct files could then be overwritten (a process prone to errors and lots of tedious tech support).

While not impossible that I could make it a drag and drop, that is... well, a complete rebuild of the game to make that work. And that is way more time than I have (or want) to spend on it.

The game isn't that big, so just re-deploying it the easiest route to share it.