Oni Central Forum

A Community-driven Forum discussing Bungie's Oni

You are not logged in.

#1 29/1/11 18:14

Lukas Kreator
Member

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 (30/1/11 14:28)

Offline

#2 29/1/11 18:18

Dirk Gently
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Crashes on Mac, cannot get to anything neutral

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

Offline

#3 29/1/11 18:33

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Issue fixed, with the help of Dirk. Thanks.

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

Offline

#4 29/1/11 18:43

Dirk Gently
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

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

Offline

#5 29/1/11 18:55

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

As you like big_smile

Offline

#6 29/1/11 19:47

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

----------

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

Offline

#7 29/1/11 20:12

EdT
Moderator

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

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

Offline

#8 29/1/11 20:15

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks for testing, EdT.

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

Offline

#9 29/1/11 20:15

Iritscen
Moderator

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.).


byproducts are fine, but where's the beef?

Offline

#10 29/1/11 20:16

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks, Iritscen.

I FIXED THE ISSUE WITH THE MAC VERSION!

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

Offline

#11 29/1/11 21:31

EdT
Moderator

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

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

Offline

#12 29/1/11 21:49

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Thanks! I will.

Offline

#13 30/1/11 1:03

Gumby
Member

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 30/1/11 1:05

Lukas Kreator
Member

Re: Kojiro Editor 1.0 - Uploaded to the Depot!

Here you go! Download updated.

Thanks for the idea! wink

Last edited by Lukas Kreator (30/1/11 1:16)

Offline

#15 30/1/11 1:06

Gumby
Member

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 30/1/11 1:08

Mukade
Member

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 (30/1/11 1:09)


"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 30/1/11 1:19

Lukas Kreator
Member

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 (30/1/11 1:31)

Offline

#18 30/1/11 1:33

Mukade
Member

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 30/1/11 1:41

Lukas Kreator
Member

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 30/1/11 1:45

Gumby
Member

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 30/1/11 10:29

Lukas Kreator
Member

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 (30/1/11 11:41)

Offline

#22 30/1/11 12:22

Gumby
Member

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 30/1/11 12:23

Lukas Kreator
Member

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 30/1/11 22:29

Gumby
Member

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 31/1/11 12:48

Lukas Kreator
Member

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