GearCity

GearCity

View Stats:
Malino Apr 19, 2021 @ 8:04pm
Mods in "Settings" launcher not updating
Hello!

So I was given this game by a buddy to create a mod for him, and so I had to try and figure out your mod tools (which are pretty easy, btw, props to that).

However, when I update the mod, it updates on the workshop, but not within the settings.

It seems like the game isn't getting the data from the workshop right away, which makes it hard to troubleshoot mods.

If you could help me out with this, that'd be great. Thanks!
< >
Showing 1-15 of 15 comments
Eric.B  [developer] Apr 19, 2021 @ 8:24pm 
Try restarting Steam.

Steam is actually the program that updates the mods. The Video Settings Editor will move the file from the Steam save location to the game folder.

Sometimes Steam won't update it's caches to know that there is an update while it is running. Restarting Steam triggers those rechecks.

Beyond that, it could be an issue with the upload.

If you tell me what OS you're using, I can give you an idea of where to look to see if Steam downloaded the files and the settings editor isn't moving them.
Malino Apr 19, 2021 @ 8:32pm 
Originally posted by Eric.B:
Try restarting Steam.
Sometimes Steam won't update it's caches to know that there is an update while it is running. Restarting Steam triggers those rechecks.

Well, when I update my mod, It goes to my downloads and does an update for the mod, which tells me that it's downloaded the update.

I'm on Windows 10

Also, another note, I uploaded one mod, which I then removed from the workshop, and it's still showing in my launcher. Even though it's no longer on the workshop. I've removed it from my steam folder as well.

I've gone into your WorkshopMods.xml file, and watched it update to my mods new name, however it doesn't reflect that change in the launcher.
Eric.B  [developer] Apr 19, 2021 @ 8:47pm 
Well, when I update my mod, It goes to my downloads and does an update for the mod, which tells me that it's downloaded the update.

After Steam downloads the update, you ran the Video Settings Editor? That should copy the files to GearCity/Media/Mods folder.

Try touching the files and see if that will trigger the copy.

When you restart Video Settings Editor, do you get a message that says:

"We've noticed that you have new or updated Steam Workshop Items...."


Before that, should be a popup that says
Installed: ###
Player Time: ###

What numbers does it give?

Also, another note, I uploaded one mod, which I then removed from the workshop, and it's still showing in my launcher.
Removing a mod from the workshop won't trigger the steam's unsubscribe api call, which in turn won't trigger mod delete when you boot up the Video Settings Editor.

You can navigate to GearCity/Media/Mods and manually delete the old mod by hand.
Eric.B  [developer] Apr 19, 2021 @ 8:48pm 
Also forgot to ask, are you launching the Video Settings Editor from Steam? And not directly from the .exe file?
Malino Apr 19, 2021 @ 8:49pm 
Originally posted by Eric.B:
Also forgot to ask, are you launching the Video Settings Editor from Steam? And not directly from the .exe file?
Yes, launching everything directly from steam.

To add, I've tried reinstalling, verifying, turning off firewall then repeating, etc.
Eric.B  [developer] Apr 19, 2021 @ 9:07pm 
If the video settings editor provides you popups, if you supply me with those, I can tell you where it's getting hung up on in the code.

Reinstalling the game isn't necessary. The settings editor simply checks the time you downloaded the mod and the last time it copied the files over. If the download time is newer, it copies the files over.
Malino Apr 19, 2021 @ 9:10pm 
Originally posted by Eric.B:
If the video settings editor provides you popups, if you supply me with those, I can tell you where it's getting hung up on in the code.

Reinstalling the game isn't necessary. The settings editor simply checks the time you downloaded the mod and the last time it copied the files over. If the download time is newer, it copies the files over.

The only error I'm currently getting is
"File: ../media/Mods//ModFile.xml not found!"
Which, causes my mod to show up.
However, if I clear the cache, and restart the launcher, the mod is there, but I still get that error.

I'm having my buddy test the mod now, because the game is not launching on my PC, so I'll give results when he tests it.
Eric.B  [developer] Apr 19, 2021 @ 9:22pm 
"../media/Mods//ModFile.xml "

Sounds like you don't have a mod selected in the game settings. Perhaps the one you deleted from workshop? That's why there is two forward slashes, you're missing a folder there.

Do a clean reinstall of your game, you managed to break something in the settings file. You have to do step #5 because Steam does not delete settings files when you uninstall the game. http://wiki.gearcity.info/doku.php?id=troubleshooting:steam_cleanreinstall


I'll make a note to make sure the game engine ignores an empty mod name and redirects the game back to the Default mod.
Malino Apr 19, 2021 @ 9:24pm 
Originally posted by Eric.B:
"../media/Mods//ModFile.xml "

Sounds like you don't have a mod selected in the game settings. Perhaps the one you deleted from workshop? That's why there is two forward slashes, you're missing a folder there.

Do a clean reinstall of your game, you managed to break something in the settings file. You have to do step #5 because Steam does not delete settings files when you uninstall the game. http://wiki.gearcity.info/doku.php?id=troubleshooting:steam_cleanreinstall


I'll make a note to make sure the game engine ignores an empty mod name and redirects the game back to the Default mod.

Will do, thanks.

I'm having trouble in general getting this mod working, all I'm trying to do is add more logos for use. I'll just have to read the wiki more it seems. I must be missing something somewhere.
Eric.B  [developer] Apr 19, 2021 @ 9:34pm 
Originally posted by Malino:
Originally posted by Eric.B:
"../media/Mods//ModFile.xml "

Sounds like you don't have a mod selected in the game settings. Perhaps the one you deleted from workshop? That's why there is two forward slashes, you're missing a folder there.

Do a clean reinstall of your game, you managed to break something in the settings file. You have to do step #5 because Steam does not delete settings files when you uninstall the game. http://wiki.gearcity.info/doku.php?id=troubleshooting:steam_cleanreinstall


I'll make a note to make sure the game engine ignores an empty mod name and redirects the game back to the Default mod.

Will do, thanks.

I'm having trouble in general getting this mod working, all I'm trying to do is add more logos for use. I'll just have to read the wiki more it seems. I must be missing something somewhere.

Player logos or AI companies?
Malino Apr 20, 2021 @ 9:05pm 
Originally posted by Eric.B:
Originally posted by Malino:

Will do, thanks.

I'm having trouble in general getting this mod working, all I'm trying to do is add more logos for use. I'll just have to read the wiki more it seems. I must be missing something somewhere.

Player logos or AI companies?

Just trying to do some player logos

Here's an unlisted link to my mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=2462666362
Eric.B  [developer] Apr 20, 2021 @ 9:27pm 
Sadly, I can't use or test any users mods directly otherwise I lose my dmca status. I can only look at the .xml files generated by the modtools, and the file trees you uploaded.

From what I can tell, you are modding BOTH player logos and AI logos.

You're missing a .zip file containing the modified artwork.

I suggest watching this video on how to add a player logo:
https://youtu.be/CgU77ISsdCM
(Yes, I will be redoing these videos in the not too distant future.)

Talking about how to package artwork starts at 2 minutes.

And around 3:05 is how you add the artwork to the mod.

You can bundle both Player Logos and AI logos into a single zip.



You also don't have a map selected for the AI over ride files. AI files are specific to a map.
Last edited by Eric.B; Apr 20, 2021 @ 9:29pm
Malino Apr 20, 2021 @ 9:41pm 
Alright. I'll take a look at it. Thanks for the help.

Props to you for being so consistently responsive on your forums.
Malino Apr 21, 2021 @ 12:06pm 
Hey, so I've updated the mod with what you said.

I removed the AI, and only did the logos. Added the zip file, and checked Miscellaneous Artwork. However, when selecting the mod, the game won't launch.

Mine doesn't launch at all, even with no mods selected, but my buddy's game usually launches fine. Except when my mod is selected.
Malino Apr 21, 2021 @ 12:49pm 
Ok nevermind, it was just a case of his mod not updating. All is working now, thanks!

I'll have to see if doing a clean install fixes the issue with my game not launching.
< >
Showing 1-15 of 15 comments
Per page: 1530 50