NPP thoughts

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

    #91
    Just rename it from Angband.app to NPPAngband.app.

    Comment

    • nppangband
      NPPAngband Maintainer
      • Dec 2008
      • 926

      #92
      Originally posted by slinberg
      Would it be possible to make NPP use its own prefs area so it doesn't clobber the Vanilla prefs, and the two can coexist side-by-side? It blew mine away last night and I was irked. I'd like to try it, but manually shuffling prefs around every time I want to switch back or forth is a hassle.

      (This is beta 6 on OSX, built from source)
      I didn't know it did this. Shouldn't there be completely separate folders for the two games?
      NPPAngband current home page: http://nppangband.bitshepherd.net/
      Source code repository:
      https://github.com/nppangband/NPPAngband_QT
      Downloads:
      https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

      Comment

      • Pete Mack
        Prophet
        • Apr 2007
        • 6883

        #93
        @Jeff-
        Pref files don't work that way--they are kept in ~/Library/Preferences, not in current working directory. Fortunately, if you are using the Vanilla makefiles, all you need to do is edit the various NAME fields in Makefile.osx--in particular NAME should be NPPAngband not ANGBAND.

        If you really want to know how that is used for configuration, it's in osx/Angband.xml, which is deployed with pattern replacement of things like $NAME$ and $EXECUTABLE$.

        EDIT:
        PS: don't forget to update the stuff in Makefile.src as well.
        Probably $NAME should be there, too...
        Last edited by Pete Mack; February 6, 2011, 22:39.

        Comment

        • slinberg
          Rookie
          • May 2008
          • 21

          #94
          Right. I did rename the app to NPPAngband, but it still nuked ~/Library/Preferences/Angband.

          Comment

          • Philip
            Knight
            • Jul 2009
            • 909

            #95
            Hmm. I got a quest for Golfimbul on dlevel 3, which isn't too bad, because he had no escorts and my druid had the cash for a light crossbow +2+4 and some(99) bolts. He didn't need 99 because Golfimbul was down to half stars by the time I ran out of mana, so I started pelting him. I was lucky if I got in a shot in only two phases, but my bolts did one star of damage, which is around 24 damage, so it evened out. I used 17 out of 30 phase doors and my quest reward is cash. About as much as the crossbow cost, in fact. Maybe with some phase doors thrown in. On the other hand, the stuff he gave me was well worth the wait, although all three of them are weapon's and I had a 'good' dagger and there was a broadsword, a pike, and a broad axe, I used none of them because of damage. You see, I bought a staff of perception, and it turns out that the good dagger from dlevel one was *slay orc* +4+13. A warrior would kill Golfimbul with three phase doors and 10 cure light wounds with that. Nice quest and probably too easy.
            EDIT: I kill some priests, and again my money from quest is bad, and haul as well. Maybe swordsmen. Also, Lotho Pimple dropped a mace of poison rpoison which is too much for a simple weapon. Rpoison is powerfull. And why is the General store selling a Cloak of the Magi{telepathy} for only 4000? Such a bargain.
            Last edited by Philip; February 7, 2011, 09:38.

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9634

              #96
              Originally posted by Pete Mack
              PS: don't forget to update the stuff in Makefile.src as well.
              Probably $NAME should be there, too...
              I've done a patch for V which (if it works) will put $NAME and all other variant-specific stuff in Makefile.src. The only other makefiles that need specific editing then are Makefile.win (which seems to need the EXE line first) and Makefile.nmake, which I can't test.
              One for the Dark Lord on his dark throne
              In the Land of Mordor where the Shadows lie.

              Comment

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