Binary save game layout

PC : Turn based WW2 goodness in the mold of Panzer General. This promises to be a true classic!

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

LevV
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 83
Joined: Thu Oct 08, 2020 6:22 am

Re: Binary save game layout

Post by LevV »

thanks to PanzerTum and this topic - was able to "refuel" the forgotten plane, instead of re-starting scenario or loosing experienced unit.
PanzerTum
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Sat Sep 03, 2022 7:23 am

Re: Binary save game layout

Post by PanzerTum »

LevV wrote: Sun Jan 08, 2023 6:27 am was able to "refuel" the forgotten plane, instead of re-starting scenario or loosing experienced unit.
I did that myself this way once. That was before I found the normal way of doing that:
https://www.slitherine.com/forum/viewtopic.php?t=25990

Control alt shift c and type fuel followed by a number not higher than the max fuel for that unit...
PanzerTum
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Sat Sep 03, 2022 7:23 am

Re: Binary save game layout

Post by PanzerTum »

Deployed units pretty much sussed out.
Sometimes the unit list seems a little corrupted and includes non-deployed units as well so had to build in a few extra checks.

A unit has 3 unit types, a base unit type, a switch unit type and a transport type.
Also included map coordinates (can be handy if a unit is in the wrong place at the wrong time..)
Whether unit is Aux or Core, suppression, all type of kills etc etc
Image

Almost ready to start filling the deployed unit array and then I can have a first look at how to create an excel out of it.
PanzerTum
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Sat Sep 03, 2022 7:23 am

Re: Binary save game layout

Post by PanzerTum »

Just succeeded to put the data into an excel for the first time. Still a bit rough in layout and naming..
Not all data is correct yet, Especially negative attack values when units can only return fire.

In the below image all the calcxxx rows are calculated values (oops I forgot experience...) calcsatt is soft attack calchatt hard attack etc.
In total each unit has 92 attributes, including names & image

Image

Image

Question is also on how to proceed. An excel is nice but maybe presentation of the data on a local webpage with a few extra functionalities would be nicer.
Also something I do not really have experience with although it will probably be a Python/Django combo.
LevV
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 83
Joined: Thu Oct 08, 2020 6:22 am

Re: Binary save game layout

Post by LevV »

PanzerTum wrote: Sun Jan 08, 2023 10:14 am I did that myself this way once. That was before I found the normal way of doing that:
https://www.slitherine.com/forum/viewtopic.php?t=25990
Control alt shift c and type fuel followed by a number not higher than the max fuel for that unit...
thanks a lot for the hint! Keep up the good work!

not sure what you want to do with Excel...but from my work experience most people use only 5-10% of excel functions. ...but for large array of calculations i'm afraid there could be engine limitation in excel. i stumbled at something like "excel couldnt calculate all the formulas on the sheet" before and not sure what exactly it was.
Post Reply

Return to “Panzer Corps”