yWriter 5

Informations

Creator Message
Ronin DUSETTE

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16237
Wine: 1.6.2

Feedbacks

Description

"yWriter is a word processor which breaks your novel into chapters and scenes, helping you keep track of your work while leaving your mind free to create. It will not write your novel for you, suggest plot ideas or perform creative tasks of any kind. yWriter was designed by an author, not a salesman!"   Website.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


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

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.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_System_unzip
POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
POL_SetupWindow_SetID 1916

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
petch Friday 14 August 2015 at 23:53
petch

Information

This update has been approved by the team.

Message

Add POL_RequiredVersion (for POL_System_unzip use) and SetID

Differences

@@ -20,6 +20,9 @@
 #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_System_unzip
+POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
+POL_SetupWindow_SetID 1916
 
 POL_Debug_Init
 

New source code

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


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

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.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_System_unzip
POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
POL_SetupWindow_SetID 1916

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Replies

petch Friday 14 August 2015 at 21:39
petch

Warning

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

Message

Update download hash

Update Wine version

Add dotnet20sp2 component (fixes freeze at the end of new project wizard)

Some cleanups

Support for "local" install method (web site is very slow)

Differences

@@ -5,57 +5,62 @@
 # Author : DJYoshaBYD
 # Licence : GPLv3
 # PlayOnLinux: 4.2.2
-     
-     
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-     
+
 PREFIX="ywriter5"
-WINEVERSION="1.6"
+WINEVERSION="1.6.2"
 TITLE="yWriter 5"
 EDITOR="Spacejock Software"
 GAME_URL="http://www.spacejock.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_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"
-     
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
+    ZIPARCHIVE="$APP_ANSWER"
+else
+    POL_System_TmpCreate "$PREFIX"
+
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
+    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
+fi
+
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-     
+
 #Dependencies
 POL_Call POL_Install_gdiplus
 POL_Call POL_Install_riched20
-     
+POL_Call POL_Install_dotnet20sp2
+
 # Configuration
 Set_OS "winxp"
-     
+
 # Installation
-cd $POL_USER_ROOT/tmp
- 
-POL_Download "http://www.spacejock.com/files/yWriter5.zip" "2bc1d83f98ce9460563d3e24456f07f5"
- 
-POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "$TITLE"
- 
 POL_Debug_Message "Installing $TITLE..."
- 
-unzip $POL_USER_ROOT/tmp/yWriter5.zip -d $WINEPREFIX/drive_c
 
- 
-# Cleanup TMP folder
- 
-rm $POL_USER_ROOT/tmp/yWriter5.zip
-     
+POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"
+
+
 # Create Shortcuts
 POL_Shortcut "yWriter5.exe" "$TITLE"
 
+# Cleanup TMP folder
+POL_System_TmpDelete
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


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

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.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"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Replies

Edited by petch

Angel_VV Thursday 17 July 2014 at 7:50
Angel_VV Anonymous

Message

I sent a bug report on your installer, but if you ignore it, it's OK. The installer yields an error when checking the md5 checksum, but the program installs anyway and runs perfectly.

Replies

Anonymous
Thursday 17 July 2014 at 17:18
The bug are not ignored, they are stored in a different place because we receive a very huge amount of them. Do you have the new md5sum?

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 dmca-notice@playonlinux.com