1245: Angband's *new* DOS front-end -VS- simulating DOS in Angband! ▒▒
Playing the latest 2022 code of the roguelike dungeon exploration game Angband in the game's new DOS front-end! = o And then seeing if I can simulate the DOS look in the game's modern SDL2 front-end. Hengband (https://hengband.github.io) BGM via WinAmp.
NOTE 1: In the SDL2 front-end, if you delete a font file that the game is set to use, for instance a DOS .fon that you'd copied into the game's fonts folder and then assigned as the main game window font, the game will no longer start--unless you restore a copy of that deleted font to the game's font folder. So set the game's font settings to a different font before you delete the file for one you've been using.
The game will not run if you've deleted any of its default font files.
The SDL2 front-end will crash (a fix is coming for the crash) if you have over 32 fonts in the game's font directory.
NOTE 2: DOS-style fonts such as the .fon fonts from the "Ultimate Oldschool" font pack may not have standard accented letters at the usual spots, so a bow of "Lothlórien" for instance may render as "Lothl≤rien." There are a number of ways around this, including:
a) If the Angband front-end you're using supports it--the SDL2 front-end, for instance--you could use a Unicode font with support for both sets of symbols, such as Unifont (and then load a .prf with Unicode assignments for the DOS-style walls and floors)
b) Change the encoding of the files in lib/gamedata containing the affected letters; in current Angband usage these seem to be the letters ë é É í î ó ö ô û ú á â in artifact.txt and monster.txt; for instance, you can replace them with the non-accented versions of the letters; however, attempting to do this while you have a saved game in progress can cause Angband to crash and/or report the save file as corrupt when loading the game, so you will probably have to wait until you are between Angband runs; also, you will probably have to update the encoding in your lore.txt file as well (Angband generates lore.txt in different locations depending on your system; in my MSYS2 version in Windows 11, for instance, it generates at lib/user/lore.txt)
(I'm in mid-game but with some finagling I managed to replace accented characters, I think, for all but the bow of Lothlórien, and for the ten or so creatures with accented names--mostly uniques--I've previously encountered. So mine shouldn't be TOO bad...)
Another tip Angband dev backwardsEric gave me: when using this DOS font stuff, to prevent your visuals from getting reset to the non-DOS stuff if you toggle tiles on and off, if you're using the SDL2 front-end in Windows, you can copy the lib/customize/font-ibm.prf to lib/user/font-sdl2.prf, which will be reloaded automatically every time the SDL2 front-end reinitializes, as after a tile switch.
My Angband playlist: https://www.youtube.com/playlist?list=PLZO3OPzPjIzPDGSovCSUGiEGwNrTKPb-C
0:00 - recap- old DOS Angband 3.0.6
12:50 - building the NEW Angband DOS front-end
27:42 - DOS Angband 4.2.4
44:22 - "Perfect DOS" ttf in Cygwin terminal
52:30 - SDL2 Angband w/ Bm437_Wyse700b-2y.FON
1:05:43 - "Perfect DOS" ttf in SDL2 Angband
1:22:47 - Unifont .otf in SDL2 Angband
1:33:24 - Problems & workarounds
Modern Angband is real chuggy for me in DOSBox.
Cygwin's terminal doesn't take .fon fonts, and the ttf DOS font was a little blurry in it at each size I tried.
Noticed afterward that in 4.2.4 DOS, the equip/inventory window still doesn't show average weapon damage! You can get current weapon damage dice and bonus and blows/turn from the C character page, and extrapolate from there I guess, but not having that nice single number is too bad. I suppose there just wasn't enough room in the old DOS-sized window or something (avg dam display started w/ 3.1.0beta in 2009, well after the last DOS version, 3.0.6 in 2005).
Even Times New Roman .ttf has the Unicode checkerboard blocks in it, according to Windows' Character Map utility, but I guess it doesn't work in SDL2 'cause it isn't monospace or something.
My notes on DOS fonts for Angband and compiling Angband DOS in Cygwin, and backwardEric's note on .prf commands for Unicode DOS fonts: https://github.com/angband/angband/issues/5531#issuecomment-1353714072
~
The BGM tracks use the following licenses:
CC BY 4.0: https://creativecommons.org/licenses/by/4.0/
CC BY 3.0: https://creativecommons.org/licenses/by/3.0/
CC 0: https://creativecommons.org/publicdomain/zero/1.0/
Readme with links to each track on opengameart.org: https://github.com/hengband/hengband.xtra/blob/131d2b9a14c3952c22d41de002d36e4fc6d41288/music/readme.txt
12/16/22
#angband #roguelike #dungeoncrawler #freegame #freegames #opensourcegame #opensourcegames #opensource #rpg #fantasy #fantasygame #fantasygames #videogame #videogames #pcgame #pcgames #freepcgames #dosbox #pcgaming #dos #dosgame #dosgames #sdl2 #game #games #gaming
Other Videos By smbhax 2000
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.