Adventure + Scenario Exporter

Export any adventure or scenario to a local file.

作者
magicoflolis
日安装量
0
总安装量
3
评分
0 0 0
版本
1.1.1
创建于
2025-02-28
更新于
2025-04-15
大小
41.8 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