summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rw-r--r--cemu.sh32
3 files changed, 27 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd9c67d4e06b..8c90c307ec9c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cemu-wine
pkgdesc = Wii U emulator. This is the stable Windows version via wine. Includes the Cemuhook plugin
pkgver = 1.26.2
- pkgrel = 6
+ pkgrel = 7
url = https://cemu.info/
install = cemu-wine.install
arch = x86_64
@@ -14,10 +14,10 @@ pkgbase = cemu-wine
source = cemu.sh
source = cemu.xpm
source = cemu.desktop
- source = cemu_1.26.2-6.zip::https://cemu.info/releases/cemu_1.26.2.zip
+ source = cemu_1.26.2-7.zip::https://cemu.info/releases/cemu_1.26.2.zip
source = https://files.sshnuke.net/cemuhook_1251c_0575.zip
source = https://web.archive.org/web/20180907210517if_/https://files.sshnuke.net/sharedFonts.7z
- md5sums = 73b3dbc254f3f96964de1cc41fbc8969
+ md5sums = 8358141856072866ed8ea3a684aef964
md5sums = 54d70005a8975812ab54fcfef53f7bde
md5sums = f1649814d35413763169cf750062d763
md5sums = 6a3f7091f4040f00d6891173a0351e81
diff --git a/PKGBUILD b/PKGBUILD
index efaf6479997b..5e852a0f4554 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cemu-wine
pkgver=1.26.2
-pkgrel=6
+pkgrel=7
pkgdesc="Wii U emulator. This is the stable Windows version via wine. Includes the Cemuhook plugin"
arch=(x86_64)
url="https://cemu.info/"
@@ -25,7 +25,7 @@ optdepends=('wine-ge-custom: Vulkan support')
# Sometimes, they update the zip file without changing its name, which causes the md5sum to fail.
# If you notice this, please mark this package as out-of-date in the aur website and I'll fix it.
-md5sums=('73b3dbc254f3f96964de1cc41fbc8969'
+md5sums=('8358141856072866ed8ea3a684aef964'
'54d70005a8975812ab54fcfef53f7bde'
'f1649814d35413763169cf750062d763'
'6a3f7091f4040f00d6891173a0351e81'
@@ -45,7 +45,7 @@ package() {
install -d -m755 $pkgdir/usr/share/
install -d -m755 $pkgdir/usr/share/$pkgname
install -d -m755 $pkgdir/usr/bin
- install -m755 cemu.sh $pkgdir/usr/bin/$pkgname
+ install -m755 cemu.sh $pkgdir/usr/bin/cemu
install -d -m755 $pkgdir/usr/share/applications
install -d -m755 $pkgdir/usr/share/pixmaps
install -m644 cemu.desktop $pkgdir/usr/share/applications
diff --git a/cemu.sh b/cemu.sh
index 6c3e4d3ac0da..8931ac2d8016 100644
--- a/cemu.sh
+++ b/cemu.sh
@@ -8,30 +8,40 @@ export AMD_DEBUG="nohyperz"
if [ ! -d "$HOME"/.cemu ] ; then
mkdir -p "$HOME"/.cemu/wine || exit 1
- ln -s /usr/share/cemu/Cemu.exe "$HOME"/.cemu/Cemu.exe || exit 1
- ln -s /usr/share/cemu/cemuhook.dll "$HOME"/.cemu/cemuhook.dll || exit 1
- ln -s /usr/share/cemu/keystone.dll "$HOME"/.cemu/keystone.dll || exit 1
- ln -s /usr/share/cemu/sharedFonts "$HOME"/.cemu/sharedFonts || exit 1
- cp -r /usr/share/cemu/gameProfiles "$HOME"/.cemu/ || exit 1
- cp -r /usr/share/cemu/mlc01 "$HOME"/.cemu/ || exit 1
- cp -r /usr/share/cemu/shaderCache "$HOME"/.cemu/ || exit 1
+ ln -s /usr/share/cemu-wine/Cemu.exe "$HOME"/.cemu/Cemu.exe || exit 1
+ ln -s /usr/share/cemu-wine/cemuhook.dll "$HOME"/.cemu/cemuhook.dll || exit 1
+ ln -s /usr/share/cemu-wine/keystone.dll "$HOME"/.cemu/keystone.dll || exit 1
+ ln -s /usr/share/cemu-wine/sharedFonts "$HOME"/.cemu/sharedFonts || exit 1
+ cp -r /usr/share/cemu-wine/gameProfiles "$HOME"/.cemu/ || exit 1
+ cp -r /usr/share/cemu-wine/mlc01 "$HOME"/.cemu/ || exit 1
+ cp -r /usr/share/cemu-wine/shaderCache "$HOME"/.cemu/ || exit 1
fi
+if [ -d "$HOME"/.cemu ] && [ -L "$HOME"/.cemu/Cemu.exe ] && [ $(readlink "$HOME"/.cemu/Cemu.exe) == "/usr/share/cemu/Cemu.exe" ]; then
+ rm "$HOME"/.cemu/Cemu.exe
+ rm "$HOME"/.cemu/cemuhook.dll
+ rm "$HOME"/.cemu/keystone.dll
+ rm "$HOME"/.cemu/sharedFonts
+ ln -s /usr/share/cemu-wine/Cemu.exe "$HOME"/.cemu/Cemu.exe || exit 1
+ ln -s /usr/share/cemu-wine/cemuhook.dll "$HOME"/.cemu/cemuhook.dll || exit 1
+ ln -s /usr/share/cemu-wine/keystone.dll "$HOME"/.cemu/keystone.dll || exit 1
+ ln -s /usr/share/cemu-wine/sharedFonts "$HOME"/.cemu/sharedFonts || exit 1
+fi
if [ -d "$HOME"/.cemu ] && [ -L "$HOME"/.cemu/dbghelp.dll ] ; then
rm "$HOME"/.cemu/dbghelp.dll
fi
if [ -d "$HOME"/.cemu ] && [ ! -L "$HOME"/.cemu/cemuhook.dll ] ; then
- ln -s /usr/share/cemu/keystone.dll "$HOME"/.cemu/keystone.dll || exit 1
- ln -s /usr/share/cemu/cemuhook.dll "$HOME"/.cemu/cemuhook.dll || exit 1
+ ln -s /usr/share/cemu-wine/keystone.dll "$HOME"/.cemu/keystone.dll || exit 1
+ ln -s /usr/share/cemu-wine/cemuhook.dll "$HOME"/.cemu/cemuhook.dll || exit 1
fi
if [ ! -L "$HOME"/.cemu/sharedFonts ] && [ ! -d "$HOME"/.cemu/sharedFonts ] ; then
- ln -s /usr/share/cemu/sharedFonts "$HOME"/.cemu/sharedFonts || exit 1
+ ln -s /usr/share/cemu-wine/sharedFonts "$HOME"/.cemu/sharedFonts || exit 1
fi
if [ -L "$HOME"/.cemu/gameProfiles ] ; then
rm "$HOME"/.cemu/gameProfiles
- cp -r /usr/share/cemu/gameProfiles "$HOME"/.cemu/ || exit 1
+ cp -r /usr/share/cemu-wine/gameProfiles "$HOME"/.cemu/ || exit 1
fi
if [ ! -f "$HOME"/.cemu/wine/drive_c/windows/syswow64/vcruntime140.dll ]; then