Company of Heroes: Eastern Front

Author Topic: Tutorial: Convert maps to .sga format  (Read 20388 times)

Offline Dominic 'Dragon' Cassidy

  • Administrator
  • Mr. Spam
  • *
  • Posts: 1890
    • View Profile
Tutorial: Convert maps to .sga format
« on: February 03, 2009, 10:41:01 PM »
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.



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.






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.



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.



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/"






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






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.






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"



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.
« Last Edit: December 07, 2011, 10:13:11 AM by Walki »


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

Offline Brewsky

  • Guard
  • ***
  • Posts: 167
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #1 on: February 04, 2009, 12:33:43 AM »
Wow. Great job Dragon. Thanks!

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3261
  • Creator of Things
    • View Profile
    • Steam Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #2 on: June 29, 2009, 12:54:20 PM »
Wtf? I try to pack my Map with the ModStudio and now i can´t open any of my maps anymore error:


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

Offline Mystic-Car

  • Developer
  • Guard
  • *
  • Posts: 206
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #3 on: June 29, 2009, 03:29:14 PM »
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

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3261
  • Creator of Things
    • View Profile
    • Steam Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #4 on: June 30, 2009, 03:33:51 PM »
Thanks it´s working again. I will release a new Version of River Docks soon.
« Last Edit: June 30, 2009, 06:53:41 PM by walki1 »
I identify as a four-eyed bird man. /s

nbeerbower

  • Guest
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #5 on: August 01, 2009, 04:44:40 AM »
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 Edit: August 01, 2009, 07:03:32 AM by nbeerbower »

Offline Neo-Studio

  • Ingenery
  • *
  • Posts: 2
  • Я люблю Company of Heroes ;)
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #6 on: April 12, 2010, 11:19:53 AM »
А может кто нибудь это руководство на русский язык перевести ?  :)

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3261
  • Creator of Things
    • View Profile
    • Steam Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #7 on: April 12, 2010, 05:02:16 PM »
Could you write with english letters please? :D
I identify as a four-eyed bird man. /s

Offline Neo-Studio

  • Ingenery
  • *
  • Posts: 2
  • Я люблю Company of Heroes ;)
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #8 on: April 13, 2010, 11:28:59 AM »
Maybe somebody this book into Russian translate?  :)

Offline garlices

  • Ingenery
  • *
  • Posts: 1
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #9 on: May 03, 2010, 11:55:56 PM »
Could you write with english letters please? :D

english letters? do u mean latin? hahah

Offline GameMan

  • Ingenery
  • *
  • Posts: 12
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #10 on: August 28, 2010, 11:03:43 AM »
Do I have to make a description in english or I can do it in Polsih?

Offline gtxmex

  • Ingenery
  • *
  • Posts: 4
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #11 on: October 30, 2010, 06:37:54 PM »
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.

Offline Enrique 'Blackbishop' E.

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12056
  • Community Manager, Programmer and Kicker
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #12 on: October 30, 2010, 06:59:56 PM »
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:
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...

Offline gtxmex

  • Ingenery
  • *
  • Posts: 4
    • View Profile
Re: SGA Map Tutorial - For noobs and Pros.
« Reply #13 on: October 30, 2010, 08:03:24 PM »
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!