ChoiceScript Save Manager

Adds a full save/load system to ChoiceScript games with multiple slots, quick saves, compression and import/export.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
cxcp
Dziennych instalacji
0
Wszystkich instalacji
2
Oceny
0 0 0
Wersja
1.0.0
Utworzono
24-02-2026
Zaktualizowano
24-02-2026
Rozmiar
30,2 KB
Licencja
MIT
Dotyczy

ChoiceScript Save Manager

Adds a multi-slot save/load system to ChoiceScript games with quick saves and portable backups.

ChoiceScript titles normally rely on autosave and do not provide manual save slots.
This userscript adds a minimal-overhead in-browser save manager that allows multiple named saves, quick save rotation, and export/import of save data.

Features

  • Multiple manual save slots
  • Quick save rotation
  • Rename and delete saves
  • Import / export save backups (JSON)
  • Per-game save isolation
  • Local browser storage (IndexedDB)
  • Optional compression using LZ-String (enabled by default)
  • Minimal-overhead UI overlay
  • Compatible with official and hosted ChoiceScript games

Installation

  1. Install a userscript manager:

    • Tampermonkey
    • Violentmonkey
    • Greasemonkey
  2. Install the script:

Usage

When a ChoiceScript game loads, a floating control panel appears.

Buttons:

  • Save: create a new named save
  • Quick Save: rotate through quick slots
  • Manager: open save manager UI

Manager allows:

  • load
  • rename
  • delete
  • export
  • import
  • search and sort

Data Storage

  • Saves are stored locally in your browser (IndexedDB)
  • No network requests or external services
  • Saves are isolated per game
  • Export produces portable JSON backups

Compatibility

Works with:

  • Choice of Games titles
  • Hosted ChoiceScript games
  • Self-hosted ChoiceScript builds

Optional matches (disabled by default):

// @match *://cogdemos.ink/play/*
// @match *://*.itch.zone/*

These platforms may already include their own save systems.

License

MIT License
Copyright (c) 2026 cxcp

Acknowledgments

Uses LZ-String by Pieroxy for optional compression:
https://github.com/pieroxy/lz-string

Inspired by earlier community save plugins:

ChoiceScriptSavePlugin (CJW / ChoiceScriptIDE)
https://github.com/ChoicescriptIDE/ChoiceScriptSavePlugin
https://forum.choiceofgames.com/t/choicescript-saving-plugin-update-sept-2019/983

ChoiceScriptSavePluginInjector (AbrahamAriel)
https://gist.githubusercontent.com/AbrahamAriel/7a8d7cea1d8cbcd82700d67a09942a47/
https://www.reddit.com/r/choiceofgames/comments/ovo3eh/choicescriptsaveplugininjector_add_save_system_to/

This project is an independent implementation using IndexedDB and modern userscript architecture.

Repository

Source and issues:
https://github.com/cxcp/choicescript-save-manager