TC2M -> SOWGB - Order Of Battle Converter

He's on the board and he writes tons of useful tools to make modding that much easier.
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

TC2M -> SOWGB - Order Of Battle Converter

Post by Garnier »

I made a TC2M -> SOWGB OOB Converter, I've tested it with OB_2ndM and OB_3rdM as well as a bunch of my own OOBs, and they worked in SOWGB without any hand editing.

It is accessible in the Tools menu in the Order Of Battle Editor.

In the menu click "Tools -> TC2M - SOWGB Converter -> Convert File", select a TC2M OOB File, click open, and it converts the file to SOWGB format, saves it, and then opens it in the editor.

Image

I think this will save many many hours of time. :)

It is extendable (the sprite name replacements &c are in csv files) so it can be made to convert modded OOBs as well.
Last edited by Garnier on Thu Apr 15, 2010 3:39 pm, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
rudy
Reactions:
Posts: 194
Joined: Sun Jan 31, 2010 12:34 am

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by rudy »

Thanks for this.

Where in the new game folder do I save the converted OOB?
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Garnier »

Modding isn't officially supported yet, but you can make a mod like this:

Create a folder called Mods in your gettysburg main folder. Inside Mods create a folder with your mod's name.

Then to use an OOB, inside your mod's folder that you made, create a folder called OOBs, and inside that place your OOB file. Note the OOB file name as far as I can tell has to start with "OOB_SB".
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Southern Son
Reactions:
Posts: 62
Joined: Mon Mar 29, 2010 2:38 am

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Southern Son »

:dry:
I selected a TC2M OOB File, clicked open and got this message:

Invalid SOWGB OOB File 'OB_2ndM.csv'

:blush:
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Garnier »

That's because you tried to open it as a normal SOWGB OOB via the "File -> Open" menu. To CONVERT a TC2M oob you have to use the "Tools -> Converter -> Convert File" menu, as shown in the screenshot.
Last edited by Garnier on Sun Apr 11, 2010 12:47 pm, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
rudy
Reactions:
Posts: 194
Joined: Sun Jan 31, 2010 12:34 am

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by rudy »

I've converted a TC2M OOB (Texas), renamed it as you indicated and placed it in the folders also as you indicated.

It then reads in the game, but when I click on it, I get a CTD.

What TC2M OOB's have you successfully converted?
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Garnier »

I converted the original OB_2ndM and OB_3rdM as well as tons of OOBs I generated with my old TC2M oob generator.

If the OOB you are converting is from a mod, and the OOB uses sprites, flags etc from the mod that arent in the original game, it won't work unless you edit the replacement csv files. I don't recommend doing that work yet unless you really want to and can figure it out. Once the SOW SDK is released it'll be easier to set up conversions from mods.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Southern Son
Reactions:
Posts: 62
Joined: Mon Mar 29, 2010 2:38 am

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Southern Son »

:blush: :blush: :blush:

It works, but i couldn't convert some of my own OOBs.
Got this message:
Invalid TC2M OOB File ' OB_1863_Brandy_Station1.csv ' :dry:

:blink:
rudy
Reactions:
Posts: 194
Joined: Sun Jan 31, 2010 12:34 am

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by rudy »

I think that's the problem then. I modded TC2M with the CMP 3.0 a long time ago, so all of my favorite OOB's I have in that game are for CMP 3.0.

Look like I'll have to wait.
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:TC2M -> SOWGB - Order Of Battle Converter - Available

Post by Garnier »

It works, but i couldn't convert some of my own OOBs.
Got this message:
Invalid TC2M OOB File ' OB_1863_Brandy_Station1.csv '
Is the OOB you are trying to convert one that works in the original game without any mods?

If so, post the oob file and I'll look at it. If not, then read my post above about mod compatibility.
Last edited by Garnier on Sun Apr 11, 2010 1:02 pm, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Post Reply