Page 1 of 1

Published to steam but not working from there

Posted: Thu Sep 05, 2013 2:43 am
by Scaramuth
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

Re: Published to steam but not working from there

Posted: Thu Sep 05, 2013 3:26 am
by JohnWordsworth
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!

Re: Published to steam but not working from there

Posted: Thu Sep 05, 2013 3:28 am
by Ryeath_Greystalk
My mod works fine from the editor
Did you try exporting the dungeon and testing it outside of the editor?

I would go through and double check your file paths and make sure the file is where it is supposed to be and is named correctly.

Other than that I don't know what the issue may be. Maybe try to republish it in case a file didn't transfer correctly.

edit: Mr Wordsworth beat me to it. I really need to learn to type faster. :lol:

Re: Published to steam but not working from there

Posted: Thu Sep 05, 2013 4:02 am
by msyblade
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!

Re: Published to steam but not working from there

Posted: Thu Sep 05, 2013 8:37 am
by Scaramuth
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.