Explaination on how VN Maker save data

Hello I was checking at making a Profil plugin, and I noticed that I'm kind of unsure how the game save or store data in generals since the class is quite hidden for that.

I check the save class showed in the script editor and didn't brought me and idea of How it's work lol

so How I could work my script for allow "Profile" for my game?

If I explain
the player open the game they have to log on their profil and have their OWN save slots

and the hierachie would be

SaveFolderdist -
- UserFolder
- Savefile
- User2Folder
- savefile


if someone can answer me for this would be nice.
The Save Game methods are quite open. You can find them in GameManager. For example, the method saveGlobalData will save and store the Global Data (such as unlocked CG or Ending?), while prepareSaveGame and storeSaveGame will save and store Save Game while playing.

For saving your Profiles unlock, you can put the data in Global Data or use GameStorage to store a new "Global" Data and load it when the game initializing. You can find @globalData in GameManager and see the cgGallery property (@globalData.cgGallery) to learn the gist of global data storage in VNM.

😮‍💨
The Save Game methods are quite open. You can find them in GameManager. For example, the method saveGlobalData will save and store the Global Data (such as unlocked CG or Ending?), while prepareSaveGame and storeSaveGame will save and store Save Game while playing.

For saving your Profiles unlock, you can put the data in Global Data or use GameStorage to store a new "Global" Data and load it when the game initializing. You can find @globalData in GameManager and see the cgGallery property (@globalData.cgGallery) to learn the gist of global data storage in VNM.

😮‍💨

Thanks!
Although this a plugin who allow different save folder depending the profils so this not allow me to save depending the profil right?
Hi, we also have a section in Help File about the Save System: https://asset.visualnovelmaker.com/help/index.htm#t=Save_System.htm

Let me know if that helps you out.

Original thread: https://forums.rpgmakerweb.com/threads/explaination-on-how-vn-maker-save-data.87980/