Page 1 of 2

Can't get started

Posted: Sat Oct 17, 2009 5:33 am
by Rishavs
Hi all
I know this puts a teeny question mark on my abilities as a buddinggame dev but i can't get started. -_-
i created the basic first program as given in the documentation but dragging the folder onto Love.exe has no effect. nothing happens.

any help will be appreciated.

regards
RIshav

Re: Can't get started

Posted: Sat Oct 17, 2009 8:34 am
by Robin
I'm can't tell, really, but I think you might have dragged the wrong folder. It must directly contain main.lua. Another way of launching the game is to open a terminal window in the project directory, as such:

Code: Select all

C:\my\leet\project\> DIR
main.lua
<etc>
C:\my\leet\project\> love .

Re: Can't get started

Posted: Sat Oct 17, 2009 8:44 am
by Rishavs
Thanks for the reply Robin. But i am dragging the correct folder. Also, on putting "love" in the command prompt, i am getting the message that 'love' is not a recognizable external or internal command.
R99mu.png
R99mu.png (23.12 KiB) Viewed 367 times
i can however open the *.love example files by double clicking them so the extension is well registered.

Re: Can't get started

Posted: Sat Oct 17, 2009 10:08 am
by Robin
I think that means the love executable is not in your path. If you have installed LOVE in the directory above, you could try "..\love ."
Maybe that'll at least show what the problem is.

Re: Can't get started

Posted: Sat Oct 17, 2009 10:29 am
by Rishavs
N5O0J.png
N5O0J.png (27.77 KiB) Viewed 366 times

:(
nothing

Re: Can't get started

Posted: Sat Oct 17, 2009 10:38 am
by Robin
:? Odd. Could you read stderr.txt and stdout.txt? They might provide clues as to what went wrong.

Re: Can't get started

Posted: Sat Oct 17, 2009 11:10 am
by Rishavs
I have added them as attachments. I didn't really know which parts are useful.

Re: Can't get started

Posted: Sat Oct 17, 2009 11:13 am
by Rishavs
ok. i got it to run by converting the two files into a .love archive.
but drag n drop and command line still dont work for me.

Re: Can't get started

Posted: Sat Oct 17, 2009 11:27 am
by Robin
This line is key:

Code: Select all

Game (C:\Program Files\LOVE\Sxxource/love) does not exist.
For some reason, it looks for arg1/love. I never had that problem, neither on Windows or Linux... most peculiar.

Putting all your game stuff in C:\Program Files\LOVE\Sxxource\love, and calling "..\love ." in C:\Program Files\LOVE\Sxxource might be a workaround.

Re: Can't get started

Posted: Sat Oct 17, 2009 11:31 am
by Rishavs
i have only two files. i am on my very first baby step. ^_^
i did what you suggested in the last few replies. -_-