RPTools.net

Discussion and Support

Skip to content

It is currently Sat May 27, 2017 12:28 pm 






Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Thu Jan 28, 2016 9:17 pm
Posts: 14
 Post subject: Design Documentation - Campaign File
PostPosted: Sun Feb 07, 2016 8:27 pm 
I don't suppose there is such a thing as a document describing the current (1.3.91) campaign file structure?

Specifically I am looking to write a tool to export and input macro code from within a given Campaign file. The idea is that this would then allow me to easily edit my Macros using a preferred Text editor instead of the built in editor. I realize this isn't something you'd probably be willing to support as part of your project, but honestly, I'm just looking to do this for personal use. Of course I'd be more than willing to share with anyone who wanted it.

Having such a document would make life so much easier. I really have no desire to try and reverse engineer the file structure, that is just horribly tedious and error prone.

I've already taken a quick look at the SVN repository, but can't find anything obvious.

Thanks in advance.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1159
Location: Bristol, UK
 Post subject: Re: Design Documentation - Campaign File
PostPosted: Mon Feb 08, 2016 4:17 am 
You might want to take a look at RPEdit


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Mon May 31, 2010 6:03 am
Posts: 515
Location: Blagnac, France
 Post subject: Re: Design Documentation - Campaign File
PostPosted: Mon Feb 08, 2016 4:21 am 
aliasmask already created a tool for macro editing: RPedit - Macro Importer/Exporter and Editor

Otherwise, you can take a look at Mote.

Edit: ninjad :wink:


Top
 Profile  
 
 Offline
Kobold
 
Joined: Thu Jan 28, 2016 9:17 pm
Posts: 14
 Post subject: Re: Design Documentation - Campaign File
PostPosted: Sun Feb 14, 2016 9:11 pm 
Yeah, I've already taken a look at RPEdit.

What I'd like to see would be more along the lines of:
1) Export the macro code to a file.
2) Modify the code in Notepad++ (or editor of choice).
3) Import macro code back into Campaign (with a "Button" click, not cut and paste.
Repeat 2 and 3 as required.

While it will do what I want in theory, I was looking more for something a little less clunky. Don't get me wrong RPEdit is great and the more I play around with the Macro's I don't think what I want could be done with the existing system. It would probably require the Devs to add a feature to export and import file contents with in a Macro (or make it part of the Macro system itself). I'm pretty sure that isn't high on their list. So I'll have to live with things as they are.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7705
Location: Bay Area
 Post subject: Re: Design Documentation - Campaign File
PostPosted: Mon Feb 15, 2016 12:58 am 
Yep, it's cut and paste, but you can use ctrl-shift-C and it will copy the current macro in Notepad++ where the cursor is.

_________________
Downloads:


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman