Uploading a mod creates a copy of it instead of updating

User avatar
eMeM
Lieutenant Colonel
Posts: 2046
Joined: Sat 24 Nov 2012 00:26
Contact:

Uploading a mod creates a copy of it instead of updating

Postby eMeM » Wed 14 Jun 2017 15:31

I updated my mod to the newest version using the updatemod.bat, added a copule textures, generated it and tried to upload the changes, but the mod doesn't update, instead a new mod with the same name is created in the workshop. If I do it multiple times, multiple new copies will be created.

I didn't change the name or anything in the config file, I only have one local mod folder.
Image

Sorel
Corporal
Posts: 24
Joined: Wed 8 Mar 2017 19:04
Contact:

Re: Uploading a mod creates a copy of it instead of updating

Postby Sorel » Wed 14 Jun 2017 17:10

After the upload on steam, ModGen modifies your mod config.ini, changing the "ID" field. Could you check the value for your mod? If after a succeeded upload, the value is still 0, please check if the file is locked.

User avatar
eMeM
Lieutenant Colonel
Posts: 2046
Joined: Sat 24 Nov 2012 00:26
Contact:

Re: Uploading a mod creates a copy of it instead of updating

Postby eMeM » Wed 14 Jun 2017 17:51

ID is indeed 0 after uploading a copy.

What do you mean by locked? If "read-only", it's not.
Image

Sorel
Corporal
Posts: 24
Joined: Wed 8 Mar 2017 19:04
Contact:

Re: Uploading a mod creates a copy of it instead of updating

Postby Sorel » Wed 14 Jun 2017 18:30

ModGen seems to be working correctly. You can fix the problem by replacing the 0 by your mod's Steam ID.

User avatar
eMeM
Lieutenant Colonel
Posts: 2046
Joined: Sat 24 Nov 2012 00:26
Contact:

Re: Uploading a mod creates a copy of it instead of updating

Postby eMeM » Wed 14 Jun 2017 18:47

It's working, thank you!
Image

SGMRock
Private First-Class
Posts: 7
Joined: Sat 27 May 2017 06:49
Contact:

Re: Uploading a mod creates a copy of it instead of updating

Postby SGMRock » Wed 14 Jun 2017 22:14

What is happening is when you run GenerateMod.bat it is creating a new config.ini file and overwriting your old one so if you don't back that up and keep your SteamID for your mod then go back and reedit the config.ini with that info it will upload a new copy of your mod every time now you run generatemod.bat.

Who is online

Users browsing this forum: No registered users and 0 guests