Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old May 17, 2015, 23:15   #1
Doc_cheilvenerdi.org
Rookie
 
Join Date: May 2015
Location: Ferrara, Italy
Posts: 3
Doc_cheilvenerdi.org is on a distinguished road
Cool [Android] New Variants on my phone? why not...

...how can I save Middle Earth without the latest angband variant on my Android Phone?

...I really don't know...

...so I just tried to build the angdroid.org application with few others inside:


...it was just a "blind shot" but...

...Hey, WOW... it works



Is That All?

...of course not...

I'm not a developer so I don't host google play, github or similar repository...

...and I'm posting here just because I feel this is, actually, the best place to share it and its patched source code ready to build:



Further development ongoin?

...by me? who knows...


Credits:
  • Angdroid.org developer,
  • variants developer,
  • this forum,
  • everybody else involved.

What's working?
  • trying to kill Morgoth...

What's not working?
  • some utf-8 accented chars...


P.S.
  • I built The app with "debug" option, so it's signed with the Google Test Key from AOSP (previous one should be uninstalled first...);
  • I actually didn't create new code for the app or the variants;
  • I simply patched the variants init_path routines to match SD-Card save folder;
  • ...and bunch of code, occasionally on compiler errors...
  • Nothing else.
Doc_cheilvenerdi.org is offline   Reply With Quote
Old May 18, 2015, 10:23   #2
Zireael
Adept
 
Join Date: Jul 2011
Posts: 204
Zireael is on a distinguished road
What "previous" should be uninstalled first?

BTW, great work!
Zireael is offline   Reply With Quote
Old May 18, 2015, 11:05   #3
Doc_cheilvenerdi.org
Rookie
 
Join Date: May 2015
Location: Ferrara, Italy
Posts: 3
Doc_cheilvenerdi.org is on a distinguished road
Previous install signature mismatch...

Yes, you are right, i explain better the "stock app update issue":

If you have already installed the original Angband Variants from the Play Store (built with release option and signed by its original developer), when you'll try to update it with this one using "adb shell" or any file manager of your choice, you'll get an error like this:
Code:
Failure [INSTALL_FAILED_SIGNATURE_MATCH]
Now, not being a developer, I don't have a private signature for apps so I need to build it with debug option, where the use of AOSP test key is permitted.
Let's say that it's a sort of prerelease fully working, used for testing but not suitable for upgrade a different released app... so you need to uninstall any "angband variants" app from your phone before installing this one...
Doc_cheilvenerdi.org is offline   Reply With Quote
Old July 4, 2015, 11:36   #4
Doc_cheilvenerdi.org
Rookie
 
Join Date: May 2015
Location: Ferrara, Italy
Posts: 3
Doc_cheilvenerdi.org is on a distinguished road
Sil 1.2.1 - You're welcome :)

Quote:
Originally Posted by Angrist View Post
Are there any more recent versions of variants ( especcially Sil ) for android, than those that are in google play?
...I just tried to add Sil 1.2.1


...and... ...Hey, WOW... it works too

By the way, it was easier than other variants because I simply applied the 1.1.1 patches from angdroid.org to 1.2.1 source and everything was fine...
Code:
doc@saucy:~/builds/Sil$ patch -p1 < sil.patch
patching file src/birth.c
Hunk #1 succeeded at 860 (offset 4 lines).
patching file src/config.h
Hunk #1 succeeded at 276 (offset -5 lines).
patching file src/dungeon.c
Hunk #1 succeeded at 2946 (offset 146 lines).
patching file src/files.c
Hunk #1 succeeded at 3064 (offset 7 lines).
Hunk #2 succeeded at 3086 (offset 7 lines).
Hunk #3 succeeded at 3109 (offset 7 lines).
Hunk #4 succeeded at 4647 (offset -67 lines).
patching file src/h-config.h
patching file src/init2.c
Hunk #2 succeeded at 1029 (offset 1 line).
Hunk #3 succeeded at 1164 (offset -5 lines).
Hunk #4 succeeded at 1803 (offset -11 lines).
Hunk #5 succeeded at 1824 (offset -11 lines).
Hunk #6 succeeded at 1845 (offset -11 lines).
patching file src/main.c
patching file src/util.c
Hunk #2 succeeded at 3699 (offset -13 lines).
(patches applied to slightly different code, but still consistent!)
Doc_cheilvenerdi.org is offline   Reply With Quote
Reply

Tags
android angband variants


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sil and Angband variants available on Android half Sil 37 November 11, 2016 01:19
3.5.1 for Android? Klavain Vanilla 4 January 5, 2015 12:41
Android version pav Vanilla 8 December 29, 2014 00:56
Angband on Android david3x3x3 Vanilla 56 March 22, 2013 14:31
Android Antoine Development 3 July 30, 2011 02:59


All times are GMT +1. The time now is 15:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.