Trouble running love2d games

Started by
3 comments, last by marcClintDion 10 years, 11 months ago

Hello! I am using an online tutorial to learn love2d with lua. I am stuck on

">this part of the series. I keep getting errors. I understand that the code is now dated. Some of the time the video is hard to follow so I download the code to compare just encase I haven't missed anything. But when I did it, I got these 2 errors when I try to run my version, and then the downloaded version. The downloaded version is the first image, and my version is the second one! Thanks!
Advertisement

Just a thought.. It looks like you are running Windows7. Taking control of your file permissions can be brutal and often when you try to run software you've built you will get errors that appear to be missing files even though they are there. I found a script that has saved me from pulling out all my hair because of this and I use it all the time. Put all the following into a text file and rename the extention to .reg After you run it, a heading called 'Take Ownership' will show up in your right click menu. Now 'right-click' on the folder that everything is in and select 'Take Ownership'. It will give your software full read/write access to the files it's trying to load. //------------------------------------------------------------------------------------------------------------------------------ Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\runas] @="Take Ownership" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take Ownership" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, 3 because you know that the testing of your faith produces perseverance. 4 Let perseverance finish its work so that you may be mature and complete, not lacking anything.

Messing with the file ownership is certainly not the way to go. While it will work on your machine, the inherent bug will still prevail on other people's PCs.

Check the locations of your files vs. the shown paths. Esp. "Program Files" can be tricky as there is virtual folder magic in there. Where do you get that path from? Does Löve provide it or do you build it yourself?

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

I have to build the paths myself. I am programming it in notepad++ btw. I am going into the placement of the files!

Moving your working folder out of the 'Programs Files' folder is a good idea. The operating system is likley going to continuouly give you headaches if you work in a folder that viruses are likely to target. It's going to be more protected than some other areas of your directory structure.

Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, 3 because you know that the testing of your faith produces perseverance. 4 Let perseverance finish its work so that you may be mature and complete, not lacking anything.

This topic is closed to new replies.

Advertisement