Mods / Mod Updater

Tags: #Other #QoL #Simplification #Utility
Authors: 0x1D3A, Serowy_Tapczan
Side: Both
Created: Sep 14th at 12:15 PM
Last modified: 2 days ago
Downloads: 1637
Follow Unfollow 63

For testers:
VSModUpdater-v1.2.0.zip


Simple program to update your mods for Windows and Linux written in Go.

The macOS version is untested.

Installation

The program is distributed as a zip file containing three executable files:

  • VSModUpdater (for Linux)
  • VSModUpdater.exe (for Windows)
  • VSModUpdater_macOS (macOS Universal Binary)

 

Simply download the zip file, extract the appropriate executable for your operating system.

Usage

Simply run the program. By default it searches for mods in ~/.config/VintagestoryData/Mods (on Linux) or %APPDATA%/VintagestoryData/Mods (on Windows).

To change that run program with -mod-path <your_mod_path> argument.

More Info:

Github

Mod Version Downloads Released Changelog Download
1.2.0 97 2 days ago VSModUpdater-v1.2.0.zip

Adds flag `-pre-release` to enable updating to unstable mod versions.

1.1.4 130 6 days ago VSModUpdater-v1.1.4.zip

Fixed 400 Bad Request for URLs with space

1.1.3 144 Nov 18th at 10:20 PM VSModUpdater-v1.1.3.zip

Fixed mod version comparison

1.1.2 391 Oct 20th at 3:24 PM VSModUpdater-v1.1.2.zip

Added "Update All" option to interactive mode

1.1.1 245 Oct 5th at 5:50 PM VSModUpdater-v1.1.1.zip

Trim BOM (Byte Order Mark) from modinfo.json

1.1.0 81 Oct 3rd at 11:17 AM VSModUpdater-v1.1.0.zip

Added macOS binary

1.0.9 20 Oct 3rd at 9:42 AM VSModUpdater-v1.0.9.zip

Add fix for not compliant JSON modinfo

1.0.8 103 Sep 28th at 6:27 PM VSModUpdater-v1.0.8.zip

Continue on failed mod read

1.0.7 60 Sep 27th at 6:15 PM VSModUpdater-v1.0.7.zip

Print the mod path when updating 

1.0.6 105 Sep 20th at 11:29 AM VSModUpdater-v1.0.6.zip
Allow interactive mode with ignore flag
1.0.5 20 Sep 20th at 10:00 AM VSModUpdater-v1.0.5.zip

Add interactive mode and `-ignore` flag

1.0.4 82 Sep 15th at 5:20 PM VSModUpdater-v1.0.4.zip

Added self update and list option

1.0.3 83 Sep 14th at 2:30 PM VSModUpdater-v1.0.3.zip

Only unmarshal used modinfo.json fields

1.0.2 19 Sep 14th at 2:21 PM VSModUpdater-v1.0.2.zip

Fix error when type in modinfo.json is a number

1.0.1 22 Sep 14th at 2:12 PM VSModUpdater-v1.0.1.zip

Disabled CGO when building

1.0.0 34 Sep 14th at 12:17 PM VSModUpdater-v1.0.0.zip

Initial release


24 Comments (oldest first | newest first)

💬 0x1D3A , 2 days ago (modified 2 days ago)

Dezdemona Released v1.2.0. I've disabled pre-release versions by default (only updates if already on dev branch). Can be enabled by creating a shortcut or running in cmd with:

Target
.../VSModUpdater.exe -pre-release
💬 Dezdemona, 6 days ago

Hmmm... I would say if on a dev branch, it would be best to just continue it with the assumption of approval. But otherwise, perhaps have it have a forced confirmation even if you selected to just update all? That way there is still the convience, but somewhat less risk of accidental save shenanigans.

💬 0x1D3A , 6 days ago (modified 6 days ago)

Dezdemona No problem 😁. Fixed the Error 400 in v1.1.4.
I didn't thought about dev/rc builds. Should I disable them by default and add flag to allow downloads? Or maybe detect if downloaded version is a dev build then allow updating to lastest version?

💬 Dezdemona, Nov 23rd at 4:32 AM

Sorry to pop back in again, but I seem to be getting some strange error 400 'bad request's, it doesn't seem to like cullinary artillery's dev builds, but I assumed that might have been intentional, but it also seems to struggle with the forgotten armories? It's not that much of a trouble to just manually do it, but figured, again, I should proooobably say something. Regardless, thanks so much for this! It still manages to save me such a damn headache managing updates haha

💬 0x1D3A , Nov 18th at 10:21 PM

Dezdemona Thanks for pointing that out. Fixed in v1.1.3.

💬 Dezdemona, Nov 15th at 10:51 AM

seems to be having an issue of not seeing updates for certain mods, the one I caught was Butchering where it was stuck on 1.10.9 whilst 1.10.11 was out. Not entirely sure why, but figured I'd throw a message about it.

💬 Rui333, Oct 20th at 7:51 PM

Awesome, tysm!

💬 0x1D3A , Oct 20th at 4:10 PM (modified Oct 24th at 8:12 AM)

Rui333, I've added option to update all. It will ask on first mod update found.
If you would like to update every mod without asking, you can create a shortcut and edit target to have this at the end:

Target
.../VSModUpdater.exe -interactive=false
💬 Rui333, Oct 19th at 11:35 PM

hell yeah. any chance you could add an option at the beginning that's effectively a "Yes to All" command?

💬 0x1D3A , Oct 5th at 5:51 PM

Thanks Master_Story. Should be now fixed in v1.1.1

💬 Master_Story, Oct 4th at 12:34 PM (modified Oct 4th at 12:36 PM)

I found this odd line while running your mod. Not sure if it's relevent, but figured I'd share:

 

Spoiler!
!!! SaltAndSands-1.1.3.zip - Failed: hujson: line 1, column 1: invalid character '\ufeff' at start of value
💬 0x1D3A , Oct 3rd at 9:46 AM

Hi Nermit, the version v1.0.9 should now handle mods with non-compliant JSON.

💬 Nermit, Oct 1st at 9:03 PM (modified Oct 1st at 9:03 PM)

Thanks for your response! Sorry for being slow to follow up.

It looks like 1.0.8 solved the issue. There are indeed a couple of mods that seem to cause the error:

Spoiler
All Sides Have Resin@1.0.0 - Skip
Auto Map Markers@4.0.3 - Skip
Auto Toolbar@0.1.2 - Skip
Bark Beetle@1.0.4 - Skip
!!! BetterForest_0.1.1.zip - Failed: invalid character '}' looking for beginning of object key string
!!! BetterGrass_v0.0.3.zip - Failed: invalid character '}' looking for beginning of object key string
BetterRuins@0.5.0 - Skip
BetterTraders@0.1.0 - Skip
BloodTrail@1.1.1 - Skip
Downloading Carry On: 1.10.9 => 1.11.0 - SUCCESS
Removing Carry On@1.10.9 - SUCCESS
Cave Symphony@1.2.0 - Skip
Chest Organizer@1.2.3 - Skip
Click Up Torches@1.1.1 - Skip
Combatative Belts@1.0.0 - Skip
CommonLib@2.8.0 - Skip
Downloading Craftable Companion: 1.3.1 => 1.3.2 - SUCCESS
Removing Craftable Companion@1.3.1 - SUCCESS
CrateBulkInput@1.0.0 - Skip
Dana Tweaks@3.6.0 - Skip
Flickering Lights@0.1.2 - Skip
Forest Symphony@1.0.6 - Skip
Immersive Lanterns@0.1.1 - Skip
Immersive Mining@0.2.16 - Skip
Manual Quenching@1.0.8 - Skip
Manual Tool Crafting@1.3.6 - Skip
No Ocean Translocators@1.0.1 - Skip
Player Corpse@1.12.0 - Skip
Repairable Locust@1.5.0 - Skip
Temporal Symphony@2.2.2 - Skip
Variations on a Meal@2.6.1 - Skip
Vintage Engineering@0.4.0 - Skip
Adaptive Graphics@0.0.2 - Skip
Auto config lib@2.0.9 - Skip
Better Loot@2.0.0 - Skip
Blacksmith Enhancements@1.1.4 - Skip
Boatspeedtest@1.0.4 - Skip
Butchering@1.10.5 - Skip
chiseltools@1.15.2 - Skip
Combat Overhaul@0.9.9 - Skip
Config lib@1.10.5 - Skip
Farseer@1.3.2 - Skip
Hardcore Water : Transport Edition@1.3.5 - Skip
Hydrate Or Diedrate@2.2.20 - Skip
kevinsfurniture@1.7.4 - Skip
Crossbows@1.6.4 - Skip
Downloading Firearms: 1.3.3 => 1.3.4 - SUCCESS
Removing Firearms@1.3.3 - SUCCESS
Manual Scraping@1.3.0 - Skip
Millwright@1.2.8 - Skip
Downloading Overhaul Library: 1.11.13 => 1.11.14 - SUCCESS
Removing Overhaul Library@1.11.13 - SUCCESS
Primitive Survival@3.9.7 - Skip
Rivers@4.7.3 - Skip
Rock Strata Variety@0.0.3 - Skip
Rustbound Magic@3.0.18 - Skip
SmithingPlus@1.8.0-rc.3 - Skip
Sonito's Backpack Ground Access@1.0.2 - Skip
Sortable Storage@2.4.2 - Skip
Spyglass@0.5.2 - Skip
!!! stepfixelk_0.0.2.zip - Failed: invalid character '}' looking for beginning of object key string
ViesCraft Machines@2.4.2 - Skip
Dear ImGui@1.1.13 - Skip
Zippy's Crop Tweaks@1.3.0 - Skip
Zippy's Re-seeding Reeds@2.1.0 - Skip
Finished Updating.
💬 TheFifthRider, Sep 28th at 6:44 PM

Any interest in putting this on a package manager? I'd love to be able to `choco install` or `brew install` this 😁

💬 0x1D3A , Sep 28th at 6:00 PM (modified Sep 28th at 6:29 PM)

Nermit Could you share what mods you have?
Looks like one of the mods could have something in JSON that crashes the updater.

Also, in v1.0.8, the mod updater continues even if reading the zip file fails.

💬 Nermit, Sep 28th at 2:32 PM (modified Sep 28th at 5:10 PM)

This updater is exactly what I was looking for. However, currently when running in Linux I get the following error:

 

Spoiler!
./VSModUpdater
invalid character '}' looking for beginning of object key string
💬 El_Neuman, Sep 20th at 12:49 PM

Can you write, how it works?))

💬 0x1D3A , Sep 20th at 11:22 AM

RunYouCleverBoy I've added the interactive mode and made default on Windows

💬 RunYouCleverBoy, Sep 17th at 12:22 PM

can u please describe all launch parameters and make programm started with exe do not close after all
we wanna be able to read the log or choose -do i wanna update special mod or not
pls)

💬 Serowy_Tapczan, Sep 14th at 2:22 PM

Maltiez single executable, some people don't like the messing around with python app, including me. Python apps always come with a lot of dependencies, heavy appimages. So it's a preference thing.

💬 0x1D3A , Sep 14th at 2:22 PM

Maltiez None at the moment. Maybe only that it's smaller download :D

💬 Maltiez, Sep 14th at 2:10 PM

What are the advantages compared to https://news.kalataka.ru/modsupdaterforlinux ?

💬 0x1D3A , Sep 14th at 1:59 PM

Sorry lmperfect. I haven't tested the program on Windows yet.

It's supposed to be run from Windows Terminal or cmd exe

💬 lmperfect, Sep 14th at 12:48 PM

Not sure how its supposed to work. Ran the program, it said it might be malware, it did nothing, added it as a mod itself, it did nothing, ran the exe from the mod folder, it did nothing. Changed my password though on my accounts. 👍

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом