v2.0.0.3 — Hotfix: Mod load failure fix
·
45 commits
to main
since this release
What's Fixed
Critical: The mod failed to load entirely after build.sh was introduced in v2.0.0.2.
Root Cause
powershell Compress-Archive (used in the original build.sh) stores zip entry names with Windows-style backslashes (src\main.lua). FS25's virtual filesystem resolves all internal paths using forward slashes, so it could never find any file inside the zip — resulting in:
Error: Can't load resource '.../mods/FS25_IncomeMod/src/main.lua'
This caused the entire mod to silently fail: no income payments, no settings menu, no HUD.
Fix
Replaced Compress-Archive with Python's zipfile module (py launcher), which writes forward-slash entry names unconditionally regardless of platform.
Upgrade Notes
No savegame changes. Drop in as a direct replacement for v2.0.0.2.