Player's Guide

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tibarius
    Swordsman
    • Jun 2011
    • 426

    Player's Guide

    Hey all, i am still working on a player's guide to Angband. I have a PDF version quite far to, lets say 75%. But there are a couple of issues with it, image conversion and no pixel perfect scaling between the application i use to write the guide (OpenOffice) and the exported PDF file. I work on windows and don't know if PDF is a suitable format for unix / linux based systems.

    So here is my question to you all:
    Better to use a simple text format with just courier new font and LF/CR signs (which is very likely to be useable on all systems) or the more graphic style oriented PDF file?

    Thanks for any feedback!
    Blondes are more fun!
  • Derakon
    Prophet
    • Dec 2009
    • 8820

    #2
    Linux can deal with PDFs just fine. How important are the images to the guide?

    Kind of surprised that OpenOffice is ruining your images though. There must be some way to turn off resizing during the export process.

    Comment

    • Pete Mack
      Prophet
      • Apr 2007
      • 6697

      #3
      @Tiberus--what version of OpenOffice are you using? It should be using TrueType or FreeType; font size just shouldn't matter.

      Comment

      • Sky
        Veteran
        • Oct 2016
        • 2309

        #4
        are you just using the guide which is built into the game, or are you expanding it?
        "i can take this dracolich"

        Comment

        • Tibarius
          Swordsman
          • Jun 2011
          • 426

          #5
          players guide

          I am using OpenOffice 3.4.1. I use this version because the newer versions always require some kind of internet connection for updates etc. I do not like those kind of requirements.

          The help pages available inside the game do explain quite some aspects. But i feel they miss out very important topics belonging into a(n advanced) players guide, which covers more than just explaining what is possible with the available commands.

          Well, of course the pictures add a good deal of athmosphere in my eyes. So i would rather prefer a PDF version. I guess i will try to finish that and then see how i can get feedback here about it.
          Blondes are more fun!

          Comment

          • Sky
            Veteran
            • Oct 2016
            • 2309

            #6
            Absolutely agree with you. A more indepth player guide would really help make Angband more popular.

            things, for example, which are invaluable now but i didn't understand back when i started:

            1) mobs, OOD mobs, and uniques, which you are *NOT* meant to fight, and escaping in general as a major game tactic.

            2) why resistances make such a difference and why instead AC, acid damage, etc are less important. (i.e. how to chose your equipment)

            3) ALL the hidden game options, and how to find them, and WHY you should find them.

            4) LOS tricks, turn count, resting, and in general explaining that this is a tactical game, not a RPG; one turn counts for a lot.

            5) keymaps. and maybe inscriptions, but indepth.
            "i can take this dracolich"

            Comment

            • Ingwe Ingweron
              Veteran
              • Jan 2009
              • 2110

              #7
              All of which can be learned by watching Fizzix's excellent "Let's Play Angband" series on YouTube. Though, they may be becoming a little dated since all the changes.
              “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
              ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

              Comment

              • Ironshod Al
                Scout
                • Apr 2017
                • 45

                #8
                Originally posted by Tibarius
                Hey all, i am still working on a player's guide to Angband. I have a PDF version quite far to, lets say 75%. But there are a couple of issues with it, image conversion and no pixel perfect scaling between the application i use to write the guide (OpenOffice) and the exported PDF file. I work on windows and don't know if PDF is a suitable format for unix / linux based systems.
                Sadly, the world of printing doesn't think in pixels, so scaling of images tends to use a linear or bicubic filter. That works very well for photos and large images, but not for pixel art.
                A possible workaround is to manually scale your images to match the print quality of the OpenOffice / PDF document while using a nearest neighbour filter. Usually that is 300 DPI, whereas screendumps and images for webpages are supposed to be 72 DPI or 96 DPI.
                Scaling the image will increase the file size, but since the scaling use a nearest neighbour filter, it should compress reasonably well.

                If you want to automate the scaling process, you can do so in GIMP. I don't have GIMP installed and have never used the scripting part of the program, so I can't help you with that. It is supposed to be Python with access to GIMP through an API.

                With Python installed on your computer, you can solve the problem using PIL / Pillow. The example below is for Pillow, but should work with PIL as well.

                First get Pillow through pip:
                Code:
                pip install pillow
                Then run code similar to this with Python:
                Code:
                from PIL import Image
                
                scale_from_dpi = 96.0
                scale_to_dpi = 300.0
                
                input_filename = 'Xenon 2 Megablast_1.png'
                output_filename = 'Xenon 2 Megablast_1 (scaled).png'
                
                original_image = Image.open(input_filename)
                new_width = int(original_image.width * scale_to_dpi / scale_from_dpi)
                new_height = int(original_image.height * scale_to_dpi / scale_from_dpi)
                
                resized_image = original_image.resize((new_width, new_height), Image.NEAREST)
                resized_image.save(output_filename)
                The code should be self-explanatory, but feel free to ask questions. I used an old screenshot from DOSBOX (320 px by 200 px) and OpenOffice 4.1.1 to test the script. The result looked nice, both in OpenOffice and in the resulting PDF (viewed in Firefox).

                Import the scaled image(s) into you document (I just used drag+drop), right-click and select 'Picture...' (or maybe it is called Image...), the click the 'Original size' button to ensure that the image isn't manipulated by OpenOffice.

                Comment

                • fph
                  Knight
                  • Apr 2009
                  • 956

                  #9
                  Originally posted by Tibarius
                  Better to use a simple text format with just courier new font and LF/CR signs (which is very likely to be useable on all systems) or the more graphic style oriented PDF file?
                  My 2 cents: Markdown is the best alternative by far. It's the perfect mix of portability, maintainability, and graphic quality. You can easily include images, screenshots, and code blocks containing ASCII art. You can convert it to PDF, HTML and anything else using Pandoc. You can throw it into version control. It's readable even as pure text. It's very likely going to be future-proof since it has gained huge traction now.
                  --
                  Dive fast, die young, leave a high-CHA corpse.

                  Comment

                  • Dikaiopolis
                    Rookie
                    • Oct 2017
                    • 6

                    #10
                    I've been visiting these forums off-and-on for years. Now I'm looking to stay around, and I am really interested in a modern player's guide. How are things going on that front?

                    Comment

                    • Nick
                      Vanilla maintainer
                      • Apr 2007
                      • 9338

                      #11
                      Originally posted by Dikaiopolis
                      I've been visiting these forums off-and-on for years. Now I'm looking to stay around, and I am really interested in a modern player's guide. How are things going on that front?
                      There's a player guide on this page at rephial.org - basically for 3.5.0. There's been a lot of change recently, but the in-game help (also on that page, and distributed as .pdf and .html with the game) has pretty much kept up.
                      One for the Dark Lord on his dark throne
                      In the Land of Mordor where the Shadows lie.

                      Comment

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