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

[制作教程] RPG Maker MV Dump all your events messages into a txt file.

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    慵懒
    3 天前
  • 签到天数: 207 天

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 昨天 16:11 | 显示全部楼层 |阅读模式
    I'm looking for a long time how to dump all messages in events into a separate text file.
    For voice dubing or english proofing etc, or easily visualize all texts outside the engine.

    For some reason this plugin exist for ACE but not for MV
    So I searched a way to do it and it was a successful attempt!

    You must know that all your messages events are stored in your maps.json data but it is a mess.
    First you will have to cleanup this mess with a formatter, if you do not do that, the following will not work!

    I personally use this one :

    Free Online JSON Formatter - FreeFormatter.com

    This free online JSON formatter lets you chose your indentation level and creates a collapsible/expandable tree with structure highlights in colors

                                            www.freeformatter.com                               




    But any other of your choice will work too.

    So instead of having one big line for each events, everything will be clean.

    First step :
    Make a COPY of all your map001.json  to Map999.json to an other folder. And work on the copy, not directly on the files inside your project! (I'm not responsible if you destroy anything)

    Then format each one of your mapxxx.json with the website I provided earlier. (Copy paste in the window or upload file)
    Then click the blue button : Format JSON in an other window

    Then on the new window you have the option "save", save it, it will download the file.
    After that you will be able to open the json with  OpenOffice calc (or excel, it probably works with excel but didn't tried).
    Without the formatting, it would open with openofficecalc or excel but put everything in the same cell (that's not what we want).

    If you are using text codes for each messages like me to show the actor name with YEP core like this :
    \n<\N[2]>
    Then when you open with openoffice do this :
    Separated by : Tick Others (specify) and the specify character should be this     ]

    If you are not using this kind of messages with Yep core, then specify this      :

    Then your file will open and for me, I will select the third(3) colum of the sheet and clic on "SORT" (from A to Z)
    So all the text messages will appear (they will not appear by order but they will be alphabetically sorted).

    Rate my crop please :




    Now, you just have use the function "Find and replace" and search for the characters >  and " and there you go
    After that you just have to copy the result in a txt file, and you have all the dialogues of your map.

    It is long to do the first time, but after it takes less than 30 seconds for each maps.

    I hope it helped at least 1 person!


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-10 02:18 , Processed in 0.128345 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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