Compiling on lubuntu
Collapse
X
-
-
So, I want to backup my character save file before doing this. I have run configure and confirmed that my character opens. Where is this character file saved? Configure states that it is in ~/.angband/Angband/ but it's not there.
What is in that folder, incidentally, is my .prf file for my character and window.prf. The game remembers the keyboard shortcuts I created, and my subwindow setup, but not the location of the subwindows. And I have remembered to save the subwindow setup to my character's .prf file, and also to load the .prf file in the = menu, but it doesn't work. This is one of my main reasons for wanting to use SDL2.
Anyway, where is my character file?Last edited by PopTart; December 22, 2020, 22:21.Comment
-
Okay, found my savefile. Took me a while. That's what I get for naming my character Lubuntu!
The game saves in a subdirectory within the original unzip directory. This is strange at first thought, but it explains why my saves have persisted through all these re-configures and re-makes.Comment
-
The saga continues
The mouse clicks aren't registering in any of the menus. They are registering in the main window of the game, bringing up options and moving the player character, but not the menus.
I should be able to set up the subwindows by editing sdl2init.txt. Now to find a specification for it...Last edited by PopTart; December 23, 2020, 00:52.Comment
-
The saga continues
The mouse clicks aren't registering in any of the menus. They are registering in the main window of the game, bringing up options and moving the player character, but not the menus.
I should be able to set up the subwindows by editing sdl2init.txt. Now to find a specification for it...Comment
-
Comment
-
Lubuntu apparently uses Wayland, a different version of the Linux graphics stack: https://www.reddit.com/r/linux/comme...d_via_mir_for/ . This may be the reason why the support doesn't work too well; it is a much less tested combination.--
Dive fast, die young, leave a high-CHA corpse.Comment
-
Lubuntu apparently uses Wayland, a different version of the Linux graphics stack: https://www.reddit.com/r/linux/comme...d_via_mir_for/ . This may be the reason why the support doesn't work too well; it is a much less tested combination.
Code:sudo apt install libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev make clean ./autogen.sh ./configure --enable-sdl --with-no-install make src/angband -msdl
Comment
-
The saga continues
The mouse clicks aren't registering in any of the menus. They are registering in the main window of the game, bringing up options and moving the player character, but not the menus.
I should be able to set up the subwindows by editing sdl2init.txt. Now to find a specification for it...Comment
-
Just another remark. If the SDL2 interface should work (with mouse support), it hasn't been tested on Ubuntu at all? But then raises another question. On what system it has been tested? And actually does the mouse work on any system? Nick should confirm this.Comment
-
SDL2 interface has an interesting history; it was written by someone who then left the community after having a fight with a couple of people. Some work has been put into it since, but not by me. Reports indicate it's mostly functional, but with some quirks.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
I can confirm that the mouse support works on vanilla Ubuntu; I have been using it in many version combinations. However, Lubuntu is a different beast than most linuxes, because it uses Wayland instead of X as its graphics stack.--
Dive fast, die young, leave a high-CHA corpse.Comment
Comment