LuaUI Error Message: Failed to load LuaUI/main.lua
Posted: 25 Apr 2007, 20:15
I tried to use Lua Scripts by downloading them and extracting them into the Folder ~/.spring/LuaUI, as told in the Installation Description.
If i now start the Game, the Landscape appears and in the Console in the upper middle the following Error Message always appears:
If i exit the Game the follwing Line is written into the Console:
which is also the wrong Path.
I tried to set the Path to the main.lua File, which is located in /usr/share/games/spring/LuaUI (Gentoo EBuild 0.74-r3), via the Environment Variable LUAUI_DIRNAME:
If i now start the Game with
i still get the same Error and the same Console Text if i exit the Game:
So the Path wasn't applied.
Where do i need to set the Variable?
I also tried to insert the Line into the ~/.springrc File, without Success.
If i do a Symlink from /usr/share/games/spring/LuaUI/main.lua to
~/.spring/LuaUI/main.lua and start the Game the main.lua is found and the next File, utils.lua, is now missing.
Do i really need to copy or symlink all the .lua Files into the private per User LuaUI Directory?
This Way it is difficult to update the ~/.spring/LuaUI Directory if i installed my own Scripts or Scripts from UnknownFiles there and a new spring Build is released.
I hope, there exists a Solution to this Workaround of mine.
Please let me know.
If i now start the Game, the Landscape appears and in the Console in the upper middle the following Error Message always appears:
Code: Select all
Failed to load LuaUI/main.lua ( LuaUI/main.lua: No such file or Directory )
Code: Select all
Using LUAUI_DIRNAME = LuaUI/
I tried to set the Path to the main.lua File, which is located in /usr/share/games/spring/LuaUI (Gentoo EBuild 0.74-r3), via the Environment Variable LUAUI_DIRNAME:
Code: Select all
LUAUI_DIRNAME=/usr/share/games/spring/LuaUI
Code: Select all
LUAUI_DIRNAME=/usr/share/games/spring/LuaUI spring
Code: Select all
Using LUAUI_DIRNAME = LuaUI/
Where do i need to set the Variable?
I also tried to insert the Line into the ~/.springrc File, without Success.
If i do a Symlink from /usr/share/games/spring/LuaUI/main.lua to
~/.spring/LuaUI/main.lua and start the Game the main.lua is found and the next File, utils.lua, is now missing.
Do i really need to copy or symlink all the .lua Files into the private per User LuaUI Directory?
This Way it is difficult to update the ~/.spring/LuaUI Directory if i installed my own Scripts or Scripts from UnknownFiles there and a new spring Build is released.
I hope, there exists a Solution to this Workaround of mine.
Please let me know.