@@ -32,7 +32,8 @@
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_xact
POL_Call POL_Install_ie8
-
+POL_Wine_OverrideDLL "native,builtin" "riched20"
+
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
@@ -32,7 +32,6 @@
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_xact
POL_Call POL_Install_ie8
-POL_Call POL_Install_riched20
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
@@ -32,6 +32,7 @@
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_xact
POL_Call POL_Install_ie8
+POL_Call POL_Install_riched20
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
@@ -1,20 +1,20 @@ #!/bin/bash -# Date : (3/7/2013) +# Date : (3/15/2013) # Distribution used to test : Lubuntu 64 # Author : Robbz # Licence : GPLv3 # PlayOnLinux: playonlinux-4.1.9-2 - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="DCUniverseOnline" WORKING_WINE_VERSION="1.5.24" TITLE="DC Universe Online" PUBLISHER="Sony Entertainment" GAME_URL="http://www.dcuniverseonline.com/" AUTHOR="Robbz" - + # Setup POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" POL_SetupWindow_Init @@ -22,31 +22,34 @@ POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - + # Components POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_vcrun2005 POL_Call POL_Install_d3dx9_43 POL_Call POL_Install_d3dcompiler_43 POL_Call POL_Install_dxdiag POL_Call POL_Install_dxfullsetup - +POL_Call POL_Install_xact +POL_Call POL_Install_ie8 + # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS - + # Download cd "$WINEPREFIX/drive_c" -POL_Download "http://launch.soe.com/installer/DCUO_setup.exe" - +POL_Download "http://launch.soe.com/installer/DCUO_setup.exe" + POL_SetupWindow_message "$(eval_gettext 'Attention: After installation is complete, the patcher will load. Please close the patcher before logging in to complete the installation. After this, you can run "$TITLE" when setup is done')" "$TITLE" - + POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$WINEPREFIX/drive_c/DCUO_setup.exe" POL_Wine_WaitExit - + # Create Shortcuts POL_Shortcut "LaunchPad.exe" "$TITLE" "$TITLE.png" - + POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully. See you on the Battle Field!')" "$(eval_gettext 'Installation finished')" POL_SetupWindow_Close - + exit 0 \ No newline at end of file
No change were made in the code
@@ -1,27 +1,52 @@ #!/bin/bash +# Date : (3/7/2013) +# Distribution used to test : Lubuntu 64 +# Author : Robbz +# Licence : GPLv3 +# PlayOnLinux: playonlinux-4.1.9-2 + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -TITLE="DC Universe Online" -WINEVERSION="1.4.1" -EDITOR="DC Universe Online" -EDITOR_URL="http://www.dcuniverseonline.com/" + PREFIX="DCUniverseOnline" - +WORKING_WINE_VERSION="1.5.24" +TITLE="DC Universe Online" +PUBLISHER="Sony Entertainment" +GAME_URL="http://www.dcuniverseonline.com/" +AUTHOR="Robbz" + +# Setup +POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init -POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX" - +POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "$WINEVERSION" - -cd "$WINEPREFIX/drive_c" -POL_Download "http://launch.soe.com/installer/DCUO_setup.exe" "2b4c63f963bba05b6ceb505ba59dde13" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# Components +POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_d3dx9_43 +POL_Call POL_Install_d3dcompiler_43 +POL_Call POL_Install_dxdiag +POL_Call POL_Install_dxfullsetup + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Download +cd "$WINEPREFIX/drive_c" +POL_Download "http://launch.soe.com/installer/DCUO_setup.exe" + +POL_SetupWindow_message "$(eval_gettext 'Attention: After installation is complete, the patcher will load. Please close the patcher before logging in to complete the installation. After this, you can run "$TITLE" when setup is done')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" -POL_Wine DCUO_setup.exe -wineserver -k - -POL_Shortcut "LaunchPad.exe" "$TITLE" - +POL_Wine start /unix "$WINEPREFIX/drive_c/DCUO_setup.exe" +POL_Wine_WaitExit + +# Create Shortcuts +POL_Shortcut "LaunchPad.exe" "$TITLE" "$TITLE.png" + +POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully. See you on the Battle Field!')" "$(eval_gettext 'Installation finished')" POL_SetupWindow_Close + exit 0 \ No newline at end of file
No change were made in the code
@@ -0,0 +1,27 @@ +#!/bin/bash +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="DC Universe Online" +WINEVERSION="1.4.1" +EDITOR="DC Universe Online" +EDITOR_URL="http://www.dcuniverseonline.com/" +PREFIX="DCUniverseOnline" + +POL_SetupWindow_Init +POL_Debug_Init +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" + +cd "$WINEPREFIX/drive_c" +POL_Download "http://launch.soe.com/installer/DCUO_setup.exe" "2b4c63f963bba05b6ceb505ba59dde13" +POL_Wine_WaitBefore "$TITLE" +POL_Wine DCUO_setup.exe +wineserver -k + +POL_Shortcut "LaunchPad.exe" "$TITLE" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file