UPDATE: games/wrath 0.0.0.20210114

2021-02-13 Thread Paul Valencia
Hi ports@,

This updates wrath to the latest commit of the wrath-darkplaces engine
which is necessary to play the new update of the commercial game
Wrath: Aeon of Ruin.
Tested with the new game content on amd64.

Index: Makefile
===
RCS file: /cvs/ports/games/wrath/Makefile,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile
--- Makefile9 Jun 2020 16:14:49 -   1.3
+++ Makefile14 Feb 2021 05:04:19 -
@@ -2,11 +2,11 @@
 
 COMMENT =  client of wrath-darkplaces engine
 
-DISTNAME = wrath-0.0.0.20200530
+DISTNAME = wrath-0.0.0.20210114
 
 GH_ACCOUNT =   KillPixelGames
 GH_PROJECT =   wrath-darkplaces
-GH_COMMIT =7fa67fed66335554160a7c6d8b599c69b316e027
+GH_COMMIT =2e4c399f3b6428d313d408d84f9e3ac6355a857e
 
 CATEGORIES =   games
 
Index: distinfo
===
RCS file: /cvs/ports/games/wrath/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo9 Jun 2020 16:14:49 -   1.2
+++ distinfo14 Feb 2021 05:04:19 -
@@ -1,2 +1,2 @@
-SHA256 (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 
tLCgezvbEIeJqWMM4GBg7rA1RzVIQMrZ58svs8pnP/Y=
-SIZE (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 2687099
+SHA256 (wrath-0.0.0.20210114-2e4c399f.tar.gz) = 
SoI3jHCfGwHqVxx6msqL2rSXFc7bYat+XFdemRzGcIU=
+SIZE (wrath-0.0.0.20210114-2e4c399f.tar.gz) = 2687876
Index: pkg/README
===
RCS file: /cvs/ports/games/wrath/pkg/README,v
retrieving revision 1.2
diff -u -p -u -r1.2 README
--- pkg/README  9 Jun 2020 16:14:49 -   1.2
+++ pkg/README  14 Feb 2021 05:04:19 -
@@ -12,10 +12,10 @@ of the game.
 
 If you have the GOG version, you need to use innoextract to extract
 the data:
-$ innoextract setup_wrath_aeon_of_ruin_ea_1.3.1_\(64bit\)_\(38633\).exe
+$ innoextract setup_wrath_aeon_of_ruin_ea_1.4.2_\(64bit\)_\(44508\).exe
 
 To start wrath, you need to run it in a directory containing the kp1
-directory of the game or you can start wrath using the -basedir=
+directory of the game or you can start wrath using the -basedir
 option with a directory containing kp1. For example, if you copy kp1
 into a $HOME/.wrath directory:
 $ wrath -basedir $HOME/.wrath



NEW: games/mkxp

2020-08-09 Thread Paul Valencia
Hi ports@,

Attached is a new port for mkxp [1] which is an implementation of the Ruby
Game Scripting System used in "RPG Maker XP", "RPG Maker VX" and "RPG Maker
VX Ace" games.

This port needs a fork [2] of devel/sdl-sound that has SDL2 support and is
only intended to be used by mkxp. It is also attached as a new port
(devel/sdl-sound-mkxp).

Notes:
- Both ports pass port-lib-depends-check and portcheck.
- Built them on amd64/arm64 and tested mkxp on amd64 with some games.
- Both ports have no releases, so I used the GH_* variables.
- mkxp looks for ruby 2.1 but is now using the default ruby version in
  ports (currently 2.6, mentioned in ruby-module(5)).
- mkxp has vim as a BDEP because it needs xxd(1).
- Some instructions about running RPG Maker {XP,VX,VX Ace} games are
  included in mkxp's pkg README.
- The sdl-sound-mkxp port is based on sdl-sound and most of the changes
  made by the patches of sdl-sound are already included. Only patch-configure_in
  is still present on sdl-sound-mkxp and patch-playsound_physfsrwops_h is
  not included because the playsound binary is not being built.
- Originally sdl-sound and its fork has conflicts with some filenames but
  I took care of it in the Makefile by renaming SDL_sound to SDL_sound_mkxp
  for those files and made a similar change in mkxp's Makefile to look for
  SDL_sound_mkxp instead of SDL_sound.

Comments? Thoughts?

[1] https://github.com/Ancurio/mkxp
[2] https://github.com/Ancurio/SDL_sound


mkxp.tar.gz
Description: application/tar-gz


sdl-sound-mkxp.tar.gz
Description: application/tar-gz


Re: NEW: games/oshu - rhythm game

2020-08-07 Thread Paul Valencia
Hi,

ping (port reattached). Thanks for your help Brian.

On Sun, Jul 12, 2020 at 07:55:43PM +, Brian Callahan wrote:
> Hi Paul --
> 
> On Friday, July 10, 2020 11:26 AM, Paul Valencia  wrote:
> 
> > Hi ports,
> >
> > This is a new port for oshu which is a clone of osu! rhythm game.
> > Currently it only supports playing the beatmaps of osu's Standard
> > mode and you need to download them from internet (added some
> > instructions about that in pkg README).
> >
> > Pass port-lib-depends-check and portcheck. Build on amd64 and arm64
> > and only tested on amd64 with some beatmaps.
> 
> Thanks for the port. Attached is a tweaked version with the following:
> * Improved COMMENT.
> * It appears that upstream does not make any tarballs with their
> releases, so switch to the GH_* variables. Has the benefit of taking
> care of DISTNAME, PKGNAME, HOMEPAGE, and WRKDIST for you, so those
> pieces were able to be removed.
> * License marker is a little more explicit now with GPLv3 only.
> * Put a comment (C++14) explaining the COMPILER line.
> * Simplify LIB_DEPENDS.
> * Use CONFIGURE_ARGS instead of a patch to deal with needing to add
> -L${LOCALBASE}/lib in LDFLAGS.
> * Add a patch to fix a -Wformat warning from clang.
> * Fix some typos in pkg/README and hopefully make things a little bit
> clearer. I didn't really understand what you meant by Standard until I
> downloaded a beatmap that didn't work with oshu. I was able to follow
> your directions to download a beatmap, unzip it, and play.
> 
> And I learned that I am very very bad at these types of games:
> 
>   brilliant
>    // Tokoyami Towa
> 
>   Normal
>   By Hinsvar
>   _ _ _ _
> 
>   Score:
>54 good
>   391 miss
> 
> So I think I will stick with other genres for the time being, but it
> was fun to try out oshu.
> 
> ~Brian




oshu.tgz
Description: application/tar-gz


NEW: games/oshu - rhythm game

2020-07-10 Thread Paul Valencia
Hi ports,

This is a new port for oshu which is a clone of osu! rhythm game.
Currently it only supports playing the beatmaps of osu's Standard
mode and you need to download them from internet (added some
instructions about that in pkg README).

Pass port-lib-depends-check and portcheck. Build on amd64 and arm64
and only tested on amd64 with some beatmaps.


oshu.tar.gz
Description: application/tar-gz


Re: Update: games/wrath 0.0.0.20200530

2020-06-09 Thread Paul Valencia
ping.

On Sat, May 30, 2020 at 07:28:26PM -0500, Paul Valencia wrote:
> Hi ports@,
> 
> This updates wrath to the latest commit of the wrath-darkplaces engine
> which is necessary to play the new update of the commercial game
> Wrath: Aeon of Ruin.
> Tested with the new game content on amd64.

Index: Makefile
===
RCS file: /cvs/ports/games/wrath/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile6 Jun 2020 19:14:15 -   1.2
+++ Makefile9 Jun 2020 11:28:55 -
@@ -2,11 +2,11 @@
 
 COMMENT =  client of wrath-darkplaces engine
 
-DISTNAME = wrath-0.0.0.20200228
+DISTNAME = wrath-0.0.0.20200530
 
 GH_ACCOUNT =   KillPixelGames
 GH_PROJECT =   wrath-darkplaces
-GH_COMMIT =ae8a4c06f2b2b088a537bb75c439817f4a009d6a
+GH_COMMIT =7fa67fed66335554160a7c6d8b599c69b316e027
 
 CATEGORIES =   games
 
Index: distinfo
===
RCS file: /cvs/ports/games/wrath/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo25 May 2020 16:08:41 -  1.1.1.1
+++ distinfo9 Jun 2020 11:28:55 -
@@ -1,2 +1,2 @@
-SHA256 (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = 
VO36gNeK+KbhNar+7mCEQVi2Eg+3lbrYua/m2eftZ3g=
-SIZE (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = 2686672
+SHA256 (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 
tLCgezvbEIeJqWMM4GBg7rA1RzVIQMrZ58svs8pnP/Y=
+SIZE (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 2687099
Index: pkg/README
===
RCS file: /cvs/ports/games/wrath/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 README
--- pkg/README  25 May 2020 16:08:41 -  1.1.1.1
+++ pkg/README  9 Jun 2020 11:28:55 -
@@ -12,7 +12,7 @@ of the game.
 
 If you have the GOG version, you need to use innoextract to extract
 the data:
-$ innoextract setup_wrath_aeon_of_ruin_ea_1.2.1_\(36418\).exe
+$ innoextract setup_wrath_aeon_of_ruin_ea_1.3.1_\(64bit\)_\(38633\).exe
 
 To start wrath, you need to run it in a directory containing the kp1
 directory of the game or you can start wrath using the -basedir=



Re: UPDATE: games/uhexen2 1.5.9

2020-06-03 Thread Paul Valencia
Hi,

On Mon, Jun 01, 2020 at 10:20:53PM +0100, Edd Barrett wrote:
> On Mon, Jun 01, 2020 at 09:30:34PM +0100, Edd Barrett wrote:
> > Just me?
> 
> Right, after many attempts, finally got the distfile.
> 
> Small tweaks:
>  - Update pkg README about case sensitiveness of pak files.
>  - patch-hw_utils_hwmaster_Makefile: no need to append nothing to vars.
>  - patch-engine_hexen2_Makefile: tweak patch comment.
> 
> New patch below. What do you think? I reckon it's good to go.

We can mention in the pkg README too about putting the *.pak files into
$HOME/.hexen2/data1 as an alternative of /usr/local/share/uhexen2/data1
which is created when you execute hexen2 or glhexen2.

Patch with the pkg README update (I built this on amd64 and arm64 but
only tested on amd64):

Index: Makefile
===
RCS file: /cvs/ports/games/uhexen2/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile12 Jul 2019 20:46:26 -  1.9
+++ Makefile3 Jun 2020 23:11:13 -
@@ -2,13 +2,12 @@
 
 COMMENT =  Hexen II: Hammer of Thyrion
 
-V =1.5.8
+V =1.5.9
 DISTNAME = hexen2source-${V}
 PKGNAME =  uhexen2-${V}
 EXTRACT_SUFX = .tgz
 DISTFILES =${DISTNAME}${EXTRACT_SUFX} \
hexen2-${V}-linux-i586.tgz
-REVISION = 2
 
 CATEGORIES =   games
 HOMEPAGE = http://uhexen2.sourceforge.net/
Index: distinfo
===
RCS file: /cvs/ports/games/uhexen2/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo31 Dec 2016 10:48:00 -  1.2
+++ distinfo3 Jun 2020 23:11:13 -
@@ -1,4 +1,4 @@
-SHA256 (hexen2-1.5.8-linux-i586.tgz) = 
D2aTVlfAxPPjmy8IcZ/l+Sa+K5VNxYM0pl7eslDVFgM=
-SHA256 (hexen2source-1.5.8.tgz) = ++bQW0oQuC0YF/rszBiZapOybQgU/k5fbnXZSGJmBGM=
-SIZE (hexen2-1.5.8-linux-i586.tgz) = 4631311
-SIZE (hexen2source-1.5.8.tgz) = 2473776
+SHA256 (hexen2-1.5.9-linux-i586.tgz) = 
lmvSP10gvtjKyjNG5R/m8mRf3h66sqy4htQ14504ASs=
+SHA256 (hexen2source-1.5.9.tgz) = KqhMFBqCD5CHhQqs82hKX3HENEKLxXVFiZ7aG5oow+A=
+SIZE (hexen2-1.5.9-linux-i586.tgz) = 4633437
+SIZE (hexen2source-1.5.9.tgz) = 2529121
Index: patches/patch-engine_hexen2_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 patch-engine_hexen2_Makefile
--- patches/patch-engine_hexen2_Makefile20 Nov 2018 21:41:00 -  
1.3
+++ patches/patch-engine_hexen2_Makefile3 Jun 2020 23:11:13 -
@@ -1,34 +1,36 @@
 $OpenBSD: patch-engine_hexen2_Makefile,v 1.3 2018/11/20 21:41:00 naddy Exp $
 
-Use standard optimisations.
+Disable internal timidity. Use standard optimisations.
 
 Index: engine/hexen2/Makefile
 --- engine/hexen2/Makefile.orig
 +++ engine/hexen2/Makefile
-@@ -133,7 +133,7 @@ USE_CODEC_MODPLUG=no
+@@ -136,7 +136,7 @@ USE_CODEC_XMP=no
  USE_CODEC_UMX=no
  # either timidity (preferred) or wildmidi (both possible
  # but not needed nor meaningful)
 -USE_CODEC_TIMIDITY=yes
 +USE_CODEC_TIMIDITY=no
  USE_CODEC_WILDMIDI=no
- # compile timidity with DLS instruments support? (no:
- # the dls code isn't good enough and isn't used in unix
-@@ -194,12 +194,7 @@ endif
- # Overrides for the default CPUFLAGS
+ # which library to use for mp3 decoding: mad or mpg123
+ MP3LIB=mad
+@@ -198,15 +198,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += -g -Wall
+ CFLAGS += -Wall
 -CFLAGS += $(CPUFLAGS)
--ifndef DEBUG
+-ifdef DEBUG
+-CFLAGS += -g
+-else
 -# optimization flags
--CFLAGS += -O2 -DNDEBUG=1 -ffast-math -fomit-frame-pointer
+-CFLAGS += -O2 -DNDEBUG=1 -ffast-math
+-# NOTE: -fomit-frame-pointer is broken with ancient gcc versions!!
+-CFLAGS += -fomit-frame-pointer
 -endif
-+CFLAGS += -Wall
  
  CPPFLAGS=
  LDFLAGS =
-@@ -384,6 +379,9 @@ ifeq ($(TARGET_OS),unix)
+@@ -405,6 +396,9 @@ ifeq ($(TARGET_OS),unix)
  # common unix:
  
  NASMFLAGS=-f elf -d_NO_PREFIX
Index: patches/patch-engine_hexen2_server_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_server_Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-engine_hexen2_server_Makefile
--- patches/patch-engine_hexen2_server_Makefile 31 Dec 2016 10:48:00 -  
1.2
+++ patches/patch-engine_hexen2_server_Makefile 3 Jun 2020 23:11:13 -
@@ -2,19 +2,22 @@ $OpenBSD: patch-engine_hexen2_server_Mak
 
 Use standard optimisations.
 
 engine/hexen2/server/Makefile.orig Mon Jul 25 06:35:24 2016
-+++ engine/hexen2/server/Makefile  Sat Dec 31 20:44:08 2016
-@@ -66,12 +66,7 @@ endif
- # Overrides for the default CPUFLAGS
+Index: engine/hexen2/server/Makefile
+--- engine/hexen2/server/Makefile.orig
 engine/hexen2/server/Makefile
+@@ -67,15 +67,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += 

Re: sparc64 bulk build report

2020-06-03 Thread Paul Valencia
On Mon, Jun 01, 2020 at 11:24:47AM +0100, Stuart Henderson wrote:
> On 2020/06/01 11:50, Solene Rapenne wrote:
> > On Mon, 1 Jun 2020 10:42:03 +0100
> > Stuart Henderson :
> > 
> > > A summary of the failures:
> > > 
> > > On 2020/06/01 02:30, k...@openbsd.org wrote:
> > > > http://build-failures.rhaalovely.net/sparc64/2020-05-29/games/wrath.log
> > > >  
> > > 
> > > cc1: error: unrecognized command line option "-msse2"
> > 
> > Is this because -msse2 doesn't exist on sparc64?
> 
> SSE/SSE2 only exist on i386/amd64. The code has support for building
> without these but the makefile doesn't cope. This probably fixes it.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/wrath/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile  25 May 2020 16:08:41 -  1.1.1.1
> +++ Makefile  1 Jun 2020 10:21:37 -
> @@ -24,6 +24,10 @@ MAKE_FLAGS =   CC="${CC}" \
>   CFLAGS_LIBJPEG="-I${LOCALBASE}/include 
> -DLINK_TO_LIBJPEG" \
>   CPUOPTIMIZATIONS="${CFLAGS}"
>  
> +.if !(${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386)
> +MAKE_FLAGS +=CFLAGS_SSE= CFLAGS_SSE2=
> +.endif
> +
>  USE_GMAKE =  Yes
>  
>  NO_TEST =Yes

Thanks Stuart, with your diff I built wrath on arm64. I sent a diff to
update wrath last Saturday, can I include your diff in the update or is
better to bump revision here first?

Index: Makefile
===
RCS file: /cvs/ports/games/wrath/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile25 May 2020 16:08:41 -  1.1.1.1
+++ Makefile3 Jun 2020 15:51:10 -
@@ -3,6 +3,7 @@
 COMMENT =  client of wrath-darkplaces engine
 
 DISTNAME = wrath-0.0.0.20200228
+REVISION = 0
 
 GH_ACCOUNT =   KillPixelGames
 GH_PROJECT =   wrath-darkplaces
@@ -23,6 +24,10 @@ LIB_DEPENDS =devel/sdl2 \
 MAKE_FLAGS =   CC="${CC}" \
CFLAGS_LIBJPEG="-I${LOCALBASE}/include 
-DLINK_TO_LIBJPEG" \
CPUOPTIMIZATIONS="${CFLAGS}"
+
+.if !(${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386)
+MAKE_FLAGS +=  CFLAGS_SSE= CFLAGS_SSE2=
+.endif
 
 USE_GMAKE =Yes
 



Update: games/wrath 0.0.0.20200530

2020-05-30 Thread Paul Valencia
Hi ports@,

This updates wrath to the latest commit of the wrath-darkplaces engine
which is necessary to play the new update of the commercial game
Wrath: Aeon of Ruin.
Tested with the new game content on amd64.

Index: Makefile
===
RCS file: /cvs/ports/games/wrath/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile25 May 2020 16:08:41 -  1.1.1.1
+++ Makefile30 May 2020 23:50:43 -
@@ -2,11 +2,11 @@
 
 COMMENT =  client of wrath-darkplaces engine
 
-DISTNAME = wrath-0.0.0.20200228
+DISTNAME = wrath-0.0.0.20200530
 
 GH_ACCOUNT =   KillPixelGames
 GH_PROJECT =   wrath-darkplaces
-GH_COMMIT =ae8a4c06f2b2b088a537bb75c439817f4a009d6a
+GH_COMMIT =7fa67fed66335554160a7c6d8b599c69b316e027
 
 CATEGORIES =   games
 
Index: distinfo
===
RCS file: /cvs/ports/games/wrath/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo25 May 2020 16:08:41 -  1.1.1.1
+++ distinfo30 May 2020 23:50:43 -
@@ -1,2 +1,2 @@
-SHA256 (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = 
VO36gNeK+KbhNar+7mCEQVi2Eg+3lbrYua/m2eftZ3g=
-SIZE (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = 2686672
+SHA256 (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 
tLCgezvbEIeJqWMM4GBg7rA1RzVIQMrZ58svs8pnP/Y=
+SIZE (wrath-0.0.0.20200530-7fa67fed.tar.gz) = 2687099
Index: pkg/README
===
RCS file: /cvs/ports/games/wrath/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 README
--- pkg/README  25 May 2020 16:08:41 -  1.1.1.1
+++ pkg/README  30 May 2020 23:50:43 -
@@ -12,7 +12,7 @@ of the game.
 
 If you have the GOG version, you need to use innoextract to extract
 the data:
-$ innoextract setup_wrath_aeon_of_ruin_ea_1.2.1_\(36418\).exe
+$ innoextract setup_wrath_aeon_of_ruin_ea_1.3.1_\(64bit\)_\(38633\).exe
 
 To start wrath, you need to run it in a directory containing the kp1
 directory of the game or you can start wrath using the -basedir=



Re: UPDATE: games/uhexen2 1.5.9

2020-05-28 Thread Paul Valencia
ping.

On Tue, May 19, 2020 at 04:20:18PM -0600, Thomas Frohwein wrote:
> On Tue, May 19, 2020 at 07:03:23AM -0500, Paul Valencia wrote:
> [...]
> > Here is the diff to update uhexen2 to the latest version. I
> > adapted the patches (line positions) so that they still apply
> > in this version.
> > 
> > Tested some levels on amd64 with the Steam assets of the game 
> > (*.pak files) in Single Player and Co-op.
> 
> I tested it in single player briefly. Runs nicely as long as I don't
> try to turn on Anti-Aliasing - then the menu fonts start to flicker.
> 
> I don't know if that's a pre-existing or new problem. Would also defer
> details of all the CFLAGS etc changes to maintainer's comment.

Index: Makefile
===
RCS file: /cvs/ports/games/uhexen2/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile12 Jul 2019 20:46:26 -  1.9
+++ Makefile19 May 2020 11:16:02 -
@@ -2,13 +2,12 @@
 
 COMMENT =  Hexen II: Hammer of Thyrion
 
-V =1.5.8
+V =1.5.9
 DISTNAME = hexen2source-${V}
 PKGNAME =  uhexen2-${V}
 EXTRACT_SUFX = .tgz
 DISTFILES =${DISTNAME}${EXTRACT_SUFX} \
hexen2-${V}-linux-i586.tgz
-REVISION = 2
 
 CATEGORIES =   games
 HOMEPAGE = http://uhexen2.sourceforge.net/
Index: distinfo
===
RCS file: /cvs/ports/games/uhexen2/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo31 Dec 2016 10:48:00 -  1.2
+++ distinfo19 May 2020 11:16:02 -
@@ -1,4 +1,4 @@
-SHA256 (hexen2-1.5.8-linux-i586.tgz) = 
D2aTVlfAxPPjmy8IcZ/l+Sa+K5VNxYM0pl7eslDVFgM=
-SHA256 (hexen2source-1.5.8.tgz) = ++bQW0oQuC0YF/rszBiZapOybQgU/k5fbnXZSGJmBGM=
-SIZE (hexen2-1.5.8-linux-i586.tgz) = 4631311
-SIZE (hexen2source-1.5.8.tgz) = 2473776
+SHA256 (hexen2-1.5.9-linux-i586.tgz) = 
lmvSP10gvtjKyjNG5R/m8mRf3h66sqy4htQ14504ASs=
+SHA256 (hexen2source-1.5.9.tgz) = KqhMFBqCD5CHhQqs82hKX3HENEKLxXVFiZ7aG5oow+A=
+SIZE (hexen2-1.5.9-linux-i586.tgz) = 4633437
+SIZE (hexen2source-1.5.9.tgz) = 2529121
Index: patches/patch-engine_hexen2_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 patch-engine_hexen2_Makefile
--- patches/patch-engine_hexen2_Makefile20 Nov 2018 21:41:00 -  
1.3
+++ patches/patch-engine_hexen2_Makefile19 May 2020 11:16:02 -
@@ -5,30 +5,32 @@ Use standard optimisations.
 Index: engine/hexen2/Makefile
 --- engine/hexen2/Makefile.orig
 +++ engine/hexen2/Makefile
-@@ -133,7 +133,7 @@ USE_CODEC_MODPLUG=no
+@@ -136,7 +136,7 @@ USE_CODEC_XMP=no
  USE_CODEC_UMX=no
  # either timidity (preferred) or wildmidi (both possible
  # but not needed nor meaningful)
 -USE_CODEC_TIMIDITY=yes
 +USE_CODEC_TIMIDITY=no
  USE_CODEC_WILDMIDI=no
- # compile timidity with DLS instruments support? (no:
- # the dls code isn't good enough and isn't used in unix
-@@ -194,12 +194,7 @@ endif
- # Overrides for the default CPUFLAGS
+ # which library to use for mp3 decoding: mad or mpg123
+ MP3LIB=mad
+@@ -198,15 +198,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += -g -Wall
+ CFLAGS += -Wall
 -CFLAGS += $(CPUFLAGS)
--ifndef DEBUG
+-ifdef DEBUG
+-CFLAGS += -g
+-else
 -# optimization flags
--CFLAGS += -O2 -DNDEBUG=1 -ffast-math -fomit-frame-pointer
+-CFLAGS += -O2 -DNDEBUG=1 -ffast-math
+-# NOTE: -fomit-frame-pointer is broken with ancient gcc versions!!
+-CFLAGS += -fomit-frame-pointer
 -endif
-+CFLAGS += -Wall
  
  CPPFLAGS=
  LDFLAGS =
-@@ -384,6 +379,9 @@ ifeq ($(TARGET_OS),unix)
+@@ -405,6 +396,9 @@ ifeq ($(TARGET_OS),unix)
  # common unix:
  
  NASMFLAGS=-f elf -d_NO_PREFIX
Index: patches/patch-engine_hexen2_server_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_server_Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-engine_hexen2_server_Makefile
--- patches/patch-engine_hexen2_server_Makefile 31 Dec 2016 10:48:00 -  
1.2
+++ patches/patch-engine_hexen2_server_Makefile 19 May 2020 11:16:02 -
@@ -2,19 +2,22 @@ $OpenBSD: patch-engine_hexen2_server_Mak
 
 Use standard optimisations.
 
 engine/hexen2/server/Makefile.orig Mon Jul 25 06:35:24 2016
-+++ engine/hexen2/server/Makefile  Sat Dec 31 20:44:08 2016
-@@ -66,12 +66,7 @@ endif
- # Overrides for the default CPUFLAGS
+Index: engine/hexen2/server/Makefile
+--- engine/hexen2/server/Makefile.orig
 engine/hexen2/server/Makefile
+@@ -67,15 +67,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += -g -Wall
+ CFLAGS += -Wall
 -CFLAGS += $(CPUFLAGS)
--ifndef DEBUG
+-ifdef DEBUG
+-CFLAGS += -g
+-else
 -# optimization flags
--CFLAGS += -O2

UPDATE: games/uhexen2 1.5.9

2020-05-19 Thread Paul Valencia
Hi,

Here is the diff to update uhexen2 to the latest version. I
adapted the patches (line positions) so that they still apply
in this version.

Tested some levels on amd64 with the Steam assets of the game 
(*.pak files) in Single Player and Co-op.

Index: Makefile
===
RCS file: /cvs/ports/games/uhexen2/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile12 Jul 2019 20:46:26 -  1.9
+++ Makefile19 May 2020 11:16:02 -
@@ -2,13 +2,12 @@
 
 COMMENT =  Hexen II: Hammer of Thyrion
 
-V =1.5.8
+V =1.5.9
 DISTNAME = hexen2source-${V}
 PKGNAME =  uhexen2-${V}
 EXTRACT_SUFX = .tgz
 DISTFILES =${DISTNAME}${EXTRACT_SUFX} \
hexen2-${V}-linux-i586.tgz
-REVISION = 2
 
 CATEGORIES =   games
 HOMEPAGE = http://uhexen2.sourceforge.net/
Index: distinfo
===
RCS file: /cvs/ports/games/uhexen2/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo31 Dec 2016 10:48:00 -  1.2
+++ distinfo19 May 2020 11:16:02 -
@@ -1,4 +1,4 @@
-SHA256 (hexen2-1.5.8-linux-i586.tgz) = 
D2aTVlfAxPPjmy8IcZ/l+Sa+K5VNxYM0pl7eslDVFgM=
-SHA256 (hexen2source-1.5.8.tgz) = ++bQW0oQuC0YF/rszBiZapOybQgU/k5fbnXZSGJmBGM=
-SIZE (hexen2-1.5.8-linux-i586.tgz) = 4631311
-SIZE (hexen2source-1.5.8.tgz) = 2473776
+SHA256 (hexen2-1.5.9-linux-i586.tgz) = 
lmvSP10gvtjKyjNG5R/m8mRf3h66sqy4htQ14504ASs=
+SHA256 (hexen2source-1.5.9.tgz) = KqhMFBqCD5CHhQqs82hKX3HENEKLxXVFiZ7aG5oow+A=
+SIZE (hexen2-1.5.9-linux-i586.tgz) = 4633437
+SIZE (hexen2source-1.5.9.tgz) = 2529121
Index: patches/patch-engine_hexen2_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 patch-engine_hexen2_Makefile
--- patches/patch-engine_hexen2_Makefile20 Nov 2018 21:41:00 -  
1.3
+++ patches/patch-engine_hexen2_Makefile19 May 2020 11:16:02 -
@@ -5,30 +5,32 @@ Use standard optimisations.
 Index: engine/hexen2/Makefile
 --- engine/hexen2/Makefile.orig
 +++ engine/hexen2/Makefile
-@@ -133,7 +133,7 @@ USE_CODEC_MODPLUG=no
+@@ -136,7 +136,7 @@ USE_CODEC_XMP=no
  USE_CODEC_UMX=no
  # either timidity (preferred) or wildmidi (both possible
  # but not needed nor meaningful)
 -USE_CODEC_TIMIDITY=yes
 +USE_CODEC_TIMIDITY=no
  USE_CODEC_WILDMIDI=no
- # compile timidity with DLS instruments support? (no:
- # the dls code isn't good enough and isn't used in unix
-@@ -194,12 +194,7 @@ endif
- # Overrides for the default CPUFLAGS
+ # which library to use for mp3 decoding: mad or mpg123
+ MP3LIB=mad
+@@ -198,15 +198,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += -g -Wall
+ CFLAGS += -Wall
 -CFLAGS += $(CPUFLAGS)
--ifndef DEBUG
+-ifdef DEBUG
+-CFLAGS += -g
+-else
 -# optimization flags
--CFLAGS += -O2 -DNDEBUG=1 -ffast-math -fomit-frame-pointer
+-CFLAGS += -O2 -DNDEBUG=1 -ffast-math
+-# NOTE: -fomit-frame-pointer is broken with ancient gcc versions!!
+-CFLAGS += -fomit-frame-pointer
 -endif
-+CFLAGS += -Wall
  
  CPPFLAGS=
  LDFLAGS =
-@@ -384,6 +379,9 @@ ifeq ($(TARGET_OS),unix)
+@@ -405,6 +396,9 @@ ifeq ($(TARGET_OS),unix)
  # common unix:
  
  NASMFLAGS=-f elf -d_NO_PREFIX
Index: patches/patch-engine_hexen2_server_Makefile
===
RCS file: /cvs/ports/games/uhexen2/patches/patch-engine_hexen2_server_Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-engine_hexen2_server_Makefile
--- patches/patch-engine_hexen2_server_Makefile 31 Dec 2016 10:48:00 -  
1.2
+++ patches/patch-engine_hexen2_server_Makefile 19 May 2020 11:16:02 -
@@ -2,19 +2,22 @@ $OpenBSD: patch-engine_hexen2_server_Mak
 
 Use standard optimisations.
 
 engine/hexen2/server/Makefile.orig Mon Jul 25 06:35:24 2016
-+++ engine/hexen2/server/Makefile  Sat Dec 31 20:44:08 2016
-@@ -66,12 +66,7 @@ endif
- # Overrides for the default CPUFLAGS
+Index: engine/hexen2/server/Makefile
+--- engine/hexen2/server/Makefile.orig
 engine/hexen2/server/Makefile
+@@ -67,15 +67,6 @@ endif
  CPUFLAGS=$(CPU_X86)
  
--CFLAGS += -g -Wall
+ CFLAGS += -Wall
 -CFLAGS += $(CPUFLAGS)
--ifndef DEBUG
+-ifdef DEBUG
+-CFLAGS += -g
+-else
 -# optimization flags
--CFLAGS += -O2 -DNDEBUG=1 -ffast-math -fomit-frame-pointer
+-CFLAGS += -O2 -DNDEBUG=1 -ffast-math
+-# NOTE: -fomit-frame-pointer is broken with ancient gcc versions!!
+-CFLAGS += -fomit-frame-pointer
 -endif
-+CFLAGS += -Wall
  
  CPPFLAGS=
  LDFLAGS =
Index: patches/patch-engine_hexenworld_client_Makefile
===
RCS file: 
/cvs/ports/games/uhexen2/patches/patch-engine_hexenworld_client_Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 

Re: depotdownloader doesn't work after mono update

2020-04-13 Thread Paul Valencia
It's working again, thank you so much.

On Mon, Apr 13, 2020 at 09:26:48PM +0200, Robert Nagy wrote:
> fixored. explanation is in the commit
> 
> On 13/04/20 13:13 -0500, Paul Valencia wrote:
> > Hi,
> > 
> > I tested depotdownloader-2.3.2 on -current (6.7 GENERIC.MP#125) with
> > mono-6.8.0.105 and found that I cannot connect to Steam anymore:
> > 
> > $ depotdownloader -app X -username reivyr -password X
> > Connecting to Steam3...Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Connection to Steam failed. Trying again
> > Timeout connecting to Steam3.
> > Unable to get steam3 credentials.
> > Error: InitializeSteam failed
> > 
> > 
> > And there was an update today on depotdownloader to 2.3.3 and with the
> > new -debug flag I get this log [1]
> > 
> > But if I tested on -release (6.6 GENERIC#7) with mono-5.20.1.34 and
> > depotdownloader-2.3.1 it works:
> > 
> > $ depotdownloader -app X -username reivyr -password X
> > Connecting to Steam3...[ServerList] Resolving server list
> > [ServerList] Server list provider had no entries, will query SteamDirectory
> > [ServerList] Resolved 200 servers
> > [ServerList] Next server candidiate: 155.133.248.37:27020 (Tcp)
> > [TcpConnection] Connecting to 155.133.248.37:27020...
> > [TcpConnection] Connected to 155.133.248.37:27020
> > [EnvelopeEncryptedConnection] Got encryption request. Universe: Public 
> > Protocol ver: 1
> > [EnvelopeEncryptedConnection] Encryption result: OK
> >  Done!
> > Logging 'reivyr' into Steam3...[CMClient] Sent -> EMsg: ClientLogon (Proto: 
> > True)
> > [CMClient] <- Recv'd EMsg: Multi (1) (Proto: True)
> > [CMClient] <- Recv'd EMsg: ClientLogOnResponse (751) (Proto: True)
> > Disconnected from Steam
> > This account is protected by Steam Guard.
> > Please enter the authentication code sent to your email address:
> > 
> > 
> > Finally, I tried 2.3.3 from GitHub[2] on -release and it worked too:
> > 
> > $ mono DepotDownloader.dll -app X -username reivyr -password X
> > Connecting to Steam3... Done!
> > This account is protected by Steam Guard.
> > Please enter the authentication code sent to your email address:
> > 
> > 
> > On depotdownloader readme [3] indicates that it supports .NET Core 2.0
> > and on dotnet GitHub that it's compatible with mono-5 [4] 
> > 
> > [1] 
> > https://gist.githubusercontent.com/reivyr/e31b77a451d823477e192643d4c71a55/raw/cf9ca2311955d5d627289d061c382fb18cd6b584/depotdownloader-current-log
> > [2] 
> > https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.3.3/depotdownloader-2.3.3.zip
> > [3] https://github.com/SteamRE/DepotDownloader/blob/master/README.md
> > [4] https://github.com/dotnet/standard/blob/master/docs/versions.md
> 
> -- 
> Regards,
> Robert Nagy
> 



depotdownloader doesn't work after mono update

2020-04-13 Thread Paul Valencia
Hi,

I tested depotdownloader-2.3.2 on -current (6.7 GENERIC.MP#125) with
mono-6.8.0.105 and found that I cannot connect to Steam anymore:

$ depotdownloader -app X -username reivyr -password X
Connecting to Steam3...Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Connection to Steam failed. Trying again
Timeout connecting to Steam3.
Unable to get steam3 credentials.
Error: InitializeSteam failed


And there was an update today on depotdownloader to 2.3.3 and with the
new -debug flag I get this log [1]

But if I tested on -release (6.6 GENERIC#7) with mono-5.20.1.34 and
depotdownloader-2.3.1 it works:

$ depotdownloader -app X -username reivyr -password X
Connecting to Steam3...[ServerList] Resolving server list
[ServerList] Server list provider had no entries, will query SteamDirectory
[ServerList] Resolved 200 servers
[ServerList] Next server candidiate: 155.133.248.37:27020 (Tcp)
[TcpConnection] Connecting to 155.133.248.37:27020...
[TcpConnection] Connected to 155.133.248.37:27020
[EnvelopeEncryptedConnection] Got encryption request. Universe: Public Protocol 
ver: 1
[EnvelopeEncryptedConnection] Encryption result: OK
 Done!
Logging 'reivyr' into Steam3...[CMClient] Sent -> EMsg: ClientLogon (Proto: 
True)
[CMClient] <- Recv'd EMsg: Multi (1) (Proto: True)
[CMClient] <- Recv'd EMsg: ClientLogOnResponse (751) (Proto: True)
Disconnected from Steam
This account is protected by Steam Guard.
Please enter the authentication code sent to your email address:


Finally, I tried 2.3.3 from GitHub[2] on -release and it worked too:

$ mono DepotDownloader.dll -app X -username reivyr -password X
Connecting to Steam3... Done!
This account is protected by Steam Guard.
Please enter the authentication code sent to your email address:


On depotdownloader readme [3] indicates that it supports .NET Core 2.0
and on dotnet GitHub that it's compatible with mono-5 [4] 

[1] 
https://gist.githubusercontent.com/reivyr/e31b77a451d823477e192643d4c71a55/raw/cf9ca2311955d5d627289d061c382fb18cd6b584/depotdownloader-current-log
[2] 
https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.3.3/depotdownloader-2.3.3.zip
[3] https://github.com/SteamRE/DepotDownloader/blob/master/README.md
[4] https://github.com/dotnet/standard/blob/master/docs/versions.md



Re: [NEW] games/wrath

2020-04-10 Thread Paul Valencia
On Fri, Apr 10, 2020 at 01:44:54PM +0200, Solene Rapenne wrote:
> On Fri, Apr 10, 2020 at 02:40:22AM -0500, Paul Valencia wrote:
> > Hi,
> > 
> > Here is a new port for the wrath-darkplaces engine [1]
> > which is used in the game WRATH: Aeon of Ruin.
> > 
> > Some notes about this:
> > 
> > - There is no release, so I used GH_COMMIT
> > 
> > - Pass port-lib-depends-check and portcheck
> > 
> > - I used games/xonotic as a reference for this port
> > since it is related to the darkplaces engine.
> > 
> > - I renamed the binary to wrath as a recommendation
> > here [2]
> > 
> > - I tested the three levels of the game on amd64
> > 
> > - In the game, I found an issue with the mouse when
> > you have different artifacts(3+) in your inventory
> > that only allows you to select the extreme left/right
> > artifact.
> > 
> > OK's? Comments?
> > 
> > [1] https://github.com/KillPixelGames/wrath-darkplaces
> > [2] https://github.com/KillPixelGames/wrath-darkplaces#running
> 
> the port looks fine to me (and works well) altough
> 
> - README should explain that you need to run wrath binary in a directory
>   where the folder kp1 is available, or that you can use some args for
>   that (at least the game tell you to use -basedir to find the assets)
> - version maybe be 20200228 instead of adding 0.0.0 as a prefix to
>   commit date?

Here is the port with the README change. I use the prefix 0.0.0
for the version because there may be an official release in the
future (e.g. 1.X.X) and to avoid EPOCH if that happens.

Thanks for your input.


wrath.tgz
Description: application/tar-gz


[NEW] games/wrath

2020-04-10 Thread Paul Valencia
Hi,

Here is a new port for the wrath-darkplaces engine [1]
which is used in the game WRATH: Aeon of Ruin.

Some notes about this:

- There is no release, so I used GH_COMMIT

- Pass port-lib-depends-check and portcheck

- I used games/xonotic as a reference for this port
since it is related to the darkplaces engine.

- I renamed the binary to wrath as a recommendation
here [2]

- I tested the three levels of the game on amd64

- In the game, I found an issue with the mouse when
you have different artifacts(3+) in your inventory
that only allows you to select the extreme left/right
artifact.

OK's? Comments?

[1] https://github.com/KillPixelGames/wrath-darkplaces
[2] https://github.com/KillPixelGames/wrath-darkplaces#running


wrath.tgz
Description: application/tar-gz