Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > RO2/RS Modifications > General Modding Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2013, 11:53 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default Beware - Workshop Uploads - Launching SDK from Console vs Steam

A few days ago I realized that the Steam Workshop uploads I made when I launched the SDK from Steam were not shown in the Update window of the SDK launched from the command-line (start "" "%SteamDir%\SteamApps\common\red orchestra 2\Binaries\Win64\ROGame.exe" editor -cookededitor -genericbrowser -log), and vice-versa.

I looked at the environment variables of both SDK, more specifically, the environment variable SteamAppId.
Value for SDK launched from command-line: 35450
Value for SDK launched from Steam: 104310

C:\Program Files (x86)\Steam\SteamApps\common\red orchestra 2\Binaries\Win64\steam_appid.txt contains 35450 (which is obviously not used by the SDK when launched from Steam). I put 104310. All of a sudden, the items in the list of the Workshop Update window matched that of the SDK launched from Steam.

So if you have the same problem, now you know why. Now I force 104310 in steam_appid.txt.

Last edited by -=THOR=-; 01-28-2013 at 11:57 AM.
Reply With Quote
  #2  
Old 01-28-2013, 06:40 PM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

Last time this happened to me, I pressed the reset history button.
Reply With Quote
  #3  
Old 01-28-2013, 06:47 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Quote:
Originally Posted by danh View Post
Last time this happened to me, I pressed the reset history button.
Reset will work only for the current app id. So for instance, it clears the history of app 35450 if the SDK is launched from the command-line, and the history of app 104310 if launched from steam.
Reply With Quote
  #4  
Old 01-28-2013, 06:56 PM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

Well, I haven't uploaded a single thing in almost a month so hopefully this doesn't happen to me but at least you found a solution.
Reply With Quote
  #5  
Old 01-28-2013, 07:18 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Do you launch from console (with ROGame.exe) or steam? If you're always launching from steam, or with "steam.exe -applaunch 104310", you should not have any issue.
Reply With Quote
  #6  
Old 01-28-2013, 08:49 PM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

I use both a bat file and steam.
Reply With Quote
  #7  
Old 01-28-2013, 10:51 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Quote:
Originally Posted by danh View Post
I use both a bat file and steam.
With your bat file are calling directly ROGame.exe or using Steam.exe?
Reply With Quote
  #8  
Old 01-28-2013, 10:56 PM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

Directly calling ROGame.exe but I only use that to look at stock maps while I am working on customs. I normally open the sdk through steam.

Spoiler!
Reply With Quote
  #9  
Old 01-28-2013, 11:46 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Quote:
Originally Posted by danh View Post
Directly calling ROGame.exe but I only use that to look at stock maps while I am working on customs. I normally open the sdk through steam.

Spoiler!
In that case you should be able to witness the issue. Upload TE-A with SDK launched from your bat file, and upload TE-B with SDK launched from steam. TE-A should not appear in the 2nd SDK, while TE-B won't appear in the update window of the 1st SDK, at least, if you still have 35450 in the steamappid file.
Reply With Quote
  #10  
Old 02-12-2013, 01:07 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Btw, another way to see the impact of having the wrong appid....

When you launch the SDK with ROGame.exe with the wrong appid (35450), steam says that you are playing RO2, and not that you are using the SDK.
Reply With Quote
  #11  
Old 02-21-2013, 09:09 AM
Drecks Drecks is offline
Senior Member
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 1,950
Default

Well I always started my SDK from Steam and I can't update all maps on SWS.
I never could update SWS. The maps shown is always different.

For now I only see TE-Coldsteel in my update list

This means I will have to delete them all once again or is there any workaround ?

Last edited by Drecks; 02-21-2013 at 09:12 AM.
Reply With Quote
  #12  
Old 02-21-2013, 10:22 AM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

There is a reset workshop history button in the SDK. Have you tried that? I have to use it all the time.
Reply With Quote
  #13  
Old 02-21-2013, 10:58 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Quote:
Originally Posted by danh View Post
There is a reset workshop history button in the SDK. Have you tried that? I have to use it all the time.
I tried, but it doesn't fix the issue. Reseting the history works for the current app id only. It will not make two different apps update at the same location.
Reply With Quote
  #14  
Old 02-21-2013, 11:34 AM
Drecks Drecks is offline
Senior Member
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 1,950
Default

I did try that reset button more then once. Without succes. At first it only showed CD-Rakowice as the only map I could update on SWS.With the latest patch I deleted all my stuff on SWS and uploaded all again.
This works, but this is not the supposed way to do. It will loose all your screens,comments and other stuff. Now it only shows TE-Coldsteel as map to update. I have this number 35450 in my folder with ROGame.exe

Now working to get a reset button on my wife. Chances are that one will work.
Reply With Quote
  #15  
Old 02-21-2013, 03:01 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is online now
Senior Member
 
Join Date: Sep 2011
Posts: 853
Default

Quote:
Originally Posted by Drecks View Post
I did try that reset button more then once. Without succes. At first it only showed CD-Rakowice as the only map I could update on SWS.With the latest patch I deleted all my stuff on SWS and uploaded all again.
This works, but this is not the supposed way to do. It will loose all your screens,comments and other stuff. Now it only shows TE-Coldsteel as map to update. I have this number 35450 in my folder with ROGame.exe

Now working to get a reset button on my wife. Chances are that one will work.
Did you upload your maps from the SDK launched from ROGame.exe in a batch script, or did you upload from the SDK launched from steam?
Reply With Quote
  #16  
Old 02-21-2013, 03:32 PM
Drecks Drecks is offline
Senior Member
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 1,950
Default

From day 1 I worked with the SDK from Steam. Never ued a batch script.
Reply With Quote
  #17  
Old 02-24-2013, 06:31 PM
Drecks Drecks is offline
Senior Member
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 1,950
Default

Well Thor's solution worked. With that and his help I could update my maps on SWS.
I updated Coldsteel. Rakowice will follow tomorrow.

Last edited by Drecks; 02-24-2013 at 06:39 PM.
Reply With Quote
  #18  
Old 02-24-2013, 06:39 PM
danh danh is offline
Senior Member
 
Join Date: Jun 2012
Posts: 1,370
Default

You just change the appid?
Reply With Quote
  #19  
Old 02-24-2013, 06:46 PM
Drecks Drecks is offline
Senior Member
 
Join Date: Nov 2005
Location: The Netherlands
Posts: 1,950
Default

Quote:
Originally Posted by danh View Post
You just change the appid?
Yes.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC