Equipment DB Viewer

Post new mods and scenarios here
Post Reply
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

Equipment DB Viewer

Post 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.
Attachments
equipviewer.jpg
equipviewer.jpg (78.14 KiB) Viewed 947 times
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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.
Attachments
TOAWViewer.zip
(348.91 KiB) Downloaded 78 times
DD696
Posts: 976
Joined: Fri Jul 09, 2004 12:57 pm
Location: near Savannah, Ga

RE: Equipment DB Viewer

Post 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!
USMC: 1970-1977. A United States Marine.
We don't take kindly to idjits.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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.
User avatar
rhinobones
Posts: 2225
Joined: Sun Feb 17, 2002 10:00 am

RE: Equipment DB Viewer

Post 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
Colin Wright:
Pre Combat Air Strikes # 64 . . . I need have no concern about keeping it civil

Post by broccolini » Sun Nov 06, 2022
. . . no-one needs apologize for douchebags acting like douchebags
DD696
Posts: 976
Joined: Fri Jul 09, 2004 12:57 pm
Location: near Savannah, Ga

RE: Equipment DB Viewer

Post 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![:'(]
USMC: 1970-1977. A United States Marine.
We don't take kindly to idjits.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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!

[;)]
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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).
User avatar
larryfulkerson
Posts: 42970
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Equipment DB Viewer

Post 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.?
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post by 76mm »

I just made this open source for anyone that wants to play around with it...
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: Equipment DB Viewer

Post by Zovs »

Tom where is the open source for your programs?
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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...
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: Equipment DB Viewer

Post by Zovs »

Thanks Tom,

Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: Equipment DB Viewer

Post by Zovs »

Tom,

Is the git repo for you (first post) project or for the one I emailed?
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Equipment DB Viewer

Post 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.
Post Reply

Return to “Mods and Scenarios”