summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
-rw-r--r--fix-renderer.regbin0 -> 226 bytes
-rw-r--r--launch-tiberiansun.sh3
4 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbc4696dc89..53536addc92 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jan 3 22:46:52 UTC 2019
+# Wed Aug 7 16:25:29 UTC 2019
pkgbase = tiberiansun
pkgdesc = Freeware release of Westwood's classic C&C: Tiberian Sun, with Firestorm Expansion (uses Wine)
pkgver = 2.03
- pkgrel = 1
+ pkgrel = 2
url = http://web.archive.org/web/20000302013458/http://www.westwood.com/games/ccuniverse/tiberiansun/index.html
install = tiberiansun.install
arch = any
@@ -16,10 +16,12 @@ pkgbase = tiberiansun
source = tiberiansun.desktop
source = launch-tiberiansun.sh
source = README
+ source = fix-renderer.reg
source = https://downloads.cncfps.com/Freeware/Tibsun/OfficialCnCTiberianSun.rar
sha256sums = ce9c09f9338c989d005bd8c9c425b930ad591a7ee135c5f6c4ccbce513c4199e
- sha256sums = 413b214f75ed15007d7ee5a71a2c89ef04e1892237d1e59c6fa2535bc4ba67ad
+ sha256sums = a325ce3c3de0ee7947418fd136e620a2cd84ca67999f358e360f9aea55f4dbe9
sha256sums = 739ada7ac1b6b7614ad386bdd74f472a36902110daaba12cd2c7dd3d527e7e61
+ sha256sums = 6a925ba54f6f96aa954f5d4237e0089bfcc3029eae2927b73dfd22292a4b3b15
sha256sums = b04219e715511de9baa2feb9827013c8e106f8d6b9b563936b8a2f650305dec5
pkgname = tiberiansun
diff --git a/PKGBUILD b/PKGBUILD
index f9c3a3b02d8..e6ab30bffc2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=tiberiansun
pkgver=2.03
-pkgrel=1
+pkgrel=2
pkgdesc="Freeware release of Westwood's classic C&C: Tiberian Sun, with Firestorm Expansion (uses Wine)"
url='http://web.archive.org/web/20000302013458/http://www.westwood.com/games/ccuniverse/tiberiansun/index.html'
arch=('any')
@@ -15,11 +15,13 @@ install='tiberiansun.install'
source=('tiberiansun.desktop'
'launch-tiberiansun.sh'
'README'
+ 'fix-renderer.reg'
'https://downloads.cncfps.com/Freeware/Tibsun/OfficialCnCTiberianSun.rar')
noextract=('OfficialCnCTiberianSun.rar')
sha256sums=('ce9c09f9338c989d005bd8c9c425b930ad591a7ee135c5f6c4ccbce513c4199e'
- '413b214f75ed15007d7ee5a71a2c89ef04e1892237d1e59c6fa2535bc4ba67ad'
+ 'a325ce3c3de0ee7947418fd136e620a2cd84ca67999f358e360f9aea55f4dbe9'
'739ada7ac1b6b7614ad386bdd74f472a36902110daaba12cd2c7dd3d527e7e61'
+ '6a925ba54f6f96aa954f5d4237e0089bfcc3029eae2927b73dfd22292a4b3b15'
'b04219e715511de9baa2feb9827013c8e106f8d6b9b563936b8a2f650305dec5')
# Disable compression of the package
@@ -54,6 +56,7 @@ package() {
install -Dm755 "launch-$pkgname.sh" "$pkgdir/opt/$pkgname/launch-$pkgname.sh"
mkdir -p "$pkgdir/usr/bin/"
ln -s -T "/opt/$pkgname/launch-$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "fix-renderer.reg" "$pkgdir/opt/$pkgname/"
# Icon
mkdir -p "$pkgdir/usr/share/icons/"
diff --git a/fix-renderer.reg b/fix-renderer.reg
new file mode 100644
index 00000000000..45c8106ff60
--- /dev/null
+++ b/fix-renderer.reg
Binary files differ
diff --git a/launch-tiberiansun.sh b/launch-tiberiansun.sh
index a34e34f9687..138c44f2e0b 100644
--- a/launch-tiberiansun.sh
+++ b/launch-tiberiansun.sh
@@ -92,6 +92,9 @@ createprefix() {
sed -i -e 's/\[Video\]/[Video]\r\nAllowHiResModes=true/' "$gamedir/SUN.INI"
# TODO Speed decrease?
+
+ # Fix renderer
+ wine regedit "$DIR/fix-renderer.reg" || echo "regedit failed"
}