Dossier Tool
Moderators: Slitherine Core, Panzer Corps Design, Panzer Corps Moderators
Re: Dossier Tool
Can't select land transport for any of the units. The list is empty.
Also, I back up the autofill suggestion for unit's report name, it should be taken automatically from the last entry in the Scenario reports name.
Also, I back up the autofill suggestion for unit's report name, it should be taken automatically from the last entry in the Scenario reports name.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
In the newest version (check the first post) you can generate unit reports from the scenario report.
As for the land transport list.. You mean inside a report? That list should be filled as soon as a unit equipment is selected that actually supports a land transport. If that doesn't happen something is going wrong parsing your equipment file. Did you copy it into the tool's folder? If so, just create a report and select an equipment like Wehrmacht Inf or something and a land transport should become available.
As for the land transport list.. You mean inside a report? That list should be filled as soon as a unit equipment is selected that actually supports a land transport. If that doesn't happen something is going wrong parsing your equipment file. Did you copy it into the tool's folder? If so, just create a report and select an equipment like Wehrmacht Inf or something and a land transport should become available.
Re: Dossier Tool
Here is what happens (with the last version too):
I'm using the equipment file from here: viewtopic.php?f=147&t=30708
I have copied it in the content\data directory. However, for SE units, the transport list is available.
Here is the equipment file that I'm using so you can test:
I'm using the equipment file from here: viewtopic.php?f=147&t=30708
I have copied it in the content\data directory. However, for SE units, the transport list is available.
Here is the equipment file that I'm using so you can test:
- Attachments
-
- equipment.zip
- (29.22 KiB) Downloaded 197 times
Re: Dossier Tool
Weird, I never had this issue - working fine for me.
And thanks for the update, the generate report function is a big help and time saver.
And thanks for the update, the generate report function is a big help and time saver.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
thanks I'll look into it. It's probably just a parsing issue with some of the units. Should be easy enough to fix.dragos wrote:
Here is the equipment file that I'm using so you can test:
Re: Dossier Tool
Great improvement with generate unit reports from scenario reports!
Anyway, a new bug appeared in the last version: hovering the mouse cursor over pie charts does no longer display unit type, only values and percents. Also beside average values, please make the same reports with total values as well.
Good job!
Anyway, a new bug appeared in the last version: hovering the mouse cursor over pie charts does no longer display unit type, only values and percents. Also beside average values, please make the same reports with total values as well.
Good job!
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
I can put the totals back in yes. I just thought they are less usefull because those values are heavily influenced by the composition of your core and basically just represent it, but I'll put it back in if you liked it.
As for the mousover tooltip, that's not a bug. I had to remove that. That chart library I'm using unfortunately does not allow easy change of the default tooltip and by changing it I caused a more severe graphical bug, so for now I'll leave it unchanged. The unit types will always start at 12o'clock in the chart and progress clockwise. I'll look into finding a better solution here however, but for now I cannot do anything about this. I'll keep on it though.
As for the mousover tooltip, that's not a bug. I had to remove that. That chart library I'm using unfortunately does not allow easy change of the default tooltip and by changing it I caused a more severe graphical bug, so for now I'll leave it unchanged. The unit types will always start at 12o'clock in the chart and progress clockwise. I'll look into finding a better solution here however, but for now I cannot do anything about this. I'll keep on it though.
Re: Dossier Tool
Another suggestion: make a checkbox "KIA" near the "SE unit" for the destroyed units, and for these units do not generate new reports from the scenario report.
Also please find a way to restore the text for unit types on the pie chart. The text and charts are small enough on my laptop screen, figuring each slice what represent is a real challenge.
Also please find a way to restore the text for unit types on the pie chart. The text and charts are small enough on my laptop screen, figuring each slice what represent is a real challenge.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
I'm on it. As for the KIA status, I'll see how I can implement that.
Update: As far as the charting is concerned, this might take a long time. it seems to be a fact that there are simply only crappy or ridiculously expensive charting libraries out there for this kind of application.
So I think I'm stuck with this kind of buggy free thing that unfortunately does not allow me to do much about its appearance and features. A simple a thing as changing the tooltip on a pie chart seems to be beyond its capabilities unfortunately.
Update: As far as the charting is concerned, this might take a long time. it seems to be a fact that there are simply only crappy or ridiculously expensive charting libraries out there for this kind of application.
So I think I'm stuck with this kind of buggy free thing that unfortunately does not allow me to do much about its appearance and features. A simple a thing as changing the tooltip on a pie chart seems to be beyond its capabilities unfortunately.
Re: Dossier Tool
But how did it work before? In what language did you write the tool? I'm a programmer myself and perhaps I can help, but I can't stand VB or Java.
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 696
- Joined: Wed Oct 05, 2011 6:39 pm
- Location: Eifel / south of Aachen
Re: Dossier Tool
Since the prog uses .NET 4.0 and WPF, my guess: C# ?
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
Yes, but in this case more like XAML, since I didn't write these chart controls. And as for how it worked before... it didn't. THe tooltip showed up but that screwed up the chart rendering. YOu might not have noticed but after changing values the chart could get "stuck" and not redraw itself. However I think I have found something on the web that fixes this issue. It is a common issue with this library (WPF Toolkit from MS), it simply isn't maintained very well. But as I said, I think I found a solution yesterday.
If it works I'll push out a new version today.
Thanks for the offer to help, but the problem is not the programming. I can change the tooltip just fine, the problem is simply that in the current configurations changes like that cause a bug in the library to appear. But yeah, I think I found the problem. Apparently the libary depends on a DLL that is for .NET 3.5 and there is a .NET 4.0 DLL out there which you have to search for a little bit and referencing that one instead might fix this issue. At least several people on the net with the exact same issue report that it works. So stay tuned. If it works I can also improve a few other things about the charts, like the same tooltip improvement for the other chart types etc.
If it works I'll push out a new version today.
Thanks for the offer to help, but the problem is not the programming. I can change the tooltip just fine, the problem is simply that in the current configurations changes like that cause a bug in the library to appear. But yeah, I think I found the problem. Apparently the libary depends on a DLL that is for .NET 3.5 and there is a .NET 4.0 DLL out there which you have to search for a little bit and referencing that one instead might fix this issue. At least several people on the net with the exact same issue report that it works. So stay tuned. If it works I can also improve a few other things about the charts, like the same tooltip improvement for the other chart types etc.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
v1.0.4754.36533 is online. I managed to get the tooltips working for all charts. However I replaced the piechart with a bar chart. That didn't have any technology reasons, I just think the chart is better suited for comparing the values of the unit types. Also I replaced the line chart with an area chart. See first post for download link as usual.
The KIA feature is not yet implemented, I'll have to think a bit more about how to best support that feature. I think that KIA flag should go into the reports actually...
Edit: The modded equipment file should now also work btw.
The KIA feature is not yet implemented, I'll have to think a bit more about how to best support that feature. I think that KIA flag should go into the reports actually...
Edit: The modded equipment file should now also work btw.
Re: Dossier Tool
Thanks for the update!
Just in case you run out of ideas (which you probably don't ) I'd really like to see how much my core is worth in prestige. That would also be helpful in comparing different setups while playing a scenario/DLC etc.
Just in case you run out of ideas (which you probably don't ) I'd really like to see how much my core is worth in prestige. That would also be helpful in comparing different setups while playing a scenario/DLC etc.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
Well calculating all the upgrades etc is not so easy, but the current sum of all unit costs, that is possible. I'll see what I can do.
Re: Dossier Tool
Thanks for maintaining it. I suggest a fourth charts tab: "Effectiveness" calculated with Kills/Losses.
Also calculating upgrades cost should be possible, if all units have the equipment set in each report.
Also calculating upgrades cost should be possible, if all units have the equipment set in each report.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
And that's the big ifdragos wrote:Also calculating upgrades cost should be possible, if all units have the equipment set in each report.
here's a new version. No effectiveness tab yet, but a new prestige and general tab in the dossier statistics and a bugfix that caused scenario report statistics to be ordered incorrectly. The ordering is now done via the scenario report entries. no unit statistics will be totaled in the dossier statistics if they are for a scenario that is not mentioned in the dossier wide scenario reports.
New version: v1.0.4757.40424
Download see first post as always.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
At some point I'll stop adding features because I want to make some refactorings in the way stuff is implemented and also potentially support campaignfiles where the scenarios are listed. That way the ordering of scenarios inside a campaign would be more logical and the scenarios could be selected from drop down menus and easier synchronized.
In doing that I also want to optimize the workflow so the application becomes mainly a tool to view the information and to actually edit or add something there would be a special workflow guiding the user through special designed edit screens, making sure all the data is consistent etc etc. but that might take a while. Right now I'm pretty happy with the tool and I'm probably not going to add major features anymore for a while.
Bugs will be fixed of course.
In doing that I also want to optimize the workflow so the application becomes mainly a tool to view the information and to actually edit or add something there would be a special workflow guiding the user through special designed edit screens, making sure all the data is consistent etc etc. but that might take a while. Right now I'm pretty happy with the tool and I'm probably not going to add major features anymore for a while.
Bugs will be fixed of course.
-
- Lieutenant Colonel - Panther D
- Posts: 1294
- Joined: Fri Jan 13, 2012 2:22 am
Re: Dossier Tool
Just out of curiosity. Who is currently using this tool?
Edit: Also a new version is online: v1.0.4760.34453
You need three additional files form the game's UI folder so check the first post.
Edit: Also a new version is online: v1.0.4760.34453
You need three additional files form the game's UI folder so check the first post.
Re: Dossier Tool
I'm using it Keep up the good work!