Page 1 of 1
Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 2:35 pm
by SchnelleMeyer
What part of the data and/or graphics need to be manipulated to make a game with less than 64BGs?
I have tried changing the numbers in bgroups (Index number) and fpools (count) to less than 64 but that crashes the game..
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 3:21 pm
by prjw73
When does it crash? At start up or at battle start up?
If you change the number of battle groups you need to change more than just the index number. You need to delete all surplus data lines. After that make sure the index number sequence is logical and starts at 0. The total number of battle groups should be the same in both bgroups and fpools. I don't think you need to change other data files.
Did you change more data? Teams or soldiers for instance?
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 4:19 pm
by SchnelleMeyer
It crashes from Mainscreen to Singleplayer, I can enter Scenario editor no problem.
Right now Im testing with files from GJS-mod that works with 64 FP and BGs. I tried just deleting surplus data and changing index like you say, but it still crashes..
Did not change any other files..
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 4:22 pm
by SchnelleMeyer
Btw, I am converting Aetius KRETA-mod from CC4 to LSA.
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 4:48 pm
by prjw73
I deleted most of the lines in the static bgroups data and it does not cause crashes UNLESS you choose a battle that was designed to work with one of the deleted battle groups. The same will go for battles with normal battle groups. Did you consider that as possible error?
Glad to see someone is working on the Kreta mod; love that mod but the mapcoding in my version is incomplete and causes crashes.
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 5:04 pm
by SchnelleMeyer
Thanks a lot for your advice Pete!
LSA is a tough nut to crack.. I will fix the coding on a couple of the maps I noticed strange coding on - hope that will help.
- Yes, I have a static bg file with just a zero count and that works fine. But It must be different with normal bgs.
I don't even get to the Command screen (Where you choose battles), before crash occur. When I choose "Singleplayer" from Mainscr. it crashes.
It seems after more testing now that except with 64Bgs, LSA is fine with 44 BG count only ...
If I have 44 Bgs and 44 units in the FP its fine:)
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 5:34 pm
by prjw73
I tried to do the same and got the same error. Wonder what else needs to be changed.
RE: Less than 64 Battlegroups?
Posted: Fri Jun 05, 2015 5:50 pm
by SchnelleMeyer
Thanks for telling me. - Just so I know I'm not going insane...
Modding is great fun...
RE: Less than 64 Battlegroups?
Posted: Mon Jun 08, 2015 3:12 pm
by SteveMcClaire
If you modify the data files to have less than 64 battlegroups you will have problems with scenario and saved games that were created under stock LSA. When these files are loaded they will reference battle groups that no longer exist (because you deleted them from the game data.)
Delete all the scenario files in DATA\BATTLES, CAMPAIGN, and OPS and all the saved games under the \GAMES folder.
Steve