Page 1 of 1

Questions about mod names and paths

Posted: Tue Nov 05, 2024 1:47 am
by aspd199
I found that if the mod name is "_test"

The directory structure is
_test/
├── data.lua
├── info.json
└── test.png
In this case
icon = "__test__/test.png"
error:Path __test__/test.png does not match anyenabled mod.
and
icon = "___test__/test.png"
error:Path ___test__/test.png not matching the resource path pattern:__source__/path
But without the path, the mod performs the other functions normally, no errors.