[Announce] NPPAngband and NPPMoria 8.0.0 (Qt Port) released

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nppangband
    NPPAngband Maintainer
    • Dec 2008
    • 926

    [Announce] NPPAngband and NPPMoria 8.0.0 (Qt Port) released

    The final NPPAngband 8.0.0 and NPPMoria 8.0.0 have been released.

    This is a completely new port of NPPAngband and NPPMoria. Using QT, the game now has a modern UI. The codebase has undergone a major restructuring, and all new code has been written in C++. There are plenty of new features and gameplay improvements as well. Best of all, Shockbolt has expanded his stunning 64x64 tileset to include unique tiles for all monsters, objects, and terrain in both games.

    It compiles and works on any Linux platform that supports QT.

    Source Code:


    NPPAngband and NPP Moria Windows Binary:


    NPPAngband and NPP Moria OSX zip file with a .dmg for the binary (There might be a little trial and error before this works):
    Last edited by nppangband; January 18, 2016, 02:02.
    NPPAngband current home page: http://nppangband.bitshepherd.net/
    Source code repository:
    https://github.com/nppangband/NPPAngband_QT
    Downloads:
    https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
  • AnonymousHero
    Veteran
    • Jun 2007
    • 1393

    #2
    Nice work!

    Just a small buglet: The character creation screen doesn't show any help text when you select the DĂșnadan race.

    Comment

    • nppangband
      NPPAngband Maintainer
      • Dec 2008
      • 926

      #3
      Originally posted by AnonymousHero
      Nice work!

      Just a small buglet: The character creation screen doesn't show any help text when you select the DĂșnadan race.
      Thanks! I need to change the help files so the unicode characters survive the uploaded & download. The edit files are fixed, but I the help files need to be done as well.

      Speaking of which, a couple years ago the .oook forums would only display ASCII characters. It looks like this has changed? Thanks Pav!

      Also, the initial post has been edited to include a link to the OSX version.
      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

      • getter77
        Adept
        • Dec 2009
        • 242

        #4
        Fantastic---keep at it!

        Comment

        • takkaria
          Veteran
          • Apr 2007
          • 1951

          #5
          Originally posted by nppangband
          NPPAngband and NPP Moria OSX zip file with a .dmg for the binary (There might be a little trial and error before this works):
          http://download.nppangband.org/nppgames-8.0.0-osx.zip
          This is the Windows link.
          takkaria whispers something about options. -more-

          Comment

          • nppangband
            NPPAngband Maintainer
            • Dec 2008
            • 926

            #6
            Originally posted by takkaria
            This is the Windows link.
            Thanks. It is fixed now.
            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

            • getter77
              Adept
              • Dec 2009
              • 242

              #7
              Where does the road broadly lead next for the NPP adventures in 2016? This release seems to have achieved quite a lot after the long simmer and all.

              Comment

              • bio_hazard
                Knight
                • Dec 2008
                • 649

                #8
                OSX version- first time launching. I try to start a new NPP character, and get an error pop-up, something like "Can't find 'limits.txt, closing"

                I'm on 10.9.5, and the app is in a subfolder of my Applications folder.

                Comment

                • nppangband
                  NPPAngband Maintainer
                  • Dec 2008
                  • 926

                  #9
                  I want to make sure I am reading it right. The NPP binary needs to be removed from the .dmg file and put in the base *NPPGAMES* file. The game assumes the edit files can be located by taking the folder and starting with the path of the binary and appending "/lib/edit".

                  Right now Qt appears to have a bug on OSX where it does not correctly read the correct path of the *NPPGAMES folder. I had put in a workaround that works on my MacBook, but I was worried it would not work on others.

                  Let me know. I can try other ways to have the game find the /edit folder. Thanks,
                  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

                  • bio_hazard
                    Knight
                    • Dec 2008
                    • 649

                    #10
                    Thanks- works now that I put the executable back in the folder with /lib

                    Now I just have to get used to the differences between this and V! I played a little bit of Quickband a few years ago (which I think was based on NPP?), but it's been a while.

                    Biggest adjustment has been movement. @ seems to run sometimes when I want it to take single steps.

                    Crash when closing the map window.

                    Comment

                    • nppangband
                      NPPAngband Maintainer
                      • Dec 2008
                      • 926

                      #11
                      Originally posted by bio_hazard
                      Thanks- works now that I put the executable back in the folder with /lib
                      I should probably put a README file in the OS version so people know to do that.

                      Now I just have to get used to the differences between this and V! I played a little bit of Quickband a few years ago (which I think was based on NPP?), but it's been a while.

                      Originally posted by bio_hazard
                      Biggest adjustment has been movement. @ seems to run sometimes when I want it to take single steps.
                      Shift + direction is a run command. Usually it is either the shift-lock is down, or using the number pad without numlock turned on.

                      Originally posted by bio_hazard
                      Crash when closing the map window.
                      I will try to duplicate this and fix. Thanks.
                      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

                      • takkaria
                        Veteran
                        • Apr 2007
                        • 1951

                        #12
                        Originally posted by nppangband
                        I should probably put a README file in the OS version so people know to do that.
                        It's more conventional on OS X to include the resources within the application folder. Do you think this might be possible?

                        Shift + direction is a run command. Usually it is either the shift-lock is down, or using the number pad without numlock turned on.
                        I can reproduce this on OS X as well, just using the arrow keys and with no modifier keys turned on.
                        takkaria whispers something about options. -more-

                        Comment

                        • nppangband
                          NPPAngband Maintainer
                          • Dec 2008
                          • 926

                          #13
                          Originally posted by takkaria
                          It's more conventional on OS X to include the resources within the application folder. Do you think this might be possible?
                          Please don't laugh at my dumb question, but what files are classified as resources?

                          Qt has a command that examines a binary and copies all of the necessary dynamic link libraries in the same folder as the program. You can see about 25 of them are included in the windows port. When I did the same command with OSX, the only thing in the .dmg file was the binary. So I zipped the whole folder up and uploaded it. I am open to suggestions on how it should be different.

                          Right now the only restriction on the folder location is the /lib folder and subfolders have to be in the same directory as the binary. The NPP folder can be located anywhere. But I have a feeling that does not answer your question. I am not as computer saavy as the deevteam and other developers.



                          Originally posted by takkaria
                          I can reproduce this on OS X as well, just using the arrow keys and with no modifier keys turned on.
                          The code to check if the numpad is one or off is complicated, as well as checking if any of the modifier keys are pressed while the numpad is being used. It is one of the few things Qt can't handle without platform dependent code. Right now it is optimized for windows, but it can be changed for OSX. I will work on it.
                          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

                          • takkaria
                            Veteran
                            • Apr 2007
                            • 1951

                            #14
                            Originally posted by nppangband
                            Please don't laugh at my dumb question, but what files are classified as resources?

                            Qt has a command that examines a binary and copies all of the necessary dynamic link libraries in the same folder as the program. You can see about 25 of them are included in the windows port. When I did the same command with OSX, the only thing in the .dmg file was the binary. So I zipped the whole folder up and uploaded it. I am open to suggestions on how it should be different.

                            Right now the only restriction on the folder location is the /lib folder and subfolders have to be in the same directory as the binary. The NPP folder can be located anywhere. But I have a feeling that does not answer your question. I am not as computer saavy as the deevteam and other developers.
                            Ah OK, sorry, I should have been clearer! I meant that ideally on OS X the lib folder would be within the NPP .app folder (which is called a bundle). The model of application installation on OS X is that you just copy the bundle of the program you want into your Applications folder, and that includes all the resources that the program needs and it's all kept together.

                            For example in V the folder listing looks like this:

                            Angband.app
                            Angband.app/Contents
                            Angband.app/Contents/MacOS
                            Angband.app/Contents/MacOS/angband (executable)
                            Angband.app/Contents/Resources
                            Angband.app/Contents/Resources/lib (lib folder)

                            Looking at the code in V that works out where the lib folder is, it's written in Objective-C so it won't be portable to C++ but there is a bit about getting the path of the bundle in the online Qt docs for OS X.

                            Does that make sense?
                            takkaria whispers something about options. -more-

                            Comment

                            • nppangband
                              NPPAngband Maintainer
                              • Dec 2008
                              • 926

                              #15
                              Originally posted by takkaria
                              Ah OK, sorry, I should have been clearer!


                              I meant that ideally on OS X the lib folder would be within the NPP .app folder (which is called a bundle). The model of application installation on OS X is that you just copy the bundle of the program you want into your Applications folder, and that includes all the resources that the program needs and it's all kept together.

                              For example in V the folder listing looks like this:

                              Angband.app
                              Angband.app/Contents
                              Angband.app/Contents/MacOS
                              Angband.app/Contents/MacOS/angband (executable)
                              Angband.app/Contents/Resources
                              Angband.app/Contents/Resources/lib (lib folder)

                              Looking at the code in V that works out where the lib folder is, it's written in Objective-C so it won't be portable to C++ but there is a bit about getting the path of the bundle in the online Qt docs for OS X.

                              Does that make sense?
                              Yes. Many thanks. The funny thing (to me) is that the "broken" Qt code that locates the path to the binary I mentioned above would actually work if the directory structure was arranged like that.

                              So if I understand it correctly, it is just a slightly different directory structure? Is there anything more to it than that? Does it still have to be put into a .dmg file for others to use, or can it just get zipped up at that point?
                              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

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