ChoiceScript Save Manager

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

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
cxcp
1日のインストール数
0
累計インストール数
2
評価
0 0 0
バージョン
1.0.0
作成日
2026/02/24
更新日
2026/02/24
大きさ
30.2KB
ライセンス
MIT
対象サイト

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