File Format

Post bug reports and ask for game support here.
Post Reply
Colinwhittaker
Posts: 9
Joined: Fri Jan 04, 2019 6:31 am

File Format

Post by Colinwhittaker »

Hi

I am trying to use TOAW to help run campaigns for tabletop battles.

A key requirement is to be able to update the unit strengths from the casualties suffered in a tabletop battle. I have discovered that the .sal file is a gzip file format and if uncompressed I can read and amend the various equipment strengths etc. (A little more work is needed, but it is certainly doable)

However I cannot seem to set the compression for Gzip correctly so that the file can be recompressed and then loaded back into TOAW. When I do so TOAW does not recognise the file and refuses to load it.

Does anyone know more about the file compression used in TOAW and offer any suggestions as to how to solve this.

I know I can save the .sal file as .sce and modify the scenario. But this restarts the scenario at a new game turn 1, which confuses the events!

regards

Colin
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: File Format

Post by cathar1244 »

Based on your comments, I took the "Baltic Fury" scenario file that my .11 version would not load and was able to unzip it. It produced a scenario file of a beastly 66 MEGABYTES in size ... uh ... scenario files have become rather larger in the latest versions of TOAW IV! I'm guessing the latest versions of TOAW IV use compressed data to allow much larger file sizes.

Cheers
Colinwhittaker
Posts: 9
Joined: Fri Jan 04, 2019 6:31 am

RE: File Format

Post by Colinwhittaker »

The reason the file is so massive is that there is a lot of empty space. To keep it straightforward the designers have structured the file with all the available possible spots for the maximum number of units and equipment types the game will support. When you scroll through the file you will see for example empty formation and unit spots labeled for example "999th Cadre" etc.Therefore compressing the file format to save it becomes essential

regards

Colin
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: File Format

Post by cathar1244 »

Thanks Colin, interesting information.

Cheers
Post Reply

Return to “Tech Support”