MagicaVoxel

Informatie

Creator Bericht
baltpeter Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informatie

Platforms:
Downloads: 4610
Wine: 4.0

Feedbacks

Omschrijving

MagicaVoxel is a free lightweight 8-bit voxel art editor and interactive path tracing renderer by ephtracy.

Schermafdrukken

Miniature

Broncode

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-28T14:43:28
# Last revision : 2019-04-28T14:43:28
# Wine version used : 4.0
# Distribution used to test : Ubuntu 19.04
# Author : Benjamin Altpeter <hi@bn.al>
# Repo : https://github.com/baltpeter/playonlinux-scripts/

# CHANGELOG
# [Benjamin Altpeter] (2019-04-28)
#   First script.
# [Dadu042] (2019-09-17)
#   Add POL version warning.
#   Add software category.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="MagicaVoxel 0.99.3"
PREFIX="MagicaVoxel"
WINE_VERSION="4.0"
 
ZIP_URL="https://github.com/ephtracy/ephtracy.github.io/releases/download/v0.99.3/MagicaVoxel-0.99.3-alpha-win32.zip"
MD5="b62c9abd9f46e453c1e0c2f9fe892a2b"
ZIP_NAME="MagicaVoxel-0.99.3-alpha-win32.zip"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "ephtracy" "https://ephtracy.github.io/" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"
 
INSTALL_DIR="$WINEPREFIX/drive_c/$PREFIX"
 
mkdir -p "$INSTALL_DIR"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi
 
POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
 
POL_Shortcut "MagicaVoxel.exe" "$TITLE" "" "" "3DGraphics;"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Zondag 22 September 2019 om 20:07
Dadu042

Information

This update has been approved by the team.

Bericht

See changelog.

Differences

@@ -0,0 +1,61 @@
+#!/usr/bin/env playonlinux-bash
+# Date : 2019-04-28T14:43:28
+# Last revision : 2019-04-28T14:43:28
+# Wine version used : 4.0
+# Distribution used to test : Ubuntu 19.04
+# Author : Benjamin Altpeter <hi@bn.al>
+# Repo : https://github.com/baltpeter/playonlinux-scripts/
+
+# CHANGELOG
+# [Benjamin Altpeter] (2019-04-28)
+#   First script.
+# [Dadu042] (2019-09-17)
+#   Add POL version warning.
+#   Add software category.
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="MagicaVoxel 0.99.3"
+PREFIX="MagicaVoxel"
+WINE_VERSION="4.0"
+ 
+ZIP_URL="https://github.com/ephtracy/ephtracy.github.io/releases/download/v0.99.3/MagicaVoxel-0.99.3-alpha-win32.zip"
+MD5="b62c9abd9f46e453c1e0c2f9fe892a2b"
+ZIP_NAME="MagicaVoxel-0.99.3-alpha-win32.zip"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "ephtracy" "https://ephtracy.github.io/" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
+
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+ 
+INSTALL_DIR="$WINEPREFIX/drive_c/$PREFIX"
+ 
+mkdir -p "$INSTALL_DIR"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
+    ARCHIVE="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$INSTALL_DIR"
+    POL_Download "$ZIP_URL" "$MD5"
+    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
+fi
+ 
+POL_Wine_WaitBefore "$TITLE"
+echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
+unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
+ 
+POL_Shortcut "MagicaVoxel.exe" "$TITLE" "" "" "3DGraphics;"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-28T14:43:28
# Last revision : 2019-04-28T14:43:28
# Wine version used : 4.0
# Distribution used to test : Ubuntu 19.04
# Author : Benjamin Altpeter <hi@bn.al>
# Repo : https://github.com/baltpeter/playonlinux-scripts/

# CHANGELOG
# [Benjamin Altpeter] (2019-04-28)
#   First script.
# [Dadu042] (2019-09-17)
#   Add POL version warning.
#   Add software category.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="MagicaVoxel 0.99.3"
PREFIX="MagicaVoxel"
WINE_VERSION="4.0"
 
ZIP_URL="https://github.com/ephtracy/ephtracy.github.io/releases/download/v0.99.3/MagicaVoxel-0.99.3-alpha-win32.zip"
MD5="b62c9abd9f46e453c1e0c2f9fe892a2b"
ZIP_NAME="MagicaVoxel-0.99.3-alpha-win32.zip"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "ephtracy" "https://ephtracy.github.io/" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"
 
INSTALL_DIR="$WINEPREFIX/drive_c/$PREFIX"
 
mkdir -p "$INSTALL_DIR"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi
 
POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
 
POL_Shortcut "MagicaVoxel.exe" "$TITLE" "" "" "3DGraphics;"
 
POL_SetupWindow_Close
exit

Antwoorden

Aangepast door Dadu042

baltpeter Zondag 28 April 2019 om 15:07
baltpeter Anonymous

Warning

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

Bericht

Tested on Ubuntu 19.04.

Differences

@@ -0,0 +1,50 @@
+#!/usr/bin/env playonlinux-bash
+# Date : 2019-04-28T14:43:28
+# Last revision : 2019-04-28T14:43:28
+# Wine version used : 4.0
+# Distribution used to test : Ubuntu 19.04
+# Author : Benjamin Altpeter <hi@bn.al>
+# Repo : https://github.com/baltpeter/playonlinux-scripts/
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="MagicaVoxel 0.99.3"
+PREFIX="MagicaVoxel"
+WINE_VERSION="4.0"
+
+ZIP_URL="https://github.com/ephtracy/ephtracy.github.io/releases/download/v0.99.3/MagicaVoxel-0.99.3-alpha-win32.zip"
+MD5="b62c9abd9f46e453c1e0c2f9fe892a2b"
+ZIP_NAME="MagicaVoxel-0.99.3-alpha-win32.zip"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "ephtracy" "https://ephtracy.github.io/" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+INSTALL_DIR="$WINEPREFIX/drive_c/$PREFIX"
+
+mkdir -p "$INSTALL_DIR"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
+    ARCHIVE="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$INSTALL_DIR"
+    POL_Download "$ZIP_URL" "$MD5"
+    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
+fi
+
+POL_Wine_WaitBefore "$TITLE"
+echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
+unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
+
+POL_Shortcut "MagicaVoxel.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-28T14:43:28
# Last revision : 2019-04-28T14:43:28
# Wine version used : 4.0
# Distribution used to test : Ubuntu 19.04
# Author : Benjamin Altpeter <hi@bn.al>
# Repo : https://github.com/baltpeter/playonlinux-scripts/
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="MagicaVoxel 0.99.3"
PREFIX="MagicaVoxel"
WINE_VERSION="4.0"

ZIP_URL="https://github.com/ephtracy/ephtracy.github.io/releases/download/v0.99.3/MagicaVoxel-0.99.3-alpha-win32.zip"
MD5="b62c9abd9f46e453c1e0c2f9fe892a2b"
ZIP_NAME="MagicaVoxel-0.99.3-alpha-win32.zip"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "ephtracy" "https://ephtracy.github.io/" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

INSTALL_DIR="$WINEPREFIX/drive_c/$PREFIX"

mkdir -p "$INSTALL_DIR"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi

POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."

POL_Shortcut "MagicaVoxel.exe" "$TITLE"

POL_SetupWindow_Close
exit

Antwoorden

Aangepast door baltpeter

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