Copy/Paste and Events

● ARCHIVED · READ-ONLY
Started by CodeHunterEx 9 posts View original ↗
  1. 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.
  2. 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.
  3. 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.
  4. 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
  5. 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.
  6. @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.
  7. Andar said:
    @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.
  8. CodeHunterEx said:
    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.
  9. 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?