HOW TO: Hosting with SteamCMD and Paid Content

Discussion in 'Hosting Help' started by Christopher Elliott, Aug 1, 2017.

  1. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    nope, my dear, 3/4 is over, so i have no time left for stuff like this ;)
     
    Adrianstealth likes this.
  2. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
    Unfortunately, yes. At least everything you want to run on your server.

    I haven't managed to download paid content on the command line, you need to copy from your normal steam rFactor2 installation. The easiest way I found is to copy directly from /installed/ into the server's /installed/ folder.

    Just ignore it, is an error that steamCMD throws but wait for the download to finalise.

    No mod specificied means you have not a package with tracks and vehicles for your server to start. As opposed to the normal game that loads everything that is installed, the server requires a RaceEvent with tracks and vehicles. You create that with the MAS.exe utility, that to make things more complicated calls that a Mod package and generates a rfcmp. You need to be half Einstein to get it, so don't worry if it's confusing. The guide on how to create it is here:
    https://steamcommunity.com/sharedfiles/filedetails/?id=554544322

    Once you have one created, the server will ask which package to use, and then you can run the server.
    I'll try to write a guide over the weekend before I forget the whole thing, because it's an absolute nightmare. That or wait for the new UI that (hopefully!) will simplify these things. Right? They are improving this right? (cries in desperation...)
     
  3. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    Thx for your long answer, i followed the tutorials and got errors like described.
    But i am 2 steps further, (cleaned all up, removed everything, started fresh) server is running und shows up in list. At least in my list and ...
    << package not found , great, new problems to solve :D >>

    I thought PC2s dedicated is bad, but this one - LOL
    Dont remember, i hosted GTR and Race07 servers years ago - was it the same complicated xxxxx ?
    I want some files, sftp or ssh and a root shell plz. ;)

    If the game wasn't so good to drive, i would put it in /dev/null because of time wasting xxxxxxxx
     
  4. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
    I completely agree, the process to set up a dedicated server is just xxxx.
    I assume the package not found error is shown in red when you try to join your own server? I've never encountered that one, and I've found tons of issues trying to install mine! :D

    If what you're getting is 'package not available', seems like this is due your server using some mod (track, vehicle, etc.) that you don't have installed on your racing rF2, and the sim can't download it. Which is odd considering it's your own server! I assume everything you have added to your server's RaceEvent is also installed on your racing pc?
     
  5. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    yes, i put 2 Mod-Tracks in the package. Tested first with default content, no problem. Me happy! :D That cannot stay so.
    Downloaded with steamcmd Watkins and Hocke which i already have in my Installation, ModMgr, MAS Utilities, New Package, join, in red no package. Yes, you know what ? If i was your Q&A guy i would tell you something about "WHICH ?! Package!!!?" and useful error messages ;)

    error is somewhere on my side, no doubt, but .. i am exhausted for today. This prehistoric software is not funny at all. I am a KDE Guy
     
  6. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
    Very weird indeed. My only guess is that content has somehow changed since you installed it, or it's a different mod. As a last resort I'd suggest copying the files from the /installed/ folder inside your normal sim, into /rfactor2-dedicated/installed/. That's how I moved the paid content and I ModMgr directly recognised the RSR as installed. That way it should defo be the same mod!
     
    Akela_DE likes this.
  7. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    may i see which ID's to use with steamcmd ?



    Package error is gone after i copied the tracks from dedicated/installed to local installation/installed. Thats funny, because i desubbed/subbed the two tracks. Expected to be the same version

    paid content is running also after copy. Followed first post (which is incomplete!) and advices from AlexNordic. Thx.
     
    Last edited: Oct 5, 2018
  8. Racki

    Racki Registered

    Joined:
    Jun 26, 2017
    Messages:
    22
    Likes Received:
    32
    If someone needs it here are the workshop IDs of the DLCs:
    Code:
    // =====================
    // OFFICIAL GT3 PACK
    // =====================
    // McLaren 650S GT3
    workshop_download_item 365960 1097229192 validate
    // Radical RXC Turbo GT3
    workshop_download_item 365960 1097232726 validate
    // Mercedes AMG GT3
    workshop_download_item 365960 1097232656 validate
    // Bentley Continental GT3
    workshop_download_item 365960 1097230662 validate
    // Callaway Corvette C7 GT3-R
    workshop_download_item 365960 1097232188 validate
    
    // =====================
    // GT3 Challengers Pack
    // =====================
    // McLaren 720S GT3
    workshop_download_item 365960 1596821875 validate
    // BMW M6 GT3
    workshop_download_item 365960 1596822133 validate
    // Porsche 911 GT3 R
    workshop_download_item 365960 1596822183 validate
    // Audi R8 LMS GT3
    workshop_download_item 365960 1596822230 validate
    // Aston Martin Vantage GT3
    workshop_download_item 365960 1596822282 validate
    
    // =====================
    // OFFICIAL ENDURANCE PACK
    // =====================
    // Porsche GTE
    workshop_download_item 365960 1411394979 validate
    // BMW M8
    workshop_download_item 365960 1411402133 validate
    // Corvette GTE
    workshop_download_item 365960 1411387394 validate
    
    // Oreca LMP2
    workshop_download_item 365960 1411402194 validate
    
    // Norma LMP3
    workshop_download_item 365960 1411402158 validate
    
    
    // =====================
    // TRACKS
    // =====================
    // Sebring International Raceway
    workshop_download_item 365960 1453463528 validate
    
     
    Last edited: Dec 30, 2018
    philmcqueen, AlexNordic and Akela_DE like this.
  9. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,407
    Likes Received:
    956
    Following on from what Racki said, you can find the SteamID's for all S397 paid content from the link below. Each item has it's workshopid is at the bottom of each item.

    https://steamdb.info/app/365960/items/

    Also if anyone is interested I've done up a little how to setup up a Steamcmd server with paid content document with step by step instructions....got my son who's never had any contact with anything rF2 related to follow it and he managed to get a server setup, so feel free to grab it.

    https://www.dropbox.com/s/ray1zj3q08bizkt/Steam-CMD.doc?dl=0
    This is released under the DWTFYWWIJGC licence :)

    Couple of other clarifications:
    A .rfcmp file is a rFactor 2 component file... Can be cars or tracks
    A .rfmod file is a race event file...commonly called a vmod (virtual mod).
    When getting a "Package" error, you can fire up the rF2 launcher and click the content icon (2nd from top) on the left hand side...then by default content is sorted by location, vehicle etc with mods (race events or vmod's) at the bottom, scroll down to find the one that was downloaded when you got the package error message....beside it will be an asterisk, hover over it and it will tell you what you are missing.

    Hope this all helps

    Cheers

    G
     
  10. Racki

    Racki Registered

    Joined:
    Jun 26, 2017
    Messages:
    22
    Likes Received:
    32
    Great Work @Goanna !

    What Ive done additionally is putting the download commands of all mods into a batch file which I can run to get all the latest updates at once.
    The rfcmp files are then automatically copied over to the packages folder.
     
  11. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    Thats all very good information.
    A little late for me, i got the dedi running on local machine with paid content and no errors :)
    All this infos should be in the first post, including Goannas clarifications, his nice guide and possible solutions for common errors (like Assertion Failed: !m_bIsFinalized ) so that the next noob can profit of that.
    Perhaps racki can provide his batchfile ?
     
    Last edited: Oct 6, 2018
  12. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
    Thanks for this! I found the ID when looking for the rfcmp, but I the downloads always failed so assume it was not possible to download paid content that way, even if logged in. Yours have the command "validate", what is that for?
     
  13. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
  14. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
  15. Racki

    Racki Registered

    Joined:
    Jun 26, 2017
    Messages:
    22
    Likes Received:
    32
    Here you are:
    This is my bat file for updating everything:
    Code:
    "C:\Steam\Steam\steamcmd.exe" +login anonymous +force_install_dir C:\Steam\rFactor2-Dedicated +app_update 400300 +quit
    "C:\Steam\Steam\steamcmd.exe" +runscript c:\Steam\updatemods.txt
    
    The attachment contains various IDs. You can see that I tried to structure it a bit with comments but I will rework that someday.

    For copying all rfcmp files inside the download folder structure into the Packages dir I use the following Powershell Command:
    Code:
    dir C:\Steam\Steam\steamapps\workshop\content\365960 -Filter *.rfcmp -Recurse | Copy-Item -Destination C:\Steam\rfactor2-dedicated\Packages\ -Force
     

    Attached Files:

    Alex72, philmcqueen, Akela_DE and 2 others like this.
  16. Racki

    Racki Registered

    Joined:
    Jun 26, 2017
    Messages:
    22
    Likes Received:
    32
    I've updated the workshop IDs with the new GT3 cars in post #69 for your convenience :)
     
    Alex72, AlexNordic and Akela_DE like this.
  17. Akela_DE

    Akela_DE Registered

    Joined:
    Jan 23, 2018
    Messages:
    389
    Likes Received:
    268
    that reminds me ... expanded your list a bit. Not complete, some tracks/cars i dont like are missing ;)

    login username
    @ShutdownOnFailedCommand 0

    // *******************
    // **** Cars ***
    // *******************

    workshop_download_item 365960 926662201 validate
    // Nissan GT500 2013
    workshop_download_item 365960 823946118 validate
    // Radical SR3-RSX
    workshop_download_item 365960 950759997 validate
    // Honda Civic BTCC 2013
    workshop_download_item 365960 922034382 validate
    // Corvette C6RGT2 2009
    workshop_download_item 365960 922034269 validate
    // McLaren M23
    workshop_download_item 365960 1515642353 validate
    // McLaren MP4/8
    workshop_download_item 365960 1515644900 validate
    // McLaren MP4/13
    workshop_download_item 365960 1515650133 validate

    //FR3.5
    workshop_download_item 365960 926662498 validate
    //Megane Trophy 2013
    workshop_download_item 365960 1238702776 validate
    //USF2000 2016
    workshop_download_item 365960 804789421 validate
    //Sc2015
    workshop_download_item 365960 917387475 validate

    //*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
    // OFFICIAL GT3 PACK
    // McLaren GT3
    workshop_download_item 365960 1097229192 validate
    // Radical GT3
    workshop_download_item 365960 1097232726 validate
    // AMG GT3
    workshop_download_item 365960 1097232656 validate
    // Bentley GT3
    workshop_download_item 365960 1097230662 validate
    // Corvette GT3
    workshop_download_item 365960 1097232188 validate
    // =====================
    // GT3 Challengers Pack
    // =====================
    // McLaren 720S GT3
    workshop_download_item 365960 1596821875 validate
    // BMW M6 GT3
    workshop_download_item 365960 1596822133 validate
    // Porsche 911 GT3 R
    workshop_download_item 365960 1596822183 validate
    // Audi R8 LMS GT3
    workshop_download_item 365960 1596822230 validate
    // Aston Martin Vantage GT3
    workshop_download_item 365960 1596822282 validate

    // OFFICIAL ENDURANCE PACK
    // Porsche GTE
    workshop_download_item 365960 1411394979 validate
    // BMW M8
    workshop_download_item 365960 1411402133 validate
    // Corvette GTE
    workshop_download_item 365960 1411387394 validate
    // Oreca LMP2
    workshop_download_item 365960 1411402194 validate
    // Norma LMP3
    workshop_download_item 365960 1411402158 validate


    //(NOT S397)
    // Clio Cup 200 Turbo
    workshop_download_item 365960 841294627 validate
    //BTCC
    workshop_download_item 365960 1176380339 validate


    //*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
    // ************************
    // Strecken/Tracks
    // ************************

    // Sebring
    workshop_download_item 365960 505225177 validate
    // Sao Paulo 2013
    workshop_download_item 365960 951986312 validate
    // MonteCarlo 1966
    workshop_download_item 365960 926662328 validate
    // Portugal 2009
    workshop_download_item 365960 922033988 validate
    //malaysia 2007
    workshop_download_item 365960 922034184 validate
    // Longford
    workshop_download_item 365960 1479307545 validate
    //Atlanta 2014
    workshop_download_item 365960 917386837 validate
    //Montreal 2000
    workshop_download_item 365960 53763120 validate
    // Silverstone 2012
    workshop_download_item 365960 917387157 validate
    // MillsMetro 2011
    workshop_download_item 365960 922034133 validate


    // **********************************************************
    // NOT S397
    // **********************************************************
    //Okayama 2017
    workshop_download_item 365960 1440574045 validate
    // Macau
    workshop_download_item 365960 560488790 validate
    // Bathurst
    workshop_download_item 365960 537639404 validate
    // Dubai
    workshop_download_item 365960 1100000782 validate
    // Watkins Glen V1.02
    workshop_download_item 365960 1508582012 validate
    //Road Atlanta 2017
    workshop_download_item 365960 1227712083 validate
    // Hockenheimring v.123
    workshop_download_item 365960 1430926955 validate
    quit
     
    Last edited: Dec 30, 2018
  18. philmcqueen

    philmcqueen Registered

    Joined:
    Mar 14, 2011
    Messages:
    695
    Likes Received:
    2,288
    @Goanna
    This happend to me on the CMD

    G install.JPG

    I´m not on "C" (OS install directory) but on "G" .Is this matter?
     
  19. AlexNordic

    AlexNordic Registered

    Joined:
    Feb 25, 2018
    Messages:
    56
    Likes Received:
    11
    Akela_DE and Goanna like this.
  20. philmcqueen

    philmcqueen Registered

    Joined:
    Mar 14, 2011
    Messages:
    695
    Likes Received:
    2,288

Share This Page