risen.sh 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/bash
  2. # Date : (2014-08-19 19:41)
  3. # Last Revision : (2016-10-25 21:36)
  4. # Wine Version used : 1.8.4
  5. # Distribution used to test : Void Linux
  6. # Author: Hoshpak
  7. # Script license : GPL v2
  8. # Programm license : Retail
  9. # Depend :
  10. [ "$PLAYONLINUX" = "" ] && exit 0
  11. source "$PLAYONLINUX/lib/sources"
  12. GOGID="risen"
  13. PREFIX="Risen_gog"
  14. WORKING_WINE_VERSION="1.8.4"
  15. TITLE="GOG.com - Risen"
  16. POL_SetupWindow_Init
  17. POL_Debug_Init
  18. POL_SetupWindow_presentation "$TITLE" "Piranha Bytes" "http://www.gog.com/game/$GOGID" "Hoshpak" "$PREFIX"
  19. POL_Call POL_GoG_setup "$GOGID"
  20. POL_Wine_SelectPrefix "$PREFIX"
  21. POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  22. POL_Call POL_GoG_install
  23. POL_Call POL_Install_d3dx9_36
  24. Set_OS winxp
  25. # Configure the shortcut
  26. GOGPATH="$GOGROOT/Risen"
  27. POL_Shortcut "Risen.exe" "Risen" "" "" "Game;"
  28. POL_Shortcut_Document "Risen" "$GOGPATH/Risen - Manual.pdf"
  29. POL_SetupWindow_Close
  30. exit 0