wineprefix: configure once
This commit is contained in:
parent
f8fafedb29
commit
d5ddba620c
20
cemutil.sh
20
cemutil.sh
@ -153,6 +153,12 @@ if [ -f "cemuhooktemp.zip" ]; then
|
||||
rm -rf cemuhooktemp.zip
|
||||
fi
|
||||
|
||||
#Configure wine prefix
|
||||
echo "Configuring new wine prefix"
|
||||
export WINEPREFIX=$(realpath $instdir)/wine
|
||||
winetricks -q vcrun2015
|
||||
winetricks settings win7
|
||||
|
||||
#Create launch scripts
|
||||
cat > LaunchCEMU << EOF1
|
||||
#!/bin/bash
|
||||
@ -160,13 +166,6 @@ export WINEPREFIX="$(realpath $instdir)/wine"
|
||||
#for cemuhook
|
||||
export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b"
|
||||
|
||||
if [ -z "`winetricks list-installed|grep vcrun2015`" ]; then
|
||||
if [ -n "`whereis zenity|grep bin`" ]; then
|
||||
zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes'
|
||||
fi
|
||||
winetricks -q vcrun2015
|
||||
winetricks settings win7
|
||||
fi
|
||||
cd $(realpath $instdir)
|
||||
mesa_glthread=true __GL_THREADED_OPTIMIZATIONS=1 vblank_mode=0 WINEESYNC=0 wine Cemu.exe "\$@"
|
||||
EOF1
|
||||
@ -178,13 +177,6 @@ export WINEPREFIX="$(realpath $instdir)/wine"
|
||||
#for cemuhook
|
||||
export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b"
|
||||
|
||||
if [ -z "`winetricks list-installed|grep vcrun2015`" ]; then
|
||||
if [ -n "`whereis zenity|grep bin`" ]; then
|
||||
zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes'
|
||||
fi
|
||||
winetricks -q vcrun2015
|
||||
winetricks settings win7
|
||||
fi
|
||||
cd $(realpath $instdir)
|
||||
R600_DEBUG=nohyperz mesa_glthread=true vblank_mode=0 WINEESYNC=0 wine Cemu.exe "\$@"
|
||||
EOF1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user