Add reliable DayZ Workshop mod updates - #292
Open
Nofates wants to merge 2 commits into
Open
Conversation
- Discover Workshop mods by reading publishedid from meta.cpp - Check for updates via the Steam Web API (GetPublishedFileDetails) and only download when time_updated is newer than the cached version - Download updates through SteamCMD (NOTIFY/MANUAL/AUTOMATIC profiles) - Cache steam-workshop-id and version in mods.yml - Add SteamWorkshopUpdateFinder and TaskSteamWorkshopModDownload - Tests: meta.cpp parsing, mod discovery, end-to-end update flow Builds upon the earlier work in PR Osiris-Team#280.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Derived continuation of #290 for #215.
consumer_app_idfromGetPublishedFileDetailsfor Workshop downloads, with the configured server app id as a fallback when the response does not provide one.meta.cppfiles instead of comparing it directly with Steam's Unixtime_updatedvalue. This ensures the first update check can detect a newer Workshop item.Testing
mvn -q -DskipTests compilemvn -q -Dtest=SteamWorkshopModTest testmvn -q testAll commands passed under JDK 17. The full suite includes the existing SteamCMD setup test and completed successfully.
AI-assisted contribution disclosure
This contribution was created with AI assistance. The changes were reviewed against the existing architecture, compiled, and tested locally. No new dependencies were added.