Hey I am hoping someone who has already published something can help me with this.
My mod works fine from the editor, but after publishing it to steam the game can no longer find some of the assets. What could be causing this?
Heres my error message:
SpoilerShow
File not found: mod_assets/particles/green_fireball.lua
stack traceback:
[C]: in function 'error'
[string "Dungeon.lua"]: in function 'import'
mod_assets/scripts/init.lua:16: in main chunk
[string "Dungeon.lua"]: in function 'loadInitFile'
[string "GameMode.lua"]: in function 'loadDungeon'
[string "GameMode.lua"]: in function 'newGame'
[string "GameMode.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'update'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
It looks to me as though steam isn't uploading my mod_assets/particles folder
Does it work if you simply export to a dat file and play it as a custom dungeon from the main menu?
I expect that this might be a case sensitivity issue. Windows isn't case sensitive but the dat files are I believe. Make sure the file name is lower case and that you also reference it with a lower case file name from your init script! Also make sure the directories are lower case too!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Think these gentlemen are correct. u may have a lower case/upper case typo, or a path pointed wrong. If you have any import lines in your init.lua, check those also. hope you figure it out!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture." Hotel Hades
Thanks for the help guys, it turns out my particles folder had a capital P somehow even though all the others were lowercase. I must have changed it at some point.