OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: iSubaru on February 10, 2009, 02:54:34 PM



Title: OpenArena on iPhone
Post by: iSubaru on February 10, 2009, 02:54:34 PM
Hello
I started this topic as continuation of old one
http://openarena.ws/board/index.php?topic=1728.0
(notification said it is dead for more than 120 years so I guess less mistake will be making new topic than necroposting old one)

I read through it a bit, it was said that porting is impossible
I can't agree, someone made already Quake III Arena for iPhone and with a bit customed configuration file it works really good, as fair as I remember it even somehow supports multiplayer gaming o_o
It wasn't send to AppStore but is avaiable to download manually -> then You must copy it to iPhone by SSH
Yes iPhone should be after Jailbreak but Jailbreak is legal so I guess we can continue :P
What I wanted to ask was if porting OpenArena would be possible, with leaving open source or not, just to port it...
Quake III Arena for iPhone uses normal game pack files so I guess the problem of porting is only client part...

Thank You for advance and big sorry for so much text ^_^"

iSubaru

EDIT#1
If someone is interested in game itself here is link to it
Yes it is fully legal
You have to unpack it and place in /Applications of Your iPhone or iPod Touch as I remember
if game doesn't starts You may fix permissions for it to 755 or even 777
I will try find that custom configuration file since the one in the original archive is not very good to play (try to shot and You will know what I mean)
Link - http://rapidshare.com/files/196560883/Quake3.app.rar


Title: Re: OpenArena on iPhone
Post by: epicgoo on February 10, 2009, 07:12:15 PM
processor of the iPhone is .... ?


Title: Re: OpenArena on iPhone
Post by: SharpestTool on February 10, 2009, 07:34:00 PM
hey iSubaru, you can feel free to ignore SeriousSpitter aka SeriousFapper's CAN'T DO attitude one-liners...

I haven't seen the iPhone Q3A source, so I have no idea how simple it would be to mess with, but I can say this after working on my own mod...

OA has a different lineage than Q3A now.   The ioquake3 engine which it uses did some serious upgrading to the original Q3 source code.   
While an OA engine built off the original code base (like the iPhone port) can certainly interoperate with the newer engine, the structure/organization of a good portion of it is now completely different.

What this means is that it would require one of two things...
1. Adding/Subtracting/Changing all the changes for the necessary OA features in the iPhone port, and manually updating those changes as they come around and change in the ioquake3 code (its time intensive)
2. Porting the entire ioquake3/open arena-flavored engine to the iPhone.   

Pak-Wise, its not a problem at all.   For a full featured game it'll require a significant time investment.  If you know "objective-c" the flavor of the C language used by the iPhone, I'd be more than happy to give you some pointers on what you need to include from the OA engine to build the iPhone port.

Cheers!!!


Title: Re: OpenArena on iPhone
Post by: iSubaru on February 10, 2009, 08:00:16 PM
Hmm
Does this link will change anything??? ;)
http://code.google.com/p/quake3-iphone/
I don't know yet Object-C but I'm trying to learn it... but I stopped sadly because my HelloWorld written with instructions runs on iPhone simulator but on real iPhone not :(
I remember there was also written Quake I on iPhone and Quake I and II for Nintendo DS so probably OpenArena wouldn't be that much difficult I guess
of course we can try first port some old version of OpenArena which would be easier eventually to port (but must be Railgun there T_T)

Oh yes that once I will answer SeriousSpitter
iPhone CPU (processor) is ARM as I remember, no it won't be INTEL/AMD, it would be too easy ;)


Title: Re: OpenArena on iPhone
Post by: epicgoo on February 10, 2009, 08:20:04 PM
hey iSubaru, you can feel free to ignore SeriousSpitter aka SeriousFapper's CAN'T DO attitude one-liners...
umm yes... but I don't remember saying something negative this time.
you need to know there are doable things and not doable things.
not doable things are generally doable provided one has enough time, motivation, and etc...
so yes, please, ignore me if I say you can't do it. I will enjoy your suffering


Title: Re: OpenArena on iPhone
Post by: iSubaru on February 10, 2009, 08:56:03 PM
Believe me I'm good at ignoring and such ^_^ I had a war with two users on one forum, they god warns for offending me and playing mods when I didn't said single bad word so I wasn't warned, so believe me, ignoring is really easy...
But maybe let's get back to topic now OK???
AFAIK iPhone has ARM processor so normal make or something probably won't go there... hmm does OpenArena source has configure.sh file or similar??? it would make things a lot easier...

EDIT
Uh oh what the... looks like some of our posts was eaten o_o


Title: Re: OpenArena on iPhone
Post by: iSubaru on February 18, 2009, 03:03:27 PM
Sorry for double post but some was eaten probably by some error
I got idea why it don't want to compile
I took out filters in Cydia for packages and I'm now looking through them, maybe I will find missing piece to this puzzles :)

EDIT
Oh yes as reminder to whole situation
Code:
make[2]: Entering directory `/private/var/mobile/Documents/OA-engine'
CC code/client/cl_cgame.c
make[2]: cc: Command not found
make[2]: *** [build/release-darwin-arm/client/cl_cgame.o] Error 127
make[2]: Leaving directory `/private/var/mobile/Documents/OA-engine'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/private/var/mobile/Documents/OA-engine'
make: *** [release] Error 2


Title: Re: OpenArena on iPhone
Post by: iSubaru on April 20, 2009, 12:17:49 AM
Sorry~ so long without answer but once or twice openarena.ws was not working so I couldn't get in there, + there is a lot to do to school, to DS....blah...
I have asked on IRC someone and for now it looks like that maybe some corrections in makefile would do the trick or at least move compiling a bit further :)
I will try to find some info or ask on IRC/forums, I'm sure that OpenArena can be done for iPhone :) as well as on DS but for DS we would probably need some recoding because DS even that is powerfull console, that it has less memory than PC, even with Memory Pack (which gives 8 or 16 MB no more :( )


Title: Re: OpenArena on iPhone
Post by: fromhell on April 20, 2009, 03:16:47 AM
I'm sure that OpenArena can be done for iPhone :)
if it can be done on a old p2 233 with a similar video chipset to the iphone  then it can surely be done. There's just that RAM and SPACE thing to worry about.

(BTW DON'T TRY BLOOM EVER)


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 20, 2009, 07:09:08 AM
It can be done. I have a port of quake 3 on my ipod touch.


Title: Re: OpenArena on iPhone
Post by: iSubaru on April 21, 2009, 02:56:24 AM
Yup, there is port of Quake III as well, it works funny without proper config file but after some configuration it's playable more or less
There is Quake I and II ports for Nintendo DS too, but those ones as I remember have to use Extra Memory Pack inserted into Slot-2, from Opera it's 8 MB from EZ 3-in-1 it's 16 MB and new coming EZ 3-in-1+ will probably have 32 MB so we could probably use that 32 MB somehow

anyway I will try again with it...I won't forgive myself if I won't be able to port it with help or not :D


Title: Re: OpenArena on iPhone
Post by: fromhell on April 21, 2009, 12:03:29 PM
There is Quake I and II ports for Nintendo DS too
those are lucky to even barely work on the ds


Title: Re: OpenArena on iPhone
Post by: Case on April 26, 2009, 11:54:33 PM
Once Linux gets ported to the iphone OA will follow.


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 27, 2009, 06:09:35 AM
Once Linux gets ported to the iphone OA will follow.
Then we would wait for years.

It's not only a problem of porting the kernel: it must have an imput driver, an accelerated graphic driver, a wifi driver…

Q3A already runs on os x mobile.


Title: Re: OpenArena on iPhone
Post by: Case on April 27, 2009, 03:52:37 PM
Last time I checked out the Linux on the iphone project they had already got a lot of the work done. The iphone is an ARM arch so a lot of Linux stuff should be easy(?) to port over.


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 27, 2009, 04:32:24 PM
Last time I checked out the Linux on the iphone project they had already got a lot of the work done. The iphone is an ARM arch so a lot of Linux stuff should be easy(?) to port over.
Last autumn they managed to boot the kernel and put up a basic userland. You can follow the port here (http://www.iphonelinux.org/index.php/Main_Page). As you can see we are still far from the objective of having a working linux-based iphone…


Title: Re: OpenArena on iPhone
Post by: Case on April 27, 2009, 04:41:36 PM
From Dec. 08 http://linuxoniphone.blogspot.com/2008/12/debian-on-iphone-linux.html Seems like they're getting it done.


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 27, 2009, 04:49:52 PM
From Dec. 08 http://linuxoniphone.blogspot.com/2008/12/debian-on-iphone-linux.html Seems like they're getting it done.
Initial ports of the kernel and the userland, nothing more. They can't even use the device without a keyboard. To have q3a/oa on linux/iphone minimum requirements are:
-fully working kernel and userland;
-graphic card support with opengl;

And to make it playable the input driver is needed too, but this shouldn't be that difficult: it seems that the chipset is quite common. The real problem, once there is a working basic system (and, i repeat, we are still far from that) imho will be to set up some sort of graphic card support. Software Q3A on that device seems a bit too much, since the opengl version is still at the edge of its abilities.


Title: Re: OpenArena on iPhone
Post by: SharpestTool on April 27, 2009, 09:07:04 PM
the q3 engine on the iphone has been done.

http://www.youtube.com/watch?v=kvci1vTXyUo (http://www.youtube.com/watch?v=kvci1vTXyUo)

All it will take to get OA running on it is to make sure it's built OA specific and that it can run the cgame/game/ui modules...


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 27, 2009, 11:15:00 PM
the q3 engine on the iphone has been done.

http://www.youtube.com/watch?v=kvci1vTXyUo (http://www.youtube.com/watch?v=kvci1vTXyUo)

All it will take to get OA running on it is to make sure it's built OA specific and that it can run the cgame/game/ui modules...
That was a (very old) fake.

But yes, it has been done.

Engine+demo files (http://rapidshare.com/files/196560883/Quake3.app.rar), built from nobody know who;
open source port project[/usr].
 (http://code.google.com/p/quake3-iphone/)


Title: Re: OpenArena on iPhone
Post by: iSubaru on April 29, 2010, 09:36:18 AM
Another sorry for revive spell

jackoverfull - I will check it right away, I haven't gave up yet for it :D
Time to install Mac OS X again heheh...

Oh one more idea
What about this kind of "trick"
Using Quake III engine on iPhone (probably source is avaiable somewhere?) and putting together with OpenArena .pak files? would that work somehow?


Title: Re: OpenArena on iPhone
Post by: jackoverfull on April 29, 2010, 09:48:04 AM
i don't think that it will work straight away (sago should be able to confirm), but it is surely possible to get the maps loaded someway. Doing a similar thing using older versions of oa (0.6 and earlier if i remember correctly) would mostly work out of the box.

 Anyway the old q3 binary doesn't work on iphoneos 3, so it isn't much of an option.


Title: Re: OpenArena on iPhone
Post by: iSubaru on April 29, 2010, 10:01:21 AM
It does not? O_O Ouch I will check it deeply, that sounds bad...
Anyway if that is possible to get old OA I will try it out on PC for start
Everything slowly slowly to fill purpose, no stress :D


Title: Re: OpenArena on iPhone
Post by: PWNAGE on May 29, 2010, 03:36:04 AM
Well there is an app like quake called cube http://itunes.apple.com/us/app/cube/id292763299?mt=8
I believe with a bit of hard work it could be done, Cube is multiplayer also

Here is a screenie of cube, it looks kinda similar
(http://a1.phobos.apple.com/us/r1000/029/Purple/c3/36/2f/tns.ckgugsgm.320x480-75.jpg)


Title: Re: OpenArena on iPhone
Post by: jackoverfull on May 29, 2010, 03:50:21 AM
Idon't know, but I doubt that it is compatible with OA…

BTW, a few days ago a was released a new version of q3 per iphone…Works fine on my 3g, albeit without audio. :)