RO2 Bug with Publishing

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

Gosatsu

FNG / Fresh Meat
Feb 8, 2015
9
0
0
France
steamcommunity.com
Hi all, I'm working on my First Map for RO2 (a remake of DM6 Stalingrad, a MoH:AA map) but I've a bug with the Publish Button.

I can test my map in the Editor without problem, but when I click on the Publish Button, all is going good (with Success in the command line and no problem) after what ROGame.exe crashed (but I ask
 

Defwen

FNG / Fresh Meat
May 25, 2013
120
0
0
defwen.com
I remember I had same problems but not sure why would they persist after a reinstall.

Anyway, it was because I had a map with the same name in a game folder.

What always helped was either to rename and save the map to a completly different folder and then just move it into Unpublished or to create a new RO profile.
 

Twrecks

Active member
Dec 28, 2011
1,241
10
38
Ventura, California
Create a Batch file (make a text file with notepad, then change the extension from .txt to .bat) You have to show extensions for file names to do this, either by editing the name or changing it in explorer. If warned about changing the extension, just say okay, that's what you intended anyways.

Copy/Paste the following lines of text:
==========================================
cd c:\
cd Program Files (x86)\Steam\steamapps\common\Red Orchestra 2\Binaries\Win64
rogame brewcontent TE-MyMapName
pause
==========================================


Replace "TE-MyMapName" with your map's name, "RSTE-Kawabunga" for example.

I keep my batch file on the desktop. After closing the SDK, then brew my map using the batch file, of course after changing the name of the map to whatever I'm working on at the time. Because the editor is closed, brew times are less, and more of your computer's resources are available.

Two command windows will appear during the process. That's normal.

After completing, a new map file will appear in the Published directory. If a map with the selected name is already there when you start, it will spoil the brew and possibly corrupt the unpublished file.
 
Last edited:

Gosatsu

FNG / Fresh Meat
Feb 8, 2015
9
0
0
France
steamcommunity.com
Anyway, it was because I had a map with the same name in a game folder.

What always helped was either to rename and save the map to a completly different folder and then just move it into Unpublished or to create a new RO profile.
It's not that, with every map it's the same problem, even if I delete my My Games\RedOrchestra2 folder. But thanks for your reply.

cd C:\Program Files (x86)\Steam\steamapps\common\Red Orchestra 2\Binaries\Win64
rogame brewcontent XX-MyMapName
The same as always, I've used the command line before. The Brew/Cooking seems to works (I still have the same Success in the command line and no error).

But when I look in the \My Games\RedOrchestra2\ROGame\Published\CookedPC\Maps folder... Nothing.

I've tried with "Run as administrator..." on the batch file, nothing...

It's like it can copy the file in the folder at the end, there is no debug option? A cache folder where the map is created before copy into Published ?

This bug is like a Windows Server 2003 bug... inapprehensible :(
 
Last edited:

Gosatsu

FNG / Fresh Meat
Feb 8, 2015
9
0
0
France
steamcommunity.com
Inconcievable!

Right click on your Published folder and check its properties. Make sure it wasn't made "Read Only" by accident.
I checking it already, I don't understand, I've all writes, that's why I thinking about my Anti-Virus.

BTW, I can compile a test Mutator without problem and I've the .u into My Games\RedOrchestra2\ROGame\Unpublished\CookedPC\Script

It's crazy :confused:
 

Twrecks

Active member
Dec 28, 2011
1,241
10
38
Ventura, California
not done yet :)

How long does it take to brew? If it's less than 10 seconds, your Mapname in the batch file isn't in the right place and no map is actually being published. Or there's a typo and the MapNames don't match.

You stated you deleted the RO2 folder. That's where the \My Games\RedOrchestra2\ROGame\UnPublished folder with the SDK map's roe needs to be. You can open maps in the SDK from anywhere, you can't publish them unless they're in the proper folder.
 

Gosatsu

FNG / Fresh Meat
Feb 8, 2015
9
0
0
France
steamcommunity.com
not done yet :)

How long does it take to brew? If it's less than 10 seconds, your Mapname in the batch file isn't in the right place and no map is actually being published. Or there's a typo and the MapNames don't match.

You stated you deleted the RO2 folder. That's where the \My Games\RedOrchestra2\ROGame\UnPublished folder with the SDK map's roe needs to be. You can open maps in the SDK from anywhere, you can't publish them unless they're in the proper folder.
It was that !!! :eek:

My maps were in their folders, and the Publish Button don't move them into My Games\RedOrchestra2\ROGame\Unpublished\CookedPC\Maps before executing the command.

And for the command line, I used to give the Path to my map.

Thanks a lot Twrecks! Merci beaucoup! I understand now that is not relative to the path system. ;)