SuperCrateBox

Informations

Créateur Messages
inukaze

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 6972
Wine: 3.0.3

Retours d'expérience

Description

Simple Shooter Game + plaformer, 2010. Objective : Collect the mayor quantity of gun boxes, while avoiding/fighting enemies. Wikipedia. Official website.

Note: this script can download the game.

Captures d'écran

Miniature

Code source

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Inukaze ] (2015-06-06)
#   First script.
# [Dadu042] (2019-09-28)
#   Wine 1.7.22 -> 3.0.3
#   Replace 7zip's unrar with unrar.

# KNOWN ISSUES:
#  - Wine amd64 3.0.3: no music. Tried: force Alsa. Fix: POL_install_directmusic.
#  - Wine amd64 3.0.3: 'fixme:richedit:ME_HandleMessage ...'.  Fix: install_riched30
#  - Wine amd64 3.0.3: 'fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2115]'. Fix: install dsound or directmusic.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GAME_VMS="64"
AUTHOR="Vlambeer"
WINEVERSION="3.0.3"
TITLE="Super Crate Box"
PREFIX="Super_Crate_Box"
GAME_URL="http://supercratebox.com/"
DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# This was for Wine 1.7.22 (2015). Also required for Wine 3.0.3
POL_Call POL_Install_dsound
POL_Call POL_Install_dinput
POL_Call POL_Install_directmusic

## Sound problem fix - pulseaudio related
# [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
# [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
cd "$WINEPREFIX/drive_c/SuperCrateBox"

POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
POL_System_unrar x "supercratebox.rar" "$WINEPREFIX/drive_c/SuperCrateBox/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)."
rm "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.rar"

# To avoid the surprising error:   wine: cannot find L"C:\\windows\\system32\\supercratebox.exe"
cp "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.exe" "$WINEPREFIX/drive_c/windows/system32/"

POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png" "" "Game;ActionGame;"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 28 Novembre 2019 à 15:09
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -3,42 +3,64 @@
 # Distro : Manjaro Linux 64-bit
 # Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
 # Licencia : GPLv3
-# PlayOnLinux: 4.2.8
-  
+# PlayOnLinux: 4.3.4
+#
+# CHANGELOG
+# [Inukaze ] (2015-06-06)
+#   First script.
+# [Dadu042] (2019-09-28)
+#   Wine 1.7.22 -> 3.0.3
+#   Replace 7zip's unrar with unrar.
+
+# KNOWN ISSUES:
+#  - Wine amd64 3.0.3: no music. Tried: force Alsa. Fix: POL_install_directmusic.
+#  - Wine amd64 3.0.3: 'fixme:richedit:ME_HandleMessage ...'.  Fix: install_riched30
+#  - Wine amd64 3.0.3: 'fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2115]'. Fix: install dsound or directmusic.
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 GAME_VMS="64"
 AUTHOR="Vlambeer"
-WINEVERSION="1.7.22"
+WINEVERSION="3.0.3"
 TITLE="Super Crate Box"
 PREFIX="Super_Crate_Box"
 GAME_URL="http://supercratebox.com/"
 DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
-
+ 
 POL_SetupWindow_Init
-type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip).')"
 POL_Debug_Init
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
+# This was for Wine 1.7.22 (2015). Also required for Wine 3.0.3
 POL_Call POL_Install_dsound
 POL_Call POL_Install_dinput
 POL_Call POL_Install_directmusic
+
+## Sound problem fix - pulseaudio related
+# [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
+# [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
+## End Fix
+
 rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
 mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
 cd "$WINEPREFIX/drive_c/SuperCrateBox"
+
 POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
+POL_System_unrar x "supercratebox.rar" "$WINEPREFIX/drive_c/SuperCrateBox/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)."
+rm "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.rar"
 
-7z x supercratebox.rar
-[ -s supercratebox.exe ] || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip unRAR module).')"
+# To avoid the surprising error:   wine: cannot find L"C:\\windows\\system32\\supercratebox.exe"
+cp "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.exe" "$WINEPREFIX/drive_c/windows/system32/"
 
 POL_SetupWindow_VMS $GAME_VMS
 POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
 POL_Wine_Direct3D "UseGLSL" "disabled"
-POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png"
-
+POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png" "" "Game;ActionGame;"
+ 
 POL_SetupWindow_Close
-
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Inukaze ] (2015-06-06)
#   First script.
# [Dadu042] (2019-09-28)
#   Wine 1.7.22 -> 3.0.3
#   Replace 7zip's unrar with unrar.

# KNOWN ISSUES:
#  - Wine amd64 3.0.3: no music. Tried: force Alsa. Fix: POL_install_directmusic.
#  - Wine amd64 3.0.3: 'fixme:richedit:ME_HandleMessage ...'.  Fix: install_riched30
#  - Wine amd64 3.0.3: 'fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2115]'. Fix: install dsound or directmusic.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GAME_VMS="64"
AUTHOR="Vlambeer"
WINEVERSION="3.0.3"
TITLE="Super Crate Box"
PREFIX="Super_Crate_Box"
GAME_URL="http://supercratebox.com/"
DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# This was for Wine 1.7.22 (2015). Also required for Wine 3.0.3
POL_Call POL_Install_dsound
POL_Call POL_Install_dinput
POL_Call POL_Install_directmusic

## Sound problem fix - pulseaudio related
# [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
# [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
cd "$WINEPREFIX/drive_c/SuperCrateBox"

POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
POL_System_unrar x "supercratebox.rar" "$WINEPREFIX/drive_c/SuperCrateBox/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)."
rm "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.rar"

# To avoid the surprising error:   wine: cannot find L"C:\\windows\\system32\\supercratebox.exe"
cp "$WINEPREFIX/drive_c/SuperCrateBox/supercratebox.exe" "$WINEPREFIX/drive_c/windows/system32/"

POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png" "" "Game;ActionGame;"
 
POL_SetupWindow_Close
exit 0

Réponses

petch Jeudi 4 Juin 2015 à 23:29
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Test whether RAR archive could be unpacked

Differences

@@ -17,7 +17,7 @@
 DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
 
 POL_SetupWindow_Init
-type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7z).')"
+type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip).')"
 POL_Debug_Init
 
 POL_Wine_SelectPrefix "$PREFIX"
@@ -32,6 +32,7 @@
 POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
 
 7z x supercratebox.rar
+[ -s supercratebox.exe ] || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip unRAR module).')"
 
 POL_SetupWindow_VMS $GAME_VMS
 POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"

Nouveau code source

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.2.8
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GAME_VMS="64"
AUTHOR="Vlambeer"
WINEVERSION="1.7.22"
TITLE="Super Crate Box"
PREFIX="Super_Crate_Box"
GAME_URL="http://supercratebox.com/"
DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"

POL_SetupWindow_Init
type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip).')"
POL_Debug_Init

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dsound
POL_Call POL_Install_dinput
POL_Call POL_Install_directmusic
rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
cd "$WINEPREFIX/drive_c/SuperCrateBox"
POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858

7z x supercratebox.rar
[ -s supercratebox.exe ] || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7-zip unRAR module).')"

POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png"

POL_SetupWindow_Close

exit 0

Réponses

Jeudi 4 Juin 2015 à 23:33
haven't found a reliable way to check for unRAR support earlier in the script

Edité par petch

petch Jeudi 4 Juin 2015 à 19:54
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Use hosted gfx resources

Differences

@@ -7,10 +7,7 @@
   
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
-POL_SetupWindow_Init
-POL_Debug_Init
-  
+
 GAME_VMS="64"
 AUTHOR="Vlambeer"
 WINEVERSION="1.7.22"
@@ -18,37 +15,29 @@
 PREFIX="Super_Crate_Box"
 GAME_URL="http://supercratebox.com/"
 DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
-DOWNLOAD_ICON_512="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_512.png"
-DOWNLOAD_ICON_32="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_32.png"
-  
+
+POL_SetupWindow_Init
+type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7z).')"
+POL_Debug_Init
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
+
 POL_Call POL_Install_dsound
 POL_Call POL_Install_dinput
 POL_Call POL_Install_directmusic
 rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
-mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox" ; cd "$WINEPREFIX/drive_c/SuperCrateBox"
+mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
+cd "$WINEPREFIX/drive_c/SuperCrateBox"
 POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
-  
-if [ $(which 7z) ];then
-7z x supercratebox.rar &> /dev/null
-else
-    POL_SetupWindow_message "$(eval_gettext 'Game Extract failed (Missing 7z).')" "$TITLE"
-fi
-  
+
+7z x supercratebox.rar
+
 POL_SetupWindow_VMS $GAME_VMS
 POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
 POL_Wine_Direct3D "UseGLSL" "disabled"
-POL_Shortcut "supercratebox.exe" "$TITLE"
-rm -rf "$POL_USER_ROOT/icones/32/SuperCrateBox"
-rm -rf "$POL_USER_ROOT/icones/32/Super Crate Box"
-rm -rf "$POL_USER_ROOT/icones/full_size/SuperCrateBox"
-rm -rf "$POL_USER_ROOT/icones/full_size/Super Crate Box"
-POL_Download $DOWNLOAD_ICON_512 c6e3fdcba1a5681c68f03222520ba752
-POL_Download $DOWNLOAD_ICON_32 a32b903f8b3e7a4adacef3a081079ac1
-mv SuperCrateBox_32.png    "$POL_USER_ROOT/icones/32/$TITLE"
-mv SuperCrateBox_512.png "$POL_USER_ROOT/icones/full_size/$TITLE"
-  
+POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png"
+
 POL_SetupWindow_Close
-  
+
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.2.8
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GAME_VMS="64"
AUTHOR="Vlambeer"
WINEVERSION="1.7.22"
TITLE="Super Crate Box"
PREFIX="Super_Crate_Box"
GAME_URL="http://supercratebox.com/"
DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"

POL_SetupWindow_Init
type -p 7z || POL_Debug_Fatal "$(eval_gettext 'Game Extract failed (Missing 7z).')"
POL_Debug_Init

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dsound
POL_Call POL_Install_dinput
POL_Call POL_Install_directmusic
rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
cd "$WINEPREFIX/drive_c/SuperCrateBox"
POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858

7z x supercratebox.rar

POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Shortcut "supercratebox.exe" "$TITLE" "$TITLE.png"

POL_SetupWindow_Close

exit 0

Réponses

inukaze Jeudi 4 Juin 2015 à 19:36
inukaze

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+# Fecha : (06 Junio 2015)
+# Distro : Manjaro Linux 64-bit
+# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
+# Licencia : GPLv3
+# PlayOnLinux: 4.2.8
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+GAME_VMS="64"
+AUTHOR="Vlambeer"
+WINEVERSION="1.7.22"
+TITLE="Super Crate Box"
+PREFIX="Super_Crate_Box"
+GAME_URL="http://supercratebox.com/"
+DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
+DOWNLOAD_ICON_512="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_512.png"
+DOWNLOAD_ICON_32="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_32.png"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_Call POL_Install_dsound
+POL_Call POL_Install_dinput
+POL_Call POL_Install_directmusic
+rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
+mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox" ; cd "$WINEPREFIX/drive_c/SuperCrateBox"
+POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
+  
+if [ $(which 7z) ];then
+7z x supercratebox.rar &> /dev/null
+else
+    POL_SetupWindow_message "$(eval_gettext 'Game Extract failed (Missing 7z).')" "$TITLE"
+fi
+  
+POL_SetupWindow_VMS $GAME_VMS
+POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
+POL_Wine_Direct3D "UseGLSL" "disabled"
+POL_Shortcut "supercratebox.exe" "$TITLE"
+rm -rf "$POL_USER_ROOT/icones/32/SuperCrateBox"
+rm -rf "$POL_USER_ROOT/icones/32/Super Crate Box"
+rm -rf "$POL_USER_ROOT/icones/full_size/SuperCrateBox"
+rm -rf "$POL_USER_ROOT/icones/full_size/Super Crate Box"
+POL_Download $DOWNLOAD_ICON_512 c6e3fdcba1a5681c68f03222520ba752
+POL_Download $DOWNLOAD_ICON_32 a32b903f8b3e7a4adacef3a081079ac1
+mv SuperCrateBox_32.png    "$POL_USER_ROOT/icones/32/$TITLE"
+mv SuperCrateBox_512.png "$POL_USER_ROOT/icones/full_size/$TITLE"
+  
+POL_SetupWindow_Close
+  
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.2.8
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_SetupWindow_Init
POL_Debug_Init
  
GAME_VMS="64"
AUTHOR="Vlambeer"
WINEVERSION="1.7.22"
TITLE="Super Crate Box"
PREFIX="Super_Crate_Box"
GAME_URL="http://supercratebox.com/"
DOWNLOAD_GAME="http://www.supercratebox.com/download/supercratebox.rar"
DOWNLOAD_ICON_512="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_512.png"
DOWNLOAD_ICON_32="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_32.png"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_Call POL_Install_dsound
POL_Call POL_Install_dinput
POL_Call POL_Install_directmusic
rm -rf "$WINEPREFIX/drive_c/SuperCrateBox"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox" ; cd "$WINEPREFIX/drive_c/SuperCrateBox"
POL_Download $DOWNLOAD_GAME 962d90ba1aa0e8095f2cbfd2940c5858
  
if [ $(which 7z) ];then
7z x supercratebox.rar &> /dev/null
else
    POL_SetupWindow_message "$(eval_gettext 'Game Extract failed (Missing 7z).')" "$TITLE"
fi
  
POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Shortcut "supercratebox.exe" "$TITLE"
rm -rf "$POL_USER_ROOT/icones/32/SuperCrateBox"
rm -rf "$POL_USER_ROOT/icones/32/Super Crate Box"
rm -rf "$POL_USER_ROOT/icones/full_size/SuperCrateBox"
rm -rf "$POL_USER_ROOT/icones/full_size/Super Crate Box"
POL_Download $DOWNLOAD_ICON_512 c6e3fdcba1a5681c68f03222520ba752
POL_Download $DOWNLOAD_ICON_32 a32b903f8b3e7a4adacef3a081079ac1
mv SuperCrateBox_32.png    "$POL_USER_ROOT/icones/32/$TITLE"
mv SuperCrateBox_512.png "$POL_USER_ROOT/icones/full_size/$TITLE"
  
POL_SetupWindow_Close
  
exit 0

Réponses

Jeudi 4 Juin 2015 à 20:11
Mmmh the version of 7z I checked (Linux Mint) does not recognize this RAR archive algorithms, so the installation fails
Jeudi 4 Juin 2015 à 22:37
Manjaro's 7z worked though... weird
Jeudi 4 Juin 2015 à 23:11
Ok, on Debian derivatives you also need to install p7zip-rar; unRAR's .so is a separate package because it's not the same kind of licence
inukaze Mardi 2 Juin 2015 à 9:28
inukaze

Messages

This is the source code of Script :

 

#!/bin/bash
# Fecha : (06 Junio 2015)
# Distro : Manjaro Linux 64-bit
# Autor : Inukaze ( http://inukaze.wordpress.com / http://www.dailymotion.com/inukaze )
# Licencia : GPLv3
# PlayOnLinux: 4.2.8

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init
POL_Debug_Init

PREFIX="SuperCrateBox"
WINEVERSION="1.7.22"
TITLE="SuperCrateBox"
GAME_URL="http://supercratebox.com/"
AUTHOR="Vlambeer"

DOWNLOAD_GAME_EXE="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/Juegos/SuperCrateBox/supercratebox.exe"
DOWNLOAD_GAME_DLL="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/Juegos/SuperCrateBox/downloaddll.dll"
DOWNLOAD_ICON_512="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_512.png"
DOWNLOAD_ICON_32="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/icono/SuperCrateBox_32.png"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.22"
POL_Call POL_Install_directmusic

rm -rf "$WINEPREFIX/drive_c/DMAFix"
rm -rf "$WINEPREFIX/drive_c/DMAFix"
rm -rf "$HOME/.PlayOnLinux/icones/full_size/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/icones/32/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/shortcuts/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/shortcuts/Super Crate Box"
mkdir -p "$WINEPREFIX/drive_c/DMAFix"
mkdir -p "$WINEPREFIX/drive_c/SuperCrateBox"
cd "$WINEPREFIX/drive_c/DMAFix"

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/devenum.dll"
POL_Download "$DLLFix" df4f87a3b9a631458d6d53c2d5241a45

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dinput.dll"
POL_Download "$DLLFix" 2019668ce6eda81efd9d62c3103a948f

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dinput8.dll"
POL_Download "$DLLFix" 60bc2c65b32564568a89c34a0ac0619d

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmband.dll"
POL_Download "$DLLFix" b4f484f23393b815cc03f1c08891fe94

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmcompos.dll"
POL_Download "$DLLFix" 62552db4ebaf6ddd1bb6cf5e657987cb

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmime.dll"
POL_Download "$DLLFix" f9903a3ef5d3f52dcfd026ca39422fd4

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmloader.dll"
POL_Download "$DLLFix" dc79ef5c852300c18b2fd231e2f92d51

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmscript.dll"
POL_Download "$DLLFix" 9e08d1212d1bcc01a6b7ef7e13268038

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmstyle.dll"
POL_Download "$DLLFix" a4fc3279c49352964c2b1a696eebf342

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmsynth.dll"
POL_Download "$DLLFix" 0ca72666b461161f9ad15d40d218ec1d

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dmusic.dll"
POL_Download "$DLLFix" 2d132c28ae2e4a23525a66dac7571740

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dsound.dll"
POL_Download "$DLLFix" 9ef059a2c76bce8db9b0dd95efe23a48

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/dswave.dll"
POL_Download "$DLLFix" 4ff4f01f2adca59adae0415559d2e0be

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/eax.dll"
POL_Download "$DLLFix" fa325d723ecc6b5887fe3b7da3dfe208

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/midimap.dll"
POL_Download "$DLLFix" d94ff77931d467ac3ed916f767fa7e1f

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/msacm32.dll"
POL_Download "$DLLFix" fb216dc5d2cbe67940cbafad5bd6acc1

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/quartz.dll"
POL_Download "$DLLFix" 7998ac6cb538a7ea6a1e5dcf3fa12bb4

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/streamci.dll"
POL_Download "$DLLFix" 35e5264ccac0898868aee5c8ac86de86

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/drivers/gm.dls"
POL_Download "$DLLFix" 7f29903cb8f5590d52db0c9f97049a25

if [ "$POL_ARCH" == "amd64" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/devenum.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dinput.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dinput8.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmband.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmcompos.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmime.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmloader.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmscript.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmstyle.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmsynth.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dmusic.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dsound.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/dswave.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/eax.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/gm.dls"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/midimap.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/msacm32.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/quartz.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/syswow64/streamci.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/drivers/gm.dls"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/devenum.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dinput.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dinput8.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmband.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmcompos.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmime.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmloader.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmscript.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmstyle.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmsynth.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmusic.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dsound.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dswave.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/eax.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/gm.dls"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/midimap.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/msacm32.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/quartz.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/streamci.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/drivers/gm.dls"
    mkdir -p "$WINEPREFIX/drive_c/windows/syswow64/drivers/"
    mkdir -p "$WINEPREFIX/drive_c/windows/system32/drivers/"
    cp "$WINEPREFIX/drive_c/DMAFix/devenum.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput8.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmband.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmcompos.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmime.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmloader.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmscript.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmstyle.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmsynth.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmusic.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dsound.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/dswave.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/eax.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/midimap.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/msacm32.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/quartz.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/streamci.dll" "$WINEPREFIX/drive_c/windows/syswow64/"
    cp "$WINEPREFIX/drive_c/DMAFix/gm.dls" "$WINEPREFIX/drive_c/windows/syswow64/drivers/"
    cp "$WINEPREFIX/drive_c/DMAFix/devenum.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput8.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmband.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmcompos.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmime.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmloader.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmscript.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmstyle.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmsynth.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmusic.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dsound.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dswave.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/eax.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/midimap.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/msacm32.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/quartz.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/streamci.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/gm.dls" "$WINEPREFIX/drive_c/windows/system32/drivers/"
else
        rm -rf "$WINEPREFIX/drive_c/windows/system32/devenum.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dinput.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dinput8.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmband.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmcompos.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmime.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmloader.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmscript.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmstyle.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmsynth.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dmusic.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dsound.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/dswave.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/eax.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/midimap.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/msacm32.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/quartz.dll"
        rm -rf "$WINEPREFIX/drive_c/windows/system32/streamci.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/drivers/gm.dls"
    mkdir -p "$WINEPREFIX/drive_c/windows/system32/drivers/"
    cp "$WINEPREFIX/drive_c/DMAFix/devenum.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dinput8.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmband.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmcompos.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmime.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmloader.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmscript.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmstyle.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmsynth.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dmusic.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dsound.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/dswave.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/eax.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/midimap.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/msacm32.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/quartz.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/streamci.dll" "$WINEPREFIX/drive_c/windows/system32/"
    cp "$WINEPREFIX/drive_c/DMAFix/gm.dls" "$WINEPREFIX/drive_c/windows/system32/drivers/"
fi

cd "$WINEPREFIX/drive_c/SuperCrateBox"
rm -rf "supercratebox.exe*"
rm -rf "downloaddll.dll*"
rm -rf "SuperCrateBox.png*"

POL_Download "$DOWNLOAD_GAME_EXE" 3123d36f275a94857f8d7bbd4e25133e
POL_Download "$DOWNLOAD_GAME_DLL" 495f8f0fc620a174271287ba1ee9ca0f
#mv "SuperCrateBox - Wine 1.7.22.reg" "SuperCrateBox.reg"

cat << EOF > "$WINEPREFIX/drive_c/DMAFix/SuperCrateBox.reg"
 
REGEDIT 4

[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"DirectDrawRenderer"="opengl"
"Multisampling"="disabled"
"OffscreenRenderingMode"="pbuffer"
"StrictDrawOrdering"="enable"
"UseGLSL"="disabled"
"VideoMemorySize"="64"

[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]
"*devenum"="native"
"*dinput"="native"
"*dmband"="native"
"*dmcompos"="native"
"*dmime"="native"
"*dmloader"="native"
"*dmscript"="native"
"*dmstyle"="native"
"*dmsynth"="native"
"*dmusic"="native"
"*dmusic32"="native"
"*dsound"="native"
"*dswave"="native"
"*eax"="native"
"*gm.dls"="native"
"*midimap"="native"
"*quartz"="native"
"*streamci"="native"
EOF

POL_Wine regedit "$WINEPREFIX/drive_c/DMAFix/SuperCrateBox.reg"
POL_Shortcut "supercratebox.exe" "$TITLE"
rm -rf "$HOME/.PlayOnLinux/icones/full_size/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/icones/32/SuperCrateBox"
POL_Download $DOWNLOAD_ICON_512 c6e3fdcba1a5681c68f03222520ba752
POL_Download $DOWNLOAD_ICON_32 a32b903f8b3e7a4adacef3a081079ac1
mv SuperCrateBox_32.png "$HOME/.PlayOnLinux/icones/32/SuperCrateBox"
mv SuperCrateBox_512.png "$HOME/.PlayOnLinux/icones/full_size/SuperCrateBox"
rm -rf "$WINEPREFIX/drive_c/DMAFix"

POL_SetupWindow_Close

exit 0

Réponses

Mardi 2 Juin 2015 à 19:52
http://wiki.playonlinux.com/index.php/How_to_Contribute_a_Script
Script review:

DOWNLOAD_GAME_EXE="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/Juegos/SuperCrateBox/supercratebox.exe"
...

We don't accept scripts that use DropBox (too brittle)

rm -rf "$WINEPREFIX/drive_c/DMAFix"
rm -rf "$WINEPREFIX/drive_c/DMAFix"

Duplicate statement

rm -rf "$HOME/.PlayOnLinux/icones/full_size/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/icones/32/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/shortcuts/SuperCrateBox"
rm -rf "$HOME/.PlayOnLinux/shortcuts/Super Crate Box"

Don't hardcode the location of PlayOnLinux/PlayOnMac's state, use $POL_USER_ROOT. Anyway, script should avoid tweaking files under icones or shortcuts directly, just use POL_Shortcut.

DLLFix="https://dl.dropboxusercontent.com/u/3164499/Linux/Wine/drive_c/windows/system32/devenum.dll"
...
cp "$WINEPREFIX/drive_c/DMAFix/gm.dls" "$WINEPREFIX/drive_c/windows/system32/drivers/"
fi

Use provided components (POL_Install_devenum, quartz, directmusic,...)

cat << EOF > "$WINEPREFIX/drive_c/DMAFix/SuperCrateBox.reg"

REGEDIT 4

[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"DirectDrawRenderer"="opengl"
...

Use provided statements (POL_Wine_Direct3D,...)
Mercredi 3 Juin 2015 à 0:59
In POL are that dlls , include eax.dll ???
Mercredi 3 Juin 2015 à 2:34
I'm not sure, you can check what each component does: https://www.playonlinux.com/en/supported_apps-100-0.html
But your script won't make it as-is
Mercredi 3 Juin 2015 à 2:45
For EAX support it's quite possible you'll want to use Wine staging, I think it's not supported by plain Wine; And then if you use Wine staging, I'm not sure you need eax.dll. I just suspect that you don't, but I don't know how I could check that...
Mercredi 3 Juin 2015 à 3:33
Hi there i update the source code the script in the forum theme
Jeudi 4 Juin 2015 à 8:58
How i can put my lastest version of source code to source code,? Or for replace the first comment with the lastedt source code?
Anonymous
Jeudi 4 Juin 2015 à 10:56
Just use the "I want to submit an improvement" feature instead of directly pasting your script in the description ;)
Jeudi 4 Juin 2015 à 19:37
Thank you :D

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com