Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old December 1, 2014, 03:04   #1
Malak Darkhunter
Knight
 
Malak Darkhunter's Avatar
 
Join Date: May 2007
Location: US
Age: 42
Posts: 720
Malak Darkhunter is on a distinguished road
changing config.txt for sangband SDl port under ubuntu linux

So been working on this all day and can't figure out a breakthrough, grabbing latest source code from svn checkout for Sangband 1.0.2(which is the one I prefer because it has the fix for the warrior lunge talent exploit).I can compile the SDL port very easily and it runs okay..the problem however is it automatically generates a config.txt file that sets the screen width to 3200..which is way to wide for my 1600x900 laptop screen.If I manually change the width under config.txt to 1600 it works perfectly, the character screen is correct for my 1600x900 screen. However once I exit the game it resets itself back to the 3200 screen width and I am forced to manually edit config.txt back to 1600 screen width each and every time I play the game, I have looked all through the source and can't figure out a way to change these standards to work without having to manually edit config.txt everytime I want to start up the game....does anybody have any ideas for a workaround to this problem?
I am using Ubuntu linux 14.04 LTS 64bit, but I think the same problem happens on 32 bit as well.
the windows compile of 1.0.2 final works very well..better under the 64 bit edition than the 32 bit to be honest.However 1.0.2 final does not fix some of the last issues, and has the lunge exploit bug.

On a different note I also tried the x11+curses compile using make -fMakefile.std install..and that works however the split screen is unbearable and even after changing Split-Screen=False under main.gcu.c you still have only half a game displaying in the terminal, and it honestly just drives me nuts to see all that wasted space. Is there some compile options I am missing? the game also seems to support GTK however I cannot figure out to get that to work.
__________________
let me try this workaround...oh crap computer just went black
Malak Darkhunter is offline   Reply With Quote
Old December 2, 2014, 15:28   #2
hading
Rookie
 
Join Date: Nov 2014
Posts: 6
hading is on a distinguished road
If that's the only thing that changes in config.txt you could make a copy of the good config.txt and write a little script that copies the good one over the bad one and then starts up sangband and run the script instead.
hading 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
Building Sangband 101129 SDL on Linux Mikko Lehtinen Variants 6 October 1, 2013 00:08
OS X: Purpose of ~/Angband/config? molybdenum Development 1 July 6, 2013 01:04
Anyone else fed up with tile config madness? Magnate Development 8 May 14, 2012 19:15
Specifying system fonts in config.h? Therem Harth Variants 5 December 20, 2010 03:24
Ubuntu SDL Help? benhamill Vanilla 12 February 24, 2009 22:19


All times are GMT +1. The time now is 00:48.


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