LöveFTW - preview release

Discuss any ports of LÖVE to different platforms.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LöveFTW - preview release

Post by T-Bone » Sat Jul 11, 2015 5:58 am

gomez wrote:
T-Bone wrote:
gomez wrote:Interesting port..
What love.system.getOS() will return in this love implementation ?
It returns "Windows App". It's technically not an OS though, so I might change that later... Maybe "Windows Universal App Platform" would be better?
"Windows RT" would be a good candidate
I considered it, but decided it would probably cause confusion. Since the function is called "getOS", and there actually is (was) an OS called exactly "Windows RT", it makes it sound like you're running that (which is very unlikely; Windows RT devices sold poorly, have some pretty significant ANGLE bugs that MS doesn't seem like they're going to fix and the platform is basically abandoned). Also Microsoft themselves aren't using the phrase "Windows Runtime" much anymore, it's all "Universal App Platform" or "Universal Windows Platform" these days.

User avatar
gomez
Citizen
Posts: 65
Joined: Mon Feb 18, 2013 12:23 am
Location: Sao Luís, Brazil

Re: LöveFTW - preview release

Post by gomez » Sun Jul 19, 2015 5:13 pm

Have you taken a look on Microsoft's Project Astoria? According to them, you can port an app for Windows 10 using the same android app code, changing only some details (related to Google services). Maybe the LoveFTW runs better using this path (using the Löve codebase for Android which is pretty mature).

Take a look here: https://dev.windows.com/en-us/uwp-bridg ... ct-astoria
and here: https://dev.windows.com/en-us/ProjectAPreviewSignup

The last link is for apk submission. They analyze the apk and return for you if it is compatible with the windows 10.
The game "Candy Crush Saga" has been ported to Windows Phone / Windows 10 using this strategy. And runs pretty smooth.. (even on lumia 520, the lowest device)
Hey dude :D
Do you want to protect earth from an apocalypse ? Me too o/
Check my new game here: viewtopic.php?f=5&t=81001

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LöveFTW - preview release

Post by T-Bone » Sun Jul 19, 2015 6:58 pm

I'm aware of that! As far as I know, only Windows 10 Mobile will have the Android subsystem required for running Astoria apps. They have also made tools for porting iOS apps to Windows 10, that don't have those limitations and run as native UAP apps, which probably fits Löve better, but that way might be more work to get running. I will definitely check out the various options once I get W10 on my computer (and I have the time).

But if SDL and the other libs work on W10 I think a native build will probably work best... I will have to try and see.

User avatar
gomez
Citizen
Posts: 65
Joined: Mon Feb 18, 2013 12:23 am
Location: Sao Luís, Brazil

Re: LöveFTW - preview release

Post by gomez » Mon Jul 20, 2015 1:40 am

T-Bone wrote:I'm aware of that! As far as I know, only Windows 10 Mobile will have the Android subsystem required for running Astoria apps. They have also made tools for porting iOS apps to Windows 10, that don't have those limitations and run as native UAP apps, which probably fits Löve better, but that way might be more work to get running. I will definitely check out the various options once I get W10 on my computer (and I have the time).

But if SDL and the other libs work on W10 I think a native build will probably work best... I will have to try and see.
i see..
----
i got an error when i try to compile my game:

Code: Select all

Error	90	error LNK1181: cannot open input file '..\..\..\OpenAL\winrt.vs2013\winrt_and_wp_v8.1\bin\Win32\Debug\OpenAL.winrt.lib'	C:\Users\Paulo Roberto\Documents\l-veftw\LoveFTW\LoveFTW\LoveFTW.Windows\LINK	LoveFTW.Windows
:c
Hey dude :D
Do you want to protect earth from an apocalypse ? Me too o/
Check my new game here: viewtopic.php?f=5&t=81001

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LöveFTW - preview release

Post by T-Bone » Mon Jul 20, 2015 2:50 pm

Can you look in your directories to see if the .lib mentioned in the error is there or not?

User avatar
gomez
Citizen
Posts: 65
Joined: Mon Feb 18, 2013 12:23 am
Location: Sao Luís, Brazil

Re: LöveFTW - preview release

Post by gomez » Mon Jul 20, 2015 5:24 pm

T-Bone wrote:Can you look in your directories to see if the .lib mentioned in the error is there or not?
I looked and the path breaks on the 'bin' folder (which doesn't exist)
Hey dude :D
Do you want to protect earth from an apocalypse ? Me too o/
Check my new game here: viewtopic.php?f=5&t=81001

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LöveFTW - preview release

Post by T-Bone » Mon Jul 20, 2015 6:55 pm

Yeah, that seems to be a problem. If you go into the OpenAL/winrt.vs2013/winrt_and_wp_v8.1 folder and open OpenAL_winsdk8.1.sln in Visual Studio, and then batch build for all configurations, you should then be good to go.

This isn't something you should need to do though, I will have to fix that (when I have the time, sorry!).

User avatar
gomez
Citizen
Posts: 65
Joined: Mon Feb 18, 2013 12:23 am
Location: Sao Luís, Brazil

Re: LöveFTW - preview release

Post by gomez » Tue Jul 21, 2015 1:19 pm

T-Bone wrote:Yeah, that seems to be a problem. If you go into the OpenAL/winrt.vs2013/winrt_and_wp_v8.1 folder and open OpenAL_winsdk8.1.sln in Visual Studio, and then batch build for all configurations, you should then be good to go.

This isn't something you should need to do though, I will have to fix that (when I have the time, sorry!).
After compiling the OpenAL, the compilation runs well.
However I got exactly the same error that unek obtained: Without .love, LoveFTW runs perfectly on Windows 8.1 and i got a black screen on Windows Phone. With .love, i got an error :

Code: Select all

Could not create window:
eglCreateWindowSurface failed
Hey dude :D
Do you want to protect earth from an apocalypse ? Me too o/
Check my new game here: viewtopic.php?f=5&t=81001

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LöveFTW - preview release

Post by T-Bone » Sat Jul 25, 2015 11:20 am

If you look earlier in the thread, I posted a link to my exact setup. Can you try that? If that works, then I've messed up the packaging and that's probably something I can fix. If that doesn't work, well, we'll try some serious debugging :)

Henko
Prole
Posts: 9
Joined: Sun Jan 03, 2010 12:19 pm
Location: Wyk/Föhr, Germany
Contact:

Re: LöveFTW - preview release

Post by Henko » Mon Aug 03, 2015 8:19 pm

Awesome work on this port! I was really excited when I read about it and absolutely had to test it as soon as I had enough time.
I too had to manually trigger the build for OpenAL, but after that, it worked like a charm! No problems running a simple test on my device at all! :)

Thanks for the great work!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests