Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 01/29/11 18:01

Lukas Kreator
Member
Registered: 05/07/10

Kojiro Editor 1.0 - Uploaded to the Depot!

- Kojiro Editor 1.0 -


Description

The aim of Kojiro (Editor) is to make the XML editing process easier, faster and more efficient. Kojiro's workflow is simple: load a XML or ONI file (wich is converted automatically to XML), travel through the nodes using the list on the left and the right-click menu (or buttons at the top), edit the desired nodes' names, values and attributes, optionally add and remove nodes, and save the file as a XML or ONI. When editing large files or comparing some files' nodes, it is also very useful.

Known Bugs and Issues

For now, the XML preview feature will not work on Macs (that thing on the right will not be displayed correctly). This issue is being worked on.
If you have any other problems, small or big, you should report them here so I can fix them and update the download links.

Future Plans

- "Node Patterns" system addition;
- Possible addition of scripting automation;
- Creation of a tutorial;
- Creation of an Example Mod, completely using Kojiro, and an Example Video (if you want to help me doing this one, PM me);
- Fix the preview issue;
- Have more ideas? Post them here.

Last Updates

- Mac version is working now!
- Changed the XML preview. It is a little worse, but cross-platform;
- Double-click support added.

Download Links

Windows (ZIP): Download
Universal Mac OSX (ZIP): Download


Thank you all for the support!

Last edited by Lukas Kreator (01/30/11 14:01)

Offline

#2 01/29/11 18:01

Dirk Gently
Member
From: Boston, MA
Registered: 06/12/09
Website

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Crashes on Mac, cannot get to anything neutral

Last edited by Dirk Gently (01/29/11 18:01)

Offline

#3 01/29/11 18:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Issue fixed, with the help of Dirk. Thanks.

Last edited by Lukas Kreator (01/29/11 20:01)

Offline

#4 01/29/11 18:01

Dirk Gently
Member
From: Boston, MA
Registered: 06/12/09
Website

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

The icon is making me want to make a high res one.

Offline

#5 01/29/11 18:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

As you like big_smile

Offline

#6 01/29/11 19:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

----------

Last edited by Lukas Kreator (01/29/11 20:01)

Offline

#7 01/29/11 20:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Sorry. I have to report, I still get the same error message.

Offline

#8 01/29/11 20:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks for testing, EdT.

Last edited by Lukas Kreator (01/29/11 20:01)

Offline

#9 01/29/11 20:01

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Just to clarify, the "Node Patterns" system would be the plugin interface that provides a custom GUI for each resource type (checkboxes, popup menus, etc.).


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#10 01/29/11 20:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks, Iritscen.

I FIXED THE ISSUE WITH THE MAC VERSION!

Last edited by Lukas Kreator (01/29/11 20:01)

Offline

#11 01/29/11 21:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Cool, it opens for me.  Keep up the good work

Offline

#12 01/29/11 21:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks! I will.

Offline

#13 01/30/11 01:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Please, please make double click default to "In" or "Edit", wherever applicible.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#14 01/30/11 01:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Here you go! Download updated.

Thanks for the idea! wink

Last edited by Lukas Kreator (01/30/11 01:01)

Offline

#15 01/30/11 01:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Even better: Instead of flipping between different screens, list the children of a node below the parent node, but with additional indentation. Let double clicking parents show\hide the child nodes.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#16 01/30/11 01:01

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

One thing that might be worth considering in the future is the option to wipe out some tags on the TRAM XMLs. When you import an animation, there's a bunch of tags that need to be deleted.    <Heights>, <Velocities>, <Rotations>, <PositionOffset> and <Positions> and to add the tags

<DaeImport>
            <Path></Path>
            <Start></Start>
            <End></End>
</DaeImport>

Right before <Lookup> tags.

You can see what I mean here

Or PM me if I'm not making sense tongue

Last edited by Mukade (01/30/11 01:01)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#17 01/30/11 01:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Gumby, unfortunately I find that too much complicated in RB. It was far simpler in Visual Studio (when I could use it >.<). The most complicated part is handling 'nested' rows, as I don't see any easy way to find a node's parent in RB.

Anyway, maybe you want to consider this takes less space.

Mukade, that is a good idea... Maybe I include that in the upcoming "Patterns" system... But you could just delete that nodes hmm (right-click)

Last edited by Lukas Kreator (01/30/11 01:01)

Offline

#18 01/30/11 01:01

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

I suppose, But it might be nice to just have one option that just puts the XML into "Animation Import" mode smile

Anyways, not a huge priority, actually rather small, but as I said, something to consider


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#19 01/30/11 01:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

I'll consider that, but I'll discuss the idea with some people and it could get included.

Also, would anyone know wheter colors in ONI appear as "A R G B" or "R G B A"?

Offline

#20 01/30/11 01:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Lukas Kreator wrote:

Gumby, unfortunately I find that too much complicated in RB. It was far simpler in Visual Studio (when I could use it >.<). The most complicated part is handling 'nested' rows, as I don't see any easy way to find a node's parent in RB.

What do you mean? You start out with the parents, you find the children then add them. You don't need to find the parents, you already have them.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#21 01/30/11 10:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Not that simple. If you look at the hierarchy example of RB, you will see that I'd have to make the rows appear and disappear myself, and in RB, all rows are rows, you can't know parents, sadly. What I mean is how will I change values and rename nodes in XML, based on text from the list? But well, even if it worked (that was my original idea), it wouldn't have columns, and you wouldn't be able to see values.

Last edited by Lukas Kreator (01/30/11 11:01)

Offline

#22 01/30/11 12:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Store the nodes in your program separately from the row list. Then when a user wants to expand a node, rebuild the list for the GUI.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#23 01/30/11 12:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

That is the problem. Wich row is associated with wich node? Also, there is the columns problem.

Offline

#24 01/30/11 22:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

You store the row number associated with the node in a structure including the number and the node. >_> BASIC does have some form of structures, doesn't it?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#25 01/31/11 12:01

Lukas Kreator
Member
Registered: 05/07/10

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

That is too much work when this list is already working. It shows values, names and can enter and exit nodes. There is not much advantage in changing everything. Too much work for too little difference.

Offline

Board footer

Powered by FluxBB