Skip to content

Xstoryplayer Save Game

Save files are usually found in:

File extensions vary: .dat, .sav, .bin, or no extension at all.

By default, XStoryPlayer stores saves in the same directory as the executable or in a subfolder, depending on version:

| Location | Description | |----------|-------------| | .\saves\ | Most common (subfolder created automatically) | | .\ (root) | Older versions | | %APPDATA%\XStoryPlayer\ | Rare, but some portable versions use this | xstoryplayer save game

Save file naming convention:

save_<slot_number>.sav

Example: save_1.sav, save_2.sav, … up to usually 10–20 slots.

Some versions also include a quicksave:

quicksave.sav

The .sav file is a binary format with a simple structure:

If you are writing a story for XStoryPlayer, follow these save‑related best practices:

Example Lua initialization:

function story.init()
  if not story.state then
    story.state =  score=0, love=0, chapter=1 
  end
end

XStoryPlayer works on Android and iOS via browsers. To continue your game on your phone:

  • Serialization:
  • Compression: compress sections or entire container.
  • Encryption: encrypt payload sections; leave header unencrypted for metadata search.
  • For players who want to modify stats, unlock scenes, or skip grinding, you can manually edit XStoryPlayer save games.