• How to compile Steamband for Linux?

    From Omar@21:1/5 to All on Tue May 24 21:58:53 2016
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From omarshahid2@gmail.com@21:1/5 to All on Wed May 25 16:01:17 2016
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eddie Grove@21:1/5 to omarshahid2@gmail.com on Wed May 25 17:56:47 2016
    omarshahid2@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From omarshahid2@gmail.com@21:1/5 to All on Wed May 25 19:03:02 2016
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eddie Grove@21:1/5 to Omar on Wed May 25 13:00:20 2016
    Omar <omarshahid2@gmail.com> writes:

    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.

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eddie Grove@21:1/5 to omarshahid2@gmail.com on Wed May 25 19:26:34 2016
    omarshahid2@gmail.com writes:

    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

    Congrats.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)