Porting to Android

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Porting to Android

Post by phimuskapsi »

I have started the process of porting zDoom to Android using android-cmake in conjunction with the r5b NDK.

Getting an error on arithchk:

Code: Select all

[ 34%] Built target dumb
Scanning dependencies of target arithchk
[ 34%] Building C object gdtoa/CMakeFiles/arithchk.dir/arithchk.o
Linking C executable arithchk
[ 34%] Built target arithchk
[ 34%] Generating arith.h
./arithchk: 1: Syntax error: word unexpected (expecting ")")
make[2]: *** [gdtoa/arith.h] Error 2
make[1]: *** [gdtoa/CMakeFiles/qnan.dir/all] Error 2
make: *** [all] Error 
Any ideas??

PS - Can a mod delete my extraneous posts below?
Last edited by phimuskapsi on Tue Mar 22, 2011 9:30 am, edited 6 times in total.
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

Maybe something to do with Fuse not being install on my ubuntu install....hmmmm.

Nope. Installed FUSE and Fuse Dev and no luck...I'm gonna keep trying till I figure it out!
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

Hmm this may be a problem with fuse not being supported in Android...
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

Figured this out! When setting up android-cmake the default platform is 5, needs to be 8 or higher. More updates to come!
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: Porting to Android

Post by Apothem »

Easy with the multi-posting, there is an edit button for a reason.

Anyway, nice to see a zdoom port to Android. Keep it up! :)
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

Apothem wrote:Easy with the multi-posting, there is an edit button for a reason.

Anyway, nice to see a zdoom port to Android. Keep it up! :)
lol. Yeah, I abologize, looked for a delete button. Don't think about editing. My bad. Ran into a couple more issues, but getting closer!
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: Porting to Android

Post by Apothem »

Will there be full ACS support? Which version are you porting?
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

As of right now, just the normal zDoom source. I am running into issues though, like the fact that it's making an executable. I don't think that will work with what I'm doing. I came to find out that the build I 'completed' was only using just partially the android toolchain. So I need to go back through and figure it all out. Keep your eyes here. :-)
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Porting to Android

Post by randi »

phimuskapsi wrote:PS - Can a mod delete my extraneous posts below?
You realize this edit has essentially ruined this thread, since all the replies are to something that is no longer present?
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

If you want delete it entirely and i'll start over.
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Re: Porting to Android

Post by MasterOFDeath »

I would ask for Motorola Droid support since the author of the original Doom for Android is an expletive, but I wouldn't be surprised if ZDoom is too much processing power for it anyways. Still if you want to test this on an overclocked Droid feel free to PM me. Hopefully this goes well either way, I don't play Doom much these days but Android needs a good Doom port. Dammit.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Porting to Android

Post by Project Shadowcat »

MasterOFDeath wrote:I would ask for Motorola Droid support since the author of the original Doom for Android is an expletive, but I wouldn't be surprised if ZDoom is too much processing power for it anyways. Still if you want to test this on an overclocked Droid feel free to PM me. Hopefully this goes well either way, I don't play Doom much these days but Android needs a good Doom port. Dammit.
Quite badly does Android need the port, but I wouldn't see how it would be (too) harsh on the processor. 500MHz surely is enough?
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Re: Porting to Android

Post by MasterOFDeath »

Project Dark Fox wrote:
MasterOFDeath wrote:I would ask for Motorola Droid support since the author of the original Doom for Android is an expletive, but I wouldn't be surprised if ZDoom is too much processing power for it anyways. Still if you want to test this on an overclocked Droid feel free to PM me. Hopefully this goes well either way, I don't play Doom much these days but Android needs a good Doom port. Dammit.
Quite badly does Android need the port, but I wouldn't see how it would be (too) harsh on the processor. 500MHz surely is enough?
500 MHz alone would be plenty for ZDoom. Don't forget limited memory and the overhead from everything else. Memory concerns me in particular, the Droid doesn't have much and even overclocking it as high as 800 MHz (I'd do 1 GHz but it's probably a good thing the kernel I use doesn't allow that) doesn't fix all the slowdown.
phimuskapsi
Posts: 16
Joined: Mon Mar 21, 2011 8:07 am

Re: Porting to Android

Post by phimuskapsi »

The "Doom for Android" port is prBoom. I know because I fixed the broken ass version out and made working multitouch but I hated the engine. So I suspended cleaning up the menus and such and moved to this.

Note the project is also ripped right out of Pro Games for Android book. Someone took the source (online) and published it. Yay gnu! lol.

I'm working on this for the X for now. I think it'll take an arm-cortex-8 at the min.

EDIT: The compiled zDoom executable is roughly 25mb...so it should be able to live in modern phones (2.1+ so Galaxy S, Droid X etc). Now getting the java code working is gonna be a pain. I'm gonna have to figure it all out myself. This hasn't been done yet.
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Re: Porting to Android

Post by MasterOFDeath »

I think Xaser has a Droid X, you might ask him for help testing too.
Post Reply

Return to “General”