Napoleon Total War (steam)

Informations

Creator Message
robka Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 10782
Wine: 1.7.14-NapoleonTotalWAR

Feedbacks

Description

RTS, 2010. Wikipedia.

PCGamingWiki, Appdb.winehq.org

Source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

WORKING_WINE_VERSION="1.7.14-NapoleonTotalWAR"
TITLE="Napoleon Total War (steam)"
PREFIX="Napoleon_Total_War"
SHORTCUT_NAME="Napoleon Total War"
STEAM_URL="http://store.steampowered.com/app/34030"


POL_SetupWindow_Init
POL_SetupWindow_SetID 2698
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "The Creative Assembly" $STEAM_URL "Robin Karlsson" $PREFIX

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam



cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/34030
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Napoleon.exe" "$SHORTCUT_NAME"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
robka Sunday 3 January 2016 at 23:25
robka Anonymous

Warning

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

Differences

@@ -21,7 +21,7 @@
 
 
 
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+cd "$PREFIX/drive_c/Program Files/Steam"
 POL_Wine "steam.exe" steam://install/34030
 POL_Wine_WaitExit "$TITLE"
 

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

WORKING_WINE_VERSION="1.7.14-NapoleonTotalWAR"
TITLE="Napoleon Total War (steam)"
PREFIX="Napoleon_Total_War"
SHORTCUT_NAME="Napoleon Total War"
STEAM_URL="http://store.steampowered.com/app/34030"


POL_SetupWindow_Init
POL_SetupWindow_SetID 2698
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "The Creative Assembly" $STEAM_URL "Robin Karlsson" $PREFIX

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam



cd "$PREFIX/drive_c/Program Files/Steam"
POL_Wine "steam.exe" steam://install/34030
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Napoleon.exe" "$SHORTCUT_NAME"

POL_SetupWindow_Close
exit

Replies

Monday 4 January 2016 at 0:12
I'm not sure what's the problem, but that's not the solution...
robka Sunday 3 January 2016 at 12:38
robka Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,31 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+WORKING_WINE_VERSION="1.7.14-NapoleonTotalWAR"
+TITLE="Napoleon Total War (steam)"
+PREFIX="Napoleon_Total_War"
+SHORTCUT_NAME="Napoleon Total War"
+STEAM_URL="http://store.steampowered.com/app/34030"
+
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2698
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "The Creative Assembly" $STEAM_URL "Robin Karlsson" $PREFIX
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Install_steam
+
+
+
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/34030
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "Napoleon.exe" "$SHORTCUT_NAME"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

WORKING_WINE_VERSION="1.7.14-NapoleonTotalWAR"
TITLE="Napoleon Total War (steam)"
PREFIX="Napoleon_Total_War"
SHORTCUT_NAME="Napoleon Total War"
STEAM_URL="http://store.steampowered.com/app/34030"


POL_SetupWindow_Init
POL_SetupWindow_SetID 2698
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "The Creative Assembly" $STEAM_URL "Robin Karlsson" $PREFIX

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam



cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/34030
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Napoleon.exe" "$SHORTCUT_NAME"

POL_SetupWindow_Close
exit

Replies

Anonymous
Sunday 28 May 2017 at 14:40
How to install manually with out installer? :)

Edited by petch