Uploading to workshop fails

Discussion in 'General Discussion' started by Luis Barata, May 6, 2021.

  1. Luis Barata

    Luis Barata Registered

    Joined:
    Jul 15, 2020
    Messages:
    103
    Likes Received:
    100
    I followed all instructions that I found posted by Marrs (I think) in how to upload in workshop rFactor 2.
    - If the account has to be at least "level 1" (never found nothing where to check it)
    - Signed the Steam Subscriber Agreement.
    - I have rfactor 2 bought in Steam.
    - Downloaded and set SteamCMD and installed it in c:/
    -Created a new folder:
    C:\dev\workshop\Arena\
    metadata.vdf
    preview.jpg
    C:\dev\workshop\Arena\content\
    Arena.rfcmp
    - Changed the meatadata.vdf and the preview.jpg
    - Quit the Steam (just as prevention)
    - Open a CMD window and got the
    "SteamCMD.exe +login USERNAME PASSWORD +workshop_build_item c:\dev\workshop\mycooltrack\metadata.vdf +quit"

    Now after the cmd line it gave me the following information:
    Redirecting stderr to 'c:\steamcmd\logs\stderr.txt'
    [ 0%] Checking for available updates ....
    [----] Verifying instalation ...
    Steam Console Client (c) Valve Corporation
    -- type 'quit' to exit --
    Loading Steam API...ok.


    I have no idea what it means and the stderr.txt have nothing on it.

    Quit annoying the way to upload things. I have several tracks to upload and I found I can't because the Steam seems to be /in this case returning to the 90's with CMD.
    Some help will be appreciated.
    Thanks.
     
  2. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
  3. Luis Barata

    Luis Barata Registered

    Joined:
    Jul 15, 2020
    Messages:
    103
    Likes Received:
    100
    That is the one

    I opened first c:\steamcmd
    and then the cmd line (my fault sorry)
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    @Luis Barata can you show the actual command you entered? You've just pasted the guide one above.
     
  5. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,362
    Likes Received:
    2,518
    I think this would be the correct command line:
    "SteamCMD.exe +login USERNAME PASWORD +workshop_build_item C:\dev\workshop\Arena\metadata.vdf +quit"

    or look for some error in the metadata file, "PublishedFileid" number that is correct....?
    Apologies the first time the value should be "0" for PublishedFileid

    "appid" "365960"
    "publishedfileid" "0"
    "contentfolder" "C:\dev\workshop\Arena\content"
    "previewfile" "C:\dev\workshop\Arena\preview.jpg"
    "visibility" "0"
    "title" "Arena"
    "description" "ARENA"
     
    Last edited: May 7, 2021
  6. Luis Barata

    Luis Barata Registered

    Joined:
    Jul 15, 2020
    Messages:
    103
    Likes Received:
    100
    of course
    I runned cmd

    c:\Users\LuisB>
    c:\Users\LuisB>cd c:\
    c:\>
    c:\>cd steamcmd
    c:\steamcmd>
    c:\steamcmd>steamcmd.exe myusername mypassword arena.rfcmp c:\dev\workshop\arena\metadata.vdf quit

    Redirecting stderr to 'c:\steamcmd\logs\stderr.txt'
    Looks like steam didn't shutdown cleanly, schedulling immediate update check
    [ 0%] Checking for available updates ....
    [----] Verifying instalation ...
    Steam Console Client (c) Valve Corporation
    -- type 'quit' to exit --
    Loading Steam API...ok.

    Steam>

    * myusername and mypassword of course are changed to my real name in the cmd.
    ---------------------------------------------------------------------------------------------------------------
    METADATA.vdf

    "Arena.rfcmp"
    {
    "appid" "365960"
    "publishedfileid" "0"
    "contentfolder" "C:\dev\workshop\Arena\Content\"
    "previewfile" "C:\dev\workshop\Arena\preview.jpg"
    "visibility" "0"
    "title" "Arena"
    "description" "Arena are 3 fantasy different circuits: Oval/Road Course/Karting"
    "changenote" "Version 1.4 is the first release to public"

    --------------------------------------------------------------------------------------------------------------------

    Not sure what should happen after the cmd line but indeed nothing happens and checking my workshop it's nothing there.
     
  7. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    In your cmd here you've put
    Arena.rfcmp
    Instead of
    +workshop_build_item

    I also see you have a \ at the end of your content path in the vdf file, but that's probably ok.
     
  8. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,362
    Likes Received:
    2,518
    :rolleyes: Maybe include "+login" between "Steamcmd.exe" and "username"
     
  9. Luis Barata

    Luis Barata Registered

    Joined:
    Jul 15, 2020
    Messages:
    103
    Likes Received:
    100
    A bit confuse Lazza what is meant to be the "+workshop_build_item"? I thought it was the package to upload, do you think is something else?


    it gives the same information in the end including +login. it seems it's another problem.

    Would be nice if someone could make a complete description with real data (of course using a fake login).

    I have some tracks to upload but is getting difficult. I have Sonoma 2021 with 3 layouts and Sonoma Karting with 3 layouts. Eventually some more later.
     
  10. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,407
    Likes Received:
    956
    See @Corti ‘s post #6, this should work, just change USERNAME and PASWORD to your steam username and password.
    "SteamCMD.exe +login USERNAME PASWORD +workshop_build_item C:\dev\workshop\Arena\metadata.vdf +quit"
     
    Corti likes this.
  11. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    @Luis Barata as Corti and Goanna are alluding to, you don't replace +login or +workshop_build_item with something else - you need them exactly like that, to tell steamCMD what you want to do and where/how to do it.

    The guide said to put this, as you pasted yourself:
    "SteamCMD.exe +login USERNAME PASSWORD +workshop_build_item c:\dev\workshop\mycooltrack\metadata.vdf +quit"

    All you need to change is the username, password, and the path to be yours:
    "SteamCMD.exe +login USERNAME PASSWORD +workshop_build_item C:\dev\workshop\Arena\metadata.vdf +quit"

    And it uses the information you put in that .vdf file. You don't change any of those options (the ones starting with +) - you need to put them exactly like that. You're telling it that you're going to give it your login details (and then you do), then you tell it to build the workshop item (you then give it the path to the information file), and then you tell it to quit.

    I realise this sort of thing is confusing, and I'm surprised if there isn't a GUI frontend for doing this (I'm sure there must be a generic one), but for old people familiar with DOS this is all pretty straightforward...
     
    Corti likes this.
  12. Luis Barata

    Luis Barata Registered

    Joined:
    Jul 15, 2020
    Messages:
    103
    Likes Received:
    100
    It worked finnally. Thanks for your help guys.
     
    Corti and Goanna like this.

Share This Page