Poschengband github

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    Poschengband github

    I see that the latest poschengband is 5.0.2, but when I patch up the non-funcrtional Makefile.win in the src directory using MINGW, code fetched from github, it compiles to 5.0.0.

    So I can't load the 5.0.2 savefile from comp 197. Is the source up to date? What do I need to do to get it to work?
  • nikheizen
    Adept
    • Jul 2015
    • 144

    #2
    Compile it using MSVS, get the binary and replace the msvcr100.dll, or try to compile just using "make". All of the system-specific makefiles are broken afaik.

    Comment

    • Pete Mack
      Prophet
      • Apr 2007
      • 6883

      #3
      I don't have autoconf installed. I got the thing to compile without much difficulty (just fix the .res and .rc file, remove png and zip compression, remove win/ subdirectory. Basic stuff.
      My trouble is that the github source is compiling to version number 5.0.0. How do I get it to compile to 5.0.2?? And no, I don't have MSVC on my little notebook.
      Edit:
      found it. It really looks like the problem is that github is not up to date. The version number in #defines.h shows VER_PATCH = 0, not 2 as it should be. This is a pain--downloading tar.gz files makes it a lot harder to maintain any local changes I might want to keep (like the working Makefile.win)
      Last edited by Pete Mack; November 17, 2016, 08:00.

      Comment

      • nikheizen
        Adept
        • Jul 2015
        • 144

        #4
        Originally posted by Pete Mack
        This is a pain
        Welcome to the magical world of compiling PosChengband from source.
        Glad you got it working though.
        The issue with the versioning is curious though, I had no issue compiling as 5.0.2 on Ubuntu.

        Comment

        • Pete Mack
          Prophet
          • Apr 2007
          • 6883

          #5
          Oh I compiled it--that's easy, I've had plenty of practice fixing angband save files.
          The trouble isn't that--it's that the github code is not actually up to date. It is 5.0.0 code. PosChengband is currently 5.0.2, as is the competition.
          And trying to run a 5.0.2 savefile against 5.0.0 DOES NOT WORK, even if you mess with the patch number--I tried it. Whoever owns the poschengband repository, please do update it.

          I'd be happy to attach a working Makefile.win (at least MINGW compatible*) if you want that too.

          * no-cygwin is no longer supported, so that would need some tweaks too.

          Comment

          • nikheizen
            Adept
            • Jul 2015
            • 144

            #6
            Originally posted by Pete Mack
            The trouble isn't that--it's that the github code is not actually up to date. It is 5.0.0 code. PosChengband is currently 5.0.2, as is the competition.
            I believe you are incorrect.

            Comment

            • Pete Mack
              Prophet
              • Apr 2007
              • 6883

              #7
              Huh, thanks much. I wonder what I did wrong in my previous fetch. My apologies.

              Ugh. Used git fetch instead of git pull, and neglected to reset to HEAD. I always forget the details on this :/
              Last edited by Pete Mack; November 17, 2016, 21:08.

              Comment

              • chris
                PosChengband Maintainer
                • Jan 2008
                • 702

                #8
                Also, there is no such file as Makefile.win. The only supported build on Windows is with Visual Studio using Poschengband.sln ...

                Comment

                • Pete Mack
                  Prophet
                  • Apr 2007
                  • 6883

                  #9
                  Originally posted by chris
                  Also, there is no such file as Makefile.win. The only supported build on Windows is with Visual Studio using Poschengband.sln ...
                  Sure, but I am able to build with a modified version from Vanilla. Much easier than installing MSVS

                  Comment

                  • chris
                    PosChengband Maintainer
                    • Jan 2008
                    • 702

                    #10
                    Originally posted by Pete Mack
                    Sure, but I am able to build with a modified version from Vanilla. Much easier than installing MSVS
                    Easier than running Linux?

                    Was there a problem with the binaries here?

                    Comment

                    • nikheizen
                      Adept
                      • Jul 2015
                      • 144

                      #11
                      With respect to the binaries, I believe the ones for 5.0.2 were compiled in debug mode, so people without MSVS' dlls on their system wouldn't be able to run without replacing the MSVS .dll.

                      Comment

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