Added a new game package NBlood - reverse-engineered port of Build
games using EDuke32 engine
This commit is contained in:
parent
e66a4a1ddd
commit
0646ced818
|
@ -0,0 +1,23 @@
|
|||
TODO: Adjust the following lines from README.md
|
||||
|
||||
# NBlood / Rednukem / PCExhumed
|
||||
Reverse-engineered ports of Build games using EDuke32 engine technology and development principles
|
||||
|
||||
## NBlood
|
||||
Blood port based on EDuke32
|
||||
|
||||
### Installing
|
||||
1. Extract NBlood to a new directory
|
||||
2. Copy the following files from Blood 1.21 to NBlood folder:
|
||||
|
||||
BLOOD.INI
|
||||
BLOOD.RFF
|
||||
BLOOD000.DEM-BLOOD003.DEM (optional)
|
||||
CP01.MAP-CP09.MAP (optional, Cryptic Passage)
|
||||
CPART07.AR_ (optional, Cryptic Passage)
|
||||
CPART15.AR_ (optional, Cryptic Passage)
|
||||
CPBB01.MAP-CPBB04.MAP (optional, Cryptic Passage)
|
||||
CPSL.MAP (optional, Cryptic Passage)
|
||||
CRYPTIC.INI (optional, Cryptic Passage)
|
||||
CRYPTIC.SMK (optional, Cryptic Passage)
|
||||
...
|
|
@ -0,0 +1,14 @@
|
|||
===========================================================================
|
||||
$NetBSD$
|
||||
The data seg size is too low and needs to be raised above 2GB !
|
||||
Please run the following command (under the user that executed nblood)
|
||||
for nblood to work on NetBSD
|
||||
|
||||
$ ulimit -d 2097152
|
||||
|
||||
To run the game, copy the original Blood datapack files and from
|
||||
that directory execute nblood
|
||||
|
||||
To play Cryptic Passage execute nblood -ini CRYPTIC.INI from the game
|
||||
datadir
|
||||
===========================================================================
|
|
@ -0,0 +1,47 @@
|
|||
# $NetBSD$
|
||||
|
||||
GITHUB_PROJECT= NBlood
|
||||
GITHUB_TAG= 197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095
|
||||
DISTNAME= NBlood-current
|
||||
PKGNAME= NBlood-current
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=nukeykt/}
|
||||
EXTRACT_SUFX= .zip
|
||||
DIST_SUBDIR= ${GITHUB_PROJECT}
|
||||
|
||||
MAINTAINER= astr0b4by@gmail.com
|
||||
HOMEPAGE= https://github.com/nukeykt/NBlood/
|
||||
COMMENT= Reverse-engineered Blood
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
WRKSRC= ${WRKDIR}/NBlood-197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
USE_TOOLS+= gmake pkg-config
|
||||
NO_CONFIGURE= yes
|
||||
MAKE_ENV+= prefix=${PREFIX}
|
||||
MAKE_FILE= GNUmakefile
|
||||
|
||||
|
||||
BUILD_DEPENDS= nasm-[0-9]*:../../devel/nasm
|
||||
|
||||
BUILD_MAKE_FLAGS+= LTO=0 RELEASE=1 USE_LIBVPX=0
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nblood ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rednukem ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pcexhumed ${DESTDIR}${PREFIX}/bin
|
||||
|
||||
.include "../../audio/SDL2_mixer/buildlink3.mk"
|
||||
.include "../../graphics/glu/buildlink3.mk"
|
||||
.include "../../audio/flac/buildlink3.mk"
|
||||
.include "../../audio/libvorbis/buildlink3.mk"
|
||||
.include "../../devel/SDL2/buildlink3.mk"
|
||||
.include "../../devel/libexecinfo/buildlink3.mk"
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.include "../../graphics/png/buildlink3.mk"
|
||||
.include "../../multimedia/libogg/buildlink3.mk"
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,4 @@
|
|||
@comment $NetBSD$
|
||||
bin/nblood
|
||||
bin/pcexhumed
|
||||
bin/rednukem
|
|
@ -0,0 +1,8 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (NBlood/NBlood-current-197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095.zip) = c017f299945f98c0ddd91fe465a97eb0a0d49230
|
||||
RMD160 (NBlood/NBlood-current-197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095.zip) = c7b6c4ec9b842599835e42f82e5752548c490349
|
||||
SHA512 (NBlood/NBlood-current-197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095.zip) = aca2b31786dedbf207e8392d74055c8c3f097e432892217f66c0bda0b6e3613e23ab8a25fb5e5ceb57be3b36198f47089e1169da0ee681562f89d3493973e01d
|
||||
Size (NBlood/NBlood-current-197c38fe2a6a05cfd35c1c9bb039dcbee6e9c095.zip) = 35988447 bytes
|
||||
SHA1 (patch-gnumakefile) = 5d596dffcb906a14d6329ed7753f85aeab7599c5
|
||||
SHA1 (patch-mmulti.cpp) = faa77608cb3a60f5bada13351a34ae9f6b06fc9e
|
|
@ -0,0 +1,16 @@
|
|||
$NetBSD$
|
||||
|
||||
Was failing without this with GNUMakefile Error 1
|
||||
|
||||
--- GNUmakefile.orig 2020-05-21 14:39:30.000000000 +0000
|
||||
+++ GNUmakefile
|
||||
@@ -1442,8 +1442,7 @@ all: \
|
||||
rr \
|
||||
exhumed \
|
||||
|
||||
-start:
|
||||
- $(BUILD_STARTED)
|
||||
+start: blood
|
||||
|
||||
tools: $(addsuffix $(EXESUFFIX),$(tools_targets)) | start
|
||||
@$(call LL,$^)
|
|
@ -0,0 +1,24 @@
|
|||
$NetBSD$
|
||||
|
||||
Add undeclared AI_* for NetBSD
|
||||
|
||||
--- source/build/src/mmulti.cpp.orig 2020-03-10 00:00:02.000000000 +0000
|
||||
+++ source/build/src/mmulti.cpp
|
||||
@@ -68,6 +68,17 @@ LPFN_WSARECVMSG WSARecvMsgPtr;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifndef AI_ALL
|
||||
+# define AI_ALL 0
|
||||
+#endif
|
||||
+#ifndef AI_V4MAPPED
|
||||
+# define AI_V4MAPPED 0
|
||||
+#endif
|
||||
+#ifndef AI_ADDRCONFIG
|
||||
+# define AI_ADDRCONFIG 0
|
||||
+#endif
|
||||
+
|
||||
+
|
||||
#include <unistd.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
Loading…
Reference in New Issue