How to update a workshop item

Strava

Registered
It has been years since I posted anything in the workshop and my old memory is failing me.
I would like to use the manual method of running steamcmd from a bat file.
What I need to know is how do I make it do an update to an existing item?

Here is the bat file for the original item:
------------
C:\~Shortcuts\rFactor\Workshop\SteamCMD.exe +login userid pswd +workshop_build_item
C:\~Shortcuts\rFactor\Workshop\AcademyRacer\metadata.vdf
----------------
and the .vdf file:
--------------
"workshopitem"
{
"appid" "365960"
"publishedfileid" "2478356825"
"contentfolder" "C:\~Shortcuts\rFactor\Workshop\AcademyRacer\Content"
"previewfile" "C:\~Shortcuts\rFactor\Workshop\AcademyRacer\racer01.jpg"
"visibility" "2"
"title" "the Academy Racer"
"description" "the Academy Racer
Based on the rTrainer from rF1 by ISI.
Converted to rF2 by Strava.

This version includes:
- 15 skins in a rainbow of colors.
- Remodeled Cockpit.
- Textures and materials toned down and adjusted.
- Tires upgraded to Deformable Tire material.

The RT1600 has about 150hp and runs on street radials.

The RT2000 has about 175hp and also runs on street radials."
"changenote" "Beta 01"
}
---------------------------
Here is the .mft that goes with the update .rfcmp
------------------------
[Component]
Name=AcademyRacer
Version=1.1
Type=2
Author=Strava
Origin=0
Category=6
ID=
URL=
Desc=Upgrade tires to level 2. Softer front ARB. More forward brake bias.
Date=134202753988030000
Flags=2134017
RefCount=1
Signature=b13237264b6957e96eaa25cd63138a8d2388256e235f573f431ebac6fe595f8d
BaseSignature=b69157456cb9b7b2ff1645d5ec026ac11971df7953881cd0b384067d88faa2c1
MASFile=Trainer_Car.mas ace3b00a88ac3ff6077e6f19d2ce85e064e163fcd21ecfa771a5eae975cde4df
-----------------------------
Thanks for any help.
 
With the GUI tool, when I select "Submit" status becomes "Validating Mod Pack" and it hangs there.
Here is my .json file
-------------------------
{
"publishedfileid": "2478356825",
"contentfolder": "AcademyRacer",
"previewfile": "",
"visibility": 2,
"title": "AcademyRacerTires",
"description": "AcademyRacer Tire Update",
"metadata": "",
"tags": [
"Open Wheel"
]
}
-------------------------------------
The rfcmp file is in
C:\SteamWorkshopUploader\WorkshopContent\AcademyRacer

The rfcmp installs correctly with the MAS tool or in game from the packages folder.
 
Updater.jpg
 
@Strava Unfortunately, this Tool doesn't give useful "Error"-Messages (from my Experience).
I don't see a Preview Picture in your Screenshot.
Did you try it with adding one already?
Take Care for it's Size!
If the Size doesn't fit the Steam Requirements, the Upload fails too, without a Message about the Reason.
E.g. a Picture with the Resolution 1024 x 768 Pixel should work and i use jpg as Format.
Enter it's Entry into the JSON File at "previewfile": "" and put it in the same Folder where the JSON File is.
Maybe that makes it working.
 
@Strava
here is my my procedure (P935_K3 example):

- prepare vdf file (place it in "C:\steamcmd\workshop\P935_K3\)

"workshopitem"
{
"appid" "xxxxxx"
"publishedfileid" "xxxxxxxxxx"
"contentfolder" "C:\steamcmd\workshop\P935_K3\content"
"previewfile" "C:\steamcmd\workshop\P935_K3\preview.jpg"
"visibility" "0"
"title" "Porsche 935 K3"
"changenote" "v.0.90.2 - chassis fix"
"tags" "Road Legal Car"
}


- place a preview.jpg in same folder

- place rfcmp file in folder C:\steamcmd\workshop\P935_K3\content

- open commandprompt (cmd.exe)

- switch to your steamcmd directory (c:\steamdcmd)

- run command

steamcmd.exe +login username password +workshop_build_item C:\steamcmd\workshop\P935_K3\metadata.vdf

- authorize with your steam app on phone

- after it has uploaded, you then have to close and reopen your steam program

- I normally add a longer update description afterwards in steam program, since I have experienced upload problems if its in the vdf file.
 
Thanks for your replies. My main question was how to do an update. Thomas explained that well.
I also found a good guide that states it clearly:
"Updating your item is also simple. Just make changes to the content folder and the metadata file and re-run the command to update your item."

It also explains all of the other necessary bits.
 
@Strava The Uploader Tool is doing it too, you just have to replace the rfcmp (+Template if you like, or whatever else you want to upload) in the Content Folder with the new File, write an Update Text in the lowest Field in the Tool Window and upload it again.
 
Last edited:
Back
Top