My.Games Game Center

Informations

Creator Message
Dadu042

Warning

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

Informations

Platforms:
Downloads: 3360
Wine: 5.22-staging

Feedbacks

Description

The games store of the company Mail.ru (Wikipedia).  Website.

Note: having the Game Center working does not mean that every game will work too.

Warning: as of 2020-09-19, the installer blocks because it does see a too old Windows version. Workaround: use the Allods Online script to install the GameCenter.

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2019-09-17)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
#        - As of 2021-02, GameCenter shows: 'Version 4.1614 rev 56243' in the About window).
#
# Software based on: My.com GameCenter.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-17 20-00)
#   Initial writting.
#   As of 2020-09-19, the installer blocks because it does see a too old Windows version. Wine 4.21-staging.
# [Dadu042] (2021-02-05 12:00)
#   Enable download .EXE
#   Wine 4.21-staging -> 5.22-staging, but impossible to use because I have the 'black window' issue (in the Game center).
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: the installer stops  because it thinks the OS is Vista or earlier (winxp). I used: win7, win8 
#   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
#   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
#   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
#   Wine amd64 5.0.3, 5.22-staging, 6.0, 6.0-staging: the game center does appear, but the only the title bar is displayed, the bottom is black.
#
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="My.Games Game Center"
PREFIX="My.Games"
EDITOR="My.Games"
WORKING_WINE_VERSION="5.22-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://store.my.game"
       
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
      
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win8"
  
#######################################
#  Installing mandatory dependencies  #
#######################################
 
POL_Call POL_Install_corefonts
 
# POL_Call POL_Install_d3dx9
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet
 
################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
  
  
#######################################
#  Main part of this script           #
#######################################
 
# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
  
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/MyGamesLoader.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "MyGamesLoader.exe"
        POL_Wine_WaitExit "$TITLE"
fi
     
POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"
 
POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 5 February 2021 at 22:35
Dadu042

Information

This update has been approved by the team.

Differences

@@ -9,6 +9,7 @@
 #
 # Software version used to write this script:
 #        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
+#        - As of 2021-02, GameCenter shows: 'Version 4.1614 rev 56243' in the About window).
 #
 # Software based on: My.com GameCenter.
 #
@@ -17,76 +18,81 @@
 # CHANGELOG
 # [Dadu042] (2019-09-17 20-00)
 #   Initial writting.
+#   As of 2020-09-19, the installer blocks because it does see a too old Windows version. Wine 4.21-staging.
+# [Dadu042] (2021-02-05 12:00)
+#   Enable download .EXE
+#   Wine 4.21-staging -> 5.22-staging, but impossible to use because I have the 'black window' issue (in the Game center).
 #
 # KNOWN ISSUES:
 #   Wine amd64 4.21-staging: the installer stops  because it thinks the OS is Vista or earlier (winxp). I used: win7, win8 
 #   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
 #   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
 #   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
+#   Wine amd64 5.0.3, 5.22-staging, 6.0, 6.0-staging: the game center does appear, but the only the title bar is displayed, the bottom is black.
 #
 #
 # KNOWN ISSUES (FIXED):
 #   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
- 
+  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
+    
 TITLE="My.Games Game Center"
 PREFIX="My.Games"
 EDITOR="My.Games"
-WORKING_WINE_VERSION="4.21-staging"
+WORKING_WINE_VERSION="5.22-staging"
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://store.my.game"
-      
+       
 POL_SetupWindow_Init
 POL_Debug_Init
-     
+      
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-     
+      
 POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-     
+      
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "auto"
-# POL_System_SetArch "x86"
+# POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
- 
+  
 Set_OS "win8"
- 
+  
 #######################################
 #  Installing mandatory dependencies  #
 #######################################
-
+ 
 POL_Call POL_Install_corefonts
-
-# POL_Call POL_Install_d3dx9
+ 
+# POL_Call POL_Install_d3dx9
 # POL_Call POL_Install_vcrun2010
 # POL_Call POL_Install_wininet
-
+ 
 ################
 #      GPU     #
 ################
-           
+            
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-            
+             
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-             
+              
 # Useful for Nvidia GPUs
 POL_Call POL_Install_physx
- 
- 
+  
+  
 #######################################
 #  Main part of this script           #
 #######################################
-
-# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
-POL_SetupWindow_InstallMethod "LOCAL"
  
+# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+  
 POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
- 
+  
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
         cd "$HOME"
@@ -95,20 +101,20 @@
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
         cd "$POL_System_TmpDir"
- 
+  
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
         cd "$POL_System_TmpDir"
-        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
+        POL_Download "https://static.gc.my.games/MyGamesLoader.exe"
 #        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
-        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
+        POL_Wine start /unix "MyGamesLoader.exe"
         POL_Wine_WaitExit "$TITLE"
 fi
-    
+     
 POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
-
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-09-17)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
#        - As of 2021-02, GameCenter shows: 'Version 4.1614 rev 56243' in the About window).
#
# Software based on: My.com GameCenter.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-17 20-00)
#   Initial writting.
#   As of 2020-09-19, the installer blocks because it does see a too old Windows version. Wine 4.21-staging.
# [Dadu042] (2021-02-05 12:00)
#   Enable download .EXE
#   Wine 4.21-staging -> 5.22-staging, but impossible to use because I have the 'black window' issue (in the Game center).
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: the installer stops  because it thinks the OS is Vista or earlier (winxp). I used: win7, win8 
#   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
#   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
#   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
#   Wine amd64 5.0.3, 5.22-staging, 6.0, 6.0-staging: the game center does appear, but the only the title bar is displayed, the bottom is black.
#
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="My.Games Game Center"
PREFIX="My.Games"
EDITOR="My.Games"
WORKING_WINE_VERSION="5.22-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://store.my.game"
       
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
      
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win8"
  
#######################################
#  Installing mandatory dependencies  #
#######################################
 
POL_Call POL_Install_corefonts
 
# POL_Call POL_Install_d3dx9
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet
 
################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
  
  
#######################################
#  Main part of this script           #
#######################################
 
# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
  
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/MyGamesLoader.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "MyGamesLoader.exe"
        POL_Wine_WaitExit "$TITLE"
fi
     
POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"
 
POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Dadu042 Thursday 17 September 2020 at 20:12
Dadu042

Warning

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

Differences

@@ -19,6 +19,7 @@
 #   Initial writting.
 #
 # KNOWN ISSUES:
+#   Wine amd64 4.21-staging: the installer stops  because it thinks the OS is Vista or earlier (winxp). I used: win7, win8 
 #   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
 #   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
 #   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
@@ -51,7 +52,7 @@
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
  
-Set_OS "win7"
+Set_OS "win8"
  
 #######################################
 #  Installing mandatory dependencies  #

New source code

#!/bin/bash
# Date : (2019-09-17)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
#
# Software based on: My.com GameCenter.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-17 20-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: the installer stops  because it thinks the OS is Vista or earlier (winxp). I used: win7, win8 
#   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
#   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
#   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
#
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="My.Games Game Center"
PREFIX="My.Games"
EDITOR="My.Games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://store.my.game"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win8"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

POL_Call POL_Install_corefonts

# POL_Call POL_Install_d3dx9
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################

# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
POL_SetupWindow_InstallMethod "LOCAL"
 
POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
    
POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 17 September 2020 at 20:05
Dadu042

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 : (2019-09-17)
+# Last revision : See changelog
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux version used : 4.3.4
+#
+# Software version used to write this script:
+#        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
+#
+# Software based on: My.com GameCenter.
+#
+#
+#
+# CHANGELOG
+# [Dadu042] (2019-09-17 20-00)
+#   Initial writting.
+#
+# KNOWN ISSUES:
+#   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
+#   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
+#   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
+#
+#
+# KNOWN ISSUES (FIXED):
+#   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="My.Games Game Center"
+PREFIX="My.Games"
+EDITOR="My.Games"
+WORKING_WINE_VERSION="4.21-staging"
+AUTHOR="Dadu042"
+GAME_VMS="512"
+GAME_URL="https://store.my.game"
+      
+POL_SetupWindow_Init
+POL_Debug_Init
+     
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+     
+POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+     
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "auto"
+# POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+ 
+Set_OS "win7"
+ 
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
+POL_Call POL_Install_corefonts
+
+# POL_Call POL_Install_d3dx9
+# POL_Call POL_Install_vcrun2010
+# POL_Call POL_Install_wininet
+
+################
+#      GPU     #
+################
+           
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+            
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+             
+# Useful for Nvidia GPUs
+POL_Call POL_Install_physx
+ 
+ 
+#######################################
+#  Main part of this script           #
+#######################################
+
+# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
+POL_SetupWindow_InstallMethod "LOCAL"
+ 
+POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+        cd "$HOME"
+        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+ 
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
+#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
+        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
+        POL_Wine_WaitExit "$TITLE"
+fi
+    
+POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-09-17)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - X  (GameCenter shows: 'Version 11.0.01.35.1 of 09.09.2020')
#
# Software based on: My.com GameCenter.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-17 20-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2, 5.12: some characters are missing (ie: in the yellow box). Fix: Wine 4.21-staging
#   Wine amd64 5.8-staging, 5.9-staging, 5.10-staging: after clicking the yellow button (Play) the screen does freeze.
#   Wine amd64 5.11-staging: nothing does appears (not even the GameCenter).
#
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 5.0.2, 5.12: after the yellow button (play) a window titled 'MY.GAMES GameCenter' does appears, but without any content. Perhaps that the identify stage does fail (bcrypt related ?). Fix: Wine 4.21-staging 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="My.Games Game Center"
PREFIX="My.Games"
EDITOR="My.Games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://store.my.game"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

POL_Call POL_Install_corefonts

# POL_Call POL_Install_d3dx9
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################

# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
POL_SetupWindow_InstallMethod "LOCAL"
 
POL_SetupWindow_message "IMPORTANT: Do finish (and quit) the installation before to try to play." "$TITLE"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
    
POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com