Save-Point
Text Extraction Generator - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Text Extraction Generator (/thread-5293.html)



Text Extraction Generator - DerVVulfman - 10-05-2014

Text Extraction Generator

Version: 1.1





Introduction
This script is designed to search throughout your RPGMaker XP's project to to find and record all normally created text dialog to a file. it will search through both the common event database and through each map and map event, recording all texts to a file. The output file created will be entitled "Text Extractor.txt" within your project's folder.

Each line will include the Common Event ID or Map/Event/Page number before listing the text. With this, the report may be able to help proof-readers before a project is released.




Script

The Script






Instructions

Too simple. Install it under your scripts and run the game. It does the search for you and makes a report in your project's folder.





Credits

Inspiration for the system, and suggestion to include both common events and show choices text by yamina-chan. And to Kain_Nobel for pointing out a brief lack of battlesystem text that needed to be added.





Compatibility
Designed for use with RPGMaker XP and currently with the Beta version of the ReGaL gaming system in the works.


RE: Text Extraction Generator - Yin - 10-05-2014

ReGaL Beta? I was not informed of such a thing! Nice to know it's still in production.


RE: Text Extraction Generator - DerVVulfman - 10-08-2014

BUMP
to version 1.1

Thanks to Kain_Nobel for testing its capabilities, a new facet has been added that will go through all TROOPS databases for dialog. This was an oversight, which has been corrected.


RE: Text Extraction Generator - yamina-chan - 10-11-2014

Okay, I found something =b
[Image: Screenshot_2014_10_11_18_12_18.png]

Happened when I tried to use this after allready having generated a .txt once. After I deleted the textfile it worked fine again.


RE: Text Extraction Generator - DerVVulfman - 10-12-2014

That is extremely strange since I do the same thing. I even tried changing permissions to read-only and the like, and I don't get that error. That is odd.


RE: Text Extraction Generator - Narzew - 10-13-2014

Errno::EACCES is error that Ruby throws when can't write or open a file. And this is Exception.
I think that wrong file open-modes can cause this.