Error while loading game

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
poojan
Prole
Posts: 1
Joined: Mon Apr 16, 2018 10:02 am

Error while loading game

Post by poojan » Mon Apr 16, 2018 10:07 am

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

User avatar
Stifu
Citizen
Posts: 60
Joined: Mon Mar 14, 2016 9:53 am
Contact:

Re: Error while loading game

Post by Stifu » Mon Apr 16, 2018 5:00 pm

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

grump
Party member
Posts: 437
Joined: Sat Jul 22, 2017 7:43 pm

Re: Error while loading game

Post by grump » Mon Apr 16, 2018 5:03 pm

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.

User avatar
pgimeno
Party member
Posts: 1366
Joined: Sun Oct 18, 2015 2:58 pm

Re: Error while loading game

Post by pgimeno » Mon Apr 16, 2018 11:04 pm

@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)
Thrust II Reloaded - GifLoad for Löve - GSpöt GUI - My NotABug.org repositories - portland (mobile orientation)
The MS-Github repositories I had have been closed after the acquisition announcement and will be removed in the near future.

Suspenso
Prole
Posts: 1
Joined: Fri Apr 20, 2018 2:56 am

Re: Error while loading game

Post by Suspenso » Fri Apr 20, 2018 3:14 am

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

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'
Also, while trying to run the game Going Home build on Löve '0.10.2' I get the following error:

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
Do I need to downgrade to play those games? Any help would be welcomed.
Thanks

grump
Party member
Posts: 437
Joined: Sat Jul 22, 2017 7:43 pm

Re: Error while loading game

Post by grump » Fri Apr 20, 2018 5:39 am

Suspenso wrote:
Fri Apr 20, 2018 3:14 am
Do I need to downgrade to play those games?
If the devs did not update their games to make them run on 11.1, you need to use the LÖVE versions these games were build for if you want to play them in Linux.

Piscui
Prole
Posts: 1
Joined: Sat Apr 21, 2018 10:24 pm

Re: Error while loading game

Post by Piscui » Sat Apr 21, 2018 10:30 pm

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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests