Skip to content

Commit 2a8fe43

Browse files
committed
ut1999: fix starting a multiplayer game
Upstream has this fixed in the next release, but that is not out yet. Thus this fix allows multiplayer games until then.
1 parent c41a9c8 commit 2a8fe43

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkgs/by-name/ut/ut1999/package.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,17 @@ stdenv.mkDerivation (finalAttrs: {
166166
runHook postInstall
167167
'';
168168

169+
# This can be removed with version 469e as that contains this file already
170+
# Workaround for bug https://github.com/OldUnreal/UnrealTournamentPatches/issues/1578
171+
# that prevented starting or joining a multi player game
172+
missing-file = fetchurl {
173+
url = "https://gist.github.com/dwt/733d620fbbfd5c49da88683aef60d889/raw/73b271ef019412cf1be5ce1966842ef63a18ba39/de.u";
174+
hash = "sha256-M14imMl35KUT0tG8dgB+DBoXve/1saVL7hPNgUFo1hY=";
175+
};
176+
postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
177+
cp ${finalAttrs.missing-file} $out/Applications/UnrealTournament.app/Contents/MacOS/System/de.u
178+
'';
179+
169180
# Bring in game's .so files into lookup. Otherwise game fails to start
170181
# as: `Object not found: Class Render.Render`
171182
appendRunpaths = [

0 commit comments

Comments
 (0)