Forums

[Script] Trine 2

..because I didnt like the native Linux version. :)

Auteur Réponses
Ronin DUSETTE Vendredi 3 Mai 2013 à 21:38
Ronin DUSETTE

Yes, I said it. Lol. The native version actually didnt run as clean for me on Linux as it did through Wine.

Here it is:

#!/bin/bash
# Date : (2013-05-31)
# Last revision : (2013-05-03)
# Distribution used to test : Kubuntu 12.04.2 LTS 64-bit
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.1
     
     
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
PREFIX="Trine2"
WINEVERSION="1.5.6"
TITLE="Trine 2"
EDITOR="Frozenbyte"
GAME_URL="http://www.trine2.com"
AUTHOR="DJYoshaBYD"
     
#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_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file (32-bit only, please):')" "$TITLE"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
     
# Dependencies
POL_Call POL_Install_d3dx9

# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"

# Installation
POL_SetupWindow_message "$(eval_gettext 'Do not run $TITLE until after the install has finished. Do NOT install DirectX if asked.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
     
# Create Shortcuts
POL_Shortcut "trine2_32bit.exe" "$TITLE"
POL_Shortcut "trine2_launcher.exe" "$TITLE Launcher"
     
POL_SetupWindow_Close
exit 0


A couple of Screenshots:







Ill create some resources and icons a little later today or tomorrow.

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Vendredi 3 Mai 2013 à 23:26
Ronin DUSETTE

Here is the link to all of the rest of the resources. :)

http://djyoshabyd.quicktech209.com/repository/Resources/Screenshots/Wine/Trine2/

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Samedi 4 Mai 2013 à 1:02
petch

Ronin DUSETTE Samedi 4 Mai 2013 à 1:08
Ronin DUSETTE

Sweeet. I love this game. Its so, well, pretty. Very fun with great eye-candy.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
GNU_Raziel Dimanche 5 Mai 2013 à 2:40
GNU_Raziel

PoL/PoM policy is to not support game with native version, I bought the steam version and installed as native it work as well as windows version, no error, no crash, no problem, nothing...work perfect.

I personnaly don't care about supporting or not this game but we never done it before and we already stated that we will always support native version instead of non-native so why do it for this one...report bugs and help dev to fix native version instead seems to be a far better way.
petch Dimanche 5 Mai 2013 à 9:19
petch

Mmmh I forgot about that.
I had the same problem with Psychonauts by the way, native version has some sound issues that the Windows version+Wine doesn't have...
Ronin DUSETTE Dimanche 5 Mai 2013 à 16:38
Ronin DUSETTE

Ah. I guess it was just my system. I didnt seen this policy posted anywhere, but yeah. I was having issues with the native one in terms of graphics, Win ver + wine worked great. Ill keep this in mind for later.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts

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 dmcayonlinux.com