Rayman Legends

Informations

Creator Message
med_freeman

Warning

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

Informations

Platforms:
Downloads: 10769
Wine:

Feedbacks

Description

Platform video game, 2013. Wikipedia.

Note (2014): The game may run very slow in some parts, depending on your configuration.

Appdb.winehq.org 

Source code

#!/bin/bash
# Date : (2014-09-24 01:30)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu 14.04 Trusty x64
# Author : med_freeman (from GNU_Raziel RaymanOrigins)
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG:
# [GNU_Raziel ?] (2014-09-24)
#   First script. 
# [Dadu042] (2019-12-24)
#   Wine "1.7.14-imm32_bug35361" (it fixed Steam) -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rayman Legends"
TITLE_DEMO="Rayman Legends (Demo)"
PREFIX="RaymanLegends"
EDITOR="Ubisoft"
GAME_URL="http://rayman.ubi.com/legends/"
AUTHOR="GNU_Raziel + med_freeman"
WORKING_WINE_VERSION=""
GAME_VMS="512"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/RaymanLegends/top.jpg" "http://files.playonlinux.com/resources/setups/RaymanLegends/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86" # for uplay
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,DVD,STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Wine_OverrideDLL "" "dwrite" # Needed fix or we get invisible fonts in steam
        POL_Call POL_Install_steam
fi

POL_Call POL_Install_dxfullsetup

# Uplay dependencies
# Install crypt32
POL_Call POL_Install_crypt32
POL_Wine_OverrideDLL "builtin" "crypt32"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "crypt32"
# Install gdiplus
POL_Call POL_Install_gdiplus
POL_Wine_OverrideDLL "builtin" "gdiplus"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "gdiplus"
# Install vcrun2008sp1
POL_Call POL_Install_vcrun2008

# Mandatory settings for Digital version
[ "$INSTALL_METHOD" == "STEAM_DEMO" ] && { STEAM_ID="243340"; SHORTCUT_NAME="$TITLE_DEMO"; }
[ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="242550"; SHORTCUT_NAME="$TITLE"; }
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
 
# Begin installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rayman.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM_DEMO" ] || [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM_DEMO" ] && [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 24 December 2019 at 17:30
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,12 +1,18 @@
 #!/bin/bash
 # Date : (2014-09-24 01:30)
-# Last revision : (2014-09-24 02:45)
-# Wine version used : 1.7.14-imm32_bug35361
+# Last revision : see changelog
+# Wine version used : 3.0.3
 # Distribution used to test : Ubuntu 14.04 Trusty x64
 # Author : med_freeman (from GNU_Raziel RaymanOrigins)
 # Licence : Retail
 # Only For : http://www.playonlinux.com
- 
+#
+# CHANGELOG:
+# [GNU_Raziel ?] (2014-09-24)
+#   First script. 
+# [Dadu042] (2019-12-24)
+#   Wine "1.7.14-imm32_bug35361" (it fixed Steam) -> 3.0.3
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -16,7 +22,7 @@
 EDITOR="Ubisoft"
 GAME_URL="http://rayman.ubi.com/legends/"
 AUTHOR="GNU_Raziel + med_freeman"
-WORKING_WINE_VERSION="1.7.14-imm32_bug35361" # Allows steam overlay to work without crash
+WORKING_WINE_VERSION=""
 GAME_VMS="512"
  
 # Starting the script
@@ -43,7 +49,9 @@
         POL_Wine_OverrideDLL "" "dwrite" # Needed fix or we get invisible fonts in steam
         POL_Call POL_Install_steam
 fi
+
 POL_Call POL_Install_dxfullsetup
+
 # Uplay dependencies
 # Install crypt32
 POL_Call POL_Install_crypt32
@@ -60,12 +68,12 @@
 [ "$INSTALL_METHOD" == "STEAM_DEMO" ] && { STEAM_ID="243340"; SHORTCUT_NAME="$TITLE_DEMO"; }
 [ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="242550"; SHORTCUT_NAME="$TITLE"; }
  
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
- 
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
- 
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+
 # Sound problem fix - pulseaudio related
 [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
 [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
@@ -104,10 +112,10 @@
  
 # Making shortcut
 if [ "$INSTALL_METHOD" != "STEAM_DEMO" ] && [ "$INSTALL_METHOD" != "STEAM" ]; then
-        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" ""
+        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" "" "Game;"
 fi
 
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
 POL_SetupWindow_Close
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-09-24 01:30)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu 14.04 Trusty x64
# Author : med_freeman (from GNU_Raziel RaymanOrigins)
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG:
# [GNU_Raziel ?] (2014-09-24)
#   First script. 
# [Dadu042] (2019-12-24)
#   Wine "1.7.14-imm32_bug35361" (it fixed Steam) -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rayman Legends"
TITLE_DEMO="Rayman Legends (Demo)"
PREFIX="RaymanLegends"
EDITOR="Ubisoft"
GAME_URL="http://rayman.ubi.com/legends/"
AUTHOR="GNU_Raziel + med_freeman"
WORKING_WINE_VERSION=""
GAME_VMS="512"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/RaymanLegends/top.jpg" "http://files.playonlinux.com/resources/setups/RaymanLegends/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86" # for uplay
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,DVD,STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Wine_OverrideDLL "" "dwrite" # Needed fix or we get invisible fonts in steam
        POL_Call POL_Install_steam
fi

POL_Call POL_Install_dxfullsetup

# Uplay dependencies
# Install crypt32
POL_Call POL_Install_crypt32
POL_Wine_OverrideDLL "builtin" "crypt32"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "crypt32"
# Install gdiplus
POL_Call POL_Install_gdiplus
POL_Wine_OverrideDLL "builtin" "gdiplus"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "gdiplus"
# Install vcrun2008sp1
POL_Call POL_Install_vcrun2008

# Mandatory settings for Digital version
[ "$INSTALL_METHOD" == "STEAM_DEMO" ] && { STEAM_ID="243340"; SHORTCUT_NAME="$TITLE_DEMO"; }
[ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="242550"; SHORTCUT_NAME="$TITLE"; }
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
 
# Begin installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rayman.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM_DEMO" ] || [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM_DEMO" ] && [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
exit 0

Replies

med_freeman Wednesday 24 September 2014 at 19:17
med_freeman

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,113 @@
+#!/bin/bash
+# Date : (2014-09-24 01:30)
+# Last revision : (2014-09-24 02:45)
+# Wine version used : 1.7.14-imm32_bug35361
+# Distribution used to test : Ubuntu 14.04 Trusty x64
+# Author : med_freeman (from GNU_Raziel RaymanOrigins)
+# Licence : Retail
+# Only For : http://www.playonlinux.com
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Rayman Legends"
+TITLE_DEMO="Rayman Legends (Demo)"
+PREFIX="RaymanLegends"
+EDITOR="Ubisoft"
+GAME_URL="http://rayman.ubi.com/legends/"
+AUTHOR="GNU_Raziel + med_freeman"
+WORKING_WINE_VERSION="1.7.14-imm32_bug35361" # Allows steam overlay to work without crash
+GAME_VMS="512"
+ 
+# Starting the script
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/RaymanLegends/top.jpg" "http://files.playonlinux.com/resources/setups/RaymanLegends/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "x86" # for uplay
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Choose between DVD and Digital Download version
+POL_SetupWindow_InstallMethod "STEAM_DEMO,DVD,STEAM,LOCAL"
+
+# Installing mandatory dependencies
+if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
+        POL_Wine_OverrideDLL "" "dwrite" # Needed fix or we get invisible fonts in steam
+        POL_Call POL_Install_steam
+fi
+POL_Call POL_Install_dxfullsetup
+# Uplay dependencies
+# Install crypt32
+POL_Call POL_Install_crypt32
+POL_Wine_OverrideDLL "builtin" "crypt32"
+POL_Wine_OverrideDLL_App "Uplay.exe" "native" "crypt32"
+# Install gdiplus
+POL_Call POL_Install_gdiplus
+POL_Wine_OverrideDLL "builtin" "gdiplus"
+POL_Wine_OverrideDLL_App "Uplay.exe" "native" "gdiplus"
+# Install vcrun2008sp1
+POL_Call POL_Install_vcrun2008
+
+# Mandatory settings for Digital version
+[ "$INSTALL_METHOD" == "STEAM_DEMO" ] && { STEAM_ID="243340"; SHORTCUT_NAME="$TITLE_DEMO"; }
+[ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="242550"; SHORTCUT_NAME="$TITLE"; }
+ 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+ 
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+ 
+# Sound problem fix - pulseaudio related
+[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
+[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
+## End Fix
+ 
+## Begin Common PlayOnMac Section ##
+[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
+## End Section ##
+ 
+# Begin installation
+if [ "$INSTALL_METHOD" == "DVD" ]; then
+        # Asking for CDROM and checking if it's correct one
+        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Rayman.ico"
+        POL_Wine start /unix "$CDROM/setup.exe"
+        POL_Wine_WaitExit "$TITLE"
+elif [ "$INSTALL_METHOD" == "STEAM_DEMO" ] || [ "$INSTALL_METHOD" == "STEAM" ]; then
+        # Mandatory pre-install fix for steam
+        POL_Call POL_Install_steam_flags "$STEAM_ID"
+        # Shortcut done before install for steam version
+        POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID"
+        # Steam install
+        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+        POL_Wine_WaitExit "$TITLE"
+else
+        # Asking then installing DDV of the game
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+fi
+ 
+# Making shortcut
+if [ "$INSTALL_METHOD" != "STEAM_DEMO" ] && [ "$INSTALL_METHOD" != "STEAM" ]; then
+        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" ""
+fi
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
+ 
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2014-09-24 01:30)
# Last revision : (2014-09-24 02:45)
# Wine version used : 1.7.14-imm32_bug35361
# Distribution used to test : Ubuntu 14.04 Trusty x64
# Author : med_freeman (from GNU_Raziel RaymanOrigins)
# Licence : Retail
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rayman Legends"
TITLE_DEMO="Rayman Legends (Demo)"
PREFIX="RaymanLegends"
EDITOR="Ubisoft"
GAME_URL="http://rayman.ubi.com/legends/"
AUTHOR="GNU_Raziel + med_freeman"
WORKING_WINE_VERSION="1.7.14-imm32_bug35361" # Allows steam overlay to work without crash
GAME_VMS="512"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/RaymanLegends/top.jpg" "http://files.playonlinux.com/resources/setups/RaymanLegends/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86" # for uplay
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,DVD,STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Wine_OverrideDLL "" "dwrite" # Needed fix or we get invisible fonts in steam
        POL_Call POL_Install_steam
fi
POL_Call POL_Install_dxfullsetup
# Uplay dependencies
# Install crypt32
POL_Call POL_Install_crypt32
POL_Wine_OverrideDLL "builtin" "crypt32"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "crypt32"
# Install gdiplus
POL_Call POL_Install_gdiplus
POL_Wine_OverrideDLL "builtin" "gdiplus"
POL_Wine_OverrideDLL_App "Uplay.exe" "native" "gdiplus"
# Install vcrun2008sp1
POL_Call POL_Install_vcrun2008

# Mandatory settings for Digital version
[ "$INSTALL_METHOD" == "STEAM_DEMO" ] && { STEAM_ID="243340"; SHORTCUT_NAME="$TITLE_DEMO"; }
[ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="242550"; SHORTCUT_NAME="$TITLE"; }
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
 
# Begin installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rayman.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM_DEMO" ] || [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM_DEMO" ] && [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "Rayman Legends.exe" "$TITLE" "$TITLE.png" ""
fi

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
exit 0

Replies

Wednesday 24 September 2014 at 19:18
The assets are available here : https://github.com/medfreeman/playonlinux/tree/master/RaymanLegends/gfx
Anonymous
Monday 13 June 2016 at 16:25
Not working for me on 10.11.4