Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to compile Steamband for Linux?

67 views
Skip to first unread message

Omar

unread,
May 25, 2016, 12:58:54 AM5/25/16
to
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

unread,
May 25, 2016, 4:01:45 PM5/25/16
to
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

omars...@gmail.com

unread,
May 25, 2016, 7:01:18 PM5/25/16
to
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

unread,
May 25, 2016, 8:56:48 PM5/25/16
to
omars...@gmail.com writes:

> 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.

> 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.

omars...@gmail.com

unread,
May 25, 2016, 10:03:03 PM5/25/16
to
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

unread,
May 25, 2016, 10:26:36 PM5/25/16
to
Congrats.

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