CON Editor [Basic] by Drakia

Tools for osRose and osiRose will be placed in here, as well as Rose file formats.

Please PM rl2171 or lmame to get them added to the list.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

How could you rate this program?

Very Good
2
50%
Good
2
50%
Buggy
0
No votes
Impossible to use
0
No votes
 
Total votes : 4

CON Editor [Basic] by Drakia

Postby Drakia on Thu Jun 26, 2008 10:59 pm

[Update 1]
I just added [Unknown 2] to the list of commands (Command 4). Build and source updated

[Update 2]
I'm going to change the dropdown to have the correct command names (Just replacing the Unknowns). Also posted info on what each command does. I have tested this ingame and it works flawlessly. Will edit when I get the new version uploaded. Also, this first post will be edited a lot with any updates, including updates on the format, or info on how to use the tool. :)
Ok, this version is uploaded, also uploaded the RoseCommon folder in the source that I forgot before.

[Update 3]
Added the ability to remove entries. Also made it dynamically calc the size of everything when saving, just so there's no chance of some change getting missed while editing.


This is a basic CON editor I made over the past few weeks. It doesn't do all the fancy decompiling like the other ones out there being made, but it will allow you to:
Edit dialog entries
Create new dialogs
Create new entries
Create completely new CON files
Export/Import compiled LUA code

Yup, just your basic CON editor ;) It comes with a 10mb WxWidgets DLL, because that's what I coded it with, lol. Also, there's no checks when opening a CON to make sure it's a CON, so if you open a non-CON, it WILL crash, by eating all your memories, until you end-task it :)

If you want to compile the source, you'll need wxwidgets compiled as monolothic, with Unicode support. The CON file backend is completely seperate from the GUI, you can use it without needing WxWidgets. Same with the binary file handler (buffered).

At some point I'll write a tutorial for using it to create new dialog for an NPC (Probably make a teleporter or some such)

Some information for CON files
Commands
-----------------------------
0 - Close Dialog - Will close the NPC dialog
1/2 - Load As Menu - Will load the Target Dialog as the menu items, with LTB Row as the NPCs text. This will happen instantly.
3/4 - Load As NPC Text - Will add an item to the list of clickable options, using text LTB Row, calls Target Dialog on click.
Though, if you have a Load As Menu, which links to a dialog with another Load As Menu, the second one will overwrite the first


I've done tests and output file is 100% binary exact to input file if you hand-craft one of the existing CON's (Other than the initial StrID, which is set to 3320 in any new file, and isn't editable.)

If you run into any errors, please post them :D
Attachments
ConEditor.rar
The exe, most people will want this. It comes with a LUA decompiler that works with ROSE's LUC files.
(2.52 MiB) Downloaded 2837 times
ConEditorSrc.rar
The source, requires WxWidgets (Monolothic;Unicode) to compile. Uses WxFormBuilder for editing form.
(14.09 KiB) Downloaded 1136 times
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: CON Editor [Basic] by Drakia

Postby Rescudo on Thu Jun 26, 2008 11:04 pm

Nice work, I knew I shouldn't have taken so long to make mine xD Seems to work fine as a basic editor.
SEARCH - it's there for a reason!
User avatar
Rescudo
El Verloon Marshall
El Verloon Marshall
 
Posts: 872
Joined: Tue Mar 11, 2008 7:20 am

Re: CON Editor [Basic] by Drakia

Postby Drakia on Thu Jun 26, 2008 11:57 pm

Lol, yeah, sorry for encroaching on your territory :) I was just bored, and when I started working on it I didn't see that there were any other CON editors in the works (I missed your topic in Client Editing Questions :P).
It is pretty decent for just a basic editor, no fancy stuff, fast loading times, etc.
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: CON Editor [Basic] by Drakia

Postby lmame on Fri Jun 27, 2008 12:03 am

Anyway there's room for several con editors :D
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: CON Editor [Basic] by Drakia

Postby Rescudo on Fri Jun 27, 2008 12:08 am

I've been going crazy the last hour because I can't find a design I'm happy with, but I think I've embarked on something intuitive that I can live with :) Thanks for confirming my suspicions about the Command data, by the way - I have no idea what Command 1 does either. :?
SEARCH - it's there for a reason!
User avatar
Rescudo
El Verloon Marshall
El Verloon Marshall
 
Posts: 872
Joined: Tue Mar 11, 2008 7:20 am

Re: CON Editor [Basic] by Drakia

Postby Drakia on Fri Jun 27, 2008 12:10 am

Hehe, yeah, it took a lot of looking through CON's before I could nail exactly what each of those was doing, but I didn't see anything with a command 1 o.O
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: CON Editor [Basic] by Drakia

Postby Rescudo on Fri Jun 27, 2008 12:17 am

Me neither - I should modify my script to see if it is used anywhere. :)
SEARCH - it's there for a reason!
User avatar
Rescudo
El Verloon Marshall
El Verloon Marshall
 
Posts: 872
Joined: Tue Mar 11, 2008 7:20 am

Re: CON Editor [Basic] by Drakia

Postby Drakia on Fri Jun 27, 2008 12:44 am

I just ran a script against all the CON files, and none use 1 for a command o.O
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: CON Editor [Basic] by Drakia

Postby Sethanye on Fri Jun 27, 2008 1:03 am

nice work drakia
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~

Re: CON Editor [Basic] by Drakia

Postby soccerstar on Fri Jun 27, 2008 1:27 am

nice work
Search, Just Do It.
User avatar
soccerstar
Clown
Clown
 
Posts: 501
Joined: Tue Jun 17, 2008 12:46 am

Next

Return to Tools and File Format

Who is online

Users browsing this forum: No registered users and 5 guests

cron