设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 66|回复: 0

[转载发布] Text Extractor - extract all text in your game into a single readable file

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Introduction
    Spellchecking text in your game is a bit of a pain, isn't it? There's no simple way to just find every typo in the whole project, or at least to look at all the text at once... or at least there wasn't until now


    This plugin will take the contents of every message in your project and put it all into a single file, organised by maps and events. You'll then by able to read through it in a text editor of your choice and easily spot any typos. Or even paste it into ChatGPT to help spot mistakes which are valid words that are used wrong.

    How to use it
    Download the attached file, add it as a plugin, run the game, open devtools (F12), select the console tab, type
    1. runExtractor()
    复制代码
    and press Enter. This will create an
    1. extractedText.txt
    复制代码
    file in your project's folder. What you do with that file is completely up to you. Optionally, you can change a plugin parameter to instead create a folder called
    1. extractedText
    复制代码
    , with separate files for each map.

    Optionally you can add a
    1. <NoExtraction>
    复制代码
    notetag to events or maps - those will be skipped in extraction.

    If you're trying to find typos, I'd recommend adding "EV" to your personal dictionary, so that event names don't register as one. Same with "Event", "Common", "Map", "Choice" and "Troop" if your game's language isn't English.

    When it comes to fixing any mistakes you find, there are two ways. You can use the editor, open the map where the mistake is from, and then use Ctrl+F to search for the event's name.
    Alternatively, open the corresponding map json file (in the data folder in your project), search for the mistake, and correct it there. Just make sure you have those files backed up first.

    If you're using an LLM to spot further mistakes, I recommend only pasting small fragments of the file at a time, e.g. a single map, or even a part of a map if it's particularly large. It tends to work reasonably well.

    Terms
    This plugin is available under the MIT Licence. You're free to use it in any games, commercial or not, or use the code in your own plugins. Credit is appreciated if you find it useful, but not required.


    本贴来自国际rpgmaker官方论坛作者:Mac15001900处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/text-extractor-extract-all-text-in-your-game-into-a-single-readable-file.164708/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 01:30 , Processed in 0.113421 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表