Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 13, 2013, 01:41   #1
fruviad
Scout
 
Join Date: Jan 2011
Location: central ohio
Posts: 47
fruviad is on a distinguished road
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?
fruviad is offline   Reply With Quote
Old June 13, 2013, 11:34   #2
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
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
Hajo is offline   Reply With Quote
Old June 13, 2013, 11:58   #3
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 792
fph is on a distinguished road
I suggest the SDL port.
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old June 13, 2013, 19:33   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
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
Magnate is offline   Reply With Quote
Old June 14, 2013, 01:37   #5
fruviad
Scout
 
Join Date: Jan 2011
Location: central ohio
Posts: 47
fruviad is on a distinguished road
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.
fruviad is offline   Reply With Quote
Old June 14, 2013, 03:23   #6
fruviad
Scout
 
Join Date: Jan 2011
Location: central ohio
Posts: 47
fruviad is on a distinguished road
...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.
fruviad is offline   Reply With Quote
Old June 14, 2013, 10:11   #7
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
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
Magnate is offline   Reply With Quote
Old June 15, 2013, 03:52   #8
fruviad
Scout
 
Join Date: Jan 2011
Location: central ohio
Posts: 47
fruviad is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Hmmkay. Curses should definitely work though. Does dot-run work when shift-run doesn't? I will see if I can reproduce.
Dot-run does work. I'm so accustomed to shift-run, however, that trying to adapt to dot-run would drive me nuts.
fruviad is offline   Reply With Quote
Old June 15, 2013, 08:03   #9
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by fruviad View Post
Dot-run does work. I'm so accustomed to shift-run, however, that trying to adapt to dot-run would drive me nuts.
So I can reproduce the lack of shift-run in curses, even in the latest dev version. I think you have found a real bug! (I dimly remember this being a regression quite a long time ago, but it was left unfixed for lack of any complaints!)

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
Magnate is offline   Reply With Quote
Old June 16, 2013, 22:25   #10
fruviad
Scout
 
Join Date: Jan 2011
Location: central ohio
Posts: 47
fruviad is on a distinguished road
Thanks for following up on this. I thought I was just missing some basic configuration setting...
fruviad 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
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


All times are GMT +1. The time now is 10:01.


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