BuildAll-RecalcAll

Command Ops: Battles From The Bulge takes the highly acclaimed Airborne Assault engine back to the West Front for the crucial engagements during the Ardennes Offensive. Test your command skills in the fiery crucible of Airborne Assault’s “pausable continuous time” uber-realistic game engine. It's up to you to develop the strategy, issue the orders, set the pace, and try to win the laurels of victory in the cold, shadowy Ardennes.
Command Ops: Highway to the Reich brings us to the setting of one of the most epic and controversial battles of World War II: Operation Market-Garden, covering every major engagement along Hell’s Highway, from the surprise capture of Joe’s Bridge by the Irish Guards a week before the offensive to the final battles on “The Island” south of Arnhem.

Moderators: Panther Paul, Arjuna

Post Reply
Werewolf13
Posts: 515
Joined: Sun Jul 31, 2005 8:11 pm

BuildAll-RecalcAll

Post by Werewolf13 »

I'm sittin' here looking at two batch files in the battles from the bulge directory on my HDD. In it I see two files:

1)BuildAllMapCaches.bat
2)RecalcAllTerrainTables.bat

Both contain the mapmaker commandes to do what the batch file titles say.

Anyone with Build 278 tried these two files? Do they work? I Imagine you'd have to run the recalc file first and then the buildall file 2nd.

Anyone? Buehler? Buehler?

Freedom is not free! Nor should it be. For men being men will neither fight for nor value that which is free.

Michael Andress
User avatar
Arjuna
Posts: 17768
Joined: Mon Mar 31, 2003 11:18 am
Location: Canberra, Australia
Contact:

RE: BuildAll-RecalcAll

Post by Arjuna »

Yep that's what they do and yes they should run with 278. Note that I recalced all BFTB map caches for that release. This process can take a long time - best done overnight. Also I would temporarily remove the BFTB maps and replace them after you have recacled the other ones - that will save you time.
Dave "Arjuna" O'Connor
www.panthergames.com
Phoenix100
Posts: 2946
Joined: Tue Sep 28, 2010 12:26 pm

RE: BuildAll-RecalcAll

Post by Phoenix100 »

What's that then - a self-fix for the problem of slow load times for all large non-bftb maps? If so will do it.

Any ETA on Africa (and Crete, and Malta), Dave?
Werewolf13
Posts: 515
Joined: Sun Jul 31, 2005 8:11 pm

RE: BuildAll-RecalcAll

Post by Werewolf13 »

ORIGINAL: phoenix

What's that then - a self-fix for the problem of slow load times for all large non-bftb maps? If so will do it.

Any ETA on Africa (and Crete, and Malta), Dave?

That's exactly what it is.

I'd still like to know which one to run 1st though. I imagine recalc the terrain 1st then the build cache since the cache as I understand it calculates line of sight information which would require up to date terrain calculations to be accurate.
Freedom is not free! Nor should it be. For men being men will neither fight for nor value that which is free.

Michael Andress
User avatar
Arjuna
Posts: 17768
Joined: Mon Mar 31, 2003 11:18 am
Location: Canberra, Australia
Contact:

RE: BuildAll-RecalcAll

Post by Arjuna »

I'm not on my dev machine at he moment, so I can't check the code to confirm. But FYI when we do a conversion we write a specific conversion function for each file affected - ie for the Scenario, map, estab file. That conversion may do a number of things. For the map files, it will usually call CalcTerrainTables() at the end. So just running that batch file may not be sufficient to do a full conversion of the file. I recommend you use the ScenMaker to open and save it. During this process it will invoke the conversion code.

Now also note that the recalc map cache bat file simply generates a new map cache file. You really only need do this if you have changed the map graphics - ie by either editing the map graphics that the map file is using or selecting a differen map graphics set for the map file - or the map data objects by actually editing these in the MapMaker. If neither of these have occurred you don't need to waste time recalling the caches. We provide this tool so modders can see the effect of changing the graphics or editing a map.
Dave "Arjuna" O'Connor
www.panthergames.com
Post Reply

Return to “Command Ops Series”