[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