Devil May Cry 4

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 46727
Wine: 3.0.3

Feedbacks

Description

English :
In Devil May Cry 4, the player controls both Nero and Dante, and fights enemies in close combat using firearms, swords, and other weapons. The characters Lady and Trish from previous games in the series make appearances, along with new characters Nero, Kyrie, Credo, Gloria, and Agnus.

Wikipedia.

 

Français :
Devil May Cry 4 est un beat'em all sorti sur PC. Dans une vingtaine de niveaux, vous incarnez Nero et Dante, deux frères que tout oppose. Les deux héros ont leurs propres caractéristiques et armes pour affronter les innombrables ennemis et les impressionnants boss qui peuplent cette aventure macabre.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2010-01-09 22-00)
# Last revision : See changelog
# Wine version used : 1.2, 1.2.1, 1.2.3, 1.5.28
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# GNU_Raziel (2010 to 2011-08-19)
#   Initial writting.
# [Dadu042] (2019-06-20)
#   Wine 1.5.28 -> 1.9.24. Little changes (NOCD).
# [Dadu042] (2020-02-03)
#   Wine 1.9.24 (outdated) -> 3.0.3.

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Devil May Cry 4"
PREFIX="dmc4"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/dmc4/top.jpg" "http://files.playonlinux.com/resources/setups/dmc4/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Capcom" "http://www.capcom.co.jp/devil4/" "GNU_Raziel" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_Call POL_Function_NoCDWarning
fi

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmp9
POL_Call POL_Install_wmpcodecs 

 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "DevilMayCry4.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "45700"
        
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/45700
        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
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
## Fix for this game
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
else
        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 3 February 2020 at 22:33
Dadu042

Information

This update has been approved by the team.

Differences

@@ -12,6 +12,8 @@
 #   Initial writting.
 # [Dadu042] (2019-06-20)
 #   Wine 1.5.28 -> 1.9.24. Little changes (NOCD).
+# [Dadu042] (2020-02-03)
+#   Wine 1.9.24 (outdated) -> 3.0.3.
 
  
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -19,7 +21,7 @@
  
 TITLE="Devil May Cry 4"
 PREFIX="dmc4"
-WORKING_WINE_VERSION="1.9.24"
+WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="256"
  
 # Starting the script
@@ -90,7 +92,7 @@
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
         POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
 else
-        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" ""
+        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" "" "Game;"
 fi
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2010-01-09 22-00)
# Last revision : See changelog
# Wine version used : 1.2, 1.2.1, 1.2.3, 1.5.28
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# GNU_Raziel (2010 to 2011-08-19)
#   Initial writting.
# [Dadu042] (2019-06-20)
#   Wine 1.5.28 -> 1.9.24. Little changes (NOCD).
# [Dadu042] (2020-02-03)
#   Wine 1.9.24 (outdated) -> 3.0.3.

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Devil May Cry 4"
PREFIX="dmc4"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/dmc4/top.jpg" "http://files.playonlinux.com/resources/setups/dmc4/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Capcom" "http://www.capcom.co.jp/devil4/" "GNU_Raziel" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_Call POL_Function_NoCDWarning
fi

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmp9
POL_Call POL_Install_wmpcodecs 

 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "DevilMayCry4.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "45700"
        
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/45700
        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
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
## Fix for this game
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
else
        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_Close
exit 0

Replies

Dadu042 Monday 24 June 2019 at 21:56
Dadu042

Warning

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

Message

See  changelog.

Differences

@@ -1,87 +1,96 @@
 #!/bin/bash
 # Date : (2010-01-09 22-00)
-# Last revision : (2011-08-19 14:29)
+# Last revision : See changelog
 # Wine version used : 1.2, 1.2.1, 1.2.3, 1.5.28
 # Distribution used to test : Debian Testing x64
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# GNU_Raziel (2010 to 2011-08-19)
+#   Initial writting.
+# [Dadu042] (2019-06-20)
+#   Wine 1.5.28 -> 1.9.24. Little changes (NOCD).
 
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Devil May Cry 4"
 PREFIX="dmc4"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="1.9.24"
 GAME_VMS="256"
-
+ 
 # Starting the script
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/dmc4/top.jpg" "http://files.playonlinux.com/resources/setups/dmc4/left.jpg" "$TITLE"
 POL_SetupWindow_Init
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Capcom" "http://www.capcom.co.jp/devil4/" "GNU_Raziel" "$PREFIX"
-
+ 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-
+ 
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 # Choose between DVD and Digital Download version
 POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
 
+# Game protection warning
+if [ "$INSTALL_METHOD" == "DVD" ]; then
+        POL_Call POL_Function_NoCDWarning
+fi
+
 # Installing mandatory dependencies
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
-	POL_Call POL_Install_steam
+        POL_Call POL_Install_steam
 fi
+
 POL_Call POL_Install_dxfullsetup
 POL_Call POL_Install_wmp9
-POL_Call POL_Install_wmpcodecs
-
-# Mandatory pre-install fix for steam
-POL_Call POL_Install_steam_flags "45700"
+POL_Call POL_Install_wmpcodecs 
 
+ 
 if [ "$INSTALL_METHOD" == "DVD" ]; then
-	# Asking for CDROM and checking if it's correct one
-	POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "DevilMayCry4.ico"
-	POL_Wine start /unix "$CDROM/setup.exe"
-	POL_Wine_WaitExit "$TITLE"
+        # Asking for CDROM and checking if it's correct one
+        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "DevilMayCry4.ico"
+        POL_Wine start /unix "$CDROM/setup.exe"
+        POL_Wine_WaitExit "$TITLE"
 elif [ "$INSTALL_METHOD" == "STEAM" ]; then
-	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-	POL_Wine start /unix "steam.exe" steam://install/45700
-	POL_Wine_WaitExit "$TITLE"
+        # Mandatory pre-install fix for steam
+        POL_Call POL_Install_steam_flags "45700"
+        
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/45700
+        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"
+        # 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
-
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 ## Fix for this game
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-
+ 
 # Making shortcut
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
-	POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
+        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
 else
-	POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" ""
-fi
-
-# Game protection warning
-if [ "$INSTALL_METHOD" == "DVD" ]; then
-	POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine.')" "$TITLE"
+        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" ""
 fi
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2010-01-09 22-00)
# Last revision : See changelog
# Wine version used : 1.2, 1.2.1, 1.2.3, 1.5.28
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# GNU_Raziel (2010 to 2011-08-19)
#   Initial writting.
# [Dadu042] (2019-06-20)
#   Wine 1.5.28 -> 1.9.24. Little changes (NOCD).

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Devil May Cry 4"
PREFIX="dmc4"
WORKING_WINE_VERSION="1.9.24"
GAME_VMS="256"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/dmc4/top.jpg" "http://files.playonlinux.com/resources/setups/dmc4/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Capcom" "http://www.capcom.co.jp/devil4/" "GNU_Raziel" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# Game protection warning
if [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_Call POL_Function_NoCDWarning
fi

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmp9
POL_Call POL_Install_wmpcodecs 

 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "DevilMayCry4.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "45700"
        
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/45700
        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
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
## Fix for this game
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/45700"
else
        POL_Shortcut "DevilMayCry4_DX9.exe" "$TITLE" "$TITLE.png" ""
fi

POL_SetupWindow_Close
exit 0

Replies