Skip to content

v2.0.0.3 — Hotfix: Mod load failure fix

Choose a tag to compare

@TheCodingDad-TisonK TheCodingDad-TisonK released this 27 Feb 15:03
· 45 commits to main since this release
5efd03f

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.