Discussion:
How to compile Steamband for Linux?
(too old to reply)
Omar
2016-05-25 04:58:53 UTC
Permalink
Raw Message
I've spent the last 2 days in frustration, trying to get Steamband compiled. Any help is appreciated.

- Running Linux Ubuntu 14.04 LTS, 32-bit
- Downloaded Steamband 0.4.1f SRC, extracted
- Renamed Makefile.gtk to Makefile in src folder
- Terminal: cd (dragged src folder to terminal), pressed enter
- Terminal: make
- It does some stuff, but gives these errors:

gtk-config: not found
make: *** No rule to make target `cmd1.c', needed by `cmd1.o'. Stop.

The readme says to edit config.h or h.config.h before make, but I don't know what to edit in those files.
Eddie Grove
2016-05-25 20:00:20 UTC
Permalink
Raw Message
Post by Omar
I've spent the last 2 days in frustration, trying to get Steamband compiled. Any help is appreciated.
- Running Linux Ubuntu 14.04 LTS, 32-bit
- Downloaded Steamband 0.4.1f SRC, extracted
- Renamed Makefile.gtk to Makefile in src folder
- Terminal: cd (dragged src folder to terminal), pressed enter
- Terminal: make
gtk-config: not found
make: *** No rule to make target `cmd1.c', needed by `cmd1.o'. Stop.
The readme says to edit config.h or h.config.h before make, but I don't know what to edit in those files.
Worked easily for me, on a more current ubuntu.
I downloaded a zip, unzipped, cd'ed into the src directory.

I tried
make -f Makefile.std
and it mostly worked, except for a couple missing libs, which I
installed.

/usr/bin/ld: cannot find -lXaw
/usr/bin/ld: cannot find -lXmu

sudo apt-get install libxaw7-dev

Then I redid the make, cd'ed up a level, ran src/steamband successfully.


I'm not sure about dragging folders.
I'm old-school, everything through terminals.


You might also need
sudo apt-get install libx11-dev
sudo apt-get install libncurses5-dev
I have those already, needed for compiling other *bands.


Eddie
o***@gmail.com
2016-05-25 23:01:17 UTC
Permalink
Raw Message
Great that worked, thanks.

How can I start the game maximized?


I had to create a shortcut using MenuLibre pointing both to
command: steamband in src
working directory: Steamband folder
Eddie Grove
2016-05-26 00:56:47 UTC
Permalink
Raw Message
Post by o***@gmail.com
Great that worked, thanks.
How can I start the game maximized?
I really have no idea how to do it properly.

In old angband, I used a file x11-settings.prf but that does
not seem to work.


How desperate are you? You could write a script that invokes steamband
and then figures out the process and resizes using wmctrl. I wrote a
funky script to create emacs and terminal windows and move them and
resize them at startup. I could give it to you, but it's a bit beyond
suitable for a beginner.

Hmm- that approach probably won't work without more effort. When I
start steam and maximize and ^R, I get a crash. If I increase the size
manually to near maximum, then ^R does not cause a crash.

Perhaps the best solution is to use multiple desktops, and leave it
enlarged on its own desktop, and only close it when you reboot.
Post by o***@gmail.com
I had to create a shortcut using MenuLibre pointing both to
command: steamband in src
working directory: Steamband folder
The executable has to be run from the dir above src to find
the assorted dirs where it expects to see them.
Alternatives are to copy it up or create a symbolic link.
ln -s src/steamband
Of course no need to change anything if it's working for you.
o***@gmail.com
2016-05-26 02:03:02 UTC
Permalink
Raw Message
I figured it out:

Start Steamband fullscreen:
- Install CompizConfig Settings Manager
- Install compiz-plugins
CompizConfig Settings Manager: Window Rules: Check Enable Window Rules (Use This Plugin)
Size rules: New: Sized Windows: class=Angband, width=(whatever), height=(whatever)
- Restart computer
Eddie Grove
2016-05-26 02:26:34 UTC
Permalink
Raw Message
Post by o***@gmail.com
- Install CompizConfig Settings Manager
- Install compiz-plugins
CompizConfig Settings Manager: Window Rules: Check Enable Window Rules (Use This Plugin)
Size rules: New: Sized Windows: class=Angband, width=(whatever), height=(whatever)
- Restart computer
Congrats.

I wonder why mine crashed when I ran it after maximizing it manually.
Probably not worth the effort to figure that out.

Loading...