Mod Ren'Py Completed Mech Academy Multi-Mod [v1.0.0][RiamMar]

5.00 star(s) 2 Votes

MrBenny

Engaged Member
Jul 20, 2021
2,030
4,500
Hi RM...is there a way to disable the UI section of your mod (textbox used)? I have my own custom bottom shaded textbox that I use for all the title's I play, and your mod prevents any override from happening. (Loading the default textbox)

I have included a copy of it in this post, and if possible could you please consider adding it to your mod as a choice of textbox? (Also when a title uses a much larger size textbox size, I just adjust the dimensions using site.

Regards.

screenshot0002.png
 
Last edited:
  • Like
Reactions: RiamMar

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
Hi RM...is there a way to disable the UI section of your mod (textbox used)? I have my own custom bottom shaded textbox that I use for all the title's I play, and your mod prevents any override from happening. (Loading the default textbox)

I have included a copy of it in this post, and if possible could you please consider adding it to your mod as a choice of textbox? (Also when a title uses a much larger size textbox size, I just adjust the dimensions using site.

Regards.

View attachment 3979114
The textbox override is mod\screens\say.rpy

I wanted to post a quick hack with your textbox image but then just added the option to the UI settings to switch it, as you suggested.

I took your pic and made it 1px wide, since it's just a repeating pattern? Saves about 240kB.
If it's not just a "simple" vertical gradiant, replace the "mod\images\textbox.png" and let me know, so I can re-replace it with the bigger image in the next update.

You will need to yank up the opacity to max. Preview won't show the alternative background.

Files are updated in OP, additionally find the archive attached.
 

RandyPhoenix

Engaged Member
Jun 30, 2018
3,016
4,629
Great mod, wish it had feature to move text to center as well, it really annoy me text being on the left side instead of center. Even with taking width to last bar it's still not centered and it's quite annoying to me, to be honest.
 
Last edited:

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
Great mod, wish it had feature to move text to center as well, it really annoy me text being on the left side instead of center. Even with taking width to last bar it's still not centered and it's quite annoying to me, to be honest.
You can reduce the width of the textbox (and increase the textbox height) to your liking (from 990px up to full width), making the textbox more "centered".
The scrollbar on the side is a bit tiny... Might need to change that. :D

Screenshot 2024-08-29 233141.png
 
  • Like
Reactions: pitao

RandyPhoenix

Engaged Member
Jun 30, 2018
3,016
4,629
You can reduce the width of the textbox (and increase the textbox height) to your liking (from 990px up to full width), making the textbox more "centered".
The scrollbar on the side is a bit tiny... Might need to change that. :D

View attachment 3980487

As I already told '' Even with taking width to last bar it's still not centered'' sorry for my paint skills, but as you can see this is not centered for real, even with the max settings you give it's still closer to left side as it can be clearly seen, and it's disturbing :D
Screenshot_4.jpg
 
  • Like
Reactions: RiamMar

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
As I already told '' Even with taking width to last bar it's still not centered'' sorry for my paint skills, but as you can see this is not centered for real, even with the max settings you give it's still closer to left side as it can be clearly seen, and it's disturbing :D
View attachment 3980590
Ah, I see. You want everything "true center". So that the middle of the text is in the middle of the screen.
I will see if I can get that in. Shouldn't be too hard.

You're screenshot is a bit misleading though, to what the textbox with is, since the text isn't filling the whole with of the textbox. I made a quick mesurement and if the box is full, the left side is actually 50 or 60 pixel to wide? So it has a bit of a jank to the right.
Anyway, as I said, I'll probably add a "true text center" option soon™. Just remind me if my brain tries to forget about it :ROFLMAO:
 
  • Yay, update!
Reactions: RandyPhoenix

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
the mod doesn't work keep getting errors
Can you post the error please?
There should be an error.txt and/or log.txt in the games base folder (where the .exe is).
 

jimtra

Newbie
Apr 25, 2023
96
42
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/tl/ENG/script/cap_01/cap_01_sc_01.rpy", line 7, in script
"Year: 1975."
File "game/tl/ENG/script/cap_01/cap_01_sc_01.rpy", line 7, in script
"Year: 1975."
File "renpy/common/000window.rpy", line 126, in _window_auto_callback
_window_show(auto=True)
File "renpy/common/000window.rpy", line 70, in _window_show
renpy.with_statement(trans)
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

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

Full traceback:
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\main.py", line 637, in main
run(restart)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\main.py", line 145, in run
renpy.execution.run_context(True)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\execution.py", line 955, in run_context
context.run()
File "game/tl/ENG/script/cap_01/cap_01_sc_01.rpy", line 7, in script
"Year: 1975."
File "lib/python3.9/future/utils/__init__.py", line 444, in raise_
File "game/tl/ENG/script/cap_01/cap_01_sc_01.rpy", line 7, in script
"Year: 1975."
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\ast.py", line 2560, in execute
Say.execute(self)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\ast.py", line 585, in execute
statement_name("say")
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\ast.py", line 52, in statement_name
i(name)
File "renpy/common/000window.rpy", line 126, in _window_auto_callback
_window_show(auto=True)
File "renpy/common/000window.rpy", line 70, in _window_show
renpy.with_statement(trans)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\exports.py", line 1782, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1549, in do_with
return self.interact(trans_pause=True,
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2166, 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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2819, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1353, in draw_screen
surftree = renpy.display.render.render_screen(
File "render.pyx", line 486, in renpy.display.render.render_screen
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\transition.py", line 383, in render
bottom = render(self.old_widget, width, height, st, at)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\behavior.py", line 968, in render
rv = super(Button, self).render(width, height, st, at)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\layout.py", line 1361, in render
surf = render(child,
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 2276, in render
virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 676, in __init__
glyphs = ts.glyphs(s, self)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 268, in glyphs
fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample, self.shaper, self.instance, self.axis)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 745, in get_font
face = load_face(fn, shaper)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 673, in load_face
raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
Mech Academy 0.5.17
Thu Aug 29 20:07:36 2024
 

jimtra

Newbie
Apr 25, 2023
96
42
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 945, in script
scene black with dissolve_1
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

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

Full traceback:
File "game/script.rpy", line 945, in script
scene black with dissolve_1
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\ast.py", line 1363, in execute
renpy.exports.with_statement(trans, paired=paired)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\exports.py", line 1782, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1549, in do_with
return self.interact(trans_pause=True,
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2166, 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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2819, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1353, in draw_screen
surftree = renpy.display.render.render_screen(
File "render.pyx", line 486, in renpy.display.render.render_screen
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\transition.py", line 384, in render
top = render(self.new_widget, width, height, st, at)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\behavior.py", line 968, in render
rv = super(Button, self).render(width, height, st, at)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\layout.py", line 1361, in render
surf = render(child,
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 2276, in render
virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 676, in __init__
glyphs = ts.glyphs(s, self)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 268, in glyphs
fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample, self.shaper, self.instance, self.axis)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 745, in get_font
face = load_face(fn, shaper)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 673, in load_face
raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
Mech Academy 0.5.17
Thu Aug 29 22:46:37 2024
 

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 945, in script
scene black with dissolve_1
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

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

Full traceback:
File "game/script.rpy", line 945, in script
scene black with dissolve_1
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\ast.py", line 1363, in execute
renpy.exports.with_statement(trans, paired=paired)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\exports.py", line 1782, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1549, in do_with
return self.interact(trans_pause=True,
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2166, 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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 2819, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\core.py", line 1353, in draw_screen
surftree = renpy.display.render.render_screen(
File "render.pyx", line 486, in renpy.display.render.render_screen
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\transition.py", line 384, in render
top = render(self.new_widget, width, height, st, at)
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\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 "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\behavior.py", line 968, in render
rv = super(Button, self).render(width, height, st, at)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\display\layout.py", line 1361, in render
surf = render(child,
File "render.pyx", line 170, in renpy.display.render.render
File "render.pyx", line 260, in renpy.display.render.render
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 2276, in render
virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 676, in __init__
glyphs = ts.glyphs(s, self)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\text.py", line 268, in glyphs
fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample, self.shaper, self.instance, self.axis)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 745, in get_font
face = load_face(fn, shaper)
File "C:\Users\jimtra\Downloads\MechAcademy-0.5.17.1-pc\MechAcademy-0.5.17-pc\renpy\text\font.py", line 673, in load_face
raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font 'mod/fonts/Jost-Regular.ttf'.

Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
Mech Academy 0.5.17
Thu Aug 29 22:46:37 2024
You probably installed the mod wrong.
The mod needs to go including the mod folder, not just the content of the mod folder.

Can you kindly delete this game install, extract it again and copy the complete content of the archive?
Final path should look like "MechAcademy-0.5.17-pc\game\mod\"
 

jimtra

Newbie
Apr 25, 2023
96
42
You probably installed the mod wrong.
The mod needs to go including the mod folder, not just the content of the mod folder.

Can you kindly delete this game install, extract it again and copy the complete content of the archive?
Final path should look like "MechAcademy-0.5.17-pc\game\mod\"
Thanks
 
  • Like
Reactions: RiamMar

MrBenny

Engaged Member
Jul 20, 2021
2,030
4,500
The textbox override is mod\screens\say.rpy

I wanted to post a quick hack with your textbox image but then just added the option to the UI settings to switch it, as you suggested.

I took your pic and made it 1px wide, since it's just a repeating pattern? Saves about 240kB.
If it's not just a "simple" vertical gradiant, replace the "mod\images\textbox.png" and let me know, so I can re-replace it with the bigger image in the next update.

You will need to yank up the opacity to max. Preview won't show the alternative background.

Files are updated in OP, additionally find the archive attached.
Thanks very much RM for modifying your mod for me. It looks great with my Dark Mode mod for this title. I also noticed when reducing the png resolution size 1x533 vs using my original textbox file, the reduced file places small noticeable horizontal lines...the original, removes them. So no real issue adding the larger file...thanks again.

Also I noticed an error when I try to turn on the choice mod switch (image below and error code below). For me this isn't a big issue, as I will just ignore that feature. The mod still works, just letting you know.
You don't have permission to view the spoiler content. Log in or register now.

Regards.
 

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
Thanks very much RM for modifying your mod for me. It looks great with my Dark Mode mod for this title. I also noticed when reducing the png resolution size 1x533 vs using my original textbox file, the reduced file places small noticeable horizontal lines...the original, removes them. So no real issue adding the larger file...thanks again.

Also I noticed an error when I try to turn on the choice mod switch (image below and error code below). For me this isn't a big issue, as I will just ignore that feature. The mod still works, just letting you know.
You don't have permission to view the spoiler content. Log in or register now.

Regards.
To be honest, not sure this button is even used in this mod. Also not sure how it got broken...
Anyway, fixed it and replaced the textbox bg with the full-width version.
 
  • Like
Reactions: MrBenny

Tyrranus

Well-Known Member
May 4, 2017
1,322
1,427
downloaded the new version from gdrive and applied as normal, game immediately errors out on loading my save

deleted the directory and fresh install the game and save and it loads fine so Im guessin its the mod somewhere... Ill reapply it after playin the update and post the error log
 

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
downloaded the new version from gdrive and applied as normal, game immediately errors out on loading my save

deleted the directory and fresh install the game and save and it loads fine so Im guessin its the mod somewhere... Ill reapply it after playin the update and post the error log
Okay, thanks. I'll wait for the error report.
 

Tyrranus

Well-Known Member
May 4, 2017
1,322
1,427
Okay, thanks. I'll wait for the error report.
ok so I was a genius and since there were no choices I overwrote my save file. so this error comes from an older autosave in a similar area
You don't have permission to view the spoiler content. Log in or register now.
but I did make sure this error only occurs AFTER installing the mod
 

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
ok so I was a genius and since there were no choices I overwrote my save file. so this error comes from an older autosave in a similar area
You don't have permission to view the spoiler content. Log in or register now.
but I did make sure this error only occurs AFTER installing the mod
Hmmm, I'll have a look but I can't promise anything.
There is/was a translation fix I released for some of the early releases, maybe that made issues?
Should not happen again in the future, since I wont release unsolicited game fixes anymore (due to having enough to do with the games I work on :cry:)

If find nothing now and this happens again in 0.5.18 or 0.5.19, I will have another look. Maybe it's a Ren'Py version issue? Though I normally compile my mods with the game itself... Well, no need to speculate here, better get to work. :D
 

RiamMar

One Hand Clapping, Heart of the Keyforge
Modder
Game Developer
Sep 15, 2017
1,002
3,797
I'll keep an eye out on the steam release and update the mod if needed or release a separate archive for it.
If there's a 1.0.1 fix or something (bigger than v1.0.0) and I don't see it pop up the the "latest" section, give me a bump, so I can have a look.

Some might have read it in some of the other threads, but I'm dropping out of the modding business in favor of
  • working for Lockheart (Over the Moon, The Judas Ghost, Quean Bee)
  • being a member of One Hand Clapping (Princess on the Run) and
  • learning more Godot to create Fading Aether (Imagine an idiot making a farming sim [no, no vegetable f*ing! wait, maybe, depends :ROFLMAO: ] with a biggerr focus on lewd content [Q4 '25 or Q1 '26?] than the vanilla farming sim market has to offer)
  • working on something secret (for now)
I think, one can see that my time is limited with those projects on the table.

If you are a modder, except for Between Two Worlds and it's final update, basically all other mods are up for grabs! Leave me a DM hear or join my discord or something, to let me know which mod you want to pick up.

Bad Hero got picked up by Murray. That leaves FurrHouse with the most regular update schedule, followed by Hero to Villain.
 
  • Like
  • Sad
Reactions: pitao and doujin1
5.00 star(s) 2 Votes