Does WPP need a "Tracker"?

Post new scenarios and mods here to share with other gamers.

Moderator: AlvaroSousa

User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

Does WPP need a "Tracker"?

Post by larryfulkerson »

I notice that WPP is written using the Unity Game Engine and I'd like to see if I can't be more useful to the community using my computer skills. The last time I wrote any code it was a mix of C++ and Java so I think I may be able to teach myself C#. I've downloaded the Unity Hub software package and I'm installing it now as we speak. I've had a peak at the saved game file and was surprised to find it over 7M big. I surmise that it's not zipped up which gives me the courage to try to pick it apart and use it's info to feed some kind of "Tracker" for WPP. I have no idea if it's possible or not and I have no idea what this "Tracker" can do for us in the way of useful functions so I'd really welcome some ideas from you veterans in the community.

The Unity installer tells me that it's going to need at least another 43 minutes so it must be an elephant of a package. I watched a YouTube video about how to use Unity and it seems rather straightforward so the main problem might be my ignorance of C#. I'm told that it's a lot like C++ and I have used that more than any other language.

There's a structure to the binary code in the saved game files so I'm guessing that my first task will be to break out the blob into manageable chunks. I guess the FIRST thing I need to do is query the developer of this bad boy to see what's possible and pick his brain. I'll do that right after I post this.

Wish me luck.


Image
Attachments
295929672m..ryplane.gif
295929672m..ryplane.gif (1.71 MiB) Viewed 1834 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
Cheeks
Posts: 101
Joined: Fri Aug 30, 2002 9:15 pm
Location: Ohio Valley

RE: Does WPP need a "Tracker"?

Post by Cheeks »

A tracker would be great, similar to the one for WitP:AE ?
Turn the other cheek
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

ORIGINAL: Cheeks
A tracker would be great, similar to the one for WitP:AE ?
Yes, and I'm putting together an email to Alvaro for permissions, possibilities, collaborations, etc. There may be an NDA involved here as well.

One of the things I'd like to see happen for WPP is sorting the columns of data on the various panels. TOAW has the ability to sort a column of numbers by clicking on the column label. Biggest at the top, click again and the smallest shows up at the top. As it is now there's no sorting going on in WPP anywhere. I'd like a change. If I write my own app, use a saved game file as it's input, I can do whatever my fiendish mind can think up. Plus whatever ideas you guys might have for features you'd like to see. Maybe I can learn how to do database programming and maintain some sort of expandable database so we can track where TF's have been in the past, etc. Track the growth of the amount of supplies at all the bases, etc.

Some help with this project is always welcome by the way. I'd hate to have to tackle this kind of thing by myself.


Image
Attachments
images4.jpg
images4.jpg (4.53 KiB) Viewed 1834 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

open letter to Alvaro:
Image
Attachments
temp.jpg
temp.jpg (313.57 KiB) Viewed 1834 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
eskuche
Posts: 1155
Joined: Tue Mar 27, 2018 2:29 am
Location: OH, USA

RE: Does WPP need a "Tracker"?

Post by eskuche »

Don’t think it’s needed. There’s not THAT much to keep track of. The unit effectiveness and experience are pretty direct. An export or track-over-time function would be plenty, I think.
Cheeks
Posts: 101
Joined: Fri Aug 30, 2002 9:15 pm
Location: Ohio Valley

RE: Does WPP need a "Tracker"?

Post by Cheeks »

ORIGINAL: eskuche

Don’t think it’s needed. There’s not THAT much to keep track of. The unit effectiveness and experience are pretty direct. An export or track-over-time function would be plenty, I think.

Everyone has different opinions (as seen by the forum lately). I would encourage Larry in his endeavor..., giving options to new players can only expand WPP. Use it or don't.

On another subject..., holy cow Larry - 72 years and still enjoying punishment by programing! You rock Sir!
Turn the other cheek
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Alvaro says:
"Thanks. No game is perfect and always needs adjustments.

But first you have to tell me what WITP-AE "Tracker" is?
Why does the game need one?
How does it benefit players?
"
So it's obvious to me that I need to do a full report on "Tracker". What it is, how to use it, etc.

Edit: I thought you guys might like to play around with Tracker so I went to the WITP-AE section of
the forum and downloaded the package for you guys and attached it to this post. You can get it below:

By the way, it needs Java to run. You can get Java at Oracle's website:
https://www.oracle.com/java/technologie ... loads.html

You will also need a WITP-AE saved game file to input some data into Tracker.
I'll post a WITP-AE saved game file on the next post below.
Attachments
WitPTracke..ase 1.10.zip
(3.71 MiB) Downloaded 31 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

I ran a turn on WITP-AE to produce this fresh saved game file. It's the input file for Tracker. Just drop it in the
Tracker folder. That's what I do.

You're going to need to adjust the witptracker.properties file to say this:

# WitPTracker AE properties file ( witptracker.properties )
# Directory of the game
Dir=[C:\Matrix Games\WITP-AE anti-AI games\]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[password]
# Name of the base save file
SaveFile=[wpae005.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[0]
# Text to put in the header of the main window
Header=[Jap computer Ironman scen #10]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


This saved game file holds only "Allied" data.
Attachments
wpae005.zip
(2.7 MiB) Downloaded 31 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's the Tracker directory on my machine. It's a subfolder inside my WITP-AE "Saves" directory. At first there will be no Trackerdb.* files and a saved game file will have to be supplied to feed it data to populate it's tables. Once the database is created it's kept up to date by reading in the very next saved game file.

Once the database get's really big ( over a gig ) it will probably take over a full minute to load. So you can store off those four database files for safe keeping and delete the old ones from the directory, supply tracker with a fresh saved game file and upon running Tracker it will sense there's no database available and will automatically read your saved game file thus producing a fresh database.

I used to keep all my old databases for research purposes. You may also want to keep the old saved game files somewhere as well.

I had trouble getting my system to accept a change in my Path environmental variable so my workaround was to copy the Java.exe and the Java.dll into this directory and all my problems with Java went away.

Image
Attachments
temp.jpg
temp.jpg (225.37 KiB) Viewed 1834 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

This is the opening page of Tracker....what you see when it awakes. Use the "Turn->Read Turn" menu option to read your saved game file into Tracker. It usually takes about 20 seconds or so. YMMV. I like to read the Alerts first to see what's going on in the game as an overview.

Image
Attachments
temp.jpg
temp.jpg (409.02 KiB) Viewed 1834 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's what it looks like as it's reading my saved game file:

Image
Attachments
temp.jpg
temp.jpg (351.52 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

After the file loads I like to look only at the current data and not all of it.

Image
Attachments
temp.jpg
temp.jpg (456.21 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's me looking at the bases tab. I changed the owner to Allied and for a special search I asked for a list of the bases that had insufficient air support
and then sorted the smallest to the top. None of the bases had 0 air support but there are lots of bases that are deficient in air support as indicated by
the red numbers.

I chose Melbourne and then clicked on "Resource History" and got this panel that says that Melborne has been low on oil for a while now. It doesn't have
enough oil to feed it's refinery so I'll have to shut it off for a while. But the supply level has been growing for the past 10 days or so. Resources
have been up and down during the same time period.
Image
Attachments
temp.jpg
temp.jpg (478.86 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's a screen that we may never need. It shows all the TF's, their current location, their destination, etc.

Image
Attachments
temp.jpg
temp.jpg (378.7 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's the Signals Intelligence Report:

Image
Attachments
temp.jpg
temp.jpg (199.75 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's the Operations Report:

Image
Attachments
temp.jpg
temp.jpg (418.08 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

You can get an idea how fast the ships are repairing by just clicking on one of them. I see BB California hasn't
been repairing for a while now. I need to look into that. If it's not repairing I may need to move it to
SFO or Seattle.

Image
Attachments
temp.jpg
temp.jpg (414.74 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

There isn't much for the Allied player to do for his economy except to not run out of something important.
The Jap player on the other hand has to build each ship, each plane, each engine for those planes, and
monitor the transfer of goodies into the home islands. In one game I was playing as the Jap and ran my
country completely out of fuel in mid-'43. I had to shut down a lot of my factories and park the ships
and lost the game shortly thereafter.

Image
Attachments
temp.jpg
temp.jpg (448.89 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's a chart showing the flow of the economy currently. A lot of ink have been spilled about this chart.

Image
Attachments
temp.jpg
temp.jpg (238.85 KiB) Viewed 1837 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
User avatar
larryfulkerson
Posts: 42791
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Does WPP need a "Tracker"?

Post by larryfulkerson »

Here's a list of all the LCU's and a report on one of them.

Image
Attachments
temp.jpg
temp.jpg (405.52 KiB) Viewed 1836 times
Russia’s 41st Army COLLAPSED in Pokrovsk — 25,000 Soldiers KILLED After a RIDICULOUS Russian Assault
https://www.youtube.com/watch?v=T_CtW3GqPQg
Post Reply

Return to “Scenario Design and Modding”