EFEastern Front Forum Archive
Read-only public archive · no login or tracking

Archived topic · 14 posts

Tutorial: Convert maps to .sga format

Tutorials

#3889

Tutorial: Convert maps to .sga format

This tutorial tells you how to make your maps work in SGA format, this allows it to be added to the Eastern_Front.module file, and for us to play without the need of dev mode.

Blue is extra help.
Italic is the main tutorial.
Red is code.



1. Create a mod In Corsix Mod Tools. This is to give you the folder structure needed for packing the map easily.

Forum post image

I named mine "Map Packer" because that's what ill be using it for.

Step 1. Select Company of Heroes for "Mod is for".
Step 2. Browse for the Company of Heroes main folder.
Step 3. Give your mod a name.
Step 4. Click Create.


Forum post image

Forum post image

Choose your language and click on "Use Locale".




2.
Now we need to make sure all the folders are setup for when we pack your map up.

Forum post image

Go to where the vCoH maps are held, and extract any file. Do the same in the Loading folder.

Open up Data > Scenarios > MP.

Double click on the first file "2p_angoville farms.info" for me, and click "Extract File."
Open up the folder "Loading" and do the same to any other file.




3.
Next go to your Company of Heroes install, open up the mod folder, and continue on to the MP folder.

Forum post image

For me: "D:/Program Files/THQ/Company of Heroes/Map_Packer/Data/scenarios/mp/"

Make sure you delete any unneeded files, like the ones you extracted to created the folders. Don't forget about the Loading folder too.

Put your map files in here. Loading Screen in the Loading folder. All the stuff you usually have for an SGB map. Just like "my" map ;).




4. Now, you need to go to your mod folder, and create a folder named "Archives". This is where the map SGA goes.

For me: "D:/Program Files/THQ/Company of Heroes/Map_Packer/Archives/"

Forum post image




5.
Open up Corsix again and open up the mod.

Forum post image




6. Open the SGA packer.

Top left corner. Mod > SGA Packer.




7. Select the Input directory as your mods Data folder. "SGA to create" as shown in image, but with the name and number of players for your map. TOC is the type of data (Data or Attrib), select Data. Click "Create" to pack your map.

Forum post image




8. Go back to your Company of Heroes directory.

For me: "D:/Program Files/THQ/Company of Heroes/"

Open your mods module file.

For me: "Map_Packer.module"

Forum post image

Under "[data:common:01]" and below the last entry (archive.04) add in the information for your SGA file. Make sure to give the correct archive number.

For me: "archive.05 = Map_Packer\Archives\2p_Angoville"




This should help you easily create an SGA version of your map. When posting a download link to your completed, and SGA map, please include the line that you added to module file. Thanks.

Forum post image

Cassidy Motto -> Frangas non flectes.....You can break me, but I'll never bend.

Last edited December 7, 2011 at 9:13 AM by Walki

#3908

Re: SGA Map Tutorial - For noobs and Pros.

Wow. Great job Dragon. Thanks!
#6673

Re: SGA Map Tutorial - For noobs and Pros.

Wtf? I try to pack my Map with the ModStudio and now i can´t open any of my maps anymore error:
Forum post image

Do you now how to fix this bug?
I identify as a four-eyed bird man. /s
#6677

Re: SGA Map Tutorial - For noobs and Pros.

Should the .sgb Version of the map not saved at "X:\Programs\THQ\Company of Heroes\WW2\Data\Scenarios\mp\?
In the Company of Heroes Root not at the My Games folder?



Mystic
Forum post image
#6702

Re: SGA Map Tutorial - For noobs and Pros.

Thanks it´s working again. I will release a new Version of River Docks soon.
I identify as a four-eyed bird man. /s

Last edited June 30, 2009 at 4:53 PM by walki1

#7503

Re: SGA Map Tutorial - For noobs and Pros.

I get the same error as walki1...

It's in the right directory. What do I do? Did I ruin my map?  :(

EDIT: Never Mind. I fixed it. Thanks Google.  ;D
EDIT(again): Couldn't you just use the 'Export Package' on Worldbuilder instead of going through all of this? Or is there some benefit to this method?

Last edited August 1, 2009 at 5:03 AM by nbeerbower

#31802

Re: SGA Map Tutorial - For noobs and Pros.

А может кто нибудь это руководство на русский язык перевести ?  :)
#31815

Re: SGA Map Tutorial - For noobs and Pros.

Could you write with english letters please? :D
I identify as a four-eyed bird man. /s
#31881

Re: SGA Map Tutorial - For noobs and Pros.

Maybe somebody this book into Russian translate?  :)
#33256

Re: SGA Map Tutorial - For noobs and Pros.

walki1 wrote:
Could you write with english letters please? :D


english letters? do u mean latin? hahah
#45558

Re: SGA Map Tutorial - For noobs and Pros.

Do I have to make a description in english or I can do it in Polsih?
#49832

Re: SGA Map Tutorial - For noobs and Pros.

I downloaded Corsix ModStudio but can't get it to run.  It tells me "Can't start because MSVCP71.dll is missing from your computer."

I'd really like to get this resolved so I can package up a map I have created and try to submit it for all to use.  Unfortunately as of right now, it will load, but crashes soon after and I'm hoping following your Corsix packaging walk through will fix it and I can use the awesome astern Front MOD to play my own maps.
#49833

Re: SGA Map Tutorial - For noobs and Pros.

gtxmex wrote:
I downloaded Corsix ModStudio but can't get it to run.  It tells me "Can't start because MSVCP71.dll is missing from your computer."

I'd really like to get this resolved so I can package up a map I have created and try to submit it for all to use.  Unfortunately as of right now, it will load, but crashes soon after and I'm hoping following your Corsix packaging walk through will fix it and I can use the awesome astern Front MOD to play my own maps.


This should help you:
Seeme wrote:
First Of all, use A screen shot if you can, pictures turn out weird.

And 2nd of all, go here:                                                                                                                                                                                  http://forums.relicnews.com/showthread.php?122351-I-cant-make-the-mod-studio-run!!!!&highlight=msvcp71.dll
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...
#49835

Re: SGA Map Tutorial - For noobs and Pros.

You are sooo the MAN!  That link provided the files I needed.  Once I unzipped them and put them in the same folder it started fine.  Now let's see if I can follow the instructions and get my map on here and working with the Eastern Front.

HURRAY!!!  And Thanks again!