Adventure + Scenario Exporter

Export any adventure or scenario to a local file.

作者
magicoflolis
今日安裝
0
安裝總數
3
評價
0 0 0
版本
1.1.2
建立日期
2025-02-28
更新日期
2025-04-22
尺寸
44.9 KB
相容性
相容於 Firefox 相容於 Chrome 相容於 Opera 相容於 Safari 相容於 Edge
授權條款
MIT
腳本執行於

Adventure + Scenario Exporter

Export any adventure or scenario to a local file, it uses GraphQL to retrieve this information.

Download

UserScript:

(Not Recommended) Bookmarklet:

Save this URL as a bookmark, clicking it will cause the script to inject itself into the current webpage.

javascript:(function(){['https://cdn.jsdelivr.net/gh/magicoflolis/userscriptrepo@master/userscripts/AIDungeon/dist/main-userjs.user.js'].map(s=>document.body.appendChild(document.createElement('script')).src=s)})();

Features

scenario refers to both adventures and scenarios

  • scenario file formats:
    • JSON - raw json response, everything is written to the file
    • TXT - formatted text file, NOT everything is written to the file
    • MD - formatted markdown file, NOT everything is written to the file
  • UserScript Commands via GM_registerMenuCommand:
    • Export Instructions (JSON) - raw json response for AI models / Story Generators
    • Export Text Instructions (TXT) - formatted AI Instructions (text based) for AI models / Story Generators
    • Export in * - shortcut for "EXPORT scenario (file)"
  • Additional notes:
    • Adventure "ACTIONS" (do, say, etc.) are limited to 10,000

Previews

TODO

  • Add "Multiple Choice" support to scenarios, currently will only export top-level scenarios
  • Add "Scripting" support to scenario, will be implimented in next release

Source Code