Can't save or load game after deployment

Tinkerer

Veteran
Veteran
Joined
Jan 21, 2017
Messages
42
Reaction score
4
First Language
Norwegian
Primarily Uses
Hi,

After deploying my game for OSX or webbrowser the game refuses to save. Nor will it notice any of save files I copy into the 'save' folder.
Before deployment (during game testing) I can save and load games without any problems.

If I deploy for Windows I can likewise save and load games to my heart's content. However once I package it into an .exe container using Enigma Virtual box, I once again can't save or load games. I did discover a trick to circumvent the problem in this case by creating a 'www' folder containing a 'save' subfolder, next to my .exe file (the container created by Enigma).

Sadly creating a 'www' folder and 'save' subfolder for the OSX and browser version did not fix the save issue. Is there any way of checking the path used for savegames in a deployed version of the game?

Has anyone experienced a similar problem?
 

Frogboy

I'm not weak to fire
Veteran
Joined
Apr 19, 2016
Messages
1,704
Reaction score
2,208
First Language
English
Primarily Uses
RMMV
I ran into this but only needed it to run on Windows so the www folder did the trick. Not sure how to get the web and Mac deployments to work.
 

SeaPhoenix

Veteran
Veteran
Joined
May 14, 2015
Messages
251
Reaction score
232
First Language
English
Primarily Uses
RMMV

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
Browser games store the save files in localStorage. So if you're using incognito/private as SeaPhoenix said, or a different browser, the save files won't transfer.

How are you deploying the browser version, to your own website?

Some website hosting services may deploy the game into an iFrame that doesn't have access to the local storage.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top