Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old June 28, 2013, 07:53   #1
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
[Z-] Good news and bad news

I guess the bad news first:
I am unlikely to release the source.

The good news:
I wrote a graphical android front end for my personal fork of Z+Angband. I am using Z-Angband for it because when I first created the repository, github changed the + to -.

There are still alot of issues with the port, but I don't have time to work on it anymore. However, I am making it available in case people want to try it. Currently, the android apk can be downloaded from dropbox at:
*EDIT:link removed

I have not put it on Google Play, because my account has commercial stuff on it, and Z(+-)Angband uses the Angband license.

The source (except the src/platform/and directory) is on my github page at: https://github.com/blubaron/z-angband.

Misc. points:
The back button is used as ESC. On the main screen, the menu button will make the next press a right click (for context menus). On other screens, the menu button will bring up a keyboard. (to bring up the keyboard on the main screen go to the system menu -> other -> show keyboard)

On most screens, where there is a text for a possible key command, you can press the text to send the keypress.

By default the user directory is in /sdcard/Android/data/com.blubaron.android.z_angband/files/Z-Angband, but if /sdcard/Angband already exists, /sdcard/Angband/Z-Angband will be used as the user directory instead. Untested: if a lib directory exists in the user directory, it will be used instead of the internal lib directory.

Added main screen buttons, but some of them are not in obvious places.
Clicking on the top line shows the messages in reverse order.
Clicking on search changes the search mode, clicking on study tries to study a book.
Clicking on the place name/dungeon level shows the map. if the broad time of day is shown, clicking on it gives the detailed time of day.
In the info panel, clicking on the equipment line shows the inventory.
clicking the race to class title lines shows the character screen.
Clicking the left side of the level to gold lines will use an item from inventory. Clicking the right side will cast magic if possible.
Clicking the left side of the ac to sp lines will wield an item. Clicking the right side will take an item off.


There are additional modes (swing and stealth) available through the toggle search key.

Swing mode uses available blows to attack multiple adjacent enemies. warriors get bonus attacks, representing an extra length of swing.

Stealth mode provide a 7% bonus to stealth when active. rangers get a 10% bonus and rogues get a 14% bonus. (+1 for rounding, approx +10%) to use.

Press the toggle search button (shift-s) within 2 seconds of the previous press of the toggle search button. After two seconds, pressing it turns any mode off. The additional modes use the same speed penalty as search mode. (speed-10) (half with no speed bonus)

High level rogues and rangers in stealth mode can push past sleeping monsters without attacking them or waking them up.

There are several balance changes that make the game easier.

There are a lot of issues with the port. Some of them are:
No sound
Need to restart the game after changing the font tile size.
Too many presses needed to cast spells, since it is difficult to use macros/keymaps.
By default each line of text is 1/10th of an inch, they can be hard to press without a stylus. (And mispresses can kill characters.)
The help files have not been updated.
The font image is from Dwarf Fortress.
No key buttons in show_file() screens.

Last edited by Blue Baron; June 29, 2013 at 19:20.
Blue Baron is offline   Reply With Quote
Old June 29, 2013, 07:46   #2
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Quote:
I have not put it on Google Play, because my account has commercial stuff on it, and Z(+-)Angband uses the Angband license.
Does Google Play prevent you from using different licenses for different apps on your account? Or do you just not want your paying customers to see that you also do open source work?

Quote:
I am unlikely to release the source.
You might want to check whether the Angband license permits distributing binaries without source...
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old June 29, 2013, 15:54   #3
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by ekolis View Post
You might want to check whether the Angband license permits distributing binaries without source...
Sadly, it does. It's a crap licence anyway - it also doesn't explicitly allow modifications of the game, which is why moving to GPL was important.

I'm pretty sad that the source isn't going to be released. I think this is a problem and a result I'm going to stop licensing my changes to Angband under the Angband licence - GPL or nothing.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old June 29, 2013, 18:38   #4
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
Quote:
Originally Posted by ekolis View Post
Does Google Play prevent you from using different licenses for different apps on your account? Or do you just not want your paying customers to see that you also do open source work?
Actually it's the opposite, its the Angband license that says "for educational, research, or not for profit purposes". Putting it on the same account would drive traffic to the commercial stuff which would indirectly be a for profit purpose. (I would actually like it because the commercial stuff is not doing well.)


Quote:
Originally Posted by ekolis View Post
You might want to check whether the Angband license permits distributing binaries without source...
As takkaria said, it does. Basically (to me), the Angband license is non-commercial open or closed source, and the GPL is commercial or non-commercial open source.
Blue Baron is offline   Reply With Quote
Old June 29, 2013, 19:01   #5
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
Quote:
Originally Posted by takkaria View Post
Sadly, it does. It's a crap licence anyway - it also doesn't explicitly allow modifications of the game, which is why moving to GPL was important.

I'm pretty sad that the source isn't going to be released. I think this is a problem and a result I'm going to stop licensing my changes to Angband under the Angband licence - GPL or nothing.
I wondered if I should have edited the original message to include "anytime soon". I guess I should have. There are some bad spots in the android code that I do not want to let anyone see. Until I fix them, I am not going to show the source to the android front end, but this (probably) will not happen for at least several months.

However, since it works I thought the community might like to try it out. (and be able to play while waiting around while away from computers, like I do.)

Anyways, I have removed the android package from my dropbox folder. (until I am ready for a "release", but that won't be for a long time (probably))

Also, I thought the whole point of the dual license was so that those who need the angband license can use it. While all of my changes to Z+Angband are dual licensed, ZAngband, and presumably Mangojuice's changes, are Angband license.

Last edited by Blue Baron; June 29, 2013 at 19:10.
Blue Baron is offline   Reply With Quote
Old June 29, 2013, 23:54   #6
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Quote:
Originally Posted by takkaria View Post
I'm pretty sad that the source isn't going to be released. I think this is a problem and a result I'm going to stop licensing my changes to Angband under the Angband licence - GPL or nothing.
Wouldn't this prevent your changes to Angband from being included in, err, Angband, seeing as Angband + your changes could no longer be distributed under the Angband license? (I don't see the Angband license going away anytime soon...) And that kinda defeats the purpose of making changes to Angband... :P
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old June 30, 2013, 00:34   #7
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by ekolis View Post
Wouldn't this prevent your changes to Angband from being included in, err, Angband, seeing as Angband + your changes could no longer be distributed under the Angband license? (I don't see the Angband license going away anytime soon...) And that kinda defeats the purpose of making changes to Angband... :P
Well, Angband could move to being just under the GPLv2. I haven't talked to the devteam about this yet though. I would be OK with people using my changes under a modified Angband licence that included a GPL-like clause about source code being available upon request. I'll think about this.

And Blue Baron, sorry that my response was passive-aggressive; I should have asked questions before making unilateral declarations. I just care a lot that Angband (and variants) don't end up closed-source. The original authors and developers of ZAngband definitely wanted to move to the GPL and Steven Fuerst, in the last years he was involved with the game, was consciously moving towards that goal. Anyway, don't let my huffiness get in the way of your developing an interesting new frontend or other people trying it out.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old July 2, 2013, 05:22   #8
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
Quote:
Originally Posted by takkaria View Post
The original authors and developers of ZAngband definitely wanted to move to the GPL and Steven Fuerst, in the last years he was involved with the game, was consciously moving towards that goal.
However, the copyright notices in the files are just the Angband license. Would the dual license permissions for angband cover zangband? I hope so, even though around a third of the names on zangband.org are not in the license history list.

hmm even then there is the stuff that was removed to make Angband GPLable. Like the X11 tile stuff. (In this specific case I could remove stuff to match what I wrote for Angband, which should be GPL clean, but I don't really like cutting off support for bmp files.)

There are also functions like put_cstr(), which I use to embed 2d mouse buttons in the textui (like prompts), that I have not seen in the source of Angband or any other variant and do not know where it came form or who wrote it (hopefully Steven Fuerst, his initials are at the top of ui.c). (And would probably be considered a step backwards if it was in Angband. (I am guessing it is not used in Angband or any other variant for a reason.))

It seems the simplest option is to not make the android package available until I am ready to show all of the code.
Blue Baron is offline   Reply With Quote
Old July 3, 2013, 12:18   #9
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Blue Baron View Post
However, the copyright notices in the files are just the Angband license. Would the dual license permissions for angband cover zangband? I hope so, even though around a third of the names on zangband.org are not in the license history list.

hmm even then there is the stuff that was removed to make Angband GPLable. Like the X11 tile stuff. (In this specific case I could remove stuff to match what I wrote for Angband, which should be GPL clean, but I don't really like cutting off support for bmp files.)

There are also functions like put_cstr(), which I use to embed 2d mouse buttons in the textui (like prompts), that I have not seen in the source of Angband or any other variant and do not know where it came form or who wrote it (hopefully Steven Fuerst, his initials are at the top of ui.c). (And would probably be considered a step backwards if it was in Angband. (I am guessing it is not used in Angband or any other variant for a reason.))

It seems the simplest option is to not make the android package available until I am ready to show all of the code.
Yeah, the GPL permissions are granted for Angband + variants. ui.c is all sfuerst's and so dual-licenced. He did lots of large rewrites of code in Zangband that prefigured a lot of what happened in Angband, too.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old July 3, 2013, 21:24   #10
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Quote:
Originally Posted by takkaria View Post
Yeah, the GPL permissions are granted for Angband + variants. ui.c is all sfuerst's and so dual-licenced. He did lots of large rewrites of code in Zangband that prefigured a lot of what happened in Angband, too.
So if the GPL applies to ZAngband, why does it not also apply to Z-Angband's Android code?
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Reply


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
Why is "the News" so outdated fizzix Oook! 7 April 22, 2012 23:38
Is this just really bad luck? Therem Harth Vanilla 17 December 11, 2011 17:52
Some nice news from Arch Linux krugar Vanilla 3 September 15, 2010 14:39
Bad pointer in vcmd_insert_repeated Sirridan Development 1 August 24, 2010 18:11
Old news bug Daniel Fishman Oook! 1 January 7, 2009 08:57


All times are GMT +1. The time now is 21:31.


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