Clipboard interoperability with RPG Maker Editor
For everything makes no sense imo (lots of work) but for Script copy-paste there could be use-cases. Also makes japanese tools and Cherrys Evt Tools usable.
Need to figure out the format first, shouldn't be too difficult with a clipboard viewer.
Bonus points when copy-paste from/to editor in Wine works.
Maybe @CherryDT knows if there is a public doc on this somewhere. Only for event commands.
Format is very simple. Ten years ago I made a list of clipboard format IDs, and the format is basically the same as in the files, plus a header with a length info.
Example:

Clipboard chunk description probably belongs in liblcf.
Ah for event commands, sorry, overlooked that.
The format is even simpler there.

~~However I realize now that the format is not exactly the same as in the files - the event commands have chunk IDs in the LMU/LDB, don't they? I'm a bit confused now because I was pretty sure it uses the same function to read from/write to stream, but in the clipboard the event commands are without chunk IDs (other things like the event data above is with IDs)~~ Seems like event commands never had chunk IDs, neither in LMU/LDB, so never mind.
For the event commands, it's just the following data for each event line, one after another, just like in LMU/LDB:
- Command ID (BER)
- Tree depth (BER)
- String parameter (BER length + String data)
- Amount of int parameters (BER)
- Int parameters (BERs)
Wut? Same as LCF-chunks? Oh, in that case we could support more xD.
Oh and thanks for this InsideClipboard tool, I already searched for a clipboard reader and couldn't find one ^^
i didn't even know you could copypaste event commands on RM xD
Yes I checked in RE tools and RPG Maker editor just sends and receives the binary event stream.
RPG editor has 3 separate sets of functions: battle, common, and map. These are probably just member functions of the 3 widgets, but haven't dug too deeply.
For receiving, RPG editor receives the whole event stream, then checks and removes any event command id codes which are incompatible. So this is what prevents you from copy pasting battle event code into map events etc..