![]() |
#1 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
Angband on Ubuntu 12.04?
I have two different Ubuntu 12.04 systems (completely different hardware) that have problems with running Angband.
The first is curses problems, with the screen not being painted properly each turn. I've been using ncurses; reading other posts on the forum leads me to believe that's the best option. The other problem is "run" not working when holding down the shift key. It works with the period, but I'm too used to the shift-method to learn a new one now. :-( I get a mix of symptoms, with build configurations generally exhibiting only one of the problems. I've tried compiling 3.4.1, 3.3.2, 3.3.0, and I've tried using the Angband version that Ubuntu pulls down when you install via apt-get. Has anyone else figured out the magic set of steps needed to get Angband running happily on 12.04? |
![]() |
![]() |
![]() |
#2 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
I don't know about exactly this Linux version, but in the past I had good success with selfcompiled Angband versions on Linux.
If the curses variant fails, you can still try to compile one of the other backends, like X11 or SDL.
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 964
![]() |
I suggest the SDL port.
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#4 |
Angband Devteam member
|
Angband runs fine on most Linuxes and I maintain the .deb packages so happy to help out. (Unfortunately I haven't got round to packaging 3.4.x yet, sorry - latest in the repo is 3.3.2)
The 'run' problem is very likely to be to do with prefs/macros and not to do with Linux (unless you're playing via PuTTY or with a weird third-party numpad or something?). I've not come across the problem you're describing in curses before - could you post a screenshot? Or, just pick your preferred configuration and post a detailed account of the problems and I'll see if I can reproduce them. I second the recommendation for the SDL port btw - definitely worth a try.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
![]() |
![]() |
![]() |
#5 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
Here's a better description (i.e. "corrected") of what I'm seeing. Magnate, if you still want screenshots of a specific config, let me know.
If I use SDL, then all is functional. SHIFT-DIRECTION == "run", and the screen refresh is fine. The look-and-feel doesn't do much for me, though; I prefer the ability to resize windows as offered by X11 & Curses. If I use X11, then the screen refresh is broken, but SHIFT-DIRECTION works. Interestingly, I was playing with refresh problem in the stores, and I thought I'd started to see a pattern in the repainting problem. I stopped for a minute and stared at the screen while trying to figure it out, and as I stared at the screen my mp3 player (Audacious, fwiw) popped up a small notice above the Angband window telling me what the next song was going to be. This caused the Angband screen to be repainted completely, with all of the missing bits that I'd just triggered with my experimentation from seconds before suddenly appearing. If I use Curses, then SHIFT-DIRECTION is broken (the UI responds with "Type '?' for help.") but the screen refresh is fine. I'm using libncurses5. I do not have any preferences or macros for the character other than the default, so I'm not sure what to look for. The results are the same with both 3.4.1 and 3.3.2. The OS is Ubuntu 12.04. I'd happily put in a few hours' work to get X11 or Curses working if that's what it takes. All work was done on the console rather than via remote session. |
![]() |
![]() |
![]() |
#6 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
...and now I *did* just get a screen update problem in SDL when I had it set to 99x36 and 12x20.fon. I haven't found problems with any other SDL settings. It seems to be a bit different from that which I'm seeing in X11.
The X11 rewrite problem is very apparent in stores when arrowing through inventory. The 99x36 / 12x20.fon SDL configuration was apparent when wandering around in circles in the town, but stores were fine. This I can repro only in 3.4.1. 3.3.2 is fine. |
![]() |
![]() |
![]() |
#7 |
Angband Devteam member
|
Hmmkay. The X11 port has been unmaintained for a long time (it doesn't support tiles), so I'm not sure I can really help there.
Curses should definitely work though. Does dot-run work when shift-run doesn't? I will see if I can reproduce.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
![]() |
![]() |
![]() |
#8 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Angband Devteam member
|
Quote:
I'll bring it to d_m's attention as he's the most familiar with the curses code.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
![]() |
![]() |
![]() |
#10 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
Thanks for following up on this. I thought I was just missing some basic configuration setting...
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ZangbandTK in Ubuntu | Vellumlisp | Variants | 4 | March 15, 2012 21:02 |
Angband, Ubuntu and X11 windows | Uqbar | Vanilla | 5 | August 26, 2010 15:17 |
Ubuntu installation... | aaronchall | Vanilla | 10 | July 24, 2010 19:04 |
Ubuntu Noob Needs Your Help!! | chris | Development | 3 | December 22, 2009 19:32 |
Ubuntu SDL Help? | benhamill | Vanilla | 12 | February 24, 2009 22:19 |