This update (hopefully) marks the first stable version of the mod. v0.5.0 reworks update logic to better support client-side modifications and solves a lot of issues caused by BepInEx timestamp updating.
Breaking Changes
Server config format has been changed. I would highly recommend replacing your current configuration with the one shipped with the mod
Features:
- Added console command
modsync
(from the in-game`
console) that can be run anytime from in-game (DO NOT RUN IN RAID, gotta figure out how to disallow it because it probably breaks the UI 🤡) - Timestamps are now only checked against previous server sync, this means that local changes will only ever be wiped out if the server has made updates (and local files aren't marked as
.nosync
) - Files can now be automatically deleted when they are removed from the server. This is locked behind a config setting and is disabled by default. If you wish to use this option, you can enable it via the F12 configuration menu
- Self-Update (currently in beta). This means that Corter-ModSync should now be able to sync new versions of itself, for easily updating your clients!
This version will need to be manually installed before this will be available
- Host will now automatically update cached file hashes when files are updated
Fixes:
- Client Mod/Server Mod distinction has been removed for a single SyncPaths list of paths. This simplified code drastically and clients now have full control of what they sync via the F12 menu.
- Migrated
.pending-update
to a centralized.modsync
file, which contains information about the previous sync, temporary directory where update is stored, and a list of files to remove (if enabled) - Downloads will no longer be entirely stored in memory and are now being streamed directly from and to disk. This means downloads of very large files should be much more stable
- Added warning when files are updated on the host, but the server hasn't been restarted
- Added error message on client when patcher is not present or otherwise fails to execute
- No longer sync SPT files (BepInEx/plugins/spt or BepInEx/patchers/aki_PrePatch.dll)