Virtual enigma box can't save game

Hi so I am trying to update my steam game and haven't done a update in a while now and I remember I had a issue with this before where I can't save the game with virtual enigma box exe it creates I think some one told me I need to make a WWW folder but when I delpoy the game to output it automatically creates one if I then delete that then I have no data I am very confused and have no idea how to fix this I already tried 2 java scripts those did nothing at all I just want to get this solved as soon as possible
@Rook47 Did you use "add folder recursive" before finishing the packing?
And this technically belongs in "MV Deployment", not MV Support, just for future reference.

EDIT: Oh, wait, do you mean the game doesn't let you save your progress? In that case you have to make an external "www" folder with a blank folder inside it named "save".
https://forums.rpgmakerweb.com/index.php?threads/improved-packing-of-deployed-project.92127/
yes i did folder recursive and also sorry I don't post on here very much so i was confused
I added a edit as you said that. Maybe that will fix it?
Ya this this is where i got confused trying to do it.. I do deployment and I will have the .exe the other stuff the www and the local and I get confused from there all thats in the output folder and I tried to drag the exe to a test folder and created a www folder I am lost on what I need to do
@Rook47 When you use Enigma to pack the game, the only thing you should be getting is an exe- anything else it is seeming to give you means you messed up somewhere.
I suggest watching/rewatching SumRndmDde's tutorial on this before continuing:
So before I go in and deploy the game make a www folder and make a folder inside that called save? then delploy the game and it will have the save stuff in there?


edit: so i can save the "game" exe but when I go to name it into my games name exe add the folder recursive it won't save
I ran into this issue on the last day of submission for IGMC 2017. I "solved" it with the www/save folder in the same directory. There is at least one plugin out there that is supposed to have your game save to the user's APP_DATA although that might only work for Windows.
The output folder for the deployed game needs to contain a folder for the saves including the general definition file for the saved, before you pack the entire structure into the enigma VB.

Probably easiest way is to start playing the deployed Version and create a savefile one second into the game, then abort and pack everything into enigma. That should work.
@Rook47 No, you make the external "www" and "save" folders after you deploy and pack the game.

The method works as this:
  • Deploy the game
  • Pack the game with Enigma
  • Make the external "www" and "save" folders
  • zip the packed exe and external "www" and "save" into the same zip file
  • your game is ready to be sent to others.
I've tried the method suggested by @Andar before and it didn't work.
Where i am confused as to where i am putting/placing this
  • Make the external "www" and "save" folders
and do i just leave them empty? Normally I dont zip it because i go to steam works sdk put it in the content folder can i put a zip of it in there?

Edit: I have the save file1 and global save file but I am missing the config also am i putting things inside the "www" "save" folders that are external
Moved to: RPGMaker MV Deployment
I haven't used Steam SDK (primarily that $100 Direct fee is way too much for me), so I don't know how it works, but having the "save" file blank with no files inside worked for me when doing the zip method.

As for @Andar 's method, I think you get the config file from changing something in the Settings/Options menu (whatever you call it in your game) ingame, like changing volume, etc.
Ya the problem seems to be that the config file isn't appearing into the folder I tried deploying clicking the game in output saving that worked but once I pack it all together can't save.


Edit: It works now works have no idea what i did lol
So wait to make the save function work for a Single executable file I have to Box the game make a folder and then copy over the WWW folder with the save folder in it so that saving works?

that kind of defeats the purpose of making your game a single executable doesn't it?

Original thread: https://forums.rpgmakerweb.com/threads/virtual-enigma-box-cant-save-game.92764/