MagicaVoxel

Informations

Créateur Messages
baltpeter Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4590
Wine: 4.0

Retours d'expérience

Description

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

Captures d'écran

Miniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Dimanche 22 September 2019 à 20:07
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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

Nouveau code source

#!/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

Réponses

Edité par Dadu042

baltpeter Dimanche 28 Avril 2019 à 15:07
baltpeter Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Edité par 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