Cities XL Platinum

Informations

Creator Message
Ronin DUSETTE

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 10017
Wine:

Feedbacks

Description

Cities XL (2009) is a city-building computer game developed by Monte Cristo as a sequel to their earlier game City Life. Wikipedia.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2015-04-03)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.6
#
# CHANGELOG
# [RoninDusette] (2015-04-03)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Remove something useless.
#   Standardize.

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

PREFIX="CitiesXLPlatinum"
TITLE="Cities XL Platinum"
EDITOR="Focus Home Interactive"
GAME_URL="http://www2.citiesxl.com/"
STEAM_ID="231140"
AUTHOR="RoninDusette"

#Initialization
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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"

#Dependencies
POL_Call POL_Install_steam

# Installation        
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 23 February 2020 at 9:16
Dadu042

Information

This update has been approved by the team.

Differences

@@ -4,13 +4,18 @@
 # Author : RoninDusette
 # Licence : GPLv3
 # PlayOnLinux: 4.2.6
-
+#
+# CHANGELOG
+# [RoninDusette] (2015-04-03)
+#   Initial script.
+# [Dadu042] (2020-02-23 23:41)
+#   Remove something useless.
+#   Standardize.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="CitiesXLPlatinum"
-WINEVERSION="1.7.39"
 TITLE="Cities XL Platinum"
 EDITOR="Focus Home Interactive"
 GAME_URL="http://www2.citiesxl.com/"

New source code

#!/bin/bash
# Date : (2015-04-03)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.6
#
# CHANGELOG
# [RoninDusette] (2015-04-03)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Remove something useless.
#   Standardize.

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

PREFIX="CitiesXLPlatinum"
TITLE="Cities XL Platinum"
EDITOR="Focus Home Interactive"
GAME_URL="http://www2.citiesxl.com/"
STEAM_ID="231140"
AUTHOR="RoninDusette"

#Initialization
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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"

#Dependencies
POL_Call POL_Install_steam

# Installation        
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

POL_SetupWindow_Close
exit 0

Replies

Ronin DUSETTE Saturday 4 April 2015 at 9:10
Ronin DUSETTE

Warning

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

Message

Initial commit

Differences

@@ -0,0 +1,50 @@
+#!/bin/bash
+# Date : (2015-04-03)
+# Distribution used to test : Kubuntu 14.04 LTS 64-bit
+# Author : RoninDusette
+# Licence : GPLv3
+# PlayOnLinux: 4.2.6
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="CitiesXLPlatinum"
+WINEVERSION="1.7.39"
+TITLE="Cities XL Platinum"
+EDITOR="Focus Home Interactive"
+GAME_URL="http://www2.citiesxl.com/"
+STEAM_ID="231140"
+AUTHOR="RoninDusette"
+
+#Initialization
+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
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Configuration
+Set_OS "winxp"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
+
+#Dependencies
+POL_Call POL_Install_steam
+
+# Installation	
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitExit "$TITLE"
+
+# Create Shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-04-03)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.6


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

PREFIX="CitiesXLPlatinum"
WINEVERSION="1.7.39"
TITLE="Cities XL Platinum"
EDITOR="Focus Home Interactive"
GAME_URL="http://www2.citiesxl.com/"
STEAM_ID="231140"
AUTHOR="RoninDusette"

#Initialization
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

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"

#Dependencies
POL_Call POL_Install_steam

# Installation        
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

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