Building Frogcomposband for Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swim
    Apprentice
    • Mar 2021
    • 82

    Building Frogcomposband for Linux

    Hey everyone. Just wondering if anyone has experience with Frog on Linux.

    I managed to build it fine with the instructions on the GIthub, but I don't have any control over the font size. I tried building with SDL support - when I ran the config script it showed that it was enabled, but when I run 'make' it fails to produce the file that would launch the game. Any help would be really appreciated!

    I tried to just play on Angband.live , but it seems that my latency to the server is too much because it keeps jumping around several spaces when I hit a direction key.
  • swim
    Apprentice
    • Mar 2021
    • 82

    #2
    I realized my problem with the latency on angband.live was fixed by enabling the online_macros option. Still would be great to play the desktop version so I could have better control of the subwindows.

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9389

      #3
      Originally posted by swim
      Hey everyone. Just wondering if anyone has experience with Frog on Linux.

      I managed to build it fine with the instructions on the GIthub, but I don't have any control over the font size. I tried building with SDL support - when I ran the config script it showed that it was enabled, but when I run 'make' it fails to produce the file that would launch the game. Any help would be really appreciated!
      If you can copy some of the output of 'make', someone here might have some ideas.

      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • swim
        Apprentice
        • Mar 2021
        • 82

        #4
        Here is the result of trying to 'make' with SDL enabled:

        Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9389

          #5
          So it's failing to find the play_sound() function. I'm not exactly sure how SDL sound is set up for frog, but I would try adding the --enable-sdl-mixer switch to your configure line, or if that doesn't work try --disable-sdl-mixer.
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • backwardsEric
            Knight
            • Aug 2019
            • 558

            #6
            That seems odd: SOUND_SDL is evidently defined around line 3165 of main-sdl.c, but a bit earlier the definition of play_sound() is not seen as if SOUND_SDL was not defined. Configuring with --disable-sdl-mixer so SOUND_SDL is not defined at all seems like the most likely way to avoid that.

            Comment

            • swim
              Apprentice
              • Mar 2021
              • 82

              #7
              Ah the problem was that I was missing libraries for the mixer. I was able to build with SDL then once I fixed that. But I'm still not able to increase the size of the font I think I'll resign to either booting into Windows to play, or just play on Live.

              Comment

              • backwardsEric
                Knight
                • Aug 2019
                • 558

                #8
                frogcomposband's main-sdl.c currently only uses the bitmapped fonts from lib/xtra/font and there's no direct way to use a scalable font. To change the size of what's displayed you have to change the font. If frogcomposband's SDL front end is like Angband's, you can do that for the selected terminal by clicking on the 4th entry (which displays the currently selected font's name) from the left in the menu bar at the top and select the new font you'd like.

                You likely could run frogcomposband's Windows version with Wine rather than reboot into Windows.
                Last edited by backwardsEric; December 12, 2025, 20:55. Reason: Drop reference to bazzite - mixed this up with another thread

                Comment

                • swim
                  Apprentice
                  • Mar 2021
                  • 82

                  #9
                  There is a font selector in the SDL menu's, but changing it seems to only increase the size of the map screen instead of actually making the characters bigger.
                  I didn't consider trying Wine, I'll give that a go.

                  Comment

                  • swim
                    Apprentice
                    • Mar 2021
                    • 82

                    #10
                    Yep, Wine is the answer
                    Thanks.

                    Comment

                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎