The forum

[Script] - Praetorians

Author Replies
markus_s Sunday 8 December 2013 at 14:35

Installs Praetorians. Just a standard script for a game and everything seems to work.

# Date : (2013-12-08 14-47)
# Wine version used : 1.4.1
# Distribution used to test : Ubuntu 12.04.2
# Author : markus_s
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE=" - Praetorians"
POL_GetSetupImages "" "" "$TITLE"
POL_SetupWindow_SetID 1228
POL_SetupWindow_presentation "$TITLE" " Pyro Studios / Merge Games" "$GOGID" "markus_s" "$PREFIX"
POL_Call POL_GoG_setup "$GOGID" "424388936d26a04dd109a2cc3ef0035a"
POL_Wine_SelectPrefix "$PREFIX"
POL_Call POL_GoG_install
# GoG work!
Set_OS winxp
POL_SetupWindow_VMS "16"

# Doesn't hurt ;)
POL_Shortcut "Praetorians.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Praetorians/Manual.pdf"


exit 0


petch Sunday 8 December 2013 at 16:37

Hi markus_s,
Nice to see this script, I have the game but didn't had the time to write a script for it (todo list is expanding...)

Anyway, my own review:
POL_SetupWindow_SetID 1228

Like said for the 7 kingdoms script, don't forget to update the script ID when editing

POL_Shortcut_QuietDebug "$SHORTCUT_NAME"

This is used for programs that forget to set their exitcode to 0 when they exit normally, and prevents PlayOnLinux/PlayOnMac from reporting an error message.

Is it there because both games forget to set their exitcode, or just as a remnant of the original script? If not necessary better drop it.
petch Tuesday 17 December 2013 at 20:09

petch Tuesday 17 December 2013 at 20:32

By the way, the download hash doesn't seem to match the latest installer (

Edit: the hash is correct in the script of the first message of this thread, I assume you forgot to port the update to the final script, updated

Edited by petch

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