pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openmohaa: update to openmohaa-0.81.1



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sun Jun 29 22:56:05 2025 +0200
Changeset:	f7dfe70664ec37da3381a8919a46abda8107acd0

Modified Files:
	openmohaa/Makefile
	openmohaa/distinfo
	openmohaa/patches/patch-CMakeLists.txt

Log Message:
openmohaa: update to openmohaa-0.81.1

v0.81.1-beta
============

This tiny patch quickly fixes the following important issues:

 * Fixed the text of pulldown elements being invisible on some menus
 * Fixed the server not taking the client rate into account and
   transmitting network fragments too fast, this may be the reason
   why some clients were unable to connect

v0.81.0-beta
============

macOS binaries are now released as universal binaries.

Signed and notarized macOS builds are available here:

 * https://www.macsourceports.com/game/mohaa
 * https://www.sl-soft.de/en/openmohaa-launcher (with a Launcher)

Highlights

 * 4K HUD support (HUD and UI elements are scaled for resolutions
   above 1920x1080)
 * Audio IMA-ADPCM WAV support (sea sounds in the d-day mission
   landing, subpen sound in Flughafen MP map...)
 * FOV is now adjusted based on the aspect ratio
 * Lot of bugfixes (AI, gameplay/round, mods/scripts, issues in
   long matches, UI...)

General

 * Don't execute newconfig.cfg anymore as it overrides
   graphical settings
 * Fixed letters with diacritic not being parsed nor displayed
   correctly in Spearhead and Breakthrough
 * Fixed a crash that would occur on some custom maps with a lot
   of grid patches (increased MAX_PATCH_PLANES)
 * Fixed a rare crash that would occur when rendering static models
   under certain configurations
 * Fixed a stack overflow crash that would occur with a name of more
   than 30 characters
 * Some errors that show in console will only print in developer
   mode now (developer set to 1), as those are not relevant for the
   end-user
 * The unnamedsoldier.cfg configuration file will be used as a
   template for creating the omconfig.cfg configuration file if the
   latter doesn't exist

Client

 * Added support for smaller lightmaps (BSP files having _sml suffix).
   Smaller lightmaps are enabled at startup when the texture detail
   is set to Low and if the map supports it (single-player levels of
   Spearhead and Breakthrough), useful for old low-end hardware
 * Added a new variable to customize the FOV client-side cg_fov
   (defaults to 80), the FOV is no longer an ephemeral server-side
   setting
 * Fixed the client getting stuck in the loading screen when
   disconnected due to an error
 * Fixed the client loading the map twice when the server restarts
   and change map immediately
 * Fixed the first person model not matching the player model
 * The FOV is automatically adjusted depending on the aspect ratio

Audio

The OpenAL library has been updated to version 1.24.1.

 * Added support for IMA-ADPCM Wave sound files (4-bit compressed
   sound). Sounds such as sea waves (in the d-day landing mission)
   and subpen are now played accordingly

User interface

 * Automatically scale UI and HUD for resolutions above 1920x1080
   (support for 2K and above). UI and HUD elements no longer look
   tiny on 4K resolutions
 * Fixed an issue when resizing an in-game window, the window would
   stop being resized when the mouse was rapidly moving
 * Fixed huddraw elements being wrongly positioned on wide screen
   when elements have virtualscale enabled
 * Fixed pulldown menus being improperly focused and activated at
   the same time
 * Fixed the crosshair being too small or hidden when a lower
   Texture Detail value (r_picmip) is set
 * Properly handle long strings in the chat message box and in the
   game message box

Server

 * Fixed the result of the status command which prevented tools like Advanced Security from getting IP addresses (note: Advanced Security doesn't support IPv6 addresses)
 * Fixed an issue where connecting clients would disconnect with the error tried to parse cg message without cgame loaded. This issue occurs in original 1.11, but was fixed in original 2.0 (Spearhead and Breakthrough)

Game Module
AI & MP bots

 * Fixed singleplayer AI not aiming at the enemy while taking cover
 * Fixed singleplayer AI not dropping weapons if forcedropweapon is set on the sentient and weapon drops are disabled in the level (should be better for Breakthrough single-player maps)
 * Fixed a random crash that would occur when using multiplayer bots
 * Improved multiplayer bot logic

Chat

 * Fixed game messages not having a newline
 * Fixed letters with accents not displaying in the chat box

Gameplay

 * Fixed doors closing immediately when blocked (this bug also
   occurs in the original game)
 * Fixed smoke grenades not reapparing when loading from save
 * Fixed vehicle tank tandem causing a crash when a single turret
   was attached
 * Make players non-solid when they're a passenger in a vehicle
   (fixes players getting hit/damaged by the moving vehicle)
 * Prevent the player from going out of the maximum world bounds
   in noclip mode (as in mohaas/mohaab)
 * Prevent the player from shooting silently by firing and dropping
   the weapon at the exact same time (this is trick is possible in
   the original game)
 * When a door is blocked (voluntarily by a player or not), it will
   now try to open again in the other direction, to make the door
   not impossible to open (this is also an issue in the original
   game)

Multiplayer

 * Fixed a bug that would make the player die or spawn with no
   inventory. This occurs when getting killed and respawning
   immediately (this bug also occurs in the original game)
 * Fixed an issue where remote clients would lose track of other
   clients team that have changed their name
 * Fixed players getting the score from previous maps if they
   reconnect at the right moment (this bug also occurs in the
   original game)
 * Fixed players deaths (or total kills) being added twice in
   round-based matches
 * Fixed spawn metrics being terrible in FFA (like players
   respawning right behind other players)
 * Fixed teamkill kick not displayed in Spearhead and Breakthrough
 * Fixed the match not ending after the clock reached 0:00 in
   round-based games

Scripts

 * Fixed an infinite loop that would very rarely occur when an
   entity is removed from script (this can also occur in the
   original game)
 * Fixed script lexer errors (this occured mainly for
   custom maps/mods)
 * Fixed unusual issues that could occur in mods during very long
   matches (e.g., over 24 hours) due to floating-point precision
   loss in script wait times. For example with JVMF (recoil
   emulation), ammo would be randomly consumed when firing

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f7dfe70664ec37da3381a8919a46abda8107acd0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openmohaa/Makefile                     |  2 +-
 openmohaa/distinfo                     |  8 ++++----
 openmohaa/patches/patch-CMakeLists.txt | 10 ----------
 3 files changed, 5 insertions(+), 15 deletions(-)

diffs:
diff --git a/openmohaa/Makefile b/openmohaa/Makefile
index 693fbf97cf..d745fd490a 100644
--- a/openmohaa/Makefile
+++ b/openmohaa/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 GITHUB_TAG=	v${PKGVERSION_NOREV}
-DISTNAME=	openmohaa-0.80.0
+DISTNAME=	openmohaa-0.81.1
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=openmoh/}
 
diff --git a/openmohaa/distinfo b/openmohaa/distinfo
index ee0e65487c..e83d6d49d0 100644
--- a/openmohaa/distinfo
+++ b/openmohaa/distinfo
@@ -1,9 +1,9 @@
 $NetBSD$
 
-BLAKE2s (openmohaa-0.80.0.tar.gz) = ed6b3d2ead4ff41d52eae115113a8c46410f813d6b4bac5b662ed370e901b56a
-SHA512 (openmohaa-0.80.0.tar.gz) = 44c6b8ff4e70d9cc390fa10e6ab66163bad341d5a99784aadfd4bc5dd45d29cdde8020231b885c7de50bdfdf8dbcb99e283ce518b5f929010fe27418f0f072cd
-Size (openmohaa-0.80.0.tar.gz) = 35038966 bytes
-SHA1 (patch-CMakeLists.txt) = 4b2bf76c25bebad5d19c4fdce571ad9d9c2cc53c
+BLAKE2s (openmohaa-0.81.1.tar.gz) = afde4bc7807d01dc22a5e98a16e4bd62e73f92e18d93386db5ce8aa030b5059a
+SHA512 (openmohaa-0.81.1.tar.gz) = c1d07d66e711ba4425a162f18ce3cd1da0aa78b1bb9a98440f9f8124a99b8c117a162f1faa51743957ca7bdb43c6f8074e840dcaf247154d0c054b67dd49f5f0
+Size (openmohaa-0.81.1.tar.gz) = 34982085 bytes
+SHA1 (patch-CMakeLists.txt) = a7072bf903711982482f82ac3f1510d50485b343
 SHA1 (patch-code_client_cl__input.cpp) = 8a0305d028d38c159b3dd3c3a562e3ecdcc782bd
 SHA1 (patch-code_fgame_VehicleTank.cpp) = b881248148077a9aee7071f849f00b29f7a04d2b
 SHA1 (patch-code_fgame_actor.cpp) = d28b513056ed86580475499e42f059a56f4c044a
diff --git a/openmohaa/patches/patch-CMakeLists.txt b/openmohaa/patches/patch-CMakeLists.txt
index f0644da63c..254f0b1ee6 100644
--- a/openmohaa/patches/patch-CMakeLists.txt
+++ b/openmohaa/patches/patch-CMakeLists.txt
@@ -1,19 +1,9 @@
 $NetBSD$
 
-Ensure that pkgsrc libraries are used.
 Backtrace support must be provided by libexecinfo.
 
 --- CMakeLists.txt.orig	2024-11-24 17:03:15.000000000 +0000
 +++ CMakeLists.txt
-@@ -5,7 +5,7 @@ include(TargetArch.cmake)
- 
- target_architecture(TARGET_ARCH)
- 
--set(USE_INTERNAL_LIBS ON)
-+set(USE_INTERNAL_LIBS OFF)
- if(USE_SYSTEM_LIBS)
- 	set(USE_INTERNAL_LIBS OFF)
- endif()
 @@ -202,6 +202,9 @@ if (NOT BUILD_NO_CLIENT)
  		target_link_libraries(openmohaa PRIVATE ${JPEG_LIBRARIES})
  	endif()


Home | Main Index | Thread Index | Old Index