Page 1 of 1

Equipment DB Viewer

Posted: Thu Jun 11, 2020 1:58 pm
by 76mm
I'm working on an equipment DB covering only the East Front, and to assist in that process I've created an "Equipment DB Viewer"...basically it shows the equipment DB data in a way that makes it easier to compare the values between various equipment items. I also plan to use it to compare information between two different equipment DBs (ie, open up two instances of the program).

It will also have rudimentary editing functions, but is not intended as a full-scale equipment DB editor.

Here is a screen shot:

Image

Currently it is not set up as a separate program, but if other people would find this helpful I suppose I could compile it into an .exe. Let me know if there is any interest.

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 5:50 pm
by 76mm
OK, great news! Despite the complete lack of demand, I've finished this and so decided to post it here anyway. If it doesn't work, let me know but hopefully it will. Again, you can make basic edits to the eqp file, but be very careful because there is no error-checking for bad input...

Note that this installs a shortcut to your start menu, so you'll need to start if from there unless you create a shortcut for your desktop.

I've attached a slightly revised version with some GUI tweaks, including allowing you to rearrange the columns if you want them to be in a particular order.

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 6:41 pm
by DD696
I wouldn't go so far to say that it is a complete lack of demand, but rather a slowness on the part of others (myself included), to recognize the missed post. You know, for a lawyer, you are a rather useful person!

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 6:47 pm
by 76mm
ORIGINAL: DD696
You know, for a lawyer, you are a rather useful person!
Hey, I resemble that remark! [8D]

I enjoy messing around with this stuff. Have been focusing on other stuff for awhile but might spend a few more weeks on this stuff before going back to other stuff.

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 6:48 pm
by rhinobones
When I downloaded your TOAW IV XML File Editor I didn’t have a clear idea of why or what I would do with it. Found out real quick that it’s an excellent tool that I’ve been using extensively. Now I’m looking forward to exploring the DB Editor.

Appreciate and thank you for your efforts.

Regards, RhinoBones

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 7:35 pm
by DD696
You are the 3rd lawyer I have ever met (online, anyway) that was more valuable than the gunpowder it would take to blow them to hell![:'(]

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 8:34 pm
by 76mm
ORIGINAL: DD696
You are the 3rd lawyer I have ever met (online, anyway) that was more valuable than the gunpowder it would take to blow them to hell![:'(]
Yes, we are incredibly useful and talented people, as well as humble. Just ask us, we'll tell you!

[;)]

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 8:36 pm
by 76mm
I forgot to mention one detail...I'm only interested in WWII, so I left two eqp factors out of this viewer: Nukes and pre-range (or whatever its called, which IIRC represents stand-off range for modern weapons).

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 10:20 pm
by larryfulkerson
...Again, you can make basic edits to the eqp file....
can you insert a new equipment item, expand it to include Korea weapons etc.?

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 10:27 pm
by 76mm
ORIGINAL: larryfulkerson
can you insert a new equipment item, expand it to include Korea weapons etc.?
[THIS RESPONSE HAS BEEN EDITED AFTER I HAD SOME COFFEE]

1) You can't insert a new equipment item (or delete one)--in fact, the TOAW eqp database does not allow you to "add" or "remove" equipment, because it will screw up the database. That said, you can of course "add" equipment by inserting it in place of another piece of equipment. Similarly, you can "delete" equipment by replacing it's name with "EMPTY", etc.

However, because of how the eqp file's XML is set up, in this viewer I've made equipment names "read only", so you can't "add" equipment by changing the names--you'll need to do that in the in-game editor, or better yet, with an XML editor such as Notepad++. Same for "deleting" equipment.

2) It should read any equip file, Korea. modern, or whatever, it just won't show those two unit attributes. Given how few units will have nuclear or stand-off capability, not sure how big of a deal that is.

The main reason I made this is to make it simpler to look at a bunch of similar units and make sure that all of the values are comparable, relative to each other--in other words, to make sure that there aren't some odd unit with AA range too long, or an AP rating that doesn't make any sense, etc.

Also, I've added a slightly revised version with some tweaks to the GUI. The main thing from a substantive point of view is that I've removed the ability to delete rows, which for the reason outlined in point 1 above, will not work.

The new version has been posted in the SECOND post of this thread.

RE: Equipment DB Viewer

Posted: Sun Jun 21, 2020 10:35 pm
by 76mm
One more thing--I'm using this with my much-truncated East Front eqp file, which has a lot fewer entries than the default eqp file (which of course includes umpteen nations from the 19th century till whenever.

So in the default eqp file it will be kind of a pain to find specific units--you'll need to scroll down through the massive list. I *might* add a menu to allow you to skip to the eqp file's various equipment categories, but no promises.

RE: Equipment DB Viewer

Posted: Tue Jun 23, 2020 1:31 pm
by 76mm
I just made this open source for anyone that wants to play around with it...

RE: Equipment DB Viewer

Posted: Sat Oct 24, 2020 8:43 pm
by Zovs
Tom where is the open source for your programs?

RE: Equipment DB Viewer

Posted: Wed Nov 18, 2020 3:40 pm
by 76mm
Sorry, just saw your post. The open source for this project is here:
https://github.com/vsadnikcorp/TOAWEQUIPVIEW

For TOAWXML it is in the same account.

Still trying to figure github out, so not sure I've got it all right...

RE: Equipment DB Viewer

Posted: Wed Nov 18, 2020 4:18 pm
by Zovs
Thanks Tom,


RE: Equipment DB Viewer

Posted: Wed Nov 18, 2020 4:21 pm
by Zovs
Tom,

Is the git repo for you (first post) project or for the one I emailed?

RE: Equipment DB Viewer

Posted: Wed Nov 18, 2020 8:39 pm
by 76mm
It is for this equipment viewer. TOAWXML is on the some git account, you just have to navigate to it. But like I said I'm not really github ace so let me know if you encounter any issues.