Angband on Android
Collapse
X
-
Feature request for Angdroid.
In Vanilla Angband for Windows you get to choose which save file to load. Can you implement that functionality?
Its useful for swapping to an alt character if you want a magic using break from you main warrior without having to use a pc to manually copy and rename save files.
Thomas Price
Aka the BookwormComment
-
That feature is already implemented. In preferences tap "Game Profile", tap menu, tap "New Profile". Type a descriptive name, tap OK. Tap the descriptive name you just created to make the profile active. Now tap "Selected variant" to choose the game to run with the profile. Note that the Game section in Preferences sticks to the selected profile. To quickly switch profiles in the future, just tap "Game Profile".Last edited by retrobits; February 28, 2011, 21:04.Comment
-
Congrats on what you have put together so far. I tried the 3.08 version on my phone but had no joy with it due to a lack of keyboard, but the latest release works fine.
I am playing the 3.1.2v2.5 version on a Desire HD and find the lack of Esc key on the main keyboard mildly annoying. Is it possible to somehow massage the keyboard to include the Esc key? Makes dealing with shops and lists a lot easier.
Cheers,
GTComment
-
Thanks GT.
First off, esc by default is mapped to your hardware back key, but maybe you know that already.
That being said, I could change * to esc, possibly switch back to * on shift. Maybe an extra top row of keys could be added... but that would shrink the viewable area.Comment
-
Thanks for the info, and no I hadn't worked out the hardware back key did the job.
Makes changes to the keyboard irrelevant now
Thanks.
Back to diving.Comment
-
Android Nightly
Angband development is very active at the moment. We thought it would be good to produce a nightly Android build based on the current Angband source in the git repo. Be aware that this is untested code and might be broken or crash or eat your save file, etc. It is a completely new Android app and will not affect files in our other releases.
If you find bugs, I would encourage you to open discussions in the forums here and even more importantly please open tickets at http://trac.rephial.org/. For Android specific issues, please report bugs at angdroid.org in the bug forum. I've patched the version number in the game with the timestamp when we retrieved the Angband source from git, so that is a way to track bugs back to the source. Its probably a good idea to reproduce the bug in one of the official nightly builds from http://rephial.org/nightlies/ before opening a ticket at rephial. I figure the more bugs we find and the more feedback the Angband community provide to the devs, the better the outcome will be.
The nightly is available here:
Comment
-
Angband development is very active at the moment. We thought it would be good to produce a nightly Android build based on the current Angband source in the git repo. Be aware that this is untested code and might be broken or crash or eat your save file, etc. It is a completely new Android app and will not affect files in our other releases.Comment
-
diff -Nru --strip-trailing-cr angband-3.2.0/src/death.c angband-3.2.0-android/src/death.c
--- angband-3.2.0/src/death.c 2010-12-24 05:13:59.000000000 -0800
+++ angband-3.2.0-android/src/death.c 2010-12-24 11:05:09.343486000 -0800
@@ -437,5 +437,11 @@
do
{
menu_select(death_menu, 0);
- } while (!get_check("Do you want to quit? "));
+
+ // hack to allow KTRL('X') to exit the game here
+ char opts[4] = {'y', 'n', KTRL('X'), '\0'};
+ char gckey = get_char("Do you want to quit?", &opts[0], 2, 'n');
+ if (gckey == KTRL('X') || gckey == 'y' || gckey == 'Y') break;
+
+ } while (TRUE);
}Comment
-
There is only one patch at the moment that is required for Android. I use the Esc followed by Ctrl-X command as a general purpose signal for the native code to exit. This works except in death.c. But I don't think my hacked code below should be included in git. It would be best if the app just exited on Ctrl-X immediately as it does in the birth screens.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Comment
-
Thanks d_m, just tested the nightly and your fix worked great.
I forgot about one other small patch I do for Android to skip the SET_UID stuff. Rather than continue this pattern:
Code:#if !defined(MACH_O_CARBON) && !defined(WINDOWS) && \ !defined(GAMEBOY) && !defined(NDS) && !defined(ANDROID) # define SET_UID ...
Code:#if !defined(NO_SET_UID) # define SET_UID ...
Comment
-
What's the chance the latest nightlies could be added for Android?
Magnate is about to release another dealing with the, I feel, major issue of disconnected rooms.
And if it could be done as something other than an .apk, that'd be awesome.
Just lost my level 27 warrior today, got punched by a Master Wight too many times. I got too tap happy
I'd attach the dump but haven't worked out how to get it off the phone and onto here without using a PC.Comment
-
What's the chance the latest nightlies could be added for Android?
Magnate is about to release another dealing with the, I feel, major issue of disconnected rooms.
And if it could be done as something other than an .apk, that'd be awesome.
Just lost my level 27 warrior today, got punched by a Master Wight too many times. I got too tap happy
I'd attach the dump but haven't worked out how to get it off the phone and onto here without using a PC."Been away so long I hardly knew the place, gee it's good to be back home" - The BeatlesComment
-
What's the chance the latest nightlies could be added for Android?
Magnate is about to release another dealing with the, I feel, major issue of disconnected rooms.
And if it could be done as something other than an .apk, that'd be awesome.
Just lost my level 27 warrior today, got punched by a Master Wight too many times. I got too tap happy
I'd attach the dump but haven't worked out how to get it off the phone and onto here without using a PC.
We already have a nightly build set up based on the angband git, details at angdroid.org. Using the Android browser, just tap the link to the nightly apk. When the download is complete, just tap it to pop up the installer.
Not sure what you mean about not wanting an apk? Android only installs apk. Thats like asking for a ride in a car, but not an automobile. Maybe you mean that you want the nightly apk hosted on the Market? Unfortunately I don't know an automated way to make that happen.Last edited by retrobits; April 14, 2011, 05:43.Comment
Comment