How to package an update for workshop item?

Discussion in 'Component and Mod Packaging' started by Strava, Mar 28, 2021.

  1. Strava

    Strava Registered

    Joined:
    Feb 13, 2015
    Messages:
    56
    Likes Received:
    28
    After uploading my mod to the workshop I have the usual folder structure, vdf file and content.

    After I create the update rfcmp file, where do I put it?
    How do I specify that I want steamcmd to apply the update rfcmp?
    Does the filename of the update rfcmp matter?
    Is there anything I need to add to the metadata.vdf file? ( i see nothing in it that relates to versions or updates )
    If I set visibilty to 2(hidden) will it just hide the update or the whole mod? ( looking for a way to test the upload update b4 going public )
    Where does the name of the folder the mod gets installed to come from? ( my workshop folder and rfcmp are named the same. And I want to be sure I don't create a new folder name. )

    Edit ( could it be as simple as put the update rfcmp in content folder and rerun steamcmd? )
     
    Last edited: Mar 28, 2021
  2. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,780
    Likes Received:
    2,242
    You just put it in the folder, remove the old one, and it'll update it.
     
  3. Strava

    Strava Registered

    Joined:
    Feb 13, 2015
    Messages:
    56
    Likes Received:
    28
    What if my update rfcmp does not contain all of the mas files?
    For example, I just want to update the teams.mas.
    For a local update my rfcmp only has the teams.mas in it.
    It would make more sense to ADD that file to the content folder.

    I see all of the Formula E cars and the ex zero have multiple version folders that, i assume, build on each other.
    So I think that method may work.

    The other way to do it would be to replace the existing rfcmp with a new one that contains all of the mas files.

    I can see where either way could work.
    I just want to know the right way so I dont mess up my mod.
     
  4. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,780
    Likes Received:
    2,242
    Paid content is using patches, you don't need to do that, you can just put the new component file into the folder. You are over thinking it. If you screw it up, you can just go back to an old version.
     
    Strava likes this.
  5. Strava

    Strava Registered

    Joined:
    Feb 13, 2015
    Messages:
    56
    Likes Received:
    28
    Thanks for the explanation.
    I will try it that way..
     
  6. Strava

    Strava Registered

    Joined:
    Feb 13, 2015
    Messages:
    56
    Likes Received:
    28
    Removing the base rfcmp from content did not work.
    After trying a few combinations what finally worked was:

    Leave base rfcmp in content.
    Create an update rfccmp in content ( new version number / require previous version )
    Install update on my machine. ( this seems to be key )
    Run steamcmd.

    The result, as I expected, is 2 folders in the mod folder, one for each version.
     

Share This Page