Two save data files?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
muttsang
Posts: 6
Joined: Sat Nov 11, 2023 10:26 am

Two save data files?

Post by muttsang »

Hello,

I come to you asking a very simple question about the save system. It works fantastically and I have no problems whatsoever.

I was hoping to get something cleared up though.

When I used the save system from the Dialogue system, it seemed to create two files.

I was wondering if someone could explain why it needs two files of type SaveGameFile and SavedGameInfoFile.

I've never done any slot-based save system so maybe this is why we need it? If this is the reason, then does that mean we don't need two save files for a non-slot-based save system?
savedata.png
savedata.png (1.52 KiB) Viewed 444 times
Thanks!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Two save data files?

Post by Tony Li »

Hi,

save_1.dat is the saved game for slot 1.

saveinfo.dat is a catalog file that records which slots have saved game files. It's optional. If it doesn't exist, the DiskSavedGameDataStorer component will scan the folder for save_*.dat files to recreate it.
muttsang
Posts: 6
Joined: Sat Nov 11, 2023 10:26 am

Re: Two save data files?

Post by muttsang »

Ah, nice thanks for the clarification Tony!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Two save data files?

Post by Tony Li »

Glad to help!
Post Reply