Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: Fearless Leader on March 26, 2011, 01:48:15 am

Title: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: Fearless Leader on March 26, 2011, 01:48:15 am
I know this idea has been kicked been kicked around (http://www.hard-light.net/forums/index.php?topic=50293.msg1016502#msg1016502) before. Seeing as how phones have advanced in the past few years, for those of you that remember, they are now more than what most computers were in the 90s.

How feasible would it be to make an app that would be maybe one level from a FS demo? Would it even be legal? FSO runs on OSX, and from my limited understanding iOS is a lite version of OSX.

I would attempt to do this on my own, but the website for developing apps says that I "... should also be familiar with basic programming concepts.", before attempting to create an app, is anyone familiar with developing iphone apps?

I really just want to play freespace on my phone
Title: Re: freespace app for my iphone
Post by: The E on March 26, 2011, 06:09:13 am
It's a multipart problem.

iOS is very different from OSX, that's part one. Part 2 is that iOS apps have to follow a strict set of rules regarding which programming language to use (Objective-C, to be precise. FSO is written in C and C++). Part 3 is the FSO license, which prohibits commercial use of the code. Part 4 is that you'd have to code a new interface for touch input. Part 5 is that FSO uses OpenGL core, whereas iOS devices use OpenGL ES.

So, in conclusion, it might be possible, but it requires a whole lot of work, it probably won't be pretty, and it will probably require you to jailbreak your iWhatever.
Title: Re: freespace app for my iphone
Post by: swamper123 on March 26, 2011, 01:43:43 pm
I am dreaming with that since I discover the freespace saga, It would be so awesome, hopes that anyone could achieve that
Title: Re: freespace app for my iphone
Post by: The E on March 26, 2011, 02:01:33 pm
Okay, for the non-coding people, porting FSO over to iOS is a prohibitively large task, similar to a full rewrite of the engine. It is not going to happen.
Title: Re: freespace app for my iphone
Post by: Fearless Leader on March 26, 2011, 05:02:38 pm
What about just the non-FSO FS2 demo?
Title: Re: freespace app for my iphone
Post by: The E on March 26, 2011, 05:18:46 pm
....

It's the same thing. In order to get it running, you have to port the engine. In order to port the engine, you have to make all the adjustments implied in my first post in this thread. Doing so is simply not practical.
Title: Re: freespace app for my iphone
Post by: Kie99 on March 26, 2011, 10:33:46 pm
Would Android be easier?
Title: Re: freespace app for my iphone
Post by: Black Wolf on March 26, 2011, 11:16:57 pm
Even if you could get it onto a smartphone, playing Freespace in any meaningful way needs a minimum of 8 or 9 buttons, plus directional buttons... put sll them onto the screen of a phone, and you'll hardly have the space for any visuals of the game.
Closest thing you might be able to get practically is some kind of shoot 'em up engine with FS ships/weapons in it, I reckon.
Title: Re: freespace app for my iphone
Post by: SpardaSon21 on March 26, 2011, 11:57:46 pm
FreeSpace shmup?
Title: Re: freespace app for my iphone
Post by: Dark Hunter on March 27, 2011, 12:43:50 am
We actually have one of those... somewhere. I believe it's called "2D Freespace".

Not a particularly intricate one, but nonetheless.
Title: Re: freespace app for my iphone
Post by: Fearless Leader on March 27, 2011, 10:36:59 pm
Very well then, I'll bring this issue back in another few years. Hopefully, by that point phones, will be advanced enough to be freespace.
Title: Re: freespace app for my iphone
Post by: NeoKnight on March 27, 2011, 11:01:59 pm
The issue isn't that phones aren't advanced enough, it's that they aren't compatible enough. A phone simply isn't designed to run a PC game, and I honestly doubt this will change in the future. Still, pleasant surprises do happen.
Title: Re: freespace app for my iphone
Post by: Scourge of Ages on March 27, 2011, 11:38:20 pm
How hard do you think it would be to adapt the engine to Windows Mobile? Or maybe in a few years phones will be powerful enough to run full Windows 8 (or 9 or whatever)/ OSX?
Title: Re: freespace app for my iphone
Post by: NeoKnight on March 28, 2011, 12:06:46 am
The level of compatibility needed for an FSO app to run smoothly isn't limited to software requirements alone; as BW pointed out, the interface must also be adapted. Personally I think this would be the hardest part. As for the actual feasibility of eventually getting the game to work properly on a specific phone OS (interface aside), I honestly don't know as I'm not a coder. Though it all seems somewhat irrelevant in light of the engine's license restrictions. The only realistic route to creating a FreeSpace app seems to be designing it from scratch in the required programming language. This could be done in theory, though the time and effort needed to do so would be considerable.
Title: Re: freespace app for my iphone
Post by: The E on March 28, 2011, 03:24:38 am
How hard do you think it would be to adapt the engine to Windows Mobile? Or maybe in a few years phones will be powerful enough to run full Windows 8 (or 9 or whatever)/ OSX?

They already are. The problem in adapting FSO is that the interface needs to be redesigned completely.

Porting it to Win Mobile requires, among other things, coding of a DirectX renderer. ANd porting the engine to C#. And using the XNA framework.
Title: Re: freespace app for my iphone
Post by: Mort on March 28, 2011, 06:58:22 am
How about the iPad. Seems big enough although the interface might still need some work
Title: Re: freespace app for my iphone
Post by: The E on March 28, 2011, 07:25:28 am
...

Read the thread. Porting to the iPad is just as hard as porting to the iPhone.
Not. Going. To. Happen.

Unless you're willing to do it, of course.
Title: Re: freespace app for my iphone
Post by: ShivanSpS on March 28, 2011, 07:21:12 pm
iphones have enoght 3D power to run FS???

What ill highly recomend is to port the engine to OpenGL ES, and ARM processors, with next gen Tegra ARM processors by nvidia plus Windows 8 running on ARM, we going to see a lot of tablets and neetbooks running with Tegra 2 and Kal-el (next gen Tegra with quad core and better gpu).
http://notebooks.com/2011/02/16/nvidia-tegra-kal-el-quad-core-mobile-processors-announced/
Title: Re: freespace app for my iphone
Post by: Luis Dias on March 28, 2011, 07:25:41 pm
Lol, people simply do not read the replies, they read the title and say "OMGTHATSGREAT" and then they post their "recommendations" hehe.

It would be *awesome* to have Freespace Open in the iPad, for example, but for that to happen, you'd have to design the entire engine *again*, and then you'd have to simply ignore the open source rights of FSO so that your "app" gets approved by Apple (in where your app must have proprietary rights, some of which you will abandon to Apple itself.... as far as I know).

And to just imagine how you would manage the FSO "mods" in, say, iTunes, it would be hilariously ridiculous.

Nope. Not happening.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: Zacam on March 29, 2011, 01:11:07 am

I took the liberty of modifying the Title for this thread to hopefully illustrate the point for people who are just posting based on title and not actual reading.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: The E on March 29, 2011, 01:20:59 am
iphones have enoght 3D power to run FS???

What ill highly recomend is to port the engine to OpenGL ES, and ARM processors, with next gen Tegra ARM processors by nvidia plus Windows 8 running on ARM, we going to see a lot of tablets and neetbooks running with Tegra 2 and Kal-el (next gen Tegra with quad core and better gpu).
http://notebooks.com/2011/02/16/nvidia-tegra-kal-el-quad-core-mobile-processors-announced/

Go ahead and get us coders the hardware then. And the SDKs. And while we're at it, why don't you go ahead and pay us for it? Because it's not going to happen unless you do that, or a new person comes along and does it for us.

Perhaps Zacam and I weren't clear enough. So let me use large letters.

Unless someone who has the hardware and the enthusiasm and a whole lot free time comes along, FSO will NEVER BE PORTED TO A MOBILE DEVICE.

So unless you're willing to do it yourself, stop dreaming about it.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: Grizzly on March 29, 2011, 04:29:23 am
What if you get some sort of VMWare for Ipads? :nervous:
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: The E on March 29, 2011, 04:53:43 am
Which isn't going to happen. Apple's app regulations explicitly forbid emulators like that.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: ShivanSpS on March 29, 2011, 02:16:27 pm
who cares about apple? everyone that owns one knowns about the software restrictions.

I think we can disscuss this once there is more information on Windows 8, all we known for now is the fact it runs on ARM hardware, and that includes the Tegra 2 and next gen tegra processors hardware. Maybe MS will include a x86 emulator por ARM hardware... who knowns. BUt still OpenGL ES is the problem.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: The E on March 29, 2011, 02:31:50 pm
...


Okay.

ShivanSPS, please, stop. Windows Mobile 8, just like Mobile 7, will be based on .net and DirectX. Porting a non-.net, OpenGL application over is a task of such magnitude that you'd need a team of hired coders to get it done. Which is NOT GOING TO HAPPEN. So stop dreaming.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: Zacam on March 29, 2011, 02:35:50 pm

Indeed. I fully concur with The E on all points.

Porting to ANY mobility platform of the hand-held variety is not going to happen, regardless of the hardware or the control mechanisms, simply because we barely have enough people as it is for maintaining the code as it stands and addressing the issues and new features.

NONE of us have the ability or time it would take to handle a task of this magnitude. And then, even IF somebody DOES manage to make it happen, it surely will not end up using the ASSETS as they currently exist, so all of THOSE would have to be ported as well.

So, this conversation is done.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: General Battuta on March 29, 2011, 02:38:08 pm
I reckon you can probably just leave it to sit, no need to lock.
Title: Re: freespace app for my iphone (MOD Edit: Won't Happen)
Post by: The E on March 29, 2011, 02:40:01 pm
Yes, we do need to lock. Because people apparently keep thinking that what we're saying here now will be invalid in the future.