Page 1 of 1

Wite tracker

Posted: Mon Mar 26, 2012 5:30 pm
by lechenne
Hi all,

I'm starting a tool for parsing EventLog(turn XX..).txt file, it will produce a csv file giving some infos for each turn in first version.

The infos will be :
Axis Combat, Axis Retreat, Axis Attrition,Axis Surrender,Axis Misc,
Soviet Combat,Soviet,Soviet,Soviet Surrender,Soviet Misc

Anyone interesting ?


Is someone has parsed the .sav file ?

Chris

RE: Wite tracker

Posted: Mon Mar 26, 2012 7:08 pm
by governato
Oh that 'd be good.

RE: Wite tracker

Posted: Tue Mar 27, 2012 12:41 am
by gamer78
Great,
I'm very interested.

RE: Wite tracker

Posted: Tue Mar 27, 2012 4:12 am
by Rom3l
Great, brilliant.

RE: Wite tracker

Posted: Tue Mar 27, 2012 12:18 pm
by fbs
Most extraordinarily excellent!

RE: Wite tracker

Posted: Tue Mar 27, 2012 3:13 pm
by lechenne
Ok, guys, I will try to give you a first version last week

RE: Wite tracker

Posted: Tue Mar 27, 2012 4:43 pm
by gids
i wouldnt mind aswell :)

RE: Wite tracker

Posted: Tue Mar 27, 2012 5:00 pm
by lechenne
Here's a first version.
http://dl.free.fr/i8YCQNUGi

Just take it
Create a folder, put it int it.
You need a JRE 1.6.x
Add EventLog(Turn 002 6-26-1941 Ax).sav
Launch it
An export.csv is created in the same folder

reports if any pb with it

RE: Wite tracker

Posted: Tue Mar 27, 2012 5:45 pm
by NavalNewZ
It's telling me that it can't find Java, which is installed in my C:\Program Files\Java. Where is this program trying to find it?

RE: Wite tracker

Posted: Tue Mar 27, 2012 6:09 pm
by lechenne
If you open a cmd and type java, is-it ok ?

Here are my infos, we I launch it, I've got :
JSmooth will now try to use the VM in the following order: registry;javahome;jre
path;jdkpath;exepath;jview
------------------------------
Trying to use a JVM defined in the registry (4 available)
VM will be tried in the following order: 1.6.0;1.6.0;1.6.0;1.6.0;
- Trying registry: <C:\Program Files\Java\jre6><C:\Program Files\Java\jre6\bin\c
lient\jvm.dll><1.6.0>

RE: Wite tracker

Posted: Tue Mar 27, 2012 6:16 pm
by lechenne
try this new link http://dl.free.fr/gAKBszIyP

this's a rar file with 2 files :
witeTracker.exe
wite.jar

put them in the same folder

RE: Wite tracker

Posted: Tue Mar 27, 2012 8:22 pm
by NavalNewZ
OK, that now creates a csv file, but there are no values in it. Is it trying to find a save file?

RE: Wite tracker

Posted: Wed Mar 28, 2012 3:16 pm
by lechenne
Have you put an EventLog(Turn 002 6-26-1941 Ax).sav file in the same folder ?

RE: Wite tracker

Posted: Wed Mar 28, 2012 4:20 pm
by CheerfullyInsane
ORIGINAL: NavalNewZ

OK, that now creates a csv file, but there are no values in it. Is it trying to find a save file?
ORIGINAL: lechenne
Have you put an EventLog(Turn 002 6-26-1941 Ax).sav file in the same folder ?

Slight misunderstanding here. You don't need the *.SAV, but the EventLog.TXT [:)]
Then it works. And you don't need to copy the files to the dir either, you can just mark and drag the log-files onto the tracker-exe.
Though there seems to be an error in the column-assignment:
Image.

No biggie. Since it's consistent, I can easily rename the columns.
Besides, it might be because different languages and spread-sheet programs result in differing csv info.
Not tech-savvy enough to tell whether this is an outright error, or something in my set-up that causes it.

All in all, nice little program. [&o]

EDIT: Btw, if you drag'n'drop onto the exe-file, the csv will be saved in the log-directory, NOT where you have the tracker.

RE: Wite tracker

Posted: Wed Mar 28, 2012 4:36 pm
by lechenne
Hi,

Thxs for your report, I will check it.

Which info do you need more ?

RE: Wite tracker

Posted: Wed Mar 28, 2012 4:46 pm
by lechenne
Here's v0.1 version with csv fix : http://dl.free.fr/f7eNG9ytV

I wait for yours reports to add new features or fix bugs [:)]

RE: Wite tracker

Posted: Wed Mar 28, 2012 6:13 pm
by CheerfullyInsane
That did the trick. [:)]

Image

Now, I have no idea how this program works, nor whether it can only collect data but also parse it, so the following may be utterly impossible.....I'm going to ask anyway. [:D]
Doesn't look like the Misc. and Surrender columns do anything (surrender might be because of e.g. the surrender of Finland and Romania? Not sure), so I'd suggest leaving those columns out entirely.
Instead having a column with the cumulative losses (Combat, Retreat and Attrit) given you the total losses.
Something like this:
Image

Also, I'm more interested in the turn to turn development, not so much the accumulated damage.
So I did this:
Image
Nothing special, it's just (CurrentTurnCumLosses - LastTurnCumLosses), then adding together to get overall turn-losses.
It's reasonably simple to cut'n'paste the cells, but it would be nice if this could be automated during the import process.

As for what else to track, it's ultimately limited by the log-report itself.
Tracking the Armaments-pool would be nice, but the log only shows what is produced, not what is used in building units, so I doubt that's possible.
It would be possible to keep a running tally on the Armament Factories though. Granted, it would only show functioning factories, not the ones under repair, but better than nothing.

But it should be possible to track the Manpower-pool, using these values:
Image

You'd have to manually input the Turn 1 Value, but otherwise the above values should give you a running tally on Manpower.



RE: Wite tracker

Posted: Sun Apr 01, 2012 9:29 am
by lechenne
Hi,
Here's the 0.2 version http://dl.free.fr/kLjjsP1QU with current losses and cumulative losses.

RE: Wite tracker

Posted: Sun Apr 01, 2012 10:55 am
by Apollo11
Hi all,

Nice - thanks! [:)]


Leo "Apollo11"