Copy/Paste and Events

CodeHunterEx

Hunter of the Perfect Code
Veteran
Joined
Nov 26, 2016
Messages
133
Reaction score
64
First Language
English
Primarily Uses
RMVXA
I noticed in VX Ace you can't copy/paste event data between the RPG Maker and an external editor, but going between different running RPG Makers does work.

Is there a way to create event data outside of the Maker and then import it into the editor.

I would like to create the events outside the editor and import them which would save ALOT of time and work manually creating events and copying/pasting text into it.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
not really - theoretically you could write a program to parse external text files and then write map files based on that, but that would be a lot of work until such a script stands. That is because the events are stored in a coded form and not in clear text, and without the coded display of the editor you wouldn't even be able to read the stored event data.

let's try a different approach:
Tell us why you would want to do this and what advantage you would have from that, and we might be able to show you how to improve working with the editor.

There are several ways and alternatives but none is a general solution, they all depend on what exactly you want to do.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
I can definitely see the reasoningbehind it, it's much easier to make your game if you can write it (and copy & pasting becomes a lot easier). It's why I requested such a plugin for RPG Maker MV. I basically wrote event commands in a text file, which was then read by the plugin and converted to actual event commands.

However, I'm unsure about Ace. You can try requesting such a script though. I was creating them in a YAML file.
 

Zeriab

Huggins!
Veteran
Joined
Mar 20, 2012
Messages
1,268
Reaction score
1,422
First Language
English
Primarily Uses
RMXP
You'd need the external editor to support RPG Maker Ace's clipboard data format.
I'd recommend perusing chaos-project and see if one of the editor projects there supports ít
 

CodeHunterEx

Hunter of the Perfect Code
Veteran
Joined
Nov 26, 2016
Messages
133
Reaction score
64
First Language
English
Primarily Uses
RMVXA
The thought behind the whole idea was because I was trying to use a script to load and display text files, but it just isn't working out too well. Even when I try to shrink down the text, it still seems to not work as I would like. I was hoping to be able to create something that would create all the necessary events (66 of them in all) as well as add all the text for each one into files that I can import into VX Ace. This would save ALOT of time than having to create all the scripts and pasting in all the text little by little.

I am also trying to learn Ruby/Ruby Scripting to see if I could create my own script, but that is going a bit slow.

If the clipboard data format was available for use I might be able to create something that would take normal text and translate it, but I am sure it is proprietary and not for public use.

Thank you all for your responses.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
@CodeHunterEx
if it is just to load texts and not to have full code run, I suggest you search for the script called "SES External Text".
Even if you don't use it it might give you enough info to get where you want.

Otherwise your best option is to check tsukihime's blog and her script for creating events by script command. Almost no one uses it because it's usually easier to make the events in the editor and copy them, but if you're a programmer you might be able to use that code to create the events by processing external codes.
 

CodeHunterEx

Hunter of the Perfect Code
Veteran
Joined
Nov 26, 2016
Messages
133
Reaction score
64
First Language
English
Primarily Uses
RMVXA
@CodeHunterEx
if it is just to load texts and not to have full code run, I suggest you search for the script called "SES External Text".
Even if you don't use it it might give you enough info to get where you want.
Thank you Andar. This looks promising although I don't see anywhere a mention on how to actually choose the file you want to read. Is it a single file that is loaded or can you have several files and choose a separate file depending on the data you wish to extract and display?

If it is a single file, that could get quite large (say 4MB or more) and that could get messy in ram.

Update: Reading some posts it does seem to be a single 'Text.txt' file.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Update: Reading some posts it does seem to be a single 'Text.txt' file.
originally it was a single text file, but that was changed when the multilanguaage add-on was written for it, after that the configuration is handled differently. so older posts in the topic reflect the old version and later posts how the new version works. And that script has been updated several times, adding more features with each version.
 

CodeHunterEx

Hunter of the Perfect Code
Veteran
Joined
Nov 26, 2016
Messages
133
Reaction score
64
First Language
English
Primarily Uses
RMVXA
I am still a bit confused about using multiple files, but I am studying the code.

Can you give an example how I would choose a specific file?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top