Help us improve
Share bugs, ideas, or general feedback.
From fs25-modding
Debugs FS25 mods by analyzing log.txt errors, fixing common Lua nil/XML issues, troubleshooting crashes, and using in-game console commands.
npx claudepluginhub paint-a-farm/fs25-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/fs25-modding:fs25-modding-debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematic approach to debugging FS25 mods — reading logs, common errors, console commands, and troubleshooting techniques.
Guides FS25 Lua mod development: writing specializations, modDesc.xml setup, overriding base functions, debugging scripts, and analyzing decompiled game scripts from dataS/scripts/.
Runs a disciplined debug loop for Godot/Summer projects: script errors → diagnostics → console → debugger → hypothesis → fix → verify. Use when the user reports crashes, errors, freezes, or unexpected behavior.
Drives Unreal Engine 5.7/5.8 via MCP with engine-level gotchas, silent-fail edges, crash patterns, and proven call sequences. Activates on UE5/MCP tool detection or UE terms.
Share bugs, ideas, or general feedback.
Systematic approach to debugging FS25 mods — reading logs, common errors, console commands, and troubleshooting techniques.
| Platform | Path |
|---|---|
| Windows | %USERPROFILE%\Documents\My Games\FarmingSimulator2025\log.txt |
| macOS | ~/Library/Application Support/FarmingSimulator2025/log.txt |
The log is overwritten each game launch. Save it before restarting if you need to preserve it.
| Prefix | Meaning |
|---|---|
Error: | Critical — mod won't work correctly |
Warning: | Non-fatal — may cause issues |
LUA call stack: | Lua error with traceback |
data/ or mod path | Context for where the error occurred |
Missing node / nil index:
Error: Can't find node 'wheelRepr' in '...'
Fix: Check i3dMappings or node path. Node was renamed or removed from I3D.
Lua nil error:
Error: attempt to index a nil value
LUA call stack: ...mySpecialization.lua:42
Fix: A variable is nil — check if prerequisite specialization is loaded, or if spec_ table was initialized.
Missing file:
Error: Can't load resource '...textures/diffuse.dds'
Fix: File doesn't exist at that path. Check case sensitivity (Linux/macOS).
XML parse error:
Error: XML parse error in '...modDesc.xml' at line 15
Fix: Invalid XML — unclosed tag, wrong encoding, or special characters in attributes.
descVersion mismatch:
Warning: ModDesc version ... is not supported
Fix: Update descVersion in modDesc.xml to current version.
Specialization error:
Error: Unable to add specialization 'mySpec' ... prerequisites not met
Fix: prerequisitesPresent() returned false. Check required specializations.
Open console with ~ (tilde) key in-game.
| Command | Purpose |
|---|---|
gsToggleStats | Performance overlay (FPS, draw calls) |
gsVehicleDebug | Vehicle debug rendering |
gsFillUnitDebug | Fill unit debug info |
gsAIDebug | AI worker debug visualization |
gsPhysicsDebug | Physics collision shapes |
gsRenderCollisions | Show collision meshes |
csReloadMods | Reload script-only mods without restart |
gsFieldDebug | Field ownership/state overlay |
Launch with -cheats flag for extra commands:
descVersion, valid <specializations> and <vehicleTypes>| Symptom | Likely Cause | Fix |
|---|---|---|
| Low FPS near mod | Too many draw calls | Merge meshes, reduce materials |
| Stutter on load | Large textures | Reduce resolution, add mipmaps |
| Physics lag | Too many collision shapes | Simplify collision meshes |
| Memory spike | Uncompressed textures | Use DDS compression |
readStream/writeStreamdirtyFlag system controls what gets synced each tick