Monika-After-Story / MonikaModDev

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

Can't use the exp previewer. #6507

Closed JmDemisana closed 4 years ago

JmDemisana commented 4 years ago

So I updated MAS last September when it prompted me via the built-in updater. After that, I had problems with the exp previewer being red in every expression there is (there's no white expression for some reason), the game works fine otherwise. So I figured I should update the exp previewer manually. I did. When I opened MAS again, this happened.

image

Log:


I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again.`

File "game/dev_exp_previewer.rpy", line 865: Overly long logical line. (Check strings and parenthesis.) (Perhaps you left out a ' at the end of the first line.)

            <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="btn-with-count" action="/Monika-After-Story/MonikaModDev/fork" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="OJpUqMf/uWYyNDU60Eo1rLFVZswsXf2bEC7gVXgFbBsZlaygXJM+f4SlNFFSrFFsYhbdU0ZpkdVvmJ2B+ftNLw==" />

Ren'Py Version: Ren'Py 6.99.12.4.2187


I don't understand any of this, lol. I don't want to use the whole source code version of the game, I just want the exp previewer + the release version as much as possible.

ghost commented 4 years ago

You seem to have downloaded the HTML page with file contents embedded in it rather than the source code file itself. Get it from here instead.

JmDemisana commented 4 years ago

Oh. I wonder why it downloaded as rpy and not as html. IDM usually download webpages in html, so I thought I did it right. I'm trying it out as soon as I'm in my pc.

ghost commented 4 years ago

>Oh. I wonder why it downloaded as rpy and not as html.

The URL of file viewer page on GitHub ends with file name, which itself ends with .rpy and not .html, and thus your browser pulled it as dev_exp_previewer.rpy even though it has HTML inside.

JmDemisana commented 4 years ago

Got it to work. Thanks. <3

It's no longer red in every expression too.

Appreciated it.

Closing it now.

ghost commented 4 years ago

MAS dynamically loads expressions since release 0.11.5, and thus previewer no longer shows some expressions as missing, because we no longer use generated spritecharts.

Edit: right, I linked wrong file, sorry about that. Fixed it now.