Created attachment 227910 [details] The new port Hello. I ported Amnesia: The Dark Descent on FreeBSD. Unfortunatelly, I suppose it will work only on x86-64 (I simply have no means to debug it on other platforms and the possibility there are some bugs is high), so I included ONLY_FOR_ARCHS= amd64. The game is playable to the end. You will need to buy a copy in order to play.
See Also: OpenBSD port submission: https://marc.info/?l=openbsd-ports&m=163504179010845&w=2
Is there any collaboration between all forks and is there something we need/should pull in? https://github.com/FrictionalGames/AmnesiaTheDarkDescent/network PORTVERSION should also be DISTVERSION https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github-description Thanks for your submission!
> PORTVERSION should also be DISTVERSION Aha! Should it be enough to replace PORTVERSION with DISTVERSION? > Is there any collaboration between all forks Not much. I got some help from buzer2020 (https://github.com/buzer2020/Amnesia64) and merged a pull request from brynet (https://github.com/shamazmazum/AmnesiaTheDarkDescent/pull/1). Other forks provide some additional features like map editor and support for models in a proprietary FBX format which I had to disable (these features do not affect the gameplay), so I did not send any pull requests to anyone.
(In reply to shamaz.mazum from comment #3) I see, in that case DISTVERSION should be the only needed change. Best regards, Daniel
Created attachment 229184 [details] Here is an updated port OK, I send an updated port archive
What stops this port from being merged?
I'll give this a go in Poudreire
Sorry for the wait! Poudriere checks out fine, I'll commit this tomorrow.
Created attachment 232688 [details] Updated version
(In reply to Daniel Engberg from comment #8) No problem! But there is an important bugfix, so I updated the port. Please make sure to commit the new version. For some reason clang13 does not respect -fno-strict-aliasing as clang12 does, so I added a quick fix to Newton engine to avoid segfault on startup when built with clang13.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=70f7b09d39ce4c4190dc0e8baa23c5b6fc526639 commit 70f7b09d39ce4c4190dc0e8baa23c5b6fc526639 Author: Vasily Postnicov <shamaz.mazum@gmail.com> AuthorDate: 2022-03-31 17:28:56 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-03-31 17:35:30 +0000 games/amnesia-tdd: New port: Amnesia: The Dark Descent Amnesia: The Dark Descent is a survival horror adventure video game featuring a protagonist named Daniel exploring a dark and foreboding castle called Brennenburg, while trying to maintain his sanity by avoiding monsters and unsettling events. PR: 258509 games/Makefile | 1 + games/amnesia-tdd/Makefile (new) | 38 ++++++++++++++++++++++++++++ games/amnesia-tdd/distinfo (new) | 3 +++ games/amnesia-tdd/files/pkg-message.in (new) | 9 +++++++ games/amnesia-tdd/pkg-descr (new) | 8 ++++++ games/amnesia-tdd/pkg-plist (new) | 2 ++ 6 files changed, 61 insertions(+)
Committed, sorry for the wait.