Creating Angband 3.2.1 in ten easy steps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #31
    Given the path that starts with C:, he's presumably on Windows.

    Comment

    • d_m
      Angband Devteam member
      • Aug 2008
      • 1517

      #32
      Originally posted by Derakon
      Given the path that starts with C:, he's presumably on Windows.
      Oh. Right. Wonder how I missed that...
      linux->xterm->screen->pmacs

      Comment

      • buzzkill
        Prophet
        • May 2008
        • 2939

        #33
        I looked at that file, but didn't see anything overly obvious.
        Assuming it skips '#' comment lines and blank lines, line #57 would be:
        S:0x68:0x84:0x9A ??
        I don't think that it skips any lines when counting. Count every line.
        Simply commenting out that line will get you past the error, until it's fixed.
        www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
        My banding life on Buzzkill's ladder.

        Comment

        • Spacebux
          Adept
          • Apr 2009
          • 231

          #34
          Originally posted by buzzkill
          I don't think that it skips any lines when counting. Count every line.
          Simply commenting out that line will get you past the error, until it's fixed.

          Ok - is this pref file not critical to the program then?

          Comment

          • buzzkill
            Prophet
            • May 2008
            • 2939

            #35
            Originally posted by Spacebux
            Ok - is this pref file not critical to the program then?
            No, not critical. It defines what graphics appear on screen. The worst that might happen is that whatever particular 'thing' that the line refers to will be displayed as ACSII.

            My guess is that is that the 'thing' it refers to no longer exists, so no harm (probably).
            www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
            My banding life on Buzzkill's ladder.

            Comment

            • takkaria
              Veteran
              • Apr 2007
              • 1951

              #36
              Originally posted by Spacebux
              Glad I could help.

              Any idea how I am getting this or how to get rid of it?

              I think this is where I am getting my color errors from:
              Parse error in C:\games\angband\angband-r9a0d219cc4\lib\pref\graf-xxx.prf line 57 column 5: : invalid value -more-

              I looked at that file, but didn't see anything overly obvious.
              Assuming it skips '#' comment lines and blank lines, line #57 would be:
              S:0x68:0x84:0x9A ??
              It'll be this block:

              Code:
              GF:CHAOS | DISENCHANT | MISSILE:0:0x84:0x94
              GF:CHAOS | DISENCHANT | MISSILE:135:0x84:0x97
              GF:CHAOS | DISENCHANT | MISSILE:45:0x84:0x96
              GF:CHAOS | DISENCHANT | MISSILE:90:0x84:0x95
              GF:CHAOS | DISENCHANT | MISSILE:static:0x85:0x91
              IIRC, magnate changed DISENCHANT TO DISEN at some point recently, so that'll be where it's choking, and it'll be the same in the other graf-blah.prf files too.
              takkaria whispers something about options. -more-

              Comment

              • Spacebux
                Adept
                • Apr 2009
                • 231

                #37
                Originally posted by takkaria
                It'll be this block:

                Code:
                GF:CHAOS | DISENCHANT | MISSILE:0:0x84:0x94
                GF:CHAOS | DISENCHANT | MISSILE:135:0x84:0x97
                GF:CHAOS | DISENCHANT | MISSILE:45:0x84:0x96
                GF:CHAOS | DISENCHANT | MISSILE:90:0x84:0x95
                GF:CHAOS | DISENCHANT | MISSILE:static:0x85:0x91
                IIRC, magnate changed DISENCHANT TO DISEN at some point recently, so that'll be where it's choking, and it'll be the same in the other graf-blah.prf files too.
                ok - need to be careful with global replaces, but, I think I got it.

                >> Is it possible he also changed CONFUSION to CONF ?

                Thanks.
                Last edited by Spacebux; April 15, 2011, 19:30.

                Comment

                • Magnate
                  Angband Devteam member
                  • May 2007
                  • 5110

                  #38
                  Originally posted by takkaria
                  It'll be this block:

                  Code:
                  GF:CHAOS | DISENCHANT | MISSILE:0:0x84:0x94
                  GF:CHAOS | DISENCHANT | MISSILE:135:0x84:0x97
                  GF:CHAOS | DISENCHANT | MISSILE:45:0x84:0x96
                  GF:CHAOS | DISENCHANT | MISSILE:90:0x84:0x95
                  GF:CHAOS | DISENCHANT | MISSILE:static:0x85:0x91
                  IIRC, magnate changed DISENCHANT TO DISEN at some point recently, so that'll be where it's choking, and it'll be the same in the other graf-blah.prf files too.
                  Ooops, sorry. I could have sworn I grepped for all instances of DISENCHANT, but I obviously forgot lib/pref/. Fixed in staging (and CONFUSION as well) - it'll be in the next nightly.
                  "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                  Comment

                  • Spacebux
                    Adept
                    • Apr 2009
                    • 231

                    #39
                    Originally posted by Magnate
                    Ooops, sorry. I could have sworn I grepped for all instances of DISENCHANT, but I obviously forgot lib/pref/. Fixed in staging (and CONFUSION as well) - it'll be in the next nightly.
                    I cannot guess it:

                    I've tried,
                    GF:CONFUSE:0:0x84:0x98
                    GF:CONFUSE:135:0x84:0x9B
                    GF:CONFUSE:45:0x84:0x9A
                    GF:CONFUSE:90:0x84:0x99
                    GF:CONFUSE:static:0x85:0x95

                    GF:CONF:0:0x84:0x98
                    GF:CONF:135:0x84:0x9B
                    GF:CONF:45:0x84:0x9A
                    GF:CONF:90:0x84:0x99
                    GF:CONF:static:0x85:0x95

                    I haven't figured it out yet....

                    Please enlighten me. I think this will get my Old Tiles color scheme working again...

                    Comment

                    • Magnate
                      Angband Devteam member
                      • May 2007
                      • 5110

                      #40
                      Originally posted by Spacebux
                      I cannot guess it:

                      I've tried,
                      GF:CONFUSE:0:0x84:0x98
                      GF:CONFUSE:135:0x84:0x9B
                      GF:CONFUSE:45:0x84:0x9A
                      GF:CONFUSE:90:0x84:0x99
                      GF:CONFUSE:static:0x85:0x95

                      GF:CONF:0:0x84:0x98
                      GF:CONF:135:0x84:0x9B
                      GF:CONF:45:0x84:0x9A
                      GF:CONF:90:0x84:0x99
                      GF:CONF:static:0x85:0x95

                      I haven't figured it out yet....

                      Please enlighten me. I think this will get my Old Tiles color scheme working again...
                      Sorry, it's CONFU. We now have consistency with LITE/LIGHT but not yet with CONF/CONFU.
                      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                      Comment

                      • Spacebux
                        Adept
                        • Apr 2009
                        • 231

                        #41
                        Originally posted by Magnate
                        Sorry, it's CONFU. We now have consistency with LITE/LIGHT but not yet with CONF/CONFU.

                        Ok, that's fixed! Now, how do I get the "None" part of Graphics options to work the way it did?

                        If I copy the perf directory contents from the old 3.2.0 perf/ directory into the new nightly perf/ directory and re-edit the graph-xxx files, ... am I asking for trouble?

                        I want my '#' & '#' walls back..

                        And, yes, my yellow-lamp area lights are back, visual areas are different color again.. happy-happy except for the wall graphics.

                        Comment

                        • Magnate
                          Angband Devteam member
                          • May 2007
                          • 5110

                          #42
                          Originally posted by Spacebux
                          Ok, that's fixed! Now, how do I get the "None" part of Graphics options to work the way it did?

                          If I copy the perf directory contents from the old 3.2.0 perf/ directory into the new nightly perf/ directory and re-edit the graph-xxx files, ... am I asking for trouble?

                          I want my '#' & '#' walls back..

                          And, yes, my yellow-lamp area lights are back, visual areas are different color again.. happy-happy except for the wall graphics.
                          Sorry, can't help you there. I think d_m is the man to answer that question.
                          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                          Comment

                          • takkaria
                            Veteran
                            • Apr 2007
                            • 1951

                            #43
                            Originally posted by Spacebux
                            Ok, that's fixed! Now, how do I get the "None" part of Graphics options to work the way it did?

                            If I copy the perf directory contents from the old 3.2.0 perf/ directory into the new nightly perf/ directory and re-edit the graph-xxx files, ... am I asking for trouble?

                            I want my '#' & '#' walls back..

                            And, yes, my yellow-lamp area lights are back, visual areas are different color again.. happy-happy except for the wall graphics.
                            OK, you can't just copy old pref files over, the new ones have a different format. Using the nightlies, you'll have to comment out these lines in font.prf to get back # walls:

                            Code:
                            ?:[EQU $SYS win]
                            %:font-win.prf
                            takkaria whispers something about options. -more-

                            Comment

                            • Spacebux
                              Adept
                              • Apr 2009
                              • 231

                              #44
                              # Walls.

                              Originally posted by takkaria
                              OK, you can't just copy old pref files over, the new ones have a different format. Using the nightlies, you'll have to comment out these lines in font.prf to get back # walls:

                              Code:
                              ?:[EQU $SYS win]
                              %:font-win.prf

                              Great - thank you for the explanation.

                              Comment

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