3D Train Studio

Informatie

Creator Bericht
StefanWerner Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 24709
Wine: 2.22

Feedbacks

Omschrijving

3D Train Studio is  software for planning and simulating model railroad layouts on the computer. The software is available as a free standard version and as a commercial professional version.
This script download and install the free standard version.

Schermafdrukken

MiniatureMiniatureMiniature

Broncode

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : See changelog
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner

# CHANGELOG
# [Dadu042] (2019-09-19)
#   Wine 1.9.2 -> 2.22, in order to fix script 'windows fail to appear' (on Ubuntu 18.04 x64).

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


# Define constants
TITLE="3D Train Studio"
PREFIX="3D_TrainStudio"
WINEVERSION="2.22"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "https://www.3d-modellbahn.de/files/client/v3/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Donderdag 19 September 2019 om 14:17
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,16 +1,21 @@
 #!/bin/bash
 # Date : (2015-03-05 09-05)
-# Last revision : (2015-03-05 09-05)
+# Last revision : See changelog
 # Distribution used to test : Ubuntu 14.04 LTS
 # Author : Stefan Werner
+
+# CHANGELOG
+# [Dadu042] (2019-09-19)
+#   Wine 1.9.2 -> 2.22, in order to fix script 'windows fail to appear' (on Ubuntu 18.04 x64).
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 
 # Define constants
 TITLE="3D Train Studio"
-PREFIX="TrainStudio"
-WINEVERSION="1.9.2"
+PREFIX="3D_TrainStudio"
+WINEVERSION="2.22"
 
 # Start installation
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : See changelog
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner

# CHANGELOG
# [Dadu042] (2019-09-19)
#   Wine 1.9.2 -> 2.22, in order to fix script 'windows fail to appear' (on Ubuntu 18.04 x64).

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


# Define constants
TITLE="3D Train Studio"
PREFIX="3D_TrainStudio"
WINEVERSION="2.22"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "https://www.3d-modellbahn.de/files/client/v3/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

Aangepast door Dadu042

StefanWerner Vrijdag 19 Januari 2018 om 20:43
StefanWerner Anonymous

Warning

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

Differences

@@ -41,7 +41,7 @@
 then
     POL_System_TmpCreate "$PREFIX"    
     cd "$POL_System_TmpDir"
-    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
+    POL_Download "https://www.3d-modellbahn.de/files/client/v3/SetupTrainStudio.exe"
     POL_Wine_WaitBefore "$TITLE"
     POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
     POL_System_TmpDelete

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"
WINEVERSION="1.9.2"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "https://www.3d-modellbahn.de/files/client/v3/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

StefanWerner Woensdag 27 Januari 2016 om 13:41
StefanWerner Anonymous

Warning

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

Bericht

Updated Wine version to improve the compatibility.

Differences

@@ -10,7 +10,7 @@
 # Define constants
 TITLE="3D Train Studio"
 PREFIX="TrainStudio"
-WINEVERSION="1.7.38"
+WINEVERSION="1.9.2"
 
 # Start installation
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"
WINEVERSION="1.9.2"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

StefanWerner Maandag 16 Maart 2015 om 17:37
StefanWerner Anonymous

Warning

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

Bericht

Updated wine to the latest version to fix some compatibility issues.

In addition, please mark this installer as compatible to MacOS X.

Differences

@@ -10,7 +10,7 @@
 # Define constants
 TITLE="3D Train Studio"
 PREFIX="TrainStudio"
-WINEVERSION="1.6.2"
+WINEVERSION="1.7.38"
 
 # Start installation
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"
WINEVERSION="1.7.38"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

Maandag 16 Maart 2015 om 17:47
Cool. Approved. :)
Maandag 16 Maart 2015 om 17:48
I also updated the categories to include OSX.
Anonymous
Maandag 16 Maart 2015 om 17:48
Thank you!
Maandag 16 Maart 2015 om 17:48
np
Anonymous
Vrijdag 22 Januari 2016 om 14:27
When I try to install this, I get an error:
Anonymous
Vrijdag 22 Januari 2016 om 14:29
"we could not find any compatible graphics card for display. Make sure that your video card supports DirectX9.0c. I use a bankbook pro 2.5 Ghz Core i5. What am I doing wrong?
StefanWerner Vrijdag 6 Maart 2015 om 0:25
StefanWerner Anonymous

Warning

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

Differences

@@ -1,7 +1,6 @@
 #!/bin/bash
 # Date : (2015-03-05 09-05)
 # Last revision : (2015-03-05 09-05)
-# Wine version used : 1.6.2
 # Distribution used to test : Ubuntu 14.04 LTS
 # Author : Stefan Werner
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -11,6 +10,7 @@
 # Define constants
 TITLE="3D Train Studio"
 PREFIX="TrainStudio"
+WINEVERSION="1.6.2"
 
 # Start installation
 POL_SetupWindow_Init
@@ -21,7 +21,7 @@
 POL_System_SetArch "x86"
 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
+POL_Wine_PrefixCreate "$WINEVERSION"
 
 Set_OS "win7"
 POL_Wine_Direct3D "UseGLSL" "disabled"

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"
WINEVERSION="1.6.2"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

Vrijdag 6 Maart 2015 om 0:30
Perfect. :)
Vrijdag 6 Maart 2015 om 0:31
Ok. You should be good to go now. Refresh the Install window or restart POL for it to show up.
Anonymous
Vrijdag 6 Maart 2015 om 0:41
Yes, it runs. Thank you. One last question: Do I have to keep the files to the screenshots and icons on my server?
Vrijdag 6 Maart 2015 om 0:44
The screenshots are already uploaded, so no. For the script resources (left.jpg, etc.), wait for confirmation from an admin that they have been uploaded to our server. Then you can safely delete them.
Vrijdag 6 Maart 2015 om 5:42
Mmmh the only graphical resources I've seen mentionned all along are the screenshots, no icons or left.jpg/top.jpg... (?)
Vrijdag 6 Maart 2015 om 6:44
They are a few posts down:

Links to the icons:

http://www.3d-modellbahn.de/files/trainstudio-22x22.png
http://www.3d-modellbahn.de/files/trainstudio-48x48.png
http://www.3d-modellbahn.de/files/left.png
http://www.3d-modellbahn.de/files/top.png
Ronin DUSETTE Donderdag 5 Maart 2015 om 23:51
Ronin DUSETTE
Admin

Warning

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

Bericht

Wait. Actually, you need to declare and use a wine version. Using the system version is not recommended, and will likely be deprecated soon. Please look at other scripts (for instance https://www.playonlinux.com/en/app-2316-Adobe_Photoshop_CS6.html ) and make sure that you declare and use a WINEVERSION and use it when using POL_Wine_PrefixCreate. It is important that you are always explicit in declaring a Wine version, as it will make your script portable (if someone has a different version of Wine installed on their system that is not compatible with your software, the script won't work.).

If you have tested it fine with a specific version of Wine, then declare that version and use it as stated in other scripts, and POL will download/install the WineBuild that you declare and assign it to the virtual drive automatically.

Differences

@@ -7,6 +7,7 @@
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
+
 # Define constants
 TITLE="3D Train Studio"
 PREFIX="TrainStudio"

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

Vrijdag 6 Maart 2015 om 0:03
I have removed the script from our repository temporarily. Just until you fix the WINEVERSION issue. Other than that, the script is fine.
Anonymous
Vrijdag 6 Maart 2015 om 0:26
Thanks for the information, I've update the script.

Aangepast door RoninDusette

Ronin DUSETTE Donderdag 5 Maart 2015 om 23:44
Ronin DUSETTE
Admin

Bericht

Moved links to resources to commit message instead of "Description" section.

 

Direct screenshot links:

  • http://www.3d-modellbahn.de/files/wine0.jpg
  • http://www.3d-modellbahn.de/files/wine1.jpg
  • http://www.3d-modellbahn.de/files/wine2.jpg

Links to the icons:

  • http://www.3d-modellbahn.de/files/trainstudio-22x22.png
  • http://www.3d-modellbahn.de/files/trainstudio-48x48.png
  • http://www.3d-modellbahn.de/files/left.png
  • http://www.3d-modellbahn.de/files/top.png

Antwoorden

StefanWerner Donderdag 5 Maart 2015 om 23:33
StefanWerner Anonymous

Warning

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

Differences

@@ -0,0 +1,52 @@
+#!/bin/bash
+# Date : (2015-03-05 09-05)
+# Last revision : (2015-03-05 09-05)
+# Wine version used : 1.6.2
+# Distribution used to test : Ubuntu 14.04 LTS
+# Author : Stefan Werner
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Define constants
+TITLE="3D Train Studio"
+PREFIX="TrainStudio"
+
+# Start installation
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"
+
+# Prepare the wine config
+POL_System_SetArch "x86"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+Set_OS "win7"
+POL_Wine_Direct3D "UseGLSL" "disabled"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
+POL_Call POL_Install_tahoma2
+
+# Install the main application, either by using a local setup file or by downloading
+# the latest setup from the web.
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    POL_System_TmpCreate "$PREFIX"    
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
+    POL_System_TmpDelete
+fi
+ 
+# Finish installation
+POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-03-05 09-05)
# Last revision : (2015-03-05 09-05)
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Stefan Werner
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Define constants
TITLE="3D Train Studio"
PREFIX="TrainStudio"

# Start installation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Stefan Werner" "http://www.3d-train.com" "Stefan Werner" "$PREFIX"

# Prepare the wine config
POL_System_SetArch "x86"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "disabled"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while installing prerequisites.')" "$TITLE"
POL_Call POL_Install_tahoma2

# Install the main application, either by using a local setup file or by downloading
# the latest setup from the web.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"    
    cd "$POL_System_TmpDir"
    POL_Download "http://www.3d-modellbahn.de/files/client/SetupTrainStudio.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$POL_System_TmpDir/SetupTrainStudio.exe"
    POL_System_TmpDelete
fi
 
# Finish installation
POL_Shortcut "ModellbahnStudio.exe" "$TITLE"
POL_SetupWindow_Close
exit

Antwoorden

Donderdag 5 Maart 2015 om 23:41
Approved. For the screenshots; please remove all of them from the "Description" section and upload using the "Add a screenshot" button just above "Contributions". Screenshots should only be placed there using the "add a screenshot" function on this page.

Also, please remove everything that is not a description from the description section. There should be absolutely nothing in the description section except a description. The script will show up in the appropriate spot automatically, and the screenshots will go where they need to when uploaded using the correct function. 
Donderdag 5 Maart 2015 om 23:46
I did this for you. You just have to upload your screenshots using the button I referenced previously.
Anonymous
Donderdag 5 Maart 2015 om 23:48
Thanks for approving, but I can not edit my own description nor do I see a "Add a screenshot" button just above "Contributions". Is this a rights problem?
Donderdag 5 Maart 2015 om 23:53
When you first created the script you have access to the description section. Just keep it in mind next time you want to add a script (the only thing in the description should be a description of the program. Not the author or anything else.).

I may be a rights issue for the screenshots. I will take care of them for now and look in to that issue.