Export Package
Posts: 13
Posts: 59
Posts: 18
Posts: 3421 | Subs: 11
Try removing the .sga file you are trying to create, e.g.
C:\Users\YOURNAME\Documents\My Games\Company of Heroes 2\mods\scenarios\mymap.sga
If you are unable to remove it, World Builder won't be able to access it either.
1. Close ALL World Builder sessions
2. Try removing the .sga archive of your map. If you are able to remove it, continue to step 3. Otherwise go back to step 1.
3. Launch World Builder and load your map
4. Run "Export package" again.
Posts: 18
The .sga file was not created at all because of the error.
Doing all this does not work. Would it be possible something on the map was not correct ? As a map Creator on coh1, i used to do it. So i do not understand what happen.
Posts: 3421 | Subs: 11
What is the exact path to your map files?
Does path Company of Heroes 2\mods\scenarios exist in your My Games Folder?
Posts: 18
Posts: 3421 | Subs: 11
Posts: 18
Posts: 3421 | Subs: 11
Open notepad and paste in following content:
set buildfile="C:\Users\YOURNAME\Documents\My Games\Company of Heroes 2\PackageBuildFile.txt"
set sgafile="C:\Users\YOURNAME\Documents\My Games\Company of Heroes 2\mods\scenarios\YOURMAP.sga"
set rootpath="C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2"
Archive.exe -c %buildfile% -a %sgafile% -r %rootpath%
pause
Make sure:
- buildfile matches your system
- sgafile matches your system
- rootpath matches your system
After necessary edits save this as buildmap.bat to your CoH2 installation folder.
Take a loot at your PackageBuildFile.txt which is located in my games/Company of Heroes 2/ (this file is generated by World Builder) it should look something like this:
Code
Archive name="YOURMAPNAME" blocksize="262144"
TOCStart name="YOURMAPNAME" alias="Data" relativeroot=""
FileSettingsStart defverification="none" defcompression="stream_compress"
Override wildcard=".*\.(info|options|scar)$" minsize="-1" maxsize="-1" vt="crc_blocks" ct="buffer_compress"
Override wildcard=".*\.(scenariomarker|sgb)$" minsize="-1" maxsize="-1" vt="crc_blocks" ct=""
FileSettingsEnd
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME.sgb
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME.scenariomarker
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME.info
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME.options
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_ID.scar
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_lao.dds
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_tdm.dds
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_loading_background.tga
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_mm.tga
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_mm_low.tga
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YOURMAPNAME\YOURMAPNAME_mm_preview.tga
TOCEnd
If it does look like that, run the buildmap.bat you created earlier by double clicking it.
A new SGA archive should appear in My Games/Company of Heroes 2/mods/scenarios/
Posts: 18
Posts: 18
I have it when i Use the worldbuilder, but not with my .bat
And this is the exacts paths. and all with administrator rights
So I know now the process stops to work at the moment it should create the sga file.
Posts: 18
Archive name="RiverCity" blocksize="262144"
TOCStart name="RiverCity" alias="Data" relativeroot=""
FileSettingsStart defverification="none" defcompression="stream_compress"
Override wildcard=".*\.(info|options|scar)$" minsize="-1" maxsize="-1" vt="crc_blocks" ct="buffer_compress"
Override wildcard=".*\.(scenariomarker|sgb)$" minsize="-1" maxsize="-1" vt="crc_blocks" ct=""
FileSettingsEnd
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity.sgb
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity.scenariomarker
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity.info
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity.options
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_ID.scar
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_lao.dds
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_tdm.dds
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_loading_background.tga
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_mm.tga
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_mm_low.tga
C:\Program Files\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\Scenarios\mp\RiverCity_mm_preview.tga
TOCEnd
Posts: 3421 | Subs: 11
Extract this to your desktop
- Run CoH2SGAPacker.exe
- Click the button next to "Path to Archive.exe" and browse to CoH2 installation folder and open Archive.exe
- Click the button next to "Input directory" for creating SGA Archive and browse to your map folder, eg.
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YourMap
- Set Archive name to what ever you want
- Leave alias as it is
- Click the button next to "Output path for creating SGA Archive" and browse to My Games/Company of Heroes 2/mods/scenarios/ and save it a name of your choise, e.g. 2p_mymap.sga
- Click "Create Archive"
- Check if the SGA archive is now existing in My Games/Company of Heroes2/mods/scenarios
Example usage:
You can also save your map SGA Packing settings as .sgaproj. Click File -> Save Project as and save it where ever you want to. The program will load last project automatically at launch. You can also manually load the project.
Posts: 18
Furthermore, I tried to create sga with the friend's computer, and my sgb was successfully changed in sga package.
So it comes from my computer.
Hope your soft could be THE solution
thanks a lot. I will be back
Posts: 18
If you may link again.
Posts: 3421 | Subs: 11
Posts: 3421 | Subs: 11
Posts: 18
Posts: 357
Livestreams
19 | |||||
188 | |||||
33 | |||||
17 | |||||
11 | |||||
4 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.940410.696+6
- 4.35459.857-1
- 5.599234.719+7
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger