Monika-After-Story / MonikaModDev

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

Developer Tool - relation to screen prepare? #7214

Closed TechNevio closed 3 years ago

TechNevio commented 3 years ago

When turning on developer mode define config.developer = True (set it in definitions.py, since it is already there) I get the following error:

After initialization, but before game start.

File "game/advanced_scripts/zz_poemgame.rpy", line 300, in prepare_screen

screen mas_pg_textbutton_grid(words, row_info, col_info, xywh, bg_image=None, is_modal=False, _zorder=None, _style_prefix=None, _layer=None):

Exception: Properties are not allowed here.

Don't have a clue how that is related!

(My version is the one from Steam.)

Booplicate commented 3 years ago

What version of RenPy are you using and why do you need dev mode? Also it's recommended to use non-steam version of DDLC.

TechNevio commented 3 years ago

I am using the latest version of Renpy, i need DEV mode because it's a PAIN to restart the game everytime you do changes

Booplicate commented 3 years ago

That's your issue, then. You should use the same version DDLC used. But I will help you ahead and say that you don't need RenPy SDK, and that reloading won't work anyway.

TechNevio commented 3 years ago

Why wouldnt reloading work ? xD sure it will lol

Booplicate commented 3 years ago

No, it won't. I'm telling you that to save your time, because I know how RenPy and MAS work. But you can try it yourself if you want.

TechNevio commented 3 years ago

ive literally seen ppl use the DEV mod refresh tool

multimokia commented 3 years ago

It's very broken on windows due to windowreacts (can only register one wndclass, this throws an exception on reload) among other things.

TechNevio commented 3 years ago

ok any idea what to do then?? I dont wanna restart the game every time

multimokia commented 3 years ago

If you're testing dialogue, paste the entire label into console, then call it. It overrides the old one.

This is also faster than reloading.

TechNevio commented 3 years ago

In wich console?? Just the console in the program im using

multimokia commented 3 years ago

The Ren'Py console. Seeing as you've enabled developer mode, you can open it.

TechNevio commented 3 years ago

Yeah but thats my problem i cant activate DEV mode as you can see in the question i wrote on top

Booplicate commented 3 years ago

That's your issue, then. You should use the same version DDLC used. But I will help you ahead and say that you don't need RenPy SDK, and that reloading won't work anyway.

This still applies.

multimokia commented 3 years ago

As @Booplicate said, you're using the wrong version of renpy, which introduces some breaking changes since the one DDLC was released on had.

You a) Don't need the renpy SDK, but instead can just put rpy files into the install and launch it b) If you do wish to use the SDK, must then download the one corresponding to the version DDLC -- and by extension MAS, uses.

TechNevio commented 3 years ago

Well NVM i didnt get it working......wich verstion of renpy should i use then?

multimokia commented 3 years ago

6.99.12.4

TechNevio commented 3 years ago

And you are sure this will work with dev mode then?

multimokia commented 3 years ago

I have developer mode enabled for my test install, so yes.

TechNevio commented 3 years ago

ok thx so much