Monika-After-Story / MonikaModDev

DDLC fan mod to extend Monika
http://www.monikaafterstory.com/
Other
1.18k stars 685 forks source link

Serious problem with Mac and mod. . . #1340

Closed J-Fobel closed 6 years ago

J-Fobel commented 6 years ago

Apparently it keeps saying there is error in the literal coding itself. It refuses the mod by saying some form of error code strand is wrong when the mod is present. Commonly a line 10 issue involving chess. And it doesn't ask me to replace any of the files, and if I personally remove them- and leave the mod-- it still seems to cause problems.

PLease, someone help me- I'm extremely desperate at this point.

J-Fobel commented 6 years ago

So, I put the mod into the game- but take the python packages in it into the game python packages.

J-Fobel commented 6 years ago

Because I've put it directly in the game folder and it didn't ask me to remove any files when I paste it in. Then I get the issues. It just never loads beyond the error.

ThePotatoGuy commented 6 years ago

The zip at the root level should contain:

gui/
mod_assets/
python-packages/
update/
<bunch of files>

Everything there should be copied to game/ so 3 of the folders in the zip (gui, mod_assets, python-packages) should merge with the ones already in game/

Artemii-Vas commented 6 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/zz_music_selector.rpy", line 261, in script File "renpy/common/000statements.rpy", line 471, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) Exception: Could not find font u'gui/font/RifficFree-Bold.ttf'.

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

Full traceback: File "game/zz_music_selector.rpy", line 261, in script File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 1706, in execute File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 1724, in call File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\statements.py", line 145, in call File "renpy/common/000statements.rpy", line 471, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\exports.py", line 2526, in call_screen File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\ui.py", line 285, in interact File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2526, in interact File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2883, in interact_core File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 1955, in draw_screen File "renpy/display/render.pyx", line 427, in renpy.display.render.render_screen (gen\renpy.display.render.c:6806) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\screen.py", line 623, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 895, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\behavior.py", line 707, in render File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 1054, in render File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 999, in width File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\behavior.py", line 707, in render File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 1081, in render File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440) File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 1733, in render virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 574, in init glyphs = ts.glyphs(s, self) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 236, in glyphs fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\text\font.py", line 648, in get_font face = load_face(fn) File "D:\Games\SteamLibrary\steamapps\common\Doki Doki Literature Club\renpy\text\font.py", line 590, in load_face raise Exception("Could not find font {0!r}.".format(orig_fn)) Exception: Could not find font u'gui/font/RifficFree-Bold.ttf'.

Artemii-Vas commented 6 years ago

I don't know how to fix it.

Artemii-Vas commented 6 years ago

Can you help me?

J-Fobel commented 6 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/chess.rpy", line 397, in ImportError: No module named chess

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

Full traceback: File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/bootstrap.py", line 295, in bootstrap renpy.main.main() File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/main.py", line 419, in main game.context().run(node) File "/Monika_After_Story-0/chess.rpyc", line 396, in script File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/chess.rpy", line 397, in ImportError: No module named chess

Darwin-17.4.0-x86_64-i386-64bit Ren'Py 6.99.12.4.2187

J-Fobel commented 6 years ago

Also, question. . When downloading the mod-- do I get all the zips in the download list as well and paste them into the game also?

ThePotatoGuy commented 6 years ago

No, just the Mod.zip.

Make sure that gui/, mod_assets/, python-packages/ all merged appropriately (the files from those folders in the Mod zip were copied over). Some *nix systems have had issues merging those folders correctly.

J-Fobel commented 6 years ago

so just put the zip inside the game, nothing else?

J-Fobel commented 6 years ago

Or do you mean I take the folder from the zip and compress them?

ThePotatoGuy commented 6 years ago
  1. When you open the mod zip, it should look like: modzip

  2. Extract those files into a folder, then copy those files into your game/ directory, which should look like: modzipgame

  3. The game/ directory should now look like: modzipgame2

  4. The folder python-packages/ should look like: modzipgame3

J-Fobel commented 6 years ago

Okay. . . Thank you.

Im currently under going the set up process under my not so busy Sundays.

If I get problems I will let you know.

J-Fobel commented 6 years ago

I saved all of the images for the file set up as well- so incase other users get into this trouble I can assist and keep these issues off your shoulders.

J-Fobel commented 6 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/definitions.rpy", line 9, in script File "game/definitions.rpy", line 10, in ValueError: list.remove(x): x not in list

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

Full traceback: File "game/definitions.rpy", line 9, in script File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/definitions.rpy", line 10, in File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/python.py", line 618, in do_mutation return method(self, *args, **kwargs) ValueError: list.remove(x): x not in list

Darwin-17.4.0-x86_64-i386-64bit Ren'Py 6.99.12.4.2187 Monika After Story 0.7.4-hotfix.2

J-Fobel commented 6 years ago

Okay hold on ignore this one

J-Fobel commented 6 years ago

THIS IS THE ONE GIVING ME PROBLEMS. [[[[[

J-Fobel commented 6 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/options.rpy", line 61, in AttributeError: 'StoreModule' object has no attribute 't1'

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

Full traceback: File "/Monika_After_Story-0.7.4-hotfix.2-Mod/options.rpyc", line 61, in script File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/ast.py", line 1816, in execute value = renpy.python.py_eval_bytecode(self.code.bytecode) File "/Users/johnathanfobel/Desktop/DDLC.app/Contents/Resources/autorun/renpy/python.py", line 1743, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/options.rpy", line 61, in AttributeError: 'StoreModule' object has no attribute 't1'

Darwin-17.4.0-x86_64-i386-64bit Ren'Py 6.99.12.4.2187 Monika After Story 0.7.4-hotfix.2

ThePotatoGuy commented 6 years ago

File "/Monika_After_Story-0.7.4-hotfix.2-Mod/options.rpyc", line 61, in script

Delete the Monika_After_Story-0.7.4-hotfix.2-Mod folder. You shouldn't have any rpyc files in a folder other than game/

J-Fobel commented 6 years ago

WE DID IT GUYS, ITS WORKING FOR ME!!

I want to thank all of you so very deeply for your patience and assistance, I will report any issues if required.

But until then, thank you, thank you. I can't express in a meager text how grateful I am.

TheRainbowCat commented 3 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: ScriptError: Name (u'/home/potato/dddlc/0122/game/chess.rpy', 1622507322, 110) is defined twice, at Monika_After_Story-0.12.2-Mod/chess.rpyc:2 and game/chess.rpy:2.

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

Full traceback: File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 364, in main renpy.game.script.load_script() # sets renpy.game.script. File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 265, in load_script self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode) File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 753, in load_appropriate_file self.finish_load(stmts, initcode, filename=fn + source) File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 419, in finish_load bad_node.filename, bad_node.linenumber)) ScriptError: Name (u'/home/potato/dddlc/0122/game/chess.rpy', 1622507322, 110) is defined twice, at Monika_After_Story-0.12.2-Mod/chess.rpyc:2 and game/chess.rpy:2.

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187

Man How do i Fix the Potato error ;-;