Aionn

Informations

Creator Message
Luciemde Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

X

Source code

                

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 10 May 2019 at 19:50
Dadu042
Moderator

Warning

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

Message

The script of Luciemde.  Need standardization.

 

Wrong place, to move to : https://www.playonlinux.com/en/app-1833.html

Differences

@@ -0,0 +1,113 @@
+#!/bin/bash
+# Date : (2013-09-10 20-36)
+# Last revision : (2013-09-10 20-36)
+# Distribution used to test :
+# Author: SuperPlumus and legluondunet
+
+ 
+# CHANGELOG
+# [SuperPlumus] (2013-09-10 20-36)
+#   Initial writting (based on http://www.playonlinux.com/fr/topic-9394.html)
+
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+ 
+TITLE="AION"
+PREFIX="Aion"
+
+WORKING_WINE_VERSION="1.9.4"
+
+
+
+POL_SetupWindow_Init
+
+ 
+
+# for POL_LoadVar_ScreenResolution
+
+POL_RequiredVersion "4.0.15" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.15 is required to install $TITLE"
+
+ 
+
+POL_Debug_Init
+
+ 
+
+POL_SetupWindow_presentation "$TITLE" "NCSoft" "" "SuperPlumus and legluondunet" "$PREFIX"
+
+ 
+
+POL_Wine_SelectPrefix "$PREFIX"
+
+POL_System_SetArch "x86"
+
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+ 
+
+POL_System_TmpCreate "$PREFIX"
+
+ 
+
+POL_LoadVar_ScreenResolution
+
+Set_Desktop "On" "$ScreenWidth" "$ScreenHeight"
+
+ 
+
+POL_Call POL_Install_vcrun2005
+
+POL_Call POL_Install_dotnet20sp2
+
+ 
+
+cat << EOF > "$POL_System_TmpDir/RegModif.reg"
+
+REGEDIT4
+
+ 
+
+[HKEY_CURRENT_USER\Software\Gameforge4d\GameforgeLive\MainApp]
+
+"ActionOnCloseWindow"="Quit"
+
+EOF
+
+regedit "$POL_System_TmpDir/RegModif.reg"
+
+ 
+
+POL_Wine_OverrideDLL disabled dwrite
+
+ 
+
+ 
+
+cd "$WINEPREFIX/drive_c"
+
+POL_Download "http://dlcl.gfsrv.net/gfl/AION_GameforgeLiveSetup.exe" ""
+
+POL_Wine_WaitBefore "$TITLE"
+
+POL_Wine "AION_GameforgeLiveSetup.exe"
+
+POL_Wine_WaitExit "$TITLE"
+
+ 
+
+POL_System_TmpDelete
+
+ 
+
+POL_Shortcut "GameforgeLive.exe" "$TITLE"
+
+ 
+
+POL_SetupWindow_Close
+
+ 
+
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2013-09-10 20-36)
# Last revision : (2013-09-10 20-36)
# Distribution used to test :
# Author: SuperPlumus and legluondunet

 
# CHANGELOG
# [SuperPlumus] (2013-09-10 20-36)
#   Initial writting (based on http://www.playonlinux.com/fr/topic-9394.html)



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

 
TITLE="AION"
PREFIX="Aion"

WORKING_WINE_VERSION="1.9.4"



POL_SetupWindow_Init

 

# for POL_LoadVar_ScreenResolution

POL_RequiredVersion "4.0.15" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.15 is required to install $TITLE"

 

POL_Debug_Init

 

POL_SetupWindow_presentation "$TITLE" "NCSoft" "" "SuperPlumus and legluondunet" "$PREFIX"

 

POL_Wine_SelectPrefix "$PREFIX"

POL_System_SetArch "x86"

POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

 

POL_System_TmpCreate "$PREFIX"

 

POL_LoadVar_ScreenResolution

Set_Desktop "On" "$ScreenWidth" "$ScreenHeight"

 

POL_Call POL_Install_vcrun2005

POL_Call POL_Install_dotnet20sp2

 

cat << EOF > "$POL_System_TmpDir/RegModif.reg"

REGEDIT4

 

[HKEY_CURRENT_USER\Software\Gameforge4d\GameforgeLive\MainApp]

"ActionOnCloseWindow"="Quit"

EOF

regedit "$POL_System_TmpDir/RegModif.reg"

 

POL_Wine_OverrideDLL disabled dwrite

 

 

cd "$WINEPREFIX/drive_c"

POL_Download "http://dlcl.gfsrv.net/gfl/AION_GameforgeLiveSetup.exe" ""

POL_Wine_WaitBefore "$TITLE"

POL_Wine "AION_GameforgeLiveSetup.exe"

POL_Wine_WaitExit "$TITLE"

 

POL_System_TmpDelete

 

POL_Shortcut "GameforgeLive.exe" "$TITLE"

 

POL_SetupWindow_Close

 

exit

Replies

Edited by Dadu042