Temple of The Roguelike Forums

Game Discussion => Classic Roguelikes => Topic started by: Legend on December 11, 2011, 06:35:45 PM

Title: Last console version of Angband?
Post by: Legend on December 11, 2011, 06:35:45 PM
Never been a big fan of Angband, but I've been thinking about playing it again recently. The problem is that I can't stand the way the newer versions and variants only use terminal display and no fullscreen. The fonts are either too big to display on a single screen, or the ones that can be displayed on one screen are too small for me to see comfortably.

What was the latest version of Angband that used console display and are are that many big differences gameplay-wise between the older dos version and the newer versions?

A link would be greatly appreciated. Thanks. 
Title: Re: Last console version of Angband?
Post by: El Barto on August 08, 2012, 11:49:03 AM
You can use even the last version in fullscreen, using a terminal emulator which allows it.

on mac osx, you could try iterm2 (that's what I use);
on ubuntu, see
http://askubuntu.com/questions/142487/how-to-start-terminal-in-full-screen (http://askubuntu.com/questions/142487/how-to-start-terminal-in-full-screen);
on windows, perhaps http://www.walkernews.net/2009/11/22/enable-full-screen-command-prompt-window-persistently-in-windows-7/ (http://www.walkernews.net/2009/11/22/enable-full-screen-command-prompt-window-persistently-in-windows-7/).

I can't test the ubuntu and win7 solutions, sorry.

The better solution would be to grab the source code and compile it on your own, to be sure you have a native console version, via the usual "configure, make, make install" routine. Additional details can be found in the readme usually boundled with the sources.

You can find the release notes and source codes of every version on http://rephial.org/release/

Note that you can change the font used in the console version under X11 via the ANGBAND_X11_FONT environment variable, for example

ANGBAND_X11_FONT=10x20

Here is a discussion on the angband forums about fullscreen fonts:
http://angband.oook.cz/forum/showthread.php?t=2955 (http://angband.oook.cz/forum/showthread.php?t=2955)
Title: Re: Last console version of Angband?
Post by: Ancient on August 08, 2012, 08:42:13 PM
I had a look at compiling true console Angband for Windows. It was a major PITA! They completely disregard people who want console stuff on Windows platform. I had to drag pdcurses stuff to its folders and modify some files. Good thing PRIME relies on pdcurses. Experience learned working on it paid now threefold. That and this was not the first time I compiled some *band.

Time to quit whining. I put zip here: Angband 3.2.2 (http://dungeon_keeper.republika.pl/tmp/Angband-3.2.2.zip)
Title: Re: Last console version of Angband?
Post by: Legend on August 11, 2012, 01:03:11 AM
wow. That's awesome. I really didn't expect anyone to answer this thread after such a long time.

Cool of you to compile the source. I have zero experience in programming so I likely never would have gotten it done myself.

Thanks.

Now if only someone could do the same for quickband and ironband  ::)

And maybe Hellband.... ;D
Title: Re: Last console version of Angband?
Post by: Legend on August 11, 2012, 09:11:01 PM
 I tried just copying the exe and dll files from this console version of Angband 3.22 that Ancient compiled into Ironband, Quickband, and Hellband. None of them worked.

for quickband and Ironband, I get a "parse error in limits  line 44 column 3 : : undefined directive"

When I tried with hellband, it just closed.
Title: Re: Last console version of Angband?
Post by: Ancient on August 12, 2012, 09:36:37 PM
I didn't notice the thread is half year old. Looks like we have a skilled necromancer with good alignment here. Thumbs up, El Barto!

As for copying the exe: totally no chance for this to work, friend. These variants differ by source quite much. Don't even get me started on compilation flags, libraries linked against and other stuff.

Since I managed to compile one *band preparing the rest will be a cakewalk. Or so I think. You can expect me to drop you another one (if not all three) before Wednesday. Then maybe I could start a page: modern *bands in console versions. Exes for Windows and Makefiles for Linux.

Title: Re: Last console version of Angband?
Post by: Legend on August 12, 2012, 11:22:13 PM
I didn't notice the thread is half year old. Looks like we have a skilled necromancer with good alignment here. Thumbs up, El Barto!

As for copying the exe: totally no chance for this to work, friend. These variants differ by source quite much. Don't even get me started on compilation flags, libraries linked against and other stuff.

Since I managed to compile one *band preparing the rest will be a cakewalk. Or so I think. You can expect me to drop you another one (if not all three) before Wednesday. Then maybe I could start a page: modern *bands in console versions. Exes for Windows and Makefiles for Linux.


Right on. That's very cool of you. Quickband, Ironband, and Hellband are the only band variants I was ever really interested in myself. Maybe Steamband and Tiny Angband. But otherwise, I never really kept up on all the other variants.

The main thing that keeps me from playing Angband or it's variants these days is the interface. For some reason, I just can't stand it. It's a pain in the but for some reason to get just a nice fullscreen console mode which I think is usually the best looking for roguelikes.

Anyways, Thanks again Ancient. Very cool of you. I'm sure the rest of the community will start to take notice and maybe the band developers will start thinking about making a console mode option from now on.
Title: Re: Last console version of Angband?
Post by: Ancient on August 13, 2012, 12:48:19 PM
Success! Here you go:

Hellband 0.8.7 (http://dungeon_keeper.republika.pl/tmp/Hellband-0.8.7.zip)
Quickband 2.0.5b (http://dungeon_keeper.republika.pl/tmp/Quickband_2_0_5b.zip)
Ironband 14 Aug 2008 (http://dungeon_keeper.republika.pl/tmp/Ironband-14Aug08.zip)


I wanted to compile Gumband too because it is my favorite variant but ran out of time. Fortunately it has DOS binary which could run out of the box. If not and you can be bothered a bit DOSBox is quite likely to handle it.
Title: Re: Last console version of Angband?
Post by: Legend on August 14, 2012, 12:10:33 PM
Wow. These are awesome.

I noticed a couple peculiarities. Ironband and quickband do not have the yellow torch light even though the feature is turned on.

Ironband and hellband don't recognize the arrow keys when pressed. Just the numberpad.

None of the recognize the enter key on the numpad.

When trying to fire a projectile in quickband, it doesn't let you just hit the letter of the iutem. It only works if you hit the fire key, then the "/" then the letter of the item. It doesn't let you skip openiong the inventory if you already know what letter the item you want to throw is assigned to.

I can't remember if these things were the same in the other version of if they just popped up in your re-compile. Haven't had time to check yet. Probably will tonight though.

I checked out gumband since you mentioned it. It seems pretty cool so far. I definitely like the concept behind it. If it already has a dos exe, what would the benefit be of re-compiling it? Some of the features of the newer engine would be nice like being able to automatically open doors.

Think you might do a few more?

Looks like Antoine(the guy who made ironband and quickband) has done another one that looks interesting called minimal. http://angband.oook.cz/forum/showthread.php?t=5226 (http://angband.oook.cz/forum/showthread.php?t=5226) The download is on the bottom of the quickband page. Don't know if it's worth re-compiling just yet though since it is in beta and from the forum posts, it looks like a new version may pop up somewhat soon.

NPP Angband seems like a good one. Seems interesting to me anyways.

Steamband and Tiny Angband are also kinda cool.

Anyways, thanks again Ancient. Very cool of you. It was nice running through hellband a little bit last night again. The windows versions are just a big hinderance for me when it comes to trying to play angband and it's variants. I promise I won't make anymore requests after the above mentioned ones :).
Title: Re: Last console version of Angband?
Post by: Ancient on August 17, 2012, 06:20:46 AM
Have you checked the differences against other versions? Today I will try troubleshooting keyboard problems. Then tackle Steamband, Tiny Angband and NPP Angband. Will have a look at what Antoine created too but might skip that for now.
Title: Re: Last console version of Angband?
Post by: Legend on August 17, 2012, 12:45:34 PM
I confirmed that arrow keys and the Enter key on num pad work in the windows versions of all games but not in the re-compiled versions.  When you hit the enter key on the numpad in the dos re-compile, it prompts for "count" and if you hit it again, it says "0".

The yellow light thing seems to be the same in both versions of each game. SHame., I rather like the yellow light shining on the walls.

For some reason I wasn't having an issue with firing projectiles this last time I started dos quickband.
Title: Re: Last console version of Angband?
Post by: getter77 on August 17, 2012, 01:27:06 PM
I'd suggest waiting a tad on Steamband, if only for the amazing circumstance where after all these years an apparently at least somewhat substantial new release is inbound to get released perhaps as soon as the tail end of this upcoming weekend.
Title: Re: Last console version of Angband?
Post by: Ancient on August 21, 2012, 05:06:55 AM
I found out what is the probable cause of lack of arrow keys and numpad enter support. PDCurses and NCurses seem to differ enough to make this happen. Looks like entering correct numbers into some pref file might set things right. I have not solved this yet. Number pad enter seems to be recognized as zero which supposedly is count command.

Here are other four you requested:

TinyAngband 0.0.3 (http://dungeon_keeper.republika.pl/tmp/tinyangband-0.0.3.zip)
Steamband 0.4.1f (http://dungeon_keeper.republika.pl/tmp/Steamband 0.4.1f.zip)
NPPAngband 0.5.4 (http://dungeon_keeper.republika.pl/tmp/npp-0.5.4.zip)
MinimalAngband (2012.04.07) (http://dungeon_keeper.republika.pl/tmp/minimal-20120407.zip)

Once Steamband new shiny release sees the daylight I'll redo that one. NPP and Minimal have slightly different interface and support arrow keys. Hurray!
Title: Re: Last console version of Angband?
Post by: Legend on August 22, 2012, 01:06:15 PM
Cool. THanks Ancient. I'll give them a go later tonight.

I'm finally starting to get back into Angband a bit thanks to your re-compiles.

Wish I could figure out how to register on the Angband forums so I could post a link to this thread and share over there all the work you've done.

Still thinking about doing Gumband? It already has a dos exe, but you mentioned you were thinking of it. What would the benefits of doing so be? If it had an updated option menu like the current Angband, I think it would be worth it. (I hate having to open doors manually :P )  Just curious.

Thanks again.
Title: Re: Last console version of Angband?
Post by: konijn_ on August 22, 2012, 01:12:34 PM
Success! Here you go:

Hellband 0.8.7 (http://dungeon_keeper.republika.pl/tmp/Hellband-0.8.7.zip)
Quickband 2.0.5b (http://dungeon_keeper.republika.pl/tmp/Quickband_2_0_5b.zip)
Ironband 14 Aug 2008 (http://dungeon_keeper.republika.pl/tmp/Ironband-14Aug08.zip)


I wanted to compile Gumband too because it is my favorite variant but ran out of time. Fortunately it has DOS binary which could run out of the box. If not and you can be bothered a bit DOSBox is quite likely to handle it.

You rock, by the way ;) I will steal your zip and place it on my hellband site ;)

Cheers,
T.

Title: Re: Last console version of Angband?
Post by: Legend on August 23, 2012, 03:38:59 AM
Just checked the new re-compiles out.

I think you accidentally uploaded the wrong files for Nppangband and minimal angband. The zip files seem to contain the regular windows versions and not the dos re-compiles..

Tiny Angband and Steamband are fine though. They have the same arrow key and enter key issue, but otherwise, they are great.
Title: Re: Last console version of Angband?
Post by: Ancient on August 24, 2012, 06:58:48 AM
I will steal your zip and place it on my hellband site ;)

Why not!

Just checked the new re-compiles out.

I think you accidentally uploaded the wrong files for Nppangband and minimal angband. The zip files seem to contain the regular windows versions and not the dos re-compiles..

As for NPP and Minimal I noticed that despite linking against curses and defining USE_GCU both behaves like windowed applications. I tested them but decided to upload anyway since they use text instead of graphics. Another attempt at compilation will be made soon.

About Gumband: managed to patch it and recompile. Unfortunately bumping into door tries opening it only once which is not so good if it is locked. It should attempt several times like it is done for digging and other similar actions. Worse thing was colors. These badly sucked. On Linux it was solved by compiling special terminal defines. Windows does not have them though. Some more work is needed to make it playable in satisfying way.
Title: Re: Last console version of Angband?
Post by: Legend on August 24, 2012, 12:00:36 PM
I didn't notice before with minimal and npp since when I saw that they were still in windows and couldn't be made full screen, I just turned them off without trying to play. But I just tried to play both despite the lack of fullscreen and I can't seem to play them.

The window opens but it is just blank. I select new game from the menu and the screen is still black except for a yellow square cursor that can be moved on the screen but doesn't actually select anything. Everything else is still black.
Title: Re: Last console version of Angband?
Post by: nppangband on August 24, 2012, 08:28:58 PM
Thanks for trying to create a console version of NPP.  Let me know if there are files I can include in the source that will make this easier in the future.  -Jeff
Title: Re: Last console version of Angband?
Post by: Legend on August 27, 2012, 02:43:13 AM
I believe minimal angband is based on npp angband so if nppangband gets sorted first, then minimal will probably be easier to fix. Looks like there has been a new version of npp angband too.
Title: Re: Last console version of Angband?
Post by: nppangband on August 27, 2012, 02:19:12 PM
I beleive minimal is based on NPPAngband, as well as Quickband, Ironband, and Sil (based on the NPP 0.4.x series).

NPP 0.5.4 is the latest complete version.  I have started coding NPP 060 and my progress has been uploaded to github.  But it is still in the alpha phase and I will probably make 1-2 more changes to the savefile format before I would want anyone to try NPP 060.

But again, thanks, and please let me know how I can help.
Title: Re: Last console version of Angband?
Post by: Ancient on August 29, 2012, 04:32:00 AM
But again, thanks, and please let me know how I can help.

I need to write a pref file. For this I need to understand them. So far it seems the A: line specifies target key and P: lines specify keyboard codes that should translate to target key. Can you confirm this?

Right now I am busy with PRIME. Further compiles will not appear until September.
Title: Re: Last console version of Angband?
Post by: nppangband on September 01, 2012, 11:37:16 AM
That's pretty much correct, but there are a couple other things that need to happen for the pref file to work:

Reading the system specific pref files starts in the file "pref.prf".  At the bottom of that file is a section called "##### System Specific Subfiles #####".  This is where an entry needs to be added for the specific console, to tell the game to open and read a pref file unique to a specific port. 

What is being read there is a global variable called ANGBAND_SYS, which is defined in the main-xxx.c file for each system.  For example, in main-win.c, line 4776:

/* Set the system suffix */
ANGBAND_SYS = "win";

Which lets the game figure out in reading pref.prf to pay attention to this line at the bottom of the file:

?:[EQU $SYS win]
%:pref-win.prf

Those two lines tells the game process the contents of pref-win.prf.  Then you create the pref file is where the keymaps are specified.

BTW:  This may be a dumb question, but for which console are you making these ports?

Also note the file called graf.prf is automatically read, to process the port-specific graphics files, if the console supports any of the three tilesets.  Font.prf is also read to specify system specific characters.  An example of this is windows, support is needed to have a wall displayed as a solid white or gray block, as opposed to a white or gray '#', which is the game default symbol for walls (but most prople prefers the solid block instead).

When/if you get around to trying to do this for NPPAngband, I will be happy to help.  Although I confess I don't know much about the specific kep maps.  I have always just copied them from Vanilla Angband.
Title: Re: Last console version of Angband?
Post by: Ancient on September 01, 2012, 11:51:45 AM
Thank you, that brings me another step closer.

This may be a dumb question, but for which console are you making these ports?

For console under Windows. I am using main-gcu.c and substituting PDCurses for NCurses.

I'll make sure to drop you an email when I attempt next compile.
Title: Re: Last console version of Angband?
Post by: Legend on December 22, 2012, 04:42:36 AM
Just curious if you got the chance to tinker with new dos compiles lately?

Since the last batch, there seems to be new versions of Angband, Quickband, Ironband, and Nppangband.

I recently discovered Sangband and Sil too. :p

I have a feeling sil probably wouldn't be possible since it relies on having several windows open at once it seems. Bit of a pain and main reason I can't get into it.

Wish most of the *band devs would consider to continue doig dos compiles for the few people like myself who prefer to play that way.

Thanks again Ancient for the work you've already done. Happy Holidays.
Title: Re: Last console version of Angband?
Post by: Ancient on January 07, 2013, 05:32:19 PM
I am back. At the moment most of my stamina is being put forwards for PRIME which is going to have a release in third week of January. Then I'll gladly look into console bands. This time with a proper web page to have everything arranged nicely.
Title: Re: Last console version of Angband?
Post by: Legend on October 15, 2013, 05:24:37 PM
Sorry for the bump, but just curious if ancient had a chance to look over these again?
Title: Re: Last console version of Angband?
Post by: guest509 on October 18, 2013, 02:10:36 AM
When Legend and Ancient are both in the same thread I make sure to read.
Title: Re: Last console version of Angband?
Post by: Legend on November 25, 2015, 04:48:31 AM
Sorry for the bump, but does anyone still have these versions?  The download links seem to be dead now.  Had a crash recently and lost my copies. Looking to get them again if Ancient or anyone else still has them?  Thanks.
Title: Re: Last console version of Angband?
Post by: Ancient on November 27, 2015, 12:45:27 AM
I lost them when my old site expired and I migrated to Linux. Fear not, though! My skills have improved since so this time you may actually get fully working arrow keys. This might turn out to be for the better in the end. Starting with Angband 4.0.3.
Title: Re: Last console version of Angband?
Post by: Legend on November 27, 2015, 02:29:15 AM
I lost them when my old site expired and I migrated to Linux. Fear not, though! My skills have improved since so this time you may actually get fully working arrow keys. This might turn out to be for the better in the end. Starting with Angband 4.0.3.

That sucks they got lost. I wanted to check out steamband, gumband,  and hellband again. I might have them on a flash drive somewhere if I can track down where I put them all. I will try to find the older versions and get them back up to preserve them.

Right on. That would be cool if you could do the same for angband 4.0.3.  Might be cool if you could get cthangband 5.0.0 going too  :P  it doesnt seem to work on win xp unfortunately. looks cool.

Happy thanksgiving Ancient.
Title: Re: Last console version of Angband?
Post by: Ancient on November 28, 2015, 11:39:08 AM
Gumband still survives in its original, console state here:
http://angband.oook.cz/variants.php?variant=gumband

Angband 4.0.3 for console:
https://www.dropbox.com/s/7z947nnn0nigma3/angband-4.0.3_console.7z?dl=0

Next on list: Hellband.

Why cthangband 5.0.0 does not work on Win XP? Does the author know?
Title: Re: Last console version of Angband?
Post by: Legend on November 28, 2015, 02:29:17 PM
Gumband still survives in its original, console state here:
http://angband.oook.cz/variants.php?variant=gumband

Angband 4.0.3 for console:
https://www.dropbox.com/s/7z947nnn0nigma3/angband-4.0.3_console.7z?dl=0

Next on list: Hellband.

Why cthangband 5.0.0 does not work on Win XP? Does the author know?

Awesome. Thanks Ancient.

Thanks for the gumband link. Happen to know where I can find the ibm/console version of Sangband too? the link listed here:  http://angband.oook.cz/variants.php?variant=sangband (http://angband.oook.cz/variants.php?variant=sangband)  seems to be dead and can't find it elsewhere.

Cthangband 5.0.0 doesn't seem to want to work work cause it says that it's not a valid win32 application. not sure why it came out this way. I guess it just won't work with 32 bit xp. I saw on the angband forums that someone else mentioned it in the release thread but the dev never replied.

*edit. Was giving angband a whirl and when I try to save or save and quit, it says "saving game...failed!"
Title: Re: Last console version of Angband?
Post by: Ancient on November 29, 2015, 01:52:33 PM
Apologies for the savefile fail. You may create three directories under lib named 'save' 'scores' and 'info' or download the package again.

For SAngband please look here: http://code.google.com/p/skills-angband/
Title: Re: Last console version of Angband?
Post by: Legend on November 30, 2015, 06:21:36 AM
Thanks.

That page for sanfgband does.t seem to point to the ibm version though. just windows.

I know that it is a nice full screen kinda console version though. it still has the fixed windows. wanted to check out the ibm version to see if it just did everything through a single full screen instead of taking up the bottom half for tiny windows.
Title: Re: Last console version of Angband?
Post by: Ancient on December 07, 2015, 05:24:46 AM
Hellband compiles but does not have the menu bar with "File" and is thereby unplayable. I have no idea what I am doing wrong. Perhaps newer compiler is to blame or the fact Windows box lent to me is Vista instead of XP unlike previous time. So, no console build for Hellband I am afraid. :-(

As compensation here is CthAngband (https://www.dropbox.com/s/qm17qikinx0q5hu/Cthangband-500.7z?dl=0). Please tell me whether it works for you!

Next week: SAngband 1.0.2, unless you have better target.
Title: Re: Last console version of Angband?
Post by: Legend on December 07, 2015, 06:08:52 PM
Cthangband works great. Thanks Ancient.

Shame about Hellband. I wonder why it won't work this time. I do believe you were able to do it before. I don't think it changed versions either. I don't recall the last version you compiled needing a menu bar and worked fine. I just started in fullscreen every time and started a new game by keypress. It just ran like an older dos version.
Title: Re: Last console version of Angband?
Post by: Ancient on December 09, 2015, 12:07:27 PM
Thanks for the description, that refreshed my hopes. I made it closer today. Hellband compiles in console mode without expecting some menus but one has to pass -n parameter to get new game. Not what it is supposed to do, I think.
Title: Re: Last console version of Angband?
Post by: Ancient on December 21, 2015, 03:01:15 AM
Here is SAngband (https://www.dropbox.com/s/bjshmudh7znbzjm/SAngband-1.0.2_console.7z?dl=0).

Next: Steamband. (or Hellband, if I manage to figure it out)
Title: Re: Last console version of Angband?
Post by: Legend on January 17, 2016, 08:09:11 AM
I didn't get around to saying thanks last time and letting you know that Sangband seems to work great so far.  I really appreciate you taking time to make versions like these for people like me which are probably the small majority who actually prefer to play bands this way.