Error
boot.lua:481: Cannot load game at path 'C:/Users/pooja/Downloads/love-11.1-win64/ms.lua'.
Make sure a folder exists at the specified path.
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
//please guide I am new to this
Error while loading game
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Error while loading game
I'm not sure how you're trying to load the game exactly, but since you're on Windows, shouldn't the path separators be backslashes rather than slashes?
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Re: Error while loading game
You have to give the directory path where main.lua is located to love.exe, or the .love file if you have one. Not a single random lua file.
Follow a tutorial.
Follow a tutorial.
Re: Error while loading game
@poojan This page might also help:
https://love2d.org/wiki/Getting_Started
@Stifu Windows accepts forward slashes as well as backslashes (but cmd.exe doesn't because that's used for options)
https://love2d.org/wiki/Getting_Started
@Stifu Windows accepts forward slashes as well as backslashes (but cmd.exe doesn't because that's used for options)
Re: Error while loading game
I too need help loading a couple of games. That give errors.
Running: Peppermint Linux
Löve version 11.1
Trying to the game Mr. Rescue that is build on Löve '0.10.0' I get the following error:
Error
Also, while trying to run the game Going Home build on Löve '0.10.2' I get the following error:
Do I need to downgrade to play those games? Any help would be welcomed.
Thanks
Running: Peppermint Linux
Löve version 11.1
Trying to the game Mr. Rescue that is build on Löve '0.10.0' I get the following error:
Error
Code: Select all
bad argument #1 to '?' (ImageData expected, got Image)
Traceback
[C]: at 0x7ff9100bd130
[C]: in function 'newImageFont'
resources.lua:150: in function 'loadResources'
main.lua:66: in function 'load'
main.lua:211: in function <main.lua:207>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
Code: Select all
Thread error (Thread:0x02740740)
libs/love-loader.lua:0: libs/love-loader.lua:0:, bad argument #2 to 'constructor' string expected got no value
Thanks
Re: Error while loading game
Hi poojan Drag and drop the enteri folder where is located the *.lua file in your case "C:/Users/pooja/Downloads/love-11.1-win64/" into the love.exe file, if u use the installation file the location is in "C:\Program Files\LOVE"
Sorry for my english.
Sorry for my english.
Re: Error while loading game
I had the same issue. The solution is calling the path but with not main.lua . For example:
love.exe C:\luaprojects\project1 instead of love.exe c:\luaprojects\luaproject\main.lua.
I hope it helps.
love.exe C:\luaprojects\project1 instead of love.exe c:\luaprojects\luaproject\main.lua.
I hope it helps.
Re: Error while loading game
i also had this issue on windows 10.
it is easier if you set love.exe in Path variable. (u can do it by add path C:\Program Files\LOVE in env vars from control panel).
then from the directory where your .lua file is saved just type > love .
This will run the code correctly.
it is easier if you set love.exe in Path variable. (u can do it by add path C:\Program Files\LOVE in env vars from control panel).
then from the directory where your .lua file is saved just type > love .
This will run the code correctly.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest