设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker XP 讨论区 › Event Exportexter for RPGXP (rv20220318)-1.jpg

Event Exportexter for RPGXP (rv20220318)-1.jpg

 

Event Exportexter for RPGXP (rv20220318):
Event Exportexter for RPGXP
(rv20220318)


by KotatsuAkira / AkiraKotatsuhime​



Introduction
I was in need of a litte practice in Ruby again and somebody else was in need of a feature to export events into a textfile, so I gave it a try. This script, when executed, exports all events on all of your maps, all CEs in the database and all troop-pages into one single TXT file in an easily readable format.

I mostly tested this little developer tool with the samplegame KNight-Blade, the mass of the result, which is saved to "EventExport.txt" in the game's folder, is around 2MB, so better expect a very big file to pop up. Warning: Opening it with Windows' default Notepad may take some (long) time.


Features
On what this script does, see the introduction above, that described feature is the only purpose it has. The text-format of eventcode-lines MOSTLY resemble how they look in the english RPGXP itself, but there are some cases where I altered or extended how information about a command is written down. And since "@>" is ugly, "<>" is being used as prefix instead.


Screenshots
There isn't much to show off, but here you go, that's how it looks while processing data. The black background is transparent, so you'll see other stuff behind it if running midgame.

Spoiler







How to Use
USE AT YOUR OWN RISK. Put the script anywhere above "Main", I'd suggest it to be placed directly above. To execute, you need to put the following line of code somewhere (e.g. into "Main" or as script-call in an event).

                Ruby:        

Afterwards, it will ask you to confirm start of data-processing by pressing game-buttons L+R. You can also cancel here by pressing B instead. It will start to lookup all maps, then the common-events and at last the troop-pages, progress being displayed in three green bars at game-screen's bottom meanwhile (see screenshot above).


FAQ
Q: Who should I credit?
A: Me, of course. But actually, it'd be nice if you remove the script from your project before distribution. You can always keep backups and redistribute this code for free standalone as long as the enclosed copyright notice stays the way it is.
Q: Is this compatible with (insert script here)?
A: I don't know. But as long as your game is made with RPGXP, uses the default data-structures (database and map-files) and there is no other module named "Event_Exportexter" in it, it should be fine.
Q: Will there be a version for (insert RPG Maker here)?
A: You better don't expect that to happen.
Q: Why are there "Unknown Command" entries in my textfile?
A: That's interesting. If your event-data is not manipulated or corrupted, please show me where they occur.
Q: An error occured while processing a command, why?
A: Ouh, I may have overseen some mistakes in the syntax or something. Please tell me which commands are affected.
Q: My computer exploded!
A: That's not even a question. And did I already mention you are using this at your own risk?


Demo
There'd be no sense in making a demonstration project for this if you ask me.


Script
                Ruby:        



本贴来自国际rpgmaker官方论坛作者:AkiraKotatsuhime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/event-exportexter-for-rpgxp-rv20220318.144987/
Event Exportexter for RPGXP (rv20220318)-1.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-3 10:56 , Processed in 0.071152 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部