Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-03-11 08:14

Hi All,

I've made a preliminary native port of exult to Android using the Crystax NDK toolchain and Pelya SDL port. The port seems to run fairly well, but needs some work on input/control to make it playable.

I've posted a patch series here:

http://dl.dropbox.com/u/20250869/exult_android_ndk_patches_20110202.tgz

And a binary package here:

http://dl.dropbox.com/u/20250869/exult_android_ndk_20110202.apk

The package includes all the data files that build with exult. It can also automatically download and install the sound and music packs if you select them in the "Optional downloads" menu. Note that these menus come from the Pelya SDL port and are not customized for Exult.

As usual, the original game data is not included, and needs to be manually installed. I used these commands to install it from my Ultima Collection CD:

adb push ULTIMA7 /sdcard/app-data/net.sourceforge.exult/blackgate
adb push SERPENT /sdcard/app-data/net.sourceforge.exult/serpentisle

If you want to build from source, apply the patch series to the subversion sources (patches were made against rev 6813) and use Makefile.android. By default, it will download and install local copies of the crystax toolchain and pelya SDL port. If you already have these installed somewhere, you can specify the path to them with ANDROID_NDK=... and ANDROID_SDL=...

I seem to have less and less time to work on this, so if anyone else can make improvements, please do.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Summ (---.adsl.alicedsl.de)
Date:   02-04-11 01:09

I must say that I am truly astonished by this version of Exult. It almost works flawlessly, apart from awkward controls and that only the quicksave slot works. (WTF? It says something about "savelist bg*.sav" not implemented...)
But sound, music and most importantly: speed is all perfectly fine. Even the graphic filters are working tremendously good (Scale2x, Sai, SSai, SEagle).

Thank you very much KenC :-)

(For reference: my Device is Desire-unrooted-android2.1)

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-04-11 03:38

Kudos definitely go to the Exult team for a clean, portable codebase and Pelya and CrystaX for libraries and toolchain. I actually made very few changes to the codebase - about the only one of significance was fixing signed char issues since arm defaults to unsigned.

As far as input goes, there's been a lot of good ideas floated over on the Java thread, and many of them can probably already be implemented by tweaking the setup in the runtime configuration menu (magnifier and onscreen buttons in particular; not sure if pelya has support for using the screen as a touchpad).

I hadn't actually tried saving a game yet, so hadn't noticed that issue. I'll try and take a look at it eventually, but I've had very little time lately to continue working on this.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Summ (---.adsl.alicedsl.de)
Date:   02-04-11 19:08

[quote=KenC]
I hadn't actually tried saving a game yet, so hadn't noticed that issue. I'll try and take a look at it eventually, but I've had very little time lately to continue working on this.

That would be very cool - its like playing Zelda when one has only a single savegame X-)
I will try and take a look at the awkward controls - pelya said, that he would improve mouse emulation asap, but he also has very little time.

Would you please tell me on what device you tested the exult port? Would sure be nice to have a compatibility database somewhere.

And another question: did you try compiling with the ndk-r5b? It should make CrystaX obsolete, but I had little success with it.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-05-11 06:51

"Would you please tell me on what device you tested the exult port? Would sure be nice to have a compatibility database somewhere."
I started out on the simulator and it was working pretty well, although I just noticed that it no longer does - bunch of "called unimplemented OpenGL ES API" messages in the log and no display. For hardware, I'm testing on a Nexus One.

"And another question: did you try compiling with the ndk-r5b? It should make CrystaX obsolete, but I had little success with it."
I haven't played witn ndk-r5b yet, but this makes it sound like a nonstarter: 'C++ Exceptions and RTTI are not supported in the default STL implementation.' When I first started playing with porting exult, I tried to do it by using ndk-r4 and STLPort and getting rid of all exception usage in Exult, but eventually gave up when I found the CrystaX toolchain. The r5 release notes on STL and exceptions are worded a little oddly though, so maybe I'm misunderstanding and there is a way to get STL and exceptions.

Reply To This Message
 
 Re: Native Android Port
Author: ShadowJack (---.dsl.snlo01.sbcglobal.net)
Date:   02-05-11 19:13

I have been testing this on a Droid2.

The only trouble I am having is picking up objects like the key at the murder seen. I have been trying various options on the SDL configuration, but I have not found one that works.

Reply To This Message
 
 Re: Native Android Port
Author: Summ (---.adsl.alicedsl.de)
Date:   02-07-11 03:13

@ShadowJack:

I found that moving objects is broken when using hardware buttons for LMB. I suggest pressure oriented LMB (somewhere in the options of SDL).
I was able to play to Lord British this way, and will try to play through in the next few days.
Doubleclick is extremely hard this way however... I suggest using some hardwarebuttons for inventory (SDLK_SPACE) attackmode (SDLK_C).

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-07-11 06:22

Mixed results with r5b: was able to build, but the app hangs while trying to load libsdl-1.2.so. Could easily be a problem with how I built, but going to punt on r5b for now and stick with CrystaX.

Reply To This Message
 
 Re: Native Android Port
Author: ShadowJack (---.fw.slo-misc.truelink.com)
Date:   02-07-11 20:45

@Summ

Thanks for the suggestion. After a bit of tuning, I was finally able to pick objects. I am still have trouble picking up coins, but a bit more tuning may work.

@KenC

May I suggest that you use r4b instead of r5b. Several other developers had much more success with the older NDK. Being behind a version may make it easier to move to Google's r5c (or what ever comes next).

I'll give the port a bit more testing later today.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-07-11 20:52

r4(b) doesn't have STL, RTTI or exceptions. You can add STL using STLPort, but you still need exceptions for exult. The CrystaX toolchain is a rebuild of r4 with STL, RTTI and exceptions.

Reply To This Message
 
 Re: Native Android Port
Author: Summ (---.adsl.alicedsl.de)
Date:   02-07-11 22:24

I'd like to know how good exult performs on different android devices. My Desire has a 1Ghz CPU, but does it work on less performant hardware? Does it work on 1.6? 2.3?
It would be awesome if it would work on some of the cheaper android tablets with resistive touchscreen, so that one can use a stylus :-)

I'm currently stuck into porting JaggedAlliance2 to android, but I will take a look at building with r5b in the next few days. (To anyone who is interested: the JA2 works, but has some issues with speed and some with text-display)

@KenC: how about adding the sdlport to exult svn? Would be much easier to keep up with the development process.

Reply To This Message
 
 Re: Native Android Port
Author: XDelusion 
Date:   02-07-11 23:06

I've considered picking up one of those Panditigal Novel Readers and hacking it. So if I do, I'll give this a spin and see if works on there also.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-08-11 07:17

Have the savegames fixed. They weren't working because I stubbed out the U7ListFiles function with the intention of coming back to it later, and then neglected to do so.

Going to try updating to the latest rev of the exult and pelya SDL trees and then will post a new patch series and binary - hopefully tomorrow.

@Summ: were you suggesting getting my patches merged into the official exult svn repository? I'm all for it, whenever someone with write access wants to review/apply them. As I don't have write access to SVN, it may make more sense to keep working with the external patch series for a little longer until we work out the kinks. I'll be rebasing the patch series on the latest exult/pelya sources each time I post an update.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-11-11 05:39

Updated build and patch series based on latest Exult and Pelya-SDL sources. This also has a fix for the savegames.

http://dl.dropbox.com/u/20250869/exult_android_ndk_20110209.apk
http://dl.dropbox.com/u/20250869/exult_android_ndk_patches_20110209.tgz

Reply To This Message
 
 Re: Native Android Port
Author: Bogatyr (---.hsd1.mi.comcast.net)
Date:   02-11-11 17:13

Starts fine on Droid X, however I can't seem to start a new game without it crashing. Once I enter my name and sex and click to continue, it crashes.

Reply To This Message
 
 Re: Native Android Port
Author: Dominus1 (---.dynamic.xdsl-line.inode.at)
Date:   02-11-11 17:15

Maybe you need to delete the gamedat folder contents first.

Reply To This Message
 
 Re: Native Android Port
Author: Bogatyr (---.hsd1.mi.comcast.net)
Date:   02-11-11 18:11

I deleted the contents of the gamedat folder and now it shows the red loading effect and as it fades away, then it crashes. So it goes farther... but still won't start.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-11-11 18:42

@Bogatyr: Have you tried both the original and the latest builds - do both crash? Can you grab a logcat dump of the game launching/crashing and post it here or email it to me (using the latest build).

Reply To This Message
 
 Re: Native Android Port
Author: 486DX2/66 Dragon (---.adsl.cyta.gr)
Date:   02-13-11 11:34

Congratulations!!! I can't begin to describe how happy I am. :-)

I installed it on an unrooted Nexus with Android 2.2 but it crashes just after I start a new game (after the red squares screen). Any ideas on what could be wrong? I used the apk posted on 02-11-11 05:39 on this thread.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-13-11 16:11

Confession time. I had tested my development build, but ran a completely clean build of the apk that I posted on 02-11-11, and never actually tested it. Just tried it out and also saw it crash after starting a new game :-(

I'll post a new apk as soon as I get it sorted out, but in the mean time, the 02-09-11 build should work for you (although only the quicksave slot works).

Ken

Reply To This Message
 
 Re: Native Android Port
Author: 486DX2/66 Dragon (---.adsl.cyta.gr)
Date:   02-13-11 17:52

Thanks again for your efforts!!

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-15-11 05:08

Ok - patch series and new build, take 3. Didn't chase down root cause on the crash in the last build, but updating to the latest pelya-SDL sources seems to have fixed it. Tested on my N1 this time and verified I can start a new game.

http://dl.dropbox.com/u/20250869/exult_android_ndk_20110214.apk
http://dl.dropbox.com/u/20250869/exult_android_ndk_patches_20110214.tgz

Reply To This Message
 
 Re: Native Android Port
Author: Malignant Manor 
Date:   02-15-11 07:36

Size Patch

This patch increases the size of many shapes by either using an alternate frame or resizing the image and adjusting the outline. It should work with BG, SI, and the Keyring Mod.

Things like increased gem size and venom look a bit off. Most shapes should look alright. Hidden keys are more visible but I can't really increase the size of the buckets or plants.

Reply To This Message
 
 Re: Native Android Port
Author: Bogatyr (---.hsd1.mi.comcast.net)
Date:   02-17-11 04:00

The new build runs quite well. Love it! Just needs some interface work, the mouse is very very very sensitive to clicking when using the touch screen.

Reply To This Message
 
 Re: Native Android Port
Author: ShadowJack (---.dsl.snlo01.sbcglobal.net)
Date:   02-18-11 23:08

This build runs well. I am able to drag and drop with the press firmly option. Has anyone tried to drag and drop with a hardware button?

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.pools.arcor-ip.net)
Date:   02-20-11 12:48

This is simply fantastic! I was ecpecting some highly unstable pre-alpha testing release, but right now I'm playing through Monitor without encountering any issues so far :))
I've disabled relative mouse emulation so I can use the touch screen as it's supposed to be used - works like a charm!
As long as there's no virtual keyboard, I can't name savegames properly, but I've assigned the most important short cuts to the 6 onscreen buttons, and that's o.k. for me.

Thank you very much, keep it up!

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-20-11 21:16

There should be a virtual keyboard button (semi-transparent) on the top-right corner of the screen. It's a little quirky, but from the little testing I've done with it, you tap the onscreen button, then proved some other input (roll the trackball a little or something) and a text entry widget will pop up. After you're done entering text in the widget, it will send the SDL kestrokes to type the text into the game. Backspaces seem to work as well, but you have to count up how many you need in your head since you can't see the results in the game as you type them.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.sttlwa.fios.verizon.net)
Date:   02-20-11 22:48

s/top-right/top-left/

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.pools.arcor-ip.net)
Date:   02-21-11 09:11

Maybe I was just being stupid, maybe it's due to the new build, but I never managed to pass letters through to ScummVM when typing with the virtual keyboard, so I disabled it. Surprisingly (at least for me ;) ) it works quite well now.

Again, this is amazing. I've started a new game (named my Avatar properly now the keyboard's working...) and started exploring the Serpent Isle again :)

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.pools.arcor-ip.net)
Date:   02-21-11 10:39

Did I actually say ScummVM? Oh well...

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.pools.arcor-ip.net)
Date:   03-01-11 11:38

After several hours of testing (including Monitor, Knight's Test and parts of Fawn), gameplay still seems very stable. I've encountered two bugs so far:
Firstly, the avatar is sometimes placed on the List Field gallery when he's supposed to enter the arena, and goes haywire - in fact the dumbass turns into a murderous nutter and starts killing his friends. ;)
Secondly, while I was raiding the goblin-infested guard tower, I entered the cellar in combat mode while there were still goblins running around outside, which caused Exult to hiccough and crash. I couldn't reproduce this bug, though.
Apart from that, everything runs smoothly.

Btw, what about adding this port to the download section?

Reply To This Message
 
 Re: Native Android Port
Author: KenC (50.46.183.---)
Date:   03-03-11 06:08

I haven't played through either game in many years so it might take me a while to get to any particular location in the game :) If you have a savegame I can use to reproduce the list field issue I can try to look into it. Have you checked whether you can reproduce it with a regular host build of exult?

Regarding adding this port to the download section and/or SVN - Is anyone reading this thread who has access to do either? If not, I can try the mailing list.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.customers.d1-online.com)
Date:   03-04-11 13:33

Don't bother. Although this has happened two or three times, I haven't been able to reproduce the bug after my last post (haven't tried too hard, though). If you still want to look into it, simply start a new game, enter Monitor, go to the List Field, and ask for a fight.

I'm happy with this port as it is, seeing as there don't seem to be any major issues.

-Alex

Reply To This Message
 
 Re: Native Android Port
Author: Malignant Manor 
Date:   03-05-11 16:43

You should put the patch for the latest SVN on the patch tracker. I'm pretty sure this is something that would require one of the better Exult coders.

Reply To This Message
 
 Re: Native Android Port
Author: Geoff (---.ok.shawcable.net)
Date:   03-06-11 22:22

Ummm... I'm going to risk sounding like a fool...

I have the ultima collection, but I have no idea how to use exult, apply the patches, etc... and move the appropriate files over to my Android 2.1 pad.

Is there a 'how to' file/post which would summarize all the steps necessary (in noob-speak) so I could get this going?

I know I can connect my device to my PC and use the usb host mode to copy files over... I know I can do this and an apk installer to install any apk files... but after that, I'm lost.

Any help?

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   03-06-11 23:31

copy folder ULTIMA7 to your sdcard into the folder /app-data/net.sourceforge.exult/blackgate
copy folder SERPENT to your sdcard into the folder /app-data/net.sourceforge.exult/serpentisle
Then install the apk and it may work.
Don't bother with patches unless you want to compile it on your own.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   03-07-11 01:02

Hi Geoff,

There's some notes about installing the game data in the first post at the top of the thread. These are the commands I use from a command prompt starting at the root of the Ultima Collection CD:

adb push ULTIMA7 /sdcard/app-data/net.sourceforge.exult/blackgate
adb push SERPENT /sdcard/app-data/net.sourceforge.exult/serpentisle

I need to write up a README.android that summarizes this, but haven't gotten around to that yet. Will try and write something up soon and include it with the patches for inclusion into the main exult sources.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Lacry74 (94.50.80.---)
Date:   03-30-11 09:41

lg gt540-android 2.3.3mur4ik 825mhz : could not find the static data for either THE Black Gate or Serpent isle please edit the configuration file and restart exult

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   03-30-11 09:51

where are the data files on your device? Where is the file called usecode for either game?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Lacry74 (94.50.80.---)
Date:   03-30-11 10:00

app-data\net.sourceforge.exult\blackgate\ULTIMA7
app-data\net.sourceforge.exult\blackgate\ULTIMA7\STATIC\USECODE

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   03-30-11 15:27

I think you need to have it as app-data\net.sourceforge.exult\blackgate\STATIC\USECODE. Your ULTIMA7 folder should be moved up one level and renamed to blackgate, not inside a blackgate folder.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Lacry74 (188.18.225.---)
Date:   03-31-11 02:43

all okay. Russian version does not run. Put the British working

Reply To This Message
 
 Re: Native Android Port
Author: Dmitry 
Date:   04-02-11 12:26

Um, the Russian version works fine - just tested on DesireHD. Make sure you do a manual install of the translated files into the Static folder. The automated installer won't work with the Android port, of course.

Reply To This Message
 
 Re: Native Android Port
Author: JasonG (---.london.02.net)
Date:   04-05-11 19:09

Hi,
brilliant work, I'm amazed at the stability of the game! If only the hardware key LMB worked with drag and drop it would be perfect.
I just can't seem to control it with pressure LMB or normal mode, its too awkward.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   04-06-11 00:27

I'll put that next on the list of things to work on, although I'm only working on this occasionally, so it may be a while. I think any changes/fixes to the input will have to happen in SDL itself, but I'm not averse to making changes there and sending them upstream. I ported exult to my A780 phone several years back and in that port, I used a hardware button to toggle between RMB/LMB mode rather than having to hold a hardware button down, and that seemed to work fairly well. Would probably be good to support both options though.

Right now I'm trying to wrap up a few loose ends so I can get the patches submitted to the tracker for inclusion in the main codebase. Next build will include Malignant's size patch, as well as the various mods and patches as optional installs on the download screen. I've got the size patch in, but am still sorting out the build process for the other mods and patches.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.wolters-kluwer.de)
Date:   04-07-11 13:14

Good to see you're still working on this port.

I haven't had much time to play over the last weeks, but I've made it to Fawn so far, released Captain Hawk from Bull Tower prison, raided the goblin camp and put Marsten into jail.

Gameplay is still quite stable, occasional crashes being a rare exception. One thing I've noticed is that antialiasing through SDL settings seems to make it quite unstable.

-Alex

Reply To This Message
 
 Re: Native Android Port
Author: Mr. Wiggles (---.sea.wa.customer.broadstripe.net)
Date:   04-08-11 01:36

Awesome work on the Android port! I have it running on an unmodified Droid X... but no sound.

Did the autodownload thing from the SDL configuration menu, but no dice. Any ideas?

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   04-08-11 05:22

A fellow Washingtonian! :)

Don't have any ideas off the top of my head about the sound. When I was first playing with the port, I wasn't getting any sound, but it ended up just being a problem with not having the sound files in the right place. The auto-download should guarantee that they're all installed correctly.

If you run 'adb logcat' while the game launches and runs and post it here or email it to me, I'll review it for any potential problems. Might also be useful to see a copy of your exult.cfg, which you can copy off with 'adb pull'.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.web.vodafone.de)
Date:   04-08-11 09:05

IIRC you have to enable digital music and SFX in Exult settings menu (not SDL settings).

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   04-09-11 19:23

The default exult.cfg in the NDK port is copied below. I think that's enough to use the digital music and SFX without modifying anything in the menus. Exult ends up rewriting exult.cfg with defaults for all the other settings not specified below the first time you run it.

<config>
<disk>
<data_path>
.
</data_path>
<music_path>
.
</music_path>
</disk>
<audio>
<midi>
<use_oggs>
yes
</use_oggs>
</midi>
</audio>
</config>

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Thalinor (75.9.133.---)
Date:   04-13-11 19:15

Thank you SO much! I hope this project keeps up. Its funny, I said to my self today "Wouldn't it be great to have U7 and U8 on my Xoom tablet" and here is is! (Well at least U7). Keep up the great work. Downloading now and will try to install in a few. I hope the Tegra 2 is not too much for this build; I remember trying to run it on an XP box a few years back, and having to deal with MOSLOW so it was not running so fast. Thanks again and keep up the great work!

Reply To This Message
 
 Re: Native Android Port
Author: Dominus1 (---.static.xdsl-line.inode.at)
Date:   04-13-11 19:45

Doesn't sound like you ran u7 with Exult on your XP machine... ;)

Reply To This Message
 
 Re: Native Android Port
Author: Thalinor (75.9.133.---)
Date:   04-13-11 20:55

@Dominus1 No, that was many years ago and I can't remember how I got it running tbh, I do remember some exe called moslow or something. On Win7 I use dosbox and all the old games from my teenage years run fine. Anyway, I just got things up and running on the Xoom and am shocked at how well it seems to work. Controls are a little flaky but the game runs very well and seems to be stable. I had some problems entering a name [it would cut off randomly some letters I typed] and I couldn't figure out how to select "journey onward" but after tapping all over the screen like a madman and hitting different hardware buttons, somehow it just started.

Anyone know how to "disabled relative mouse emulation so I can use the touch screen as it's supposed to be used" as posted by "TheOtherAlex". They apparently used a fake email so there is no way to contact them directly. I looked in the cfg file but did not see an option.

Anyway, I can confirm this runs very well on the Wi-Fi only Motorola Xoom with only minor issues, mostly controls. A large part of that is probably me too.

Thank you very much for the port! Any chance of getting U8 up and running? I have not tried using the patch to compile it yet, but assume it will probably not work with out some modifications.

Oh one last thing: It seems you can't use save files from a pc save game, even if renamed. I don't remember what the original save files were named, but using dosbox its "GAME00.U7". If I were to go and load up U7 on my pc and then go to save/load the save GAME00 is called "Save 1". I renamed GAME00.U7 on the tablet to exult00bg.sav and tried to load it but it just starts where I left off with the new game started on the tablet. Oddly enough that save game has been replaced with the one from the PC, so I have no idea how it is loading the one started on the tablet as it should no longer exist?! Anyway, when you go into save/load it sees the correct save game name "Save 1" but when I go to load it the app crashes. It might have something to do with how dosbox deals with game saves, who knows.

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   04-13-11 23:51

This is a port of Exult, NOT a port of Ultima 7. Except for some path and control stuff the documentation and FAQ of Exult is also valid for this port.
http://exult.sourceforge.net/faq.php#old_savegames

The same way Exult got ported you could port Pentagram to play Ultima 8. of course not EXACTLY by just applying this patch to Pentagram.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: TheOtherAlex (---.customers.d1-online.com)
Date:   04-15-11 07:53

@Thalinor: I usually don't go spreading my email adress across the net, sorry ;-)

Anyway, all you have to do is tap the screen when the SDL logo appears and enter the 'Mouse emulation' submenu. There's an option to disable relative mouse movement in there.

Reply To This Message
 
 Re: Native Android Port
Author: Thalinor (75.9.133.---)
Date:   04-22-11 11:47

@ TheOtherAlex

Thanks for the reply. I thought I looked there and did not see the option to turn it off, only change things. I will have to check again.

No worries on the email; I 100% understand. I am a huge privacy guy myself.

Thanks again for the info.

Reply To This Message
 
 Re: Native Android Port
Author: Thalinor (75.9.133.---)
Date:   04-22-11 11:57

Found it under the sub menu thanks!

Reply To This Message
 
 Re: Native Android Port
Author: Nathan Delahunty (---.lns1.ken.bigpond.net.au)
Date:   05-05-11 10:59

Tried it on the galaxy tab and am getting sound etc but crashes out on the red loading screen on starting a new game. I tried deleting the gamedata folder and starting a new game but did the same thing. The apk I tried was the latest link.

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.knwc.wa.frontiernet.net)
Date:   05-07-11 02:14

can you run 'adb logcat' while you launch it up to the point of the crash and send me the results or post them here?

Reply To This Message
 
 Re: Native Android Port
Author: Nathan Delahunty (---.lns1.ken.bigpond.net.au)
Date:   05-07-11 06:25

Thank for the response KenC. I have sent you an email with the logcat attached from just before clicking journey onward till just after the crash.

Reply To This Message
 
 Re: Native Android Port
Author: Nathan Delahunty (---.lns1.ken.bigpond.net.au)
Date:   05-17-11 02:41

Thankls so much for your emails Ken. Just an update for everyone else. After updating to a honeycomb rom from xda-developers the crash issue stopped and am able to play the game not a problem now.

Reply To This Message
 
 Re: Native Android Port
Author: Duane H (---.dsl.telstraclear.net)
Date:   05-30-11 09:10

Works almost petfectly on the Huawei Ideos x5. Just a minor glitch with activating the onscreen keyboard. However this only happens to me when naming a new character.

I just want to say that I am very grateful to all those who got this going on android. I think that U7 is just about perfect as a tablet game and I suspect that by this time next year, it may be on more tablets than pcs.

It has also given me the perfect excuse to dig out my old cloth map and aluminum fellowship talisman and head back to Britainia!

Reply To This Message
 
 Re: Native Android Port
Author: slerbal 
Date:   06-16-11 11:32

Discovering this thread made me so happy!

I'm going to have a go at installing this on my Xoom, but I wanted to post to say a massive thank you to KenC for putting Exult on Android (and a massive thank you to the whole Exult team for making it in the first place!)

The entire Ultima series hold a special place in my heart. My fondest gaming memory was discovering Ultima 5 and playing it through to completion. I always regretted not getting around to Ultima 7 so no more regrets.

Thank you!

Reply To This Message
 
 Re: Native Android Port
Author: Gypsy (71.36.91.---)
Date:   07-08-11 18:17

So I know this is a silly question, but how do you get the keyboard controls to show up? I have a new all touch screen tablet with no buttons and I'm a little lost. I can start the game and pick things up, but I can't enter a name or a gender. *sigh

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.evrt.wa.frontiernet.net)
Date:   07-11-11 05:42

There should be a little 'Ab' button at the top-left corner of your screen. Tap that to bring up the text entry widget. It does seem a little buggy on my N1, in that I have to twitch the roller ball or hit a hardware button (like volume) before it actually brings up the text entry widget.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Gypsy (71.36.91.---)
Date:   07-11-11 17:06

Thanks KenC! I saw that, and I can now get half my letters to type in for the name, but since there is no mouse on that screen and I don't have any buttons other than my power button, I can't change the gender... Any tips or tricks?

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.evrt.wa.frontiernet.net)
Date:   07-12-11 04:26

Hmm - you don't have *any* buttons besides power? Not even volume up/down? I have a roller-ball which maps to arrow keys by default, so that worked for me, and if you do have volume buttons, you could map them to arrows. It is also possible to set up touch-screen buttons in the SDL setup which you can map to any key-press, although I haven't spent much time playing with them. The touch-screen buttons may be your only option if you don't have any hardware buttons.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: Starn (---.dsl.okcyok.swbell.net)
Date:   09-21-11 18:11

how well does this work on Atrix? seeing how it has no buttons just a touch screen and volume control on the side.

Reply To This Message
 
 Re: Native Android Port
Author: James Michael 
Date:   10-09-11 01:51

I finally decided to give this a try on my samsung galaxy s phone a couple of bugs I had were I can get the game running and had an issue with the audio only the effects would work and I would get no music and the other issue was I had a hard time picking up objects which I found to be that I needed to set the left mouse button to a physical key that worked a bit it seemed to still pick up the button if I tapped the screen instead of the physical button

---------------------Dark Avatar

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   10-09-11 05:38

Thanksforusingpunctuation or is it really that hard to write halfway decent on a galaxy?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: James Michael 
Date:   10-09-11 07:19

Wtf man I didn't post on here to be judged on how I type on my phone. So what if I didn't use punctuation no one else seemed to care.

---------------------Dark Avatar

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   10-09-11 08:48

It's a matter of courtesy, so please continue writing as in your second post.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Jarryd (196.211.2.---)
Date:   10-10-11 12:26

I tried installing the .apk file on my Galaxy S which worked fine, however when i try running it i get an error something like "Cannot find static data for blackgate or serpent isle" i still have the original game for PC, where do i copy the files on the disk to on my phone?

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   10-10-11 13:13

first post pretty much says where to, I think (I don't own an android so I'm not 100% sure that is enough information - but anyway there is more in the thread).
Male sure the static folder of the games is either named STATIC or static, if the android file system is case sensitive, then Exult has problems with mixed cases like Static (or sTaTic :)).

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Kevin (131.107.0.---)
Date:   11-03-11 08:43

For ideas on how to develop a control scheme for a touch screen, you can take a look at the port of Exult to the GP2X F-200 Open Source handheld console: http://wiki.gp2x.org/wiki/Exult

I have a Xoom like others here, and am very excited that this got ported to Android. Kudos to KenC for this port and continuing to make the Ultima series live on with the latest technology. I'm sure Richard Garriott would be very happy to see this port(especially if he actually has an Android phone). I just wish he would purchase the franchise back from EA with the money he got from the NCSoft recently. There are many fans that would buy games, if he would breath new life into the series. I would be one of them.

Reply To This Message
 
 Re: Native Android Port
Author: Nuno Sousa (---.dsl.telepac.pt)
Date:   12-15-11 22:55

Hey guys!

What is working in this version? Is it enough for me to play it start to finish? I really wanted to be able to play U7 on my droid :P

Reply To This Message
 
 Re: Native Android Port
Author: Eric C (---.mgtnmi.dsl.dynamic.tds.net)
Date:   12-22-11 05:28

How well would this work on Asus Transformer tablet with keyboard dock?

Reply To This Message
 
 Re: Native Android Port
Author: Viking (---.84-48-56.nextgentel.com)
Date:   12-23-11 19:25

So how do I get the games themselves onto the phone?

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   12-23-11 19:30

1st post?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Viking (---.84-48-56.nextgentel.com)
Date:   12-26-11 08:03

Sorry, but I need something far more idiot proof than that :P I guess I have to connect the phone to the PC first?

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   12-26-11 09:07

From the first post I'd say the games need to go onto the SD card. Does every Android have one?
Anyway you can see in the first post where the games need to go on the SD card. You get there either by connecting the android to a PC or pulling the SD card out and connecting that to the PC...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-27-11 01:18

Not every Android device has an SD slot (for example, the Kindle Fire). You can connect the Fire to a PC with a USB cable and load stuff directly, but if this port of Exult requires an SD card, the Fire is outta luck.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   12-27-11 05:03

Somewhere there is an exult.cfg which you can edit and point to where the games are.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: trainchaser (---.icpnet.pl)
Date:   12-27-11 22:47

I really hope you guys will build a new version of the Android port and make it available as an .apk file. I also don't know how to use the adb commands on Mac OSX (no such file or directory). I want to play Exult on my Kindle Fire, which doesn't have an sdcard, but has an /sdcard/ directory where you can place stuff, so I guess it would work. Keeping my fingers crossed. Thanks for your work!

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   12-27-11 22:54

if you have the directory then just place the files there if you can.

*just* is assuming you have some way of accessing these directories.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-28-11 01:16

Where are you seeing this folder? I've opened my Fire by plugging it into my PC, and I don't see an \sdcard folder or any obvious place to put apps.

Reply To This Message
 
 Re: Native Android Port
Author: Rowan (116.118.81.---)
Date:   12-29-11 07:57

I don't understand anything about push commands so I did the following:

I moved all the Ultima 7 installation files (intro.exe, mainmenu.exe, u7.bat, the STATIC folder, etc.) into the internal sd card at /mnt/sdcard/app-data/net.sourcefourge.exult/blackgate. Then I installed exult.apk. When I run exult, I get the error "The application Exult (process com.exult.android) has stopped unexpectedly. Please try again."

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-29-11 15:49

I'm still not able to get it to work on my Kindle. I've copied the game files to the following folders (I had to create the \app-data folder, as it doesn't exist by default on the Kindle). Note that the "root" folder on the Kindle Fire is already \sdcard.

\app-data\net.sourceforge.exult\blackgate
\app-data\net.sourceforge.exult\serpentisle

I then install the ExultAndroid.apk file, which installs without a hitch (is it supposed to have the default green Android icon, or should there be an ankh icon?). When I run the Exult app, I get the following error:

"The application Exult (process com.exult.android) has stopped unexpectedly. Please try again."

I then have to force-quit the app. I've tried various different folder configurations (creating a \sdcard subfolder, for example, or placing the \net.sourceforge.exult folders in \Android\data, which holds other similar folders for other apps).

Any ideas? I'm sure I'm doing something stupid, but I'm just not sure what. For the record, the game files I'm copying across are the same ones (less mods) that I've used to play Exult on my PC.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   12-29-11 16:04

1st are you using the apk from this thread or the one from the download page? (difference native vs java)
Also there might be access rights issues. So try checking those (don't know how on android).
Try checking whether the error is the same with or withou the files in place.

It might also just not work at all with the kindle

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-29-11 16:18

I used the apk from the download page. Should I use that one or the one in this thread?

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   12-29-11 16:45

You have to actually read the thread ;)
This thread is about the app in this thread.
The java one, developed by the Exult team (Dr. Code) works differently of course. See http://exult.sourceforge.net/forum/read.php?f=1&i=346769&t=346769

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   12-29-11 16:46

Native - java difference is that the java port is a rewrite of Exult in Java. The native one (this one) "just" makes Exult source code work on Android.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-29-11 17:11

Okay, it's up and running: I can confirm that the native Android port of Exult works on the Kindle Fire. However, the "mouse emulation" leaves a lot to be desired; perhaps I'll need to play with the mouse options.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   12-29-11 17:22

Hey great!
Thanks for confirming this.
Maybe the java one has better mouse, but the apk is very old ;(

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: GuJiaXian 
Date:   12-29-11 23:39

Yeah, I can confirm that the port works great...except for the interface, which is virtually unusable (KenC does point this out in his first post). So, other than as a proof-of-concept thing, it's really not playable. What's really needed is a from-scratch interface, replacing the mouse cursor with basic touch-screen controls (press to move, tap to interact, etc.).

Reply To This Message
 
 Re: Native Android Port
Author: Wopah (---.dsl.klmzmi.sbcglobal.net)
Date:   01-22-12 02:31

How do I install the size patch on the android??? I have tried copying to the exult directory and see no changes.. i have also tried copying shapes.vga to blackgate/static and well i killed u7 so i reverted back the original file.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile2 
Date:   01-22-12 04:57

You apply the size patch to the source code and then compile Exult.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Pegbyter (---.cmdnnj.fios.verizon.net)
Date:   04-04-12 14:06

Every time I try to run exult android after the ICS upgrade on my Asus Transformer the minute I try to move the onsrceen mouse, the whole screen immediately turns white and the only way I can get out of it is to power off the tablet. Any chance of fixing this, and making the physical keyboard/mouse dock functional with it?

Reply To This Message
 
 Re: Native Android Port
Author: Wanderer 
Date:   06-13-12 06:42

Got it running on my new Galaxy Note. Controls are time-consuming, but still, this is to be commended. Great proof of concept. Well done!

Reply To This Message
 
 Re: Native Android Port
Author: TonyV (---.tx.res.rr.com)
Date:   08-13-12 02:47

works on Coby Kyros. Intro crashes Exult when Guardians face pops out. Controls are horrid. Can't get up stairs and have a hard time trying to talk to people. But runs smooth with music and fx.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   08-13-12 23:31

KenC, are you still watching this? If you put your clean patch on our tracker we should be able to integrate it into SVN...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: KenC (---.evrt.wa.frontiernet.net)
Date:   08-27-12 04:32

Sorry - real life (a toddler) invaded and I haven't been back to this in a long time. I'll see if I can scrape together some time to update the patches against the current codebase and get it into the tracker.

Ken

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   08-27-12 07:48

Yeah, a toddler can suck up time ;)

It'd be great if you could add it so it doesn't get lost in the forum, maybe you can add the compiled binary to the tracker as well.

Thanks

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Big T (---.mycingular.net)
Date:   09-14-12 14:22

Hi,

I have been following Exult for probably close to 10 years and I love what you guys are doing.

I very recently tried the android version that you have on the downloads page. I installed the package to my Galaxy s3 and the app would crash/kill/something after about 5 seconds. My knowledge of android dev is novice at best and I think it would be fun to see Exult run on my phone. Is there anything I can begin to do to help this effort?

Thanks

(Edit by Dominus:removed double post)

Reply To This Message
 
 physical key issue fix
Author: Noritaka (---.fbx.proxad.net)
Date:   11-29-12 15:10

hey if anyone interested i got a fix concerning binding left click to a physical key problem.

1.you'll need to download Gamekeyboard on GooglePlay (Paid app)
2.Activate and Remap the hard key you wanna use to d-pad center
3.in exult in mouse advanced option tick enable right click with trackball center

et voila !

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   03-30-13 04:32

Has anyone compiled a newer version for Android?

Reply To This Message
 
 Re: Native Android Port
Author: Pegbyter 
Date:   03-30-13 15:32

Not to my knowledge, I have it running on my Android tablet too and have been waiting for a newer version for some time.

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   03-30-13 21:12

Well, I took a stab at it.

First, I compiled exactly what Ken originally created, only I took Ken's patches and applied them to the 1.5.0-svn snapshot.
I didn't change anything else.

This appears to work exactly as Ken's original version. I have about 10 minutes tops into testing.
https://dl.dropbox.com/u/58804871/Exult-1.5.0-orig-20130330.apk


My second attempt uses the newest commandergenius with the updated options. Otherwise, its the same as above.
Again, I have only about 10 minutes of testing. I really like the options this gives with the SDL.
https://dl.dropbox.com/u/58804871/Exult-1.5.0-new-20130330.apk

NOTE: I didn't change any code other then applying Ken's patches to the latest 1.5.0 snapshot. (and yes, some of it had to be manually applied)

If you do try these, remember this is a newer version of Exult so the rest of the files must be re-downloaded for both of these apk files.
I just did the following:
adb install -r Exult-1.5.0-new-20130330.apk

(cd to your install directory - Mine is "/storage/sdcard0/app-data")
mv net.sourceforge.exult net.sourceforge.exult.old
mkdir net.sourceforge.exult
cd net.sourceforge.exult.old
cp -r serpentisle ../net.sourceforge.exult/
cp -r blackgate ../net.sourceforge.exult/

Later, once you know you won't go back, you can then remove net.sourforge.exult.old


The new apk is using android target of android-17, the min is still android-4
The orig apk is from Ken's original of android-8

These both still uses the same android-ndk-r4-crystax.
I think I'll try updating to a newer ndk later - maybe next week and see what happens.

Also, since I don't know SDL really at all, I guessed at some of the choices. If someone knows SDL and would like to help, I'll post the AndroidAppSettings.cfg and maybe they could fill out the correct options.

if someone could edit this file and make a copy available, I'd appreciate it :)
https://dl.dropbox.com/u/58804871/AndroidAppSettings.cfg

Lastly, as a disclaimer, I'm a novice at best at this, especially coding, so use at your own risk!

Mark

Reply To This Message
 
 Re: Native Android Port
Author: Pegbyter 
Date:   03-30-13 21:37

I'll give your update a shot and playtest it... Give me a couple of days... I did find though that the touchscreen makes the mouse pointer difficult at best to use. I was wondering if something could be implemented for that, such as tapping on the avatar for the inventory screen to appear, etc.. Replace the mouse pointer with taps and double taps to perform functions instead... (i have a keyboard dock) so I have the option of using arrow keys for movement (another idea to implement)

That would make it much more playable.. Is it even feasible?

Peg.

Reply To This Message
 
 Re: Native Android Port
Author: Pegbyter 
Date:   03-30-13 21:39

Oh and of course, tap and drag to arm/disarm equip party members and grab items from your surroundings.. Tap on people to talk to them, attack them in combat mode; etc.. You get the idea..

Peg.

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   03-30-13 22:00

If I'm understanding correctly, what you are describing is possible with the new SDL options.

Play around with the SDL mouse emulation->Advanced Features
try with all of these unchecked.

Next set mouse emulation->left mouse click->tap and hold (checked)

I actually am playing now with mouse emulation->right mouse->touch screen with second finger (checked) (not sure If I'll keep it or not yet :))

Anyway, lots of possible options.

Hopefully there's a combination that works for you.

Reply To This Message
 
 Re: Native Android Port
Author: DominusMobile1 
Date:   03-30-13 22:39

Mark, thanks for stepping up (even though I'm not an android user).
Can you add a new patch against current svn after you applied the manual edits?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: CEG (---.col.wideopenwest.com)
Date:   03-30-13 22:54

For people that aren't finding a control scheme they like, after playing around with different control configurations, I came up with a pretty good set up. Works good for me anyway.

I set it up to control Avatar movement using it's on-screen joystick feature. It's just so much easier to move around that way than the original follow the cursor method (in the absence of an actual physical mouse that is).

Then I set up the mouse controls to act just like touch controls. You do that by setting left click to "Normal", then un-checking "Relative mouse movement". That way you can just double tap right on the avatar to bring up the paperdoll and double tap on the back pack to open... etc. To move stuff, you just touch right on them and drag and drop (probably wont work well on a phone though, when it comes to tiny items).

There's really no need to set up the right mouse button since I use the joystick to move, and the gumps all close when you hit the back button.

Finally I took advantage of the on-screen customizable buttons and set up one for combat, pause combat, map, target, inventory, food, and spellbook. I rarely ever have to call up the keyboard. You can re-size them and place them anywhere on the screen (same with the joystick). I just made them pretty small and have them lining the right boarder of the screen. I'm about 12 hours into BG and it works pretty smoothly.

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   03-30-13 23:25

DominusMobile1 Absolutely!
Unfortunately, I don't know how.

If its something you can explain to me easily, then let me know.

Otherwise, I can take a copy of my exult and make it available for download.

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   03-31-13 11:49

Ok,
if you are grabbing SVN of Exult via svn then just change directory in terminal or command prompt to the folder where you have the Exult source code and do
svn diff > nativeandroidnew.diff

and a textfile named nativeandroidnew.diff will be in that folder.

If you grabbed the SVN from our download page, then it is probably the easiest if you zip the whole folder up and put it onlyine. I should be able to do the diff then.

Thanks

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   04-01-13 17:26

Dominus! Thanks for all you do for this. It is really appreciated.


the nativeandroidnew.diff only appears to have changes from current files. It doesn't look like any new files, such as Makefile.Android, or some android specific code in the android directory is included.
Maybe thats all you wanted?
https://dl.dropbox.com/u/58804871/nativeandroidnew.diff

Just in case, here is a copy of my exult folder with all changes with the newest svn.
https://dl.dropbox.com/u/58804871/exult.tar

It has the Makefile.Android, a README.Android I quickly created and all the other code additions that Ken has made.

Thanks again Dominus, let me know if there is anything else you would like from me.

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   04-01-13 18:43

Dominus,

Here is a patch that includes all the changes including the new files and such.
https://dl.dropbox.com/u/58804871/exult-svn-androidorig-all.patch

Mark

Reply To This Message
 
 Re: Native Android Port
Author: Steve Beeby (66.201.47.---)
Date:   04-01-13 20:07

I think I've found an issue with 4.2 devices (multi-user support). It revolves around the location of user files (JB MR1 added unique directories for each user).

I'm new to the SourceForge game, but I think I'd like to spend some time helping with this project. Does anyone know of a good way to quick start myself here?

Reply To This Message
 
 Re: Native Android Port
Author: Steve Beeby (66.201.47.---)
Date:   04-01-13 20:16

Nevermind about the bug... just getting a feel for it. I am curious about helping out still, though. :)

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   04-01-13 20:59

@Mark: yeah, sorry, I didn't think of additional files :)
You'd need to add them to SVN and then make a diff, but you figured it out on your own. Great and thanks for the new diff. I didn't look at the patch before but it doesn't look like too much needs changing to our code. At the end of the patch some signed stuff and before that some SDL.h includes which might not be needed anyway. I'll see if I can convince the higher powers to include the patch maybe...

@Steve, so far the native android patch has not been included in SVN so all there is in regards to development of it is the patch itself and this thread :)
So if you want to get going, grab SVN (and best through SVN and not the source tarball - so you can make patches easier) and code away. If problems arise or you are not sure how to handle stuff (input for example) best ask here in this thread or make a new one with "native android port" in its subject.

@Mark & Steve: best port Exult to SDL 2.0 to make use of all the new android specific features of the upcoming new SDL (mostly kidding - porting is necessary sooner or later but not that easy) :)
Anyway, thanks for showing interest and doing something with this patch.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Mark Balfe 
Date:   04-02-13 19:45

Dominus,

Yes, I was thinking the same thing. There are likely some code changes that are no longer necessary.

Steve,
I don't have a 4.2, just 4.1. Hopefully it is working for you.
I really haven't had a problem with the recent build. I especially like that the 2 finger gestures work.
I'll also post an update in a few days from the latest SVN and also with a more reasonable SDL splash screen timeout.

The latest commander-genius has support for SDL 1.3. As I understand it, thats SDL 2.0 with SDL 1.2 compatibility.
If thats the case, then once Exult supports 2.0, an android version should be easy.

Mark

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   04-02-13 23:21

Quote:

The latest commander-genius has support for SDL 1.3. As I understand it, thats SDL 2.0 with SDL 1.2 compatibility.
If thats the case, then once Exult supports 2.0, an android version should be easy.

Yes, when the SDL guys decided to name SDL 1.3 to SDL2 they dropped the compatibility layer for running SDL 1.2 apps (like Exult) SDL 1.3/2.0.
We did have the compatibility layer added somewhat but that move from the SDL guys invalidated that again :(
So to support latest SDL 2 and all its features one would need to fully port Exult :)

SDL 2. is supposed to be released in May (http://forums.libsdl.org/viewtopic.php?t=8968&sid=c65310f12c8f4701b7f5596efca81e51)

Edit: one other thing to make the patch "cleaner" could be adding the android stuff to configure.in so the autotools can do their magic, but then we do have extra makefiles for other ports as well :)

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Native Android Port
Author: Dominus 
Date:   11-29-13 08:08

Sorry, I had to freeze this thread as it attracted spambots a LOT!
Please open a new thread if you want to continue to discuss this.

Damn spammers :(

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)