PaulsCode Forum

General => Your Projects => Topic started by: Relasin on July 10, 2012, 08:12:18 PM

Title: LXDream Android
Post by: Relasin on July 10, 2012, 08:12:18 PM
Well aware of the displayed, but not released NullDCe, I went on a search for any Dreamcast for android emulator I could find.....
On my journey I came across the website of a well known Linux/Mac OSX Dreamcast Emulator known as "LXDream".....

Here i found what seems to be the source to a Dreamcast emulator for android....
http://www.lxdream.org/hg/lxdream/file/f72cfb134a87/android (http://www.lxdream.org/hg/lxdream/file/f72cfb134a87/android)

It has been days that i have been searching on how to compile this app.
I have failed many a times.
I hope that the fellow members of Paul'sCode will assist me in obtaining what may be one of the greatest creations there is.

Source Download:
http://www.mediafire.com/?2ymdl1xuakey2vx (http://www.mediafire.com/?2ymdl1xuakey2vx)

This was my first post, I hope you enjoyed, Thank You in advance, Relasin
Title: Re: LXDream Android
Post by: xperia64 on July 10, 2012, 08:32:01 PM
The java code is in there but the core C code is missing (whatever compiles to create liblxdream.so)
Title: Re: LXDream Android
Post by: Paul on July 10, 2012, 08:39:52 PM
It looks like the native linkage for Android is in the lxdream/src.  As for compiling, it probably is done with the whole toolchain rigmarole process like Yabause, but I haven't looked at it that closely to see if there is an NDK project somewhere (doesn't appear to be).  If I have some time I might take a shot at compiling it for you, Relasin.
Title: Re: LXDream Android
Post by: Paul on July 10, 2012, 08:54:34 PM
I probably won't have time to work on this for a week or two, so if you are wanting to try and get this going sooner, your best bet would probably be to set up an NDK project yourself (much easier than playing around with the Android toolchain method, IMO).  Start by studying the make files, to see what sources are needed and what settings to get ARMv7 (and GLES if it is used), plus anything related to Android.  Use that information to create an Android.mk file for building liblxdream.so.  The Java parts should be easy once the native piece is build, since they have the SDK project set up already.
Title: Re: LXDream Android
Post by: Relasin on July 10, 2012, 11:08:31 PM
I probably won't have time to work on this for a week or two, so if you are wanting to try and get this going sooner, your best bet would probably be to set up an NDK project yourself (much easier than playing around with the Android toolchain method, IMO).  Start by studying the make files, to see what sources are needed and what settings to get ARMv7 (and GLES if it is used), plus anything related to Android.  Use that information to create an Android.mk file for building liblxdream.so.  The Java parts should be easy once the native piece is build, since they have the SDK project set up already.

I think I'll leave this work to the master :)......
I could wait a week or two to have the professional help me out instead of me messing up...
Thank You Very Much for Your Kindness :)
Title: Re: LXDream Android
Post by: Relasin on July 11, 2012, 07:09:04 PM
Also if this will help, here is the full lxdream source code:
http://www.lxdream.org/hg/lxdream/archive/f72cfb134a87.zip (http://www.lxdream.org/hg/lxdream/archive/f72cfb134a87.zip)
Title: Re: LXDream Android
Post by: xperia64 on July 11, 2012, 07:33:20 PM
Trying to compile. The builddeps.sh script in the android folder contains many errors so far (such as defining an environment variable as LIBICONV then referencing it every where else in the script as LIBCONV)  >:(.
Title: Re: LXDream Android
Post by: Paul on July 11, 2012, 07:40:26 PM
Trying to compile. The builddeps.sh script in the android folder contains many errors so far (such as defining an environment variable as LIBICONV then referencing it every where else in the script as LIBCONV)  >:(.

Haha, makes you wonder how the devs are able to build it..
Title: Re: LXDream Android
Post by: Relasin on July 30, 2012, 02:13:41 AM
So, have there been any recent breakthroughs in this "project"?
Title: Re: LXDream Android
Post by: Rarity on August 09, 2012, 03:53:19 AM
Awh, I really hope something is able to be done with this, especially after we were all trolled with nullDCe.
Title: Re: LXDream Android
Post by: Paul on August 09, 2012, 06:01:57 AM
Probably won't be any work from me on this for a month or two.  The closer I get to my separation date, the less time I find I have.  I'm currently spending about every waking hour that I'm not at work cleaning up my web footprint, targeting companies, sending resumes, and making phone calls (and trying to find an hour or two here and there to fix my commercial app I'm working on).  This is an important project, without a doubt, but it has to take a back burner for a bit until I get through this transition from military to civilian life, get a new job, purchase a house, and get settled into a new budget and schedule.
Title: Re: LXDream Android
Post by: Rarity on August 09, 2012, 06:20:33 AM
Probably won't be any work from me on this for a month or two.  The closer I get to my separation date, the less time I find I have.  I'm currently spending about every waking hour that I'm not at work cleaning up my web footprint, targeting companies, sending resumes, and making phone calls (and trying to find an hour or two here and there to fix my commercial app I'm working on).  This is an important project, without a doubt, but it has to take a back burner for a bit until I get through this transition from military to civilian life, get a new job, purchase a house, and get settled into a new budget and schedule.

Ah, no complaints here, life comes first.  I dug into the emulator a bit - it's only on linux (other than apparently the source code for an android port) seems pretty slow but hey, one stop closer right? Even nds4droid is playable on some games - I dunno why they dropped development on that after all, it runs pretty well on newer dual-core sets.
Title: Re: LXDream Android
Post by: k0en on January 07, 2013, 04:38:28 PM
Hi all !

Any news about this fantastic project ?
Title: Re: LXDream Android
Post by: Paul on January 07, 2013, 04:44:38 PM
I'm actually considering not taking a leadership role on this this myself.  I've kind of gotten sucked into the "emulator black-hole", and would like to get back to working toward writing games instead.  I'll of course help anyone else out who decides to take on a project like this, but I really don't want to take ownership of another long-term emulator port like Mupen64Plus.  Even Yabause I plan to write a decent front-end for and then turn it back over to the official team, rather than maintaining a separate branch called "Yabause AE".
Title: Re: LXDream Android
Post by: k0en on January 08, 2013, 03:23:13 AM
OK !

Thanks for your fast answer.

By the way, thanks for all your great job Paul !
Title: Re: LXDream Android
Post by: stodag on January 28, 2013, 03:52:48 PM
Paul could you put word out about the project,  hopefully someone will start it and u chip in wherever and whenever u got free time, reason i say it is people will listen to you , get the wheels rollin lol, im not pushin just an idea, hell im still waitin for null dc but they wont even give spec requirements so i could be waitin all this time and not be able to run it etc.
Title: Re: LXDream Android
Post by: stodag on January 28, 2013, 03:55:18 PM
no pressure i know your busy, maybe i got to much free time :) just an idea there must be a few devs willin to take this on.
Title: Re: LXDream Android
Post by: stodag on January 29, 2013, 04:01:43 PM
ignore that last post paul, i was in the zone with all the dc emu talk lol im sure someone will pick it up.
Title: Re: LXDream Android
Post by: Paul on January 29, 2013, 05:21:26 PM
No worries.  I plan to help out anyone who wants to take on the Android port.  I just don't want the leadership role (so I have more free time for Mupen64Plus AE and my side-scroller project).  Same situation as Yabause AE, which Zack is taking charge of.
Title: Re: LXDream Android
Post by: xperia64 on January 29, 2013, 05:23:21 PM
As I mentioned previously, fixing the android build script typos is a good place to start  :P
Title: Re: LXDream Android
Post by: BobCat on February 15, 2013, 05:10:05 AM
i want to pick up on this how would i do that
Title: Re: LXDream Android
Post by: Paul on February 15, 2013, 06:50:26 AM
I haven't really done much with it myself except digging through the code a bit to look at things.  I'll put together what information I have tonight.  Are you planning to set up a new fork of their repository for working on the Android branch?  If so I can help get that set up if you're new to public repos like github or whatnot.  Not sure what your current experiences are.  I'm happy to help where needed.
Title: Re: LXDream Android
Post by: BobCat on February 16, 2013, 07:47:06 AM
I going through and figuring out where everything goes and what is missing
Title: Re: LXDream Android
Post by: danny19901 on June 29, 2015, 03:43:46 PM
I Wouldn't attempt Building This i would use Reicast Git and add what ever lxdream's patches, fixes etc... are available and merge to reicast