Can you make a .zip file with the contents of the folder (effectively making a .love file, if you just rename it) and upload it here?
Also, make sure the name is exactly the same, some systems are case sensitive
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Well, the file hamster.png doesn't exist. Either it's in the wrong directory, or you misnamed it. If you are on linux or Mac, check for case, if you are on windows make sure you didn't call the file hamster.png.png or something like that (go to properties and check there)
LÖVE command line requires either a directory path or a file path.
If it is a (zip) file, then it won't look in the directory: It will use everything contained in the file as if it was in a separate directory.
I suspect that your problem is that you're trying to run it as follows: love main.love
And then the problem is that main.love does not contain Hamster.png, and that's what it's complaining about.
You can run programs in the current directory without zipping them into a love file, by writing: love .
You can also zip them, but if you do, the directory or file that you specify must contain a main.lua in the top level (not in any subdirectory). You did this part right with main.love, but you didn't include the image into main.love.
It works for me when I cd to ham/ and run your program as: love . (that's the recommended way for developing)
It also works for me when I *don't* cd to ham/ and run your program from its parent directory as: love ham
It also works for me if I do: zip main.love Hamster.png main.lua ; love main.love (that's how you package your game for distribution - make a zip with every asset the game needs; they can be in subdirectories within the zip file, as long as main.lua is in the top level of the zip file).
You can also zip them, but if you do, the directory or file that you specify must contain a main.lua in the top level (not in any subdirectory). You did this part right with main.love, but you didn't include the image into main.love.
It also works for me if I do: zip main.love Hamster.png main.lua ; love main.love (that's how you package your game for distribution - make a zip with every asset the game needs; they can be in subdirectories within the zip file, as long as main.lua is in the top level of the zip file).
Hummmm, so I did this, I compressed both main.love and Hamster.png, rename as ham.love and then it's work!!!
pgimeno: Do you agree with this or there's a way more correct?
Yes, I tested using terminal with ram.love --
"{directory}/ love ham.love" and worked, but...
When I try with another file like "maq.love" the results is other, this time I not compressed the archive and type 'love maq.love" or "love main.lua" and the result is no game found.
Yes and I did this(in terminal, go to the directory of the folder and type: love maq.love), but don’t run, there's something that I don’t see... but what? (and note: maq.love is not compressed, but ham.love was compressed and work in the terminal).