Page 5 of 7

Re: Order Of Battle Editor - Available

Posted: Mon Apr 12, 2010 2:35 pm
by Garnier
Hmm, oh I see what you mean, if you're making a master OOB and matching scenario OOBs. The auto-generation works for sandbox oobs but not for scenarios if you remove some of the units for the scenario.

There is an option in the options menu to allow manual editing of the IDs, but what I'll do is have it generate the ID based on the unit name, so it is still automatic.

For instance it'd be easy to do this:

Brig Gen James S Wadsworth OOB_Brig_Gen_James_S_Wadsworth
Brig Gen Solomon Meredith OOB_Brig_Gen_Solomon_Meredith
19th Indiana OOB_19th_Indiana
24th Michigan OOB_24th_Michigan
2nd Wisconsin OOB_2nd_Wisconsin

I'm at school but will fix this next chance I get. Thanks.

Re: Order Of Battle Editor - Available

Posted: Sun Apr 25, 2010 9:00 am
by Garnier
I've added a new feature to update the OOB by selecting a startlocs.csv file that you can have the game generate while playing. Run EditOOB.exe and it will get this update automatically.

The startlocs.csv contains the regiment strengths. To update your currently opened OOB with information from the startlocs.csv, there is an option in the Tools menu.

All it does is scan the startlocs file and any regiments that have the same name in both the oob and startlocs will have their strength set to that from the startlocs.

This way when doing a campaign game for instance, after a battle you can update the OOB with the exact casualties from the battle.

Re: Order Of Battle Editor - Available

Posted: Mon Apr 26, 2010 12:37 am
by IronBMike
Sounds great Garnier, I'll get working with it.

Re: Order Of Battle Editor - Available

Posted: Thu Apr 29, 2010 11:36 am
by IronBMike
Garnier wrote:
I've added a new feature to update the OOB by selecting a startlocs.csv file that you can have the game generate while playing. Run EditOOB.exe and it will get this update automatically.

The startlocs.csv contains the regiment strengths. To update your currently opened OOB with information from the startlocs.csv, there is an option in the Tools menu.

All it does is scan the startlocs file and any regiments that have the same name in both the oob and startlocs will have their strength set to that from the startlocs.

This way when doing a campaign game for instance, after a battle you can update the OOB with the exact casualties from the battle.
Hey Garnier, can you give a quick walkthrough of how to get the startlocs.csv file and how to get it to update with battles? Thanks!

Re: Order Of Battle Editor - Available

Posted: Thu Apr 29, 2010 1:08 pm
by Garnier
In a game, you press the L key to generate the startlocs.csv containing the locations and strength of all units in the battle.

Then in EditOOB, open an OOB that has units with the same names as the units in the startlocs.csv file (typically the same OOB that the game was using). Then click "Update strengths from startlocs.csv..." and browse to where the startlocs.csv file is located, which will be in the Work folder. Select it and press OK. The editor will then compare the startlocs file with the oob file, and when it finds units with matching names it will copy the unit strength from the startlocs file to the OOB.

Re: Order Of Battle Editor - Updated 6/4/10

Posted: Fri Jun 04, 2010 8:04 pm
by Garnier
I've just made an update to this. Lots of small changes and additions that I found I wanted while I was using it, as well as some bug fixes.

Just run the program and if you haven't turned off the auto-update it will ask you if you want to install the update.

Here are the big changes:

* Many changes to the random OOB generator routine to make them more realistic.
(i.e., higher quality regiments are smaller generally.)
* Added an OOB analyzer that can tell you the difference in numbers/quality between the two sides to make it easier to balance an OOB.
* Added a random historical name generator (the first names, last names and middle initials are all drawn from civil war regimental rosters and then randomly assembled.)
* Fixed the copy function so you can either make a complete deep copy of a unit or just copy the unit itself.
* Added the option to show unit strengths in the tree view. These numbers do not automatically update however, so press Ctrl-R to refresh them.



The bug where occasionally copying units caused a crash is still there, but now instead of crashing it simply doesn't copy the unit. I still have to decide how to solve that one as it's a fairly complicated situation. To workaround it right now just save your OOB and restart the program and copy/paste will work.

Re: Order Of Battle Editor - Updated 6/4/10

Posted: Sat Jun 05, 2010 9:17 pm
by Rifleman
Hi Garnier,

Updated as suggested,but can't seem to find the OOB Analyzer on any of the Dropdown Menus. In fact hard to see whether the Auto-update actually took place.

Any suggestions where I can look to check that my D/L worked, and if it did, where do I find the OOB Analyzer?

Thanks for any ideas (only seem to post when I'm asking your help).

Re: Order Of Battle Editor - Updated 6/4/10

Posted: Sun Jun 06, 2010 8:21 am
by Garnier
This is where it appears:
Image

I've just made another small update, and it will now show the version number in the title bar. The current version is '29'.

Re: Order Of Battle Editor - Updated 6/6/10

Posted: Sun Jun 06, 2010 6:55 pm
by Garnier
I believe I've finished fixing the copy/paste bug. I've been using it for about 6 hours today without any crashes and had copy/paste work the whole time. :)

The update is live, version 31 now.

Re: Order Of Battle Editor - Updated 6/8/10

Posted: Sun Jun 06, 2010 8:25 pm
by Rifleman
Thanks Garnier. D/L'd latest and all as you indicated it should be.