Super Chuck Norris Bros.

Informations

Creator Wiadmości
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 11211
Wine: System

Feedbacks

Description

English :
A funny little freeware. 2008. Crash after completion of the only level available.
This script does download automatically the game.

Français :
Un petit freeware déjanté. Plante une fois le seul et unique niveau terminé.

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2011-03-13 21-00)
# Last revision : (2011-03-13 21-00)
# Wine version used : 1.3.15
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Super Chuck Norris Bros."
PREFIX="scnb"
WORKING_WINE_VERSION="3.0"
  
if [ "$POL_LANG" == "fr" ]; then
LNG_SCNB_DL="Téléchargement du Freeware $TITLE..."
LNG_INSTALL_ON="Installation en cours..."
LNG_SUCCES="$TITLE a été installé avec succès."
else
LNG_SCNB_DL="Downloading $TITLE Freeware..."
LNG_INSTALL_ON="Installation in progress..."
LNG_SUCCES="$TITLE has been installed successfully."
fi
  
#starting the script
cd "$POL_USER_ROOT/tmp/*.jpg"
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "Vidas Plu" "http://sites.google.com/site/ctfdoh/home" "GNU_Raziel" "$PREFIX"
  
select_prefix "$POL_USER_ROOT/wineprefix/$PREFIX"
 
#downloading specific Wine
if [ "$MACHTYPE" == "x86_64-pc-linux-gnu" ]; then
        POL_Call POL_Install_wine64b
else
        POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
fi
Use_WineVersion "$WORKING_WINE_VERSION"
 
#Creating prefix 
POL_SetupWindow_prefixcreate
 
#Downloading SCNB game (it's a freeware)
cd "$POL_USER_ROOT/ressources"
if [ ! -e "Super_Chuck_Norris_Bros._Demo.exe" ]; then
        POL_SetupWindow_download "$LNG_SCNB_DL" "$TITLE" "http://sites.google.com/site/ctfdoh/Super_Chuck_Norris_Bros._Demo.exe"
fi
 
#Installing game
POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
cd "$WINEPREFIX/drive_c/Program Files/"
cp "$POL_USER_ROOT/ressources/Super_Chuck_Norris_Bros._Demo.exe" .
POL_SetupWindow_detect_exit

### PlayOnMac Section
[ "$PLAYONMAC" == "" ] && Set_SoundDriver "alsa"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section

POL_Call POL_Install_quartz

#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
#making shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "Super_Chuck_Norris_Bros._Demo.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE"
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Thursday 23 May 2019 at 0:35
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

Crash (fixed when replacing Wine 1.3.15 with 3.0). Level finished !.

 

[05/23/19 00:33:42] - Running wine-1.3.15 Super_Chuck_Norris_Bros._Demo.exe (Working directory : /home/dadu042/.PlayOnLinux/wineprefix/scnb/drive_c/Program Files)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b83a8e2 (thread 0009), starting debugger...
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
err:seh:setup_exception_record stack overflow 832 bytes in thread 0009 eip f7e19acb esp 00240ff0 stack 0x240000-0x241000-0x340000

Differences

@@ -6,14 +6,14 @@
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
- 
+  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Super Chuck Norris Bros."
 PREFIX="scnb"
-WORKING_WINE_VERSION="1.3.15"
- 
+WORKING_WINE_VERSION="3.0"
+  
 if [ "$POL_LANG" == "fr" ]; then
 LNG_SCNB_DL="Téléchargement du Freeware $TITLE..."
 LNG_INSTALL_ON="Installation en cours..."
@@ -23,54 +23,56 @@
 LNG_INSTALL_ON="Installation in progress..."
 LNG_SUCCES="$TITLE has been installed successfully."
 fi
- 
+  
 #starting the script
 cd "$POL_USER_ROOT/tmp/*.jpg"
 POL_SetupWindow_Init
-
-POL_SetupWindow_presentation "$TITLE" "Vidas Plu" "http://sites.google.com/site/ctfdoh/home" "GNU_Raziel" "$PREFIX" 
  
+POL_SetupWindow_presentation "$TITLE" "Vidas Plu" "http://sites.google.com/site/ctfdoh/home" "GNU_Raziel" "$PREFIX"
+  
 select_prefix "$POL_USER_ROOT/wineprefix/$PREFIX"
-
+ 
 #downloading specific Wine
 if [ "$MACHTYPE" == "x86_64-pc-linux-gnu" ]; then
-	POL_Call POL_Install_wine64b
+        POL_Call POL_Install_wine64b
 else
-	POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
+        POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
 fi
 Use_WineVersion "$WORKING_WINE_VERSION"
-
+ 
 #Creating prefix 
 POL_SetupWindow_prefixcreate
-
+ 
 #Downloading SCNB game (it's a freeware)
 cd "$POL_USER_ROOT/ressources"
 if [ ! -e "Super_Chuck_Norris_Bros._Demo.exe" ]; then
-	POL_SetupWindow_download "$LNG_SCNB_DL" "$TITLE" "http://sites.google.com/site/ctfdoh/Super_Chuck_Norris_Bros._Demo.exe"
+        POL_SetupWindow_download "$LNG_SCNB_DL" "$TITLE" "http://sites.google.com/site/ctfdoh/Super_Chuck_Norris_Bros._Demo.exe"
 fi
-
+ 
 #Installing game
 POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
 cd "$WINEPREFIX/drive_c/Program Files/"
 cp "$POL_USER_ROOT/ressources/Super_Chuck_Norris_Bros._Demo.exe" .
 POL_SetupWindow_detect_exit
- 
+
 ### PlayOnMac Section
 [ "$PLAYONMAC" == "" ] && Set_SoundDriver "alsa"
 [ "$PLAYONMAC" == "" ] || Set_Managed "Off"
 ## End Section
 
+POL_Call POL_Install_quartz
+
 #cleaning temp
 if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
-	rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
-	chmod -R 777 "$REPERTOIRE/tmp/"
-	rm -rf "$REPERTOIRE/tmp/*"
+        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
+        chmod -R 777 "$REPERTOIRE/tmp/"
+        rm -rf "$REPERTOIRE/tmp/*"
 fi
-
+ 
 #making shortcut
 POL_SetupWindow_auto_shortcut "$PREFIX" "Super_Chuck_Norris_Bros._Demo.exe" "$TITLE" "" ""
 Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
-
+ 
 POL_SetupWindow_message "$LNG_SUCCES" "$TITLE"
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2011-03-13 21-00)
# Last revision : (2011-03-13 21-00)
# Wine version used : 1.3.15
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Super Chuck Norris Bros."
PREFIX="scnb"
WORKING_WINE_VERSION="3.0"
  
if [ "$POL_LANG" == "fr" ]; then
LNG_SCNB_DL="Téléchargement du Freeware $TITLE..."
LNG_INSTALL_ON="Installation en cours..."
LNG_SUCCES="$TITLE a été installé avec succès."
else
LNG_SCNB_DL="Downloading $TITLE Freeware..."
LNG_INSTALL_ON="Installation in progress..."
LNG_SUCCES="$TITLE has been installed successfully."
fi
  
#starting the script
cd "$POL_USER_ROOT/tmp/*.jpg"
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "Vidas Plu" "http://sites.google.com/site/ctfdoh/home" "GNU_Raziel" "$PREFIX"
  
select_prefix "$POL_USER_ROOT/wineprefix/$PREFIX"
 
#downloading specific Wine
if [ "$MACHTYPE" == "x86_64-pc-linux-gnu" ]; then
        POL_Call POL_Install_wine64b
else
        POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
fi
Use_WineVersion "$WORKING_WINE_VERSION"
 
#Creating prefix 
POL_SetupWindow_prefixcreate
 
#Downloading SCNB game (it's a freeware)
cd "$POL_USER_ROOT/ressources"
if [ ! -e "Super_Chuck_Norris_Bros._Demo.exe" ]; then
        POL_SetupWindow_download "$LNG_SCNB_DL" "$TITLE" "http://sites.google.com/site/ctfdoh/Super_Chuck_Norris_Bros._Demo.exe"
fi
 
#Installing game
POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
cd "$WINEPREFIX/drive_c/Program Files/"
cp "$POL_USER_ROOT/ressources/Super_Chuck_Norris_Bros._Demo.exe" .
POL_SetupWindow_detect_exit

### PlayOnMac Section
[ "$PLAYONMAC" == "" ] && Set_SoundDriver "alsa"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section

POL_Call POL_Install_quartz

#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
#making shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "Super_Chuck_Norris_Bros._Demo.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE"
POL_SetupWindow_Close
exit

Odpowiedzi

Anonymous
Saturday 25 May 2019 at 1:41
Crash is finally fixed. Will install this now.

Edytowane przez Dadu042