Map Cooking Tip

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

danh

FNG / Fresh Meat
Jun 19, 2012
1,390
1
0
Hi guys! I wanted to share some tips on cooking maps. You should refer to the cooking guide that is stickied in this forum before reading on.

I created a bat file so I can automate the cooking process without having to type in the commands over and over. It is very easy.

Step 1.
Open Notepad.

Step 2.
Type without quotations:

"cd Program Files (x86)\Steam\steamapps\common\Red Orchestra 2\Binaries\Win64"

This is my default directory for red orchestra. Please change it to yours if it is different from mine.

Step 3.
Type the following lines without the quotations:

"
rogame CookPackages -Platform=PC TE-yourmap -AlwaysRecookMaps -UpdateInisAuto -usermode -log

PAUSE

rogame CookPackages -Platform=PCServer TE-yourmap -AlwaysRecookMaps -UpdateInisAuto -usermode -log

PAUSE
"

Replace yourmap with the name of your map. Add other game types if you have to.

Step 4.
Save the file as a bat file. For example, you click on file and save as. Type in the name as "cooking.bat" without the quotations.

Enjoy and have a nice day!
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
When I try to cook my map it stops and says that "Failed to find package *mymapname*. do I need to save my that package somehow? Is it for textures etc?
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
this is the error I get.
RO2_error.png
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
I started making my from Tripwire sample map. I also saved the sample map from different file and tried cooking, and I got the same result.
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
I got the same error, I put my map into folder:

C:\Users\*USERNAME*\Documents\My Games\RedOrchestra2\ROGame\Unpublished

and

C:\Users\*USERNAME*\Documents\My Games\RedOrchestra2\ROGame\Unpublished\Content\Maps

but it still gives the same error.
 

danh

FNG / Fresh Meat
Jun 19, 2012
1,390
1
0
Did you set up the mapinfo? NVM, you used a sample map.

Well, I just tried to cook one of the sample maps and it worked fine. I don't know what is wrong with your map. Did you save anything that isn't your map? Like when you click exit after editing your map, did more props/packages pop up asking you to save them?
 
Last edited:

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
Did you set up the mapinfo? NVM, you used a sample map.

Well, I just tried to cook one of the sample maps and it worked fine. I don't know what is wrong with your map. Did you save anything that isn't your map? Like when you click exit after editing your map, did more props/packages pop up asking you to save them?

I recall something like that, the editor asked but if I recall it right. I didnt save anything. :eek:
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
I copied one sample map to C:\Users\*USERNAME*\Documents\My Games\RedOrchestra2\ROGame\Unpublished folder and opened it from editor and tried cooking, but it gives that same error. When I press cook button, it says that packages must be saved etc.. press yes to save or no to publish without saving packages.
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
Ok, maybe some kind of step by step tutorial for dummies (me), with this. If the sample maps should cook easily, what can I do wrong? I tried copying the sample map to default dir (unpublished) and cook but no. It gives that same error but ofcourse with different map name.
 

Viceman

FNG / Fresh Meat
Aug 17, 2006
65
0
0
www.youtube.com
Intel Xeon CPU E31235@3.2GHz, 8Gt ram, win7 64bit, which should be enough. And I am logged in as admin. I have tried this with my laptop at homa and with this pc at work. Both give same error. I was wondering could it be with my Finnish win7 what causes this? Because its about only thing whats common with these computers.