[3.4-dev] Shockbolt tiles and SDL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oldmansutton
    Rookie
    • Apr 2012
    • 5

    [3.4-dev] Shockbolt tiles and SDL

    Running Angband v3.4-dev-604-gc7dc9e0 on Ubuntu 12.04, after having compiled Angband with --enable-sdl. That all works great, everything looks really good, although I DID have to edit the Makefile in lib/xtra/graf as the 64x64.png wasn't included in it (See github for a pull request to fix that). Anyways, got the graphic moved into where it should be, etc... but when selecting Shockbolt's tileset in SDL.... I don't get any tiles. Just the standard ascii... which... is NOT as pretty, lol.

    Has anybody else ran across this? Can anybody else reproduce?
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by oldmansutton
    Running Angband v3.4-dev-604-gc7dc9e0 on Ubuntu 12.04, after having compiled Angband with --enable-sdl. That all works great, everything looks really good, although I DID have to edit the Makefile in lib/xtra/graf as the 64x64.png wasn't included in it (See github for a pull request to fix that). Anyways, got the graphic moved into where it should be, etc... but when selecting Shockbolt's tileset in SDL.... I don't get any tiles. Just the standard ascii... which... is NOT as pretty, lol.

    Has anybody else ran across this? Can anybody else reproduce?
    ISTR I needed to mess with tile width and height to get the 64x64 tiles working properly. e.g. pick the 16x24 font and set tile width to 4 and tile height to 3. Then you might have to redraw the screen (or change level) to see them.

    Thanks for the pullreq - I'll merge that tonight.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • oldmansutton
      Rookie
      • Apr 2012
      • 5

      #3
      Originally posted by Magnate
      ISTR I needed to mess with tile width and height to get the 64x64 tiles working properly. e.g. pick the 16x24 font and set tile width to 4 and tile height to 3. Then you might have to redraw the screen (or change level) to see them.

      Thanks for the pullreq - I'll merge that tonight.
      Hmmm, have tried multiple tile widths and heights now with multiple fonts (including the settings you've mentioned here). Doesn't seem to matter what combination I choose, I just get the ascii representations spaced out more or less depending on the tile width/height and font.

      Edit: Also, tried to see if it would work in GTK, and something seems majorly wrong with GTK. Shockbolt's set doesn't show up on the menu in the GTK version, and the only tileset that doesn't display a blank screen is David's, and even then it's not what you'd expect to see from his set. Going to take some screenshots.

      Comment

      • oldmansutton
        Rookie
        • Apr 2012
        • 5

        #4
        Ok, I got the 64x64 Shockbolt tiles working in SDL now. The problem was very similar to what the problem was with the PNG not copying over, only this time the PRF files weren't copying over either. I'm going to take down the previous pullreq, and put up a new one that will fix BOTH those makefiles.

        Edit: Oh, nevermind, since I made the commit and pushed onto the same branch, apparently the pullreq got updated too. Sweet! Hope that'll help out others. =)

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Originally posted by oldmansutton
          Ok, I got the 64x64 Shockbolt tiles working in SDL now. The problem was very similar to what the problem was with the PNG not copying over, only this time the PRF files weren't copying over either. I'm going to take down the previous pullreq, and put up a new one that will fix BOTH those makefiles.

          Edit: Oh, nevermind, since I made the commit and pushed onto the same branch, apparently the pullreq got updated too. Sweet! Hope that'll help out others. =)
          It will indeed - many thanks for helping out with this.

          The GTK port is deprecated, and should be removed by the time 3.4 is released.
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • oldmansutton
            Rookie
            • Apr 2012
            • 5

            #6
            Originally posted by Magnate
            It will indeed - many thanks for helping out with this.

            The GTK port is deprecated, and should be removed by the time 3.4 is released.
            Not a problem, and thanks for the head's up about the GTK port. I prefer the SDL one anyways, and yeah, ever since GTK3 hit it seems like everybody's abandoned GTK. No skin off my nose

            Edit: Oooh, good catch on that typo in the makefile.

            Comment

            • oldmansutton
              Rookie
              • Apr 2012
              • 5

              #7
              Just verifying that the Makefile changes you pulled in work. I cloned in on a new PC and compiled, made, installed, and the tiles worked as expected right out of the box. =)

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by oldmansutton
                Just verifying that the Makefile changes you pulled in work. I cloned in on a new PC and compiled, made, installed, and the tiles worked as expected right out of the box. =)
                Brilliant, thanks - please keep the pull requests coming!
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

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