From 9f88f939325b8ec155cc51e6895501b86ff4d22f Mon Sep 17 00:00:00 2001 From: "grepwood@sucs.org" Date: Sat, 14 Mar 2020 04:37:26 +0100 Subject: [PATCH] Fixed inability to save games in Clou2, added license file. --- games-simulation/clou2/files/clou2 | 14 ++++++++++++-- licenses/neoSoftware | 10 ++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 licenses/neoSoftware diff --git a/games-simulation/clou2/files/clou2 b/games-simulation/clou2/files/clou2 index a99fb4e..aa5b767 100755 --- a/games-simulation/clou2/files/clou2 +++ b/games-simulation/clou2/files/clou2 @@ -4,6 +4,16 @@ set -xeuo pipefail export WINEPREFIX=~/.wine_clou2 export WINEARCH=win32 -pushd /usr/share/games/clou2 -wine regedit /C clou2.reg +if [ ! -d ~/.local/share/Clou2 ]; then + mkdir -p ~/.local/share/Clou2 + pushd ~/.local/share/Clou2 + for i in $(ls /usr/share/games/clou2 | grep -v ^clou2\\.reg$); do + ln -s /usr/share/games/clou2/$i $i + done + popd +fi + +pushd ~/.local/share/Clou2 +wine regedit /C /usr/share/games/clou2/clou2.reg wine Sting.exe +popd diff --git a/licenses/neoSoftware b/licenses/neoSoftware new file mode 100644 index 0000000..a2833c7 --- /dev/null +++ b/licenses/neoSoftware @@ -0,0 +1,10 @@ +(C) Copyright 1998-2001 by neo Software Produktions GmbH. +Wienerbergstraße 9, A-1100 Vienna, Austria. + +Ninejsze oprogramowanie (w całości bądź części) nie może być powielane, tłumaczone, +reprodukowane, zmieniane lub przenoszone bez pozwolenia neo Software Produktions GmbH. + +neo Software Produktions GmbH nie ponosi odpowiedzialnoœci za ewentualne szkody +wynikłe w trakcie użytkowania gry "The Sting!" + +neo i logo firmy są zastrzeżonymi znakami handlowymi neo Software Produktions GmbH.