Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 06/09/11 21:06

Lukas Kreator
Member
Registered: 05/07/10

XMLEquality - Open Beta

XMLEquality (working name)

XMLEquality - Multiple File Comparison Tool

Goal
Compare multiple XML files simultaneously, by section. This will not edit XML, I believe.

New Features
- The program is basically made of two lists.
- You can load multiple files at the same time.
- The program removes the FourCC and extension of files (suggestion, as always, of Iritscen wink)

How To
Use the "Add Files" button to add files to compare. The sections and tags are always based on the first file you add. You can add multiple files at a time.

Known Issues and Future Improvements
- Idented tags cannot be edited, at least for now. This is intentional.
- I must improve the way the program checks if the files are valid and similar.
- If there is an unknown tag between the tags in a file (unknown concerning the tags in the pattern file), it will mess up all tags below it. I haven't experienced this yet (althrough I know it can happen), specially because the "property" tags are usually on top of the files anyway...

Credits
Code - Lukas Kreator
Idea - Iritscen
Inspiration - Oni Central Forum

Download

Windows: http://www.cl.ly/1j243R262s1g3s042D2N
Mac OS: http://www.cl.ly/3y474246041B0W1q101a

Last edited by Lukas Kreator (06/14/11 18:06)

Offline

#2 06/09/11 21:06

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: XMLEquality - Open Beta

So he got it to work then? :S


Oni IRC | Kumite! Kumite! Kumite!

Offline

#3 06/09/11 22:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

"He"? Who? I think you mean I took a lot of time to start making this. In that case, yes, I did... Sorry for this.

Offline

#4 06/10/11 02:06

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: XMLEquality - Open Beta

By he I meant you


Oni IRC | Kumite! Kumite! Kumite!

Offline

#5 06/10/11 06:06

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

Re: XMLEquality - Open Beta

Looks like a good start!  There's one difference between how that works, and what I was describing in the other thread -- take a look at my mock-up again:
Editor%20complex%20mass%20comparison.jpeg
Notice that at all times, you are viewing all files in the list (I stopped at three files, but perhaps the whole window would be filled in a realistic example).  So what the program needs to let us do is always show *some* data in *all* of the files, rather than looking at *some* data in *one* file at a time.  Does that make sense?  The idea is to form a table so that we can scan with our eyes up and down it to see how all the files' common properties compare, perhaps even scrolling up and down when there are a lot of files in the set.


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

Offline

#6 06/10/11 08:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

I have problems with that kind of list, but I just had an idea...

Offline

#7 06/10/11 09:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Updated the first post.

Last edited by Lukas Kreator (06/10/11 12:06)

Offline

#8 06/10/11 11:06

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

Re: XMLEquality - Open Beta

That looks great!

Offline

#9 06/10/11 15:06

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

Re: XMLEquality - Open Beta

Yes, this could be just what we need, this is exciting, Lukas.  I have to ask, does the upper-left pane serve any purpose?  All files are already listed in the main pane.

By the way, one way to save a little horizontal space in the main pane is to remove the ".xml" and even the "ONWC" from the file names.  I didn't do that in my sample diagram with the ONCC files, but notice how in the upper-left corner I put a "ONCC".  That can tell the user what type of file he is viewing, without needing to repeat the four-cc anywhere else in the window.


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

Offline

#10 06/10/11 17:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

@EdT -> Thanks a lot!

@Iritscen -> The upper-left pane is just a way to manage the files you add, but I see now it is unnecessary. And yes, I'll remove the extensions and probabilly also that prefixes... Anyway, you can resize the columns and reorder them. You can even hide a column by sizing it too little.
At this point, the program is, basically, two lists. And thanks for the suggestions.

Last edited by Lukas Kreator (06/10/11 17:06)

Offline

#11 06/10/11 18:06

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

Re: XMLEquality - Open Beta

Lukas Kreator wrote:

Anyway, you can resize the columns and reorder them. You can even hide a column by sizing it too little.
At this point, the program is, basically, two lists.

And that's all we really need, a fast way to get a table of file data onscreen.  Although it could certainly be helpful to have editing ability added, at some point wink


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

Offline

#12 06/10/11 22:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Yeah, possibly, but first I'll have to fix stuff, release the prototype, and then play with editable cells a bit.

After fixing possible problems and testing it some more, I'll release it. Probabily, this week.

Last edited by Lukas Kreator (06/10/11 22:06)

Offline

#13 06/10/11 22:06

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: XMLEquality - Open Beta

Can I name it again? :V


Oni IRC | Kumite! Kumite! Kumite!

Offline

#14 06/10/11 22:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

LOL, feel free to suggest names, I forgot to talk about that...

Offline

#15 06/10/11 23:06

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: XMLEquality - Open Beta

Kojiro sounds a little lame now...
Something with Datapad would be nice. Syndicate Pad for example


Oni IRC | Kumite! Kumite! Kumite!

Offline

#16 06/10/11 23:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Oxe and I chatted and are thinking on Synd Pad...

Offline

#17 06/11/11 07:06

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

Re: XMLEquality - Open Beta

Hmm, "Synd Pad" doesn't really roll off the tongue.  Something with some version of "Datapad" would make sense, though.


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

Offline

#18 06/11/11 08:06

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: XMLEquality - Open Beta

Wait, didn't we already decide the name in another thread? yikes

Offline

#19 06/11/11 11:06

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: XMLEquality - Open Beta

3 of our avatars have guns btw

Well idk Kojiro seems old now sad


Oni IRC | Kumite! Kumite! Kumite!

Offline

#20 06/11/11 12:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Hey, calm down, we decided the name of Kojiro in another thread, this one is a completely different project. Choosing a name is not even a very high priority now, we have time.

You can suggest names here, but I'll not change the project's name so soon, because I must work on other things first.

Offline

#21 06/13/11 12:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Released!

Last edited by Lukas Kreator (06/13/11 13:06)

Offline

#22 06/13/11 20:06

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

Re: XMLEquality - Open Beta

hmmm... which files are you supposed to select to view in the program? I tried ONWC, ONCC in the XML format and nothing appeared.
Mac OSX 10.6.7

Offline

#23 06/13/11 20:06

Lukas Kreator
Member
Registered: 05/07/10

Re: XMLEquality - Open Beta

Any .XML file should work... You have to open them and them select a section from these wich will appear on the left. Try selecting more than a file from the dialog, at the same time, to see what happens. In any case, I have not yet tested it under Mac OS, but it should work normally. If it still doesn't work, you might have to provide me the XMLs so I can have a look at them, because Mac could maybe change the format of XML files or something like it.

Also, remember it is a beta, so issues were, more or less, expected...

Last edited by Lukas Kreator (06/13/11 20:06)

Offline

#24 06/13/11 21:06

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

Re: XMLEquality - Open Beta

Selecting one .xml file or multiple, makes no difference.  No information appears in either of the windows.
Here are my files: http://edt.oni2.net/files/ONWCxml.zip

Oddly, I can select the ONWCw6_vdg.xml file, but the ONWCw1_tap.xml is greyed out.

Offline

#25 06/13/11 21:06

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

Re: XMLEquality - Open Beta

Here's what I'm seeing.  Can't select any XML files to open them.

XML%20Equality.jpg


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

Offline

Board footer

Powered by FluxBB