Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old December 18, 2020, 18:39   #1
Sacksquatch
Rookie
 
Join Date: Jun 2020
Posts: 24
Sacksquatch is on a distinguished road
Linux compile question

Hello, all. I'm still kinda new at this.

I'm trying to compile Angband to have those separate terminal subwindows, like it looks in the win version of Angband. Also the ability to change fonts/tiles etc. Sdl2 does terminal windows, but they're all incorporated into the Angband main window.

What would I --enable in the ./configure step of the compile? Also what command to launch in that display?
Sacksquatch is offline   Reply With Quote
Old December 18, 2020, 19:40   #2
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 960
fph is on a distinguished road
--enable-x11 (and then run the game with src/angband -mx11 -- -n5) should do the trick. But are you sure you want it? In my experience it's much more cumbersome to move, resize and minimize all those separate windows. For me SDL2 with its single workspace was a big quality-of-life upgrade.
__________________
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 December 18, 2020, 21:44   #3
Sacksquatch
Rookie
 
Join Date: Jun 2020
Posts: 24
Sacksquatch is on a distinguished road
tyvm works perfectly! I almost had it heh.. the console output confused me. I was trying -mx11 ---n. The space makes all the difference.

Normally yes, I prefer sdl2, but I'm currently playing Faangband beta, and for whatever reason I can't see the area map that shows what's around me, and level of zone. It works with x11 though.

I suppose I could have just fired up the win version and used it for a map, but I had fun messin around with it.
Sacksquatch is offline   Reply With Quote
Old December 18, 2020, 22:06   #4
Sacksquatch
Rookie
 
Join Date: Jun 2020
Posts: 24
Sacksquatch is on a distinguished road
Is there a mode for linux other than sdl2 where you can change font sizes, pick tiles etc, from within the game?
Sacksquatch is offline   Reply With Quote
Old December 19, 2020, 05:13   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,653
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Sacksquatch View Post
Is there a mode for linux other than sdl2 where you can change font sizes, pick tiles etc, from within the game?
There's sdl, which uses SDL version 1.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old December 19, 2020, 12:54   #6
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 960
fph is on a distinguished road
Incidentally, I think the Windows version works with Wine (at least it did when I tried it many years ago).
__________________
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 December 20, 2020, 03:37   #7
Sacksquatch
Rookie
 
Join Date: Jun 2020
Posts: 24
Sacksquatch is on a distinguished road
Yeah the win compiles play, but I can't get sound to work on the win versions. I like the sounds.
I have no idea if it's wine or pulseaudio, but it doesn't show up as a sound application.
Sacksquatch 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
3.5-nightly-compile/link error. (Linux) Spacebux Development 20 June 29, 2013 01:05
T2 Linux -> Windows cross-compile with CMake? Therem Harth ToME 0 December 16, 2012 18:00
Why compile programs yourself? (Linux) caruso Idle chatter 24 June 27, 2012 03:41
Compile z+angband on linux garu Variants 2 November 5, 2009 16:20
Wanted: Linux user to compile pre-alpha PaulBlay Development 16 April 10, 2009 20:05


All times are GMT +1. The time now is 19:29.


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