pkgsrc-WIP-changes archive

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

OpenTESArena: update to OpenTESArena-0.13.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat May 1 12:07:24 2021 +0200
Changeset:	398cef4cc1b52b1caca703db89574b0f9bfb11d7

Modified Files:
	OpenTESArena/Makefile
	OpenTESArena/distinfo
	OpenTESArena/patches/patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp

Log Message:
OpenTESArena: update to OpenTESArena-0.13.0

Announcements:

== OpenTESArena 0.13.0
@afritz1 afritz1 released this Mar 28, 2021

This release focuses on improving how the game world is simulated in
order to more closely match the original game. There is now a set of
active chunks that are added and removed as the player moves around.
Textures are now loaded into a renderer-independent format before
being passed to engine systems that need them, and with the addition
of texture asset references, textures are only loaded from the hard
drive once they are needed (and are kept in memory afterwards).
Future support for formats like PNG should also be easier to add now.

New features and changes in 0.13.0:

  * Chunk system
      - Interiors "go forever" with default empty chunk
      - Cities "go forever" with floor wrapping
      - The wilderness loads by chunk IDs and can "go forever" by
        falling back to a default chunk when outside of the original
        game's 64x64 chunk area
  * Texture system redesign (renderer-independent TextureBuilderID,
    and TextureAssetReference for deferred loading)
  * Support for Raspberry Pi 4 (no release build yet since performance
    is very poor)
  * Fixed citizen animation RAM usage issue (no longer ~2.5 GB)
  * Fixed software renderer deadlock (@Alucowie)
  * Fixed streetlight activation updating (wilderness streetlights
    intentionally do not change activation state)
  * Citizens now only idle if the player is not moving and their
    weapon is sheathed, to more closely match the original AI
  * Revised sun and moon positions (not sure if they exactly match
    the original game yet, though)

Known issues:

  * Some intro screens might be using an incorrect palette
  * Wilderness building names don't match original game
  * The game world is empty for one frame after fast travelling,
    especially when arriving at a city with an arrival pop-up message
  * The game will crash during the Ria Silmane cinematic in the CD
    version if it reaches the end without being skipped (related to
    chunk system)
  * Sometimes lights will not be counted as being visible to the
    camera (related to chunk system)
  * The automap colors voxels outside of city bounds that should not
    be considered part of the automap
  * The chasm wall texture of a deleted floor voxel might not match
    the original game
  * Translucent entities exhibit vertical line artifacts (related
    to multi-threading)
  * Tavern names in Imperial City don't match original game
  * Diagonal walls have same collision as walls

For details on how to get OpenTESArena running, see the Installation
section in the Readme.

== OpenTESArena 0.12.0
@afritz1 afritz1 released this Oct 11, 2020

New features and changes in 0.12.0:

  * Wandering citizens in cities and wilderness. They idle if the
    player's weapon is sheathed
  * Puddle reflections
  * Voice in cinematics (only available in CD version)
  * City entrance jingle
  * Music library system supporting custom MIDI filenames in
    data/audio/MusicDefinitions.txt
  * Entity animation system redesign
  * Texture manager improvements and initial work on texture instance
    manager for runtime-generated textures
  * Fonts use less memory and are less dependent on SDL2
  * Added previously-unused OverSnow music to snow weather playlist
  * Fixed final boss display name (was "TODO")
  * Removed directional shading from sun to more closely match original
    game (planning on adding back later in a newer renderer)

Known issues:

  * Citizen spawning introduced very high RAM usage (>2.5 GB) due to
    true color animations, even with animation sharing, preventing
    32-bit builds from working as intended
  * Some streetlights don't receive on/off signal
  * Translucent entities exhibit vertical line artifacts (related to
    multi-threading)
  * The renderer may deadlock and freeze the game. If so, reduce render
    thread count to very low
  * Position of moons is not correct
  * Tavern names in Imperial City are incorrect
  * Diagonal walls have same collision as walls

For details on how to get OpenTESArena running, see the Installation
section in the Readme.

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

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

diffstat:
 OpenTESArena/Makefile                                        |  4 ++--
 OpenTESArena/distinfo                                        | 12 +++++-------
 .../patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp    |  6 +++---
 3 files changed, 10 insertions(+), 12 deletions(-)

diffs:
diff --git a/OpenTESArena/Makefile b/OpenTESArena/Makefile
index ac2526597e..d7ea4761e7 100644
--- a/OpenTESArena/Makefile
+++ b/OpenTESArena/Makefile
@@ -1,12 +1,12 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	OpenTESArena
+GITHUB_TAG=	opentesarena-${PKGVERSION_NOREV}
 DISTNAME=	${GITHUB_TAG}
-PKGNAME=	${GITHUB_PROJECT}-0.11.0
+PKGNAME=	${GITHUB_PROJECT}-0.13.0
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=afritz1/}
 DIST_SUBDIR=	${GITHUB_PROJECT}
-GITHUB_TAG=	opentesarena-${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/afritz1/OpenTESArena/
diff --git a/OpenTESArena/distinfo b/OpenTESArena/distinfo
index ddf47b0515..b0c1da4ffe 100644
--- a/OpenTESArena/distinfo
+++ b/OpenTESArena/distinfo
@@ -1,11 +1,9 @@
 $NetBSD$
 
-SHA1 (OpenTESArena/opentesarena-0.11.0.tar.gz) = 957eb3e4457287f8791ee1e0025afc3bef98c214
-RMD160 (OpenTESArena/opentesarena-0.11.0.tar.gz) = 4b7bb771d6f2c6c597d5f399a8850fe2c79e23e3
-SHA512 (OpenTESArena/opentesarena-0.11.0.tar.gz) = 535d151bdc7d384be0a974b0661e623826460d414ea7de0f44159f5f4b2e710830b9b503bd3b8009fced402b121c41913852fd7ee1e133a6b7cf68976517619c
-Size (OpenTESArena/opentesarena-0.11.0.tar.gz) = 4669368 bytes
-SHA1 (patch-CMakeLists.txt) = 970fe3afa9416ec0f886754665544df93e038b44
-SHA1 (patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp) = 175f7e2527d90e65414d56d2ed886d025947e386
+SHA1 (OpenTESArena/opentesarena-0.13.0.tar.gz) = 3da94903a88d6c28f893a3d36d9c9f04eb088183
+RMD160 (OpenTESArena/opentesarena-0.13.0.tar.gz) = 93f6eb9222702c408a27ad1791de1076c95def02
+SHA512 (OpenTESArena/opentesarena-0.13.0.tar.gz) = d25bb58c985817355a9d453ee486d6192b08a9f566851105ece0b65e283d3d100b48f4d1d628a0fc506db4d2815924426919852df33be7d0641654f40bf3f681
+Size (OpenTESArena/opentesarena-0.13.0.tar.gz) = 5023056 bytes
+SHA1 (patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp) = d3507025a945d6bf399999fd397db77a91faf325
 SHA1 (patch-OpenTESArena_src_Interface_TextCinematicPanel.cpp) = 40598c6f15038bcaf785a4ab3fe6c187bd6361c8
-SHA1 (patch-OpenTESArena_src_Rendering_SoftwareRenderer.cpp) = fa8fbb9edf260d3c8a1d110c4ca2470d54316b2f
 SHA1 (patch-OpenTESArena_src_Utilities_Platform.cpp) = ca299fe19539227e19cdc4285a841c0dcc24739e
diff --git a/OpenTESArena/patches/patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp b/OpenTESArena/patches/patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp
index 55aa057def..d3039f0629 100644
--- a/OpenTESArena/patches/patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp
+++ b/OpenTESArena/patches/patch-OpenTESArena_src_Interface_ProvinceMapPanel.cpp
@@ -2,12 +2,12 @@ $NetBSD$
 
 Work around std::sqrt not defined.
 
---- OpenTESArena/src/Interface/ProvinceMapPanel.cpp.orig	2018-09-23 18:19:37.000000000 +0000
+--- OpenTESArena/src/Interface/ProvinceMapPanel.cpp.orig	2020-10-11 00:01:50.000000000 +0000
 +++ OpenTESArena/src/Interface/ProvinceMapPanel.cpp
-@@ -353,8 +353,8 @@ int ProvinceMapPanel::getClosestLocation
- 	{
+@@ -322,8 +322,8 @@ int ProvinceMapPanel::getClosestLocation
  		const Int2 diff = point - originalPosition;
  		const Int2 closestDiff = closestPosition - originalPosition;
+ 		// @todo: change to distance squared
 -		const double distance = std::sqrt((diff.x * diff.x) + (diff.y * diff.y));
 -		const double closestDistance = std::sqrt(
 +		const double distance = sqrt((diff.x * diff.x) + (diff.y * diff.y));


Home | Main Index | Thread Index | Old Index