Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old November 17, 2016, 05:46   #1
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,643
Donated: $40
Pete Mack is on a distinguished road
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?
Pete Mack is offline   Reply With Quote
Old November 17, 2016, 06:06   #2
nikheizen
Apprentice
 
Join Date: Jul 2015
Posts: 81
nikheizen is on a distinguished road
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.
nikheizen is offline   Reply With Quote
Old November 17, 2016, 06:29   #3
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,643
Donated: $40
Pete Mack is on a distinguished road
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 at 07:00.
Pete Mack is offline   Reply With Quote
Old November 17, 2016, 16:52   #4
nikheizen
Apprentice
 
Join Date: Jul 2015
Posts: 81
nikheizen is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
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.
nikheizen is offline   Reply With Quote
Old November 17, 2016, 17:32   #5
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,643
Donated: $40
Pete Mack is on a distinguished road
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.
Pete Mack is offline   Reply With Quote
Old November 17, 2016, 17:45   #6
nikheizen
Apprentice
 
Join Date: Jul 2015
Posts: 81
nikheizen is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
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.
nikheizen is offline   Reply With Quote
Old November 17, 2016, 19:05   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,643
Donated: $40
Pete Mack is on a distinguished road
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 at 20:08.
Pete Mack is offline   Reply With Quote
Old December 1, 2016, 15:17   #8
chris
PosChengband Maintainer
 
Join Date: Jan 2008
Posts: 689
chris is on a distinguished road
Also, there is no such file as Makefile.win. The only supported build on Windows is with Visual Studio using Poschengband.sln ...
chris is offline   Reply With Quote
Old December 1, 2016, 15:40   #9
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 3,643
Donated: $40
Pete Mack is on a distinguished road
Quote:
Originally Posted by chris View Post
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
Pete Mack is offline   Reply With Quote
Old December 1, 2016, 15:46   #10
chris
PosChengband Maintainer
 
Join Date: Jan 2008
Posts: 689
chris is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
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?
chris is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Angband from Github and compiling it Magnate Development 114 December 17, 2016 22:58
Angband master branch reset on Github Nick Development 2 October 28, 2014 01:26
github question nppangband Development 4 September 26, 2012 09:52
Github for Windows Nick Development 0 May 30, 2012 05:25
Github help nppangband Development 9 September 20, 2011 21:11


All times are GMT +1. The time now is 19:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.