721: Angband 4.2.3-171+ \\ Compiling & playing the ASCII console version in Windows through Cygwin

721: Angband 4.2.3-171+ \\ Compiling & playing the ASCII console version in Windows through Cygwin

Channel:
Subscribers:
1,840
Published on ● Video Link: https://www.youtube.com/watch?v=TcHlbPpR-v4



Game:
Angband (1992)
Duration: 48:11
295 views
6


[This guide still works, but I've got an updated, streamlined version--using the "git" package to pull down the source code and keep it up to date--on the Angband forum, with additional notes: http://angband.oook.cz/forum/showthread.php?p=156639 ]

0:00 - start
2:20 - Cygwin
12:22 - Angband
18:45 - Compile
26:32 - Set
31:41 - Run
37:00 - game options
42:31 - saved game files
44:03 - wrap!

Based on reading the official manual https://angband.readthedocs.io/en/latest/hacking/compiling.html#native-builds and help on the forum from Angband devs backwardsEric and Nick : )

Please note:

- The steps given here do NOT make a Windows executable of Angband; rather, they make a Cygwin-specific executable of Angband that can only be run through Cygwin: in Windows, you first run Cygwin, then you run this Angband executable through Cygwin

- The steps below only make the single-window, ncurses ASCII console version of Angband, with its optional integrated "subwindow" terminal areas

- This process will take at least about 1.2 GB of drive space

- You can play the latest console versions of Angband and a bunch of variants, without all this bother, right through your web browser at https://angband.live

- I have almost no idea what I'm doing; the Angband - Development forum's stickied "Getting Angband from Github and compiling it" thread, from 2011 http://angband.oook.cz/forum/showthread.php?t=4302 , could be the proper dev way; I just wanted a local console version I could run on my Windows laptop--so:


1) Cygwin

a) Download the Cygwin set-up utility: https://www.cygwin.com/setup-x86_64.exe
b) Run it
c) I installed under a directory of my own (c:\downloaded\cygwin) rather than under Program Files or other Windows dir)
d) I don't know what download "site" is best to select during set-up; I used (https) mirrors.sonic.net because it sounded fast 'p', and actually was faster than the two others I tried
e) In Setup, get these four additional packages: clang, make, libncurses++w10, libncurses-devel
f) If you'll be using the latest Angband source files, rather than a tagged release, also get these four packages: automake, autoconf, m4, libtool


2) Angband

Either

a) Get the latest Angband source files--these will require the "autogen" step (step 3b below) and packages (step 1f above)

https://api.github.com/repos/angband/angband/tarball

Or

b) Get the source files for a tagged Angband release (these steps might not work for old releases)

https://github.com/angband/angband/releases/ -- the source code is the asset ending in ".tar.gz" under each release

Then

c) Extract the Angband source files from the downloaded .tar.gz archive to the folder of your choice; these steps will assume you extract the source files--not including the containing folder or two they're in in the outer layer of the .tar.gz--to a folder you make and name "angband," inside the folder where you installed Cygwin; so for instance, since I installed Cygwin to c:\downloaded\cygwin\, I ended up with Angband's base README.md at c:\downloaded\cygwin\angband\README.md

(I use 7-zip ( https://www.7-zip.org/ ) for .tar, .gz, etc in Windows)

d) (Optional) If you want to give your compiled version its own version number, you can:
i. Put the number in a text file named "version" in the root angband folder (where README.md is located)
and/or
ii. (At any time, doesn't have to be before compiling: ) Edit your version number directly into the title screen file \lib\screens\news.txt ; colors for the markup ("Magenta-pink" doesn't work) are listed in \lib\customize\message.prf


3) Compile

a) Run Cygwin
b) In the Cygwin terminal window, enter:
cd /angband
c) If you downloaded the latest Angband source files rather than a tagged release, enter:
./autogen.sh
and wait for it to finish
d) Enter:
./configure --with-no-install
e) After that finishes, enter:
make


4) Set

a) Click the green/black Cygwin icon in the upper left window corner and select "Options..."
b) Under "Terminal," set "Type" to "xterm-256color"
c) Set other settings as you like; I like
Looks: Cursor: Block; [ ] Blinking (unchecked)
Text: Font: Consolas, 20pt
Window: Default size: Columns: 60; Rows: 30; Scrollbar None
d) After make finishes, exit Cygwin to reset the terminal type by entering:
exit


5) Run

a) Run Cygwin
b) If necessary for your terminal font and/or window size settings, press Alt+Enter to toggle to full-screen
c) If you don't use the game's subwindows, run the angband.exe game executable you compiled by entering:
/angband/src/angband
d) For subwindows, run the game by specifying the number of subwindows with the -mgcu option in the command line, where the -n digit is from 2 to 6: subwindow count + 1 for main display; I use 3 subwindows, so I do:
/angband/src/angband -mgcu -- -n4
e) Hopefully, Angband runs!


12/14/21

#angband #roguelike #freegame #opensourcegame #opensource #cygwin #ncurses




Other Videos By smbhax 2000


2021-12-21731: Marvel vs. Capcom 2 PS3 \\ Mega Man, B Wolverine, Omega Red - Score Attack Mode 1cc!
2021-12-20730: Virtua Fighter 4: Evolution PS2 \\ Sarah Quest - Still can't beat Brad...or can I?
2021-12-20729: Dungeon Crawl Stone Soup 0.28-a0-1202 \\ Out for revenge on the 8-headed hydra! D;
2021-12-19728: Tekken 4 PS2 \\ 8-on-8 Team Battle w/ Law, Marduk, Hwoarang, Kazuya, Paul, Jin, Steve, etc!
2021-12-19727: Infra Arcana 21.0.x \\ Finally went full melee and had my best run ever
2021-12-18726: King of Fighters 2000 NEOGEO MVS \\ Kim, Kasumi, Andy, Whip: max lvl Arcade team play runs!
2021-12-17725: Capcom vs. SNK 2 \\ Dreamcast \\ Morrigan Survival - Air fireball was prob'ly the way to go = o
2021-12-16724: Virtua Fighter 4: Evolution PS2 \\ Sarah Quest - Rematch w/ Knockout for Sarah's VF emblem!
2021-12-15723: Virtua Fighter 4: Evolution PS2 \\ Jacky Quest - Half Chaps, do-rag, and Napoleon = D
2021-12-14722: Capcom vs. SNK Pro \\ Dreamcast \\ EX Ryo & Kim - Arcade Mode play-through!
2021-12-14721: Angband 4.2.3-171+ \\ Compiling & playing the ASCII console version in Windows through Cygwin
2021-12-13720: Virtua Fighter 4: Evolution PS2 \\ Sarah Quest - black biker chick outfit, nK, Brad is a jerk
2021-12-13719: Angband 4.2.3-157 \\ When you just want to chill in a dungeon (& more DCSS comparisons)
2021-12-12718: Tekken Tag Tournament HD PS3 \\ 8-on-8 Team Battle: Jin, King, Kuma, Bruce, P.Jack, Nina, etc!
2021-12-12717: Dungeon Crawl Stone Soup 0.28-a0-1123 \\ Volcano! Abyss! Bat Minotaur! Chaos trident tactics!
2021-12-11716: King of Fighters 2000 NEOGEO MVS \\ Robert, Benimaru, Shingo, Kim: max lvl Arcade team play 1cc
2021-12-10715: Guilty Gear X \\ Dreamcast \\ Baiken Survival - She's cool and fun and challenging to use!
2021-12-09714: Virtua Fighter 4: Evolution PS2 \\ Sarah Quest - Black bodysuit & trying new BnB w/ Back+Kick
2021-12-08713: Virtua Fighter 4: Evolution PS2 \\ Jacky Quest - A bobble-headed straggler & a champ w/ an orb!
2021-12-07712: Marvel vs. Capcom 2 PS3 \\ Ruby Heart, B.B.Hood, Wolverine - Score Attack Mode runs!
2021-12-06711: Virtua Fighter 4: Evolution PS2 \\ Sarah Quest - Losing unlocks the ultimate costume color ^_^



Tags:
smbhax 2000
commentary
game
single player
ben chamberlain
1080p
angband
roguelike
cygwin
compile
compiling
build
building
make
ncurses
source code
source
source files
terminal
console
ascii
windows
how to



Other Statistics

Angband Statistics For smbhax 2000

smbhax 2000 currently has 3,204 views spread across 53 videos for Angband. This game accounts for over 3 days of watchable video on his channel, roughly 2.40% of Angband content that smbhax 2000 has uploaded to YouTube.