2 options for Windows PNG support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #16
    Doesn't commenting the lines in font-win.prf achieve what you want? (e.g. instead of commenting things in font.prf)
    takkaria whispers something about options. -more-

    Comment

    • Spacebux
      Adept
      • Apr 2009
      • 231

      #17
      Originally posted by takkaria
      Doesn't commenting the lines in font-win.prf achieve what you want? (e.g. instead of commenting things in font.prf)
      Not sure - I overwrote the newer font-win.prf with the older one from 3.2.0.
      While I got a lot of warnings, it seems to have fixed the problem... without uncommenting the lines in font.prf.

      I'll play around a little more and see whether I can pin the problem down or not.

      -SBux-

      Comment

      • Spacebux
        Adept
        • Apr 2009
        • 231

        #18
        I haven't left town yet, but this seems to be working, even with all the warnings when I do it - overwrite the new font-win.prf file with the old version (prior to your changes circa Jan 10, 2011?)...

        I'd research more if I knew how.


        Basically, if I do a straight download of any 3.3-nightly, the GUI settings are such that walls are graphically always solid. "Options" --> "Graphics" --> "None" has no bearing, does not affect anything in the GUI presentation of walls. The color IS there, but the '#' walling is not.

        If I use your earlier suggestion of uncommenting the lines:
        ## # OPTION: Display "veins" (white "%") as "normal walls" (white "#").
        ## #
        ## F:50:0x01:0x23
        ## F:51:0x01:0x23
        ## F:52:0x01:0x23
        ## F:53:0x01:0x23

        Then, the '#' walling re-appears, as I would like, however, all font-coloring disappears, and all text is white, white, white....


        Over-writing the new font-win.prf file with the older font-win.prf file from 3.2.0, the issue (as I see it) is resolved.

        -SBux-

        Comment

        • takkaria
          Veteran
          • Apr 2007
          • 1951

          #19
          Originally posted by Spacebux
          If I use your earlier suggestion of uncommenting the lines:
          I didn't say uncommenting, I said commenting. Commenting everything in font-win.prf will get rid of the solid blocks, or at least it should, with no warnings.
          takkaria whispers something about options. -more-

          Comment

          • Spacebux
            Adept
            • Apr 2009
            • 231

            #20
            Originally posted by takkaria
            I didn't say uncommenting, I said commenting. Commenting everything in font-win.prf will get rid of the solid blocks, or at least it should, with no warnings.
            Yes, I will attempt to READ what you write ....

            -SBux-

            Comment

            • Shockbolt
              Knight
              • Jan 2011
              • 635

              #21
              Any progress?
              http://www.rpgartkits.com/
              Fantasy art kits for personal and commercial use. Commercial use requires a Developer license, also available through my website.

              Comment

              • takkaria
                Veteran
                • Apr 2007
                • 1951

                #22
                Originally posted by Shockbolt
                Any progress?
                We'll be trying to get PNG support in for 3.3, due for release in a couple of months. This won't have wall orientation stuff or support for two-height tiles but it's a start. I will start working on making graphics support better after 3.3.
                takkaria whispers something about options. -more-

                Comment

                • Shockbolt
                  Knight
                  • Jan 2011
                  • 635

                  #23
                  Originally posted by takkaria
                  We'll be trying to get PNG support in for 3.3, due for release in a couple of months. This won't have wall orientation stuff or support for two-height tiles but it's a start. I will start working on making graphics support better after 3.3.
                  Sounds like Christmas will come early this year then
                  http://www.rpgartkits.com/
                  Fantasy art kits for personal and commercial use. Commercial use requires a Developer license, also available through my website.

                  Comment

                  • Blue Baron
                    Adept
                    • Apr 2011
                    • 103

                    #24
                    Originally posted by Shockbolt
                    Any progress?
                    BTW, if you want to use your tiles with Angband while the maintainers work on integrating the PNG code, I can split a PNG tileset into color and mask, either png or bmp.

                    (I wrote a tile picker for myself for Z+ when I wanted to add some of the Adam Bolt tiles to the David Gervais tileset as placeholder artwork. The image programs I prefer to use do not handle transparency that well, so I needed the splitting/combining when I added some backpack images I got off the internet for some containers I added.)

                    Comment

                    • Shockbolt
                      Knight
                      • Jan 2011
                      • 635

                      #25
                      Originally posted by Blue Baron
                      BTW, if you want to use your tiles with Angband while the maintainers work on integrating the PNG code, I can split a PNG tileset into color and mask, either png or bmp.

                      (I wrote a tile picker for myself for Z+ when I wanted to add some of the Adam Bolt tiles to the David Gervais tileset as placeholder artwork. The image programs I prefer to use do not handle transparency that well, so I needed the splitting/combining when I added some backpack images I got off the internet for some containers I added.)
                      What do I have to do in order for that to work with my PNG tiles?
                      http://www.rpgartkits.com/
                      Fantasy art kits for personal and commercial use. Commercial use requires a Developer license, also available through my website.

                      Comment

                      • Blue Baron
                        Adept
                        • Apr 2011
                        • 103

                        #26
                        Originally posted by Shockbolt
                        What do I have to do in order for that to work with my PNG tiles?
                        I guess just make 1 big file with your tiles. Make it available to me somehow. Then I will split it and return the two files to you somehow.

                        In the big file, you can either position the tiles to match an existing pref file or put the tiles in any order and adjust the pref and/or image files later.

                        It might be easier to send you the executable and guide you through it since zipped, the executable is 243 KB, and the images will be much larger. (Also we would not have to go through this again as you make changes.) However, you would need to a) run windows, b) have at least directx9c installed, and c) have a copy of Z+Angband (it reads the Z+ info files at startup). Also, you shouldn't accept executables from people you don't know.

                        I do not have space to send/receive files from, except through email, so you should make the decision how and what to transfer. (if you want to do this.)

                        Comment

                        • Shockbolt
                          Knight
                          • Jan 2011
                          • 635

                          #27
                          Originally posted by Blue Baron
                          I guess just make 1 big file with your tiles. Make it available to me somehow. Then I will split it and return the two files to you somehow.

                          In the big file, you can either position the tiles to match an existing pref file or put the tiles in any order and adjust the pref and/or image files later.

                          It might be easier to send you the executable and guide you through it since zipped, the executable is 243 KB, and the images will be much larger. (Also we would not have to go through this again as you make changes.) However, you would need to a) run windows, b) have at least directx9c installed, and c) have a copy of Z+Angband (it reads the Z+ info files at startup). Also, you shouldn't accept executables from people you don't know.

                          I do not have space to send/receive files from, except through email, so you should make the decision how and what to transfer. (if you want to do this.)
                          Alrighty, you can send the files I need and the instructions to raymond@ironthrone.no
                          http://www.rpgartkits.com/
                          Fantasy art kits for personal and commercial use. Commercial use requires a Developer license, also available through my website.

                          Comment

                          • Blue Baron
                            Adept
                            • Apr 2011
                            • 103

                            #28
                            I have sent the program and some instructions.

                            Comment

                            • d_m
                              Angband Devteam member
                              • Aug 2008
                              • 1517

                              #29
                              Originally posted by Shockbolt
                              Any progress?
                              Hi Shockbolt,

                              Support for PNG is now in staging... I expect it will be live in a few days.

                              One thing to note--tiles don't (yet) support the multi-tile monsters you've created (e.g. the large giant standing out of his square). I know Takkaria plans to support tiles like these (as well as the different kinds of wall tiles), but it will take a little more time.

                              Thanks again to Blue Baron for the help!
                              linux->xterm->screen->pmacs

                              Comment

                              • Magnate
                                Angband Devteam member
                                • May 2007
                                • 5110

                                #30
                                Originally posted by d_m
                                Hi Shockbolt,

                                Support for PNG is now in staging... I expect it will be live in a few days.

                                One thing to note--tiles don't (yet) support the multi-tile monsters you've created (e.g. the large giant standing out of his square). I know Takkaria plans to support tiles like these (as well as the different kinds of wall tiles), but it will take a little more time.

                                Thanks again to Blue Baron for the help!
                                Not bad going d_m - takkaria promised under a year, and you've done it in, what, a month or two? Good work.
                                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                                Comment

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