Description:
With AndreaMosaic you can create your own photographic mosaics made with your own pictures. A photo mosaic is an image composed of many tiled photos.
Notes:
- Free to Play
- Only PlayOnLinux (no PlayOnMac)
- Graphics Program
- Program is downloaded from official website or can be submited manually
I tested on Ubuntu 15.04 with default installation, PlayOnLinux 4.2.5 and Wine 1.6.2.
Script:
#!/usr/bin/env playonlinux-bash
# Date : 2015-06-10
# Last revision : 2015-10-07
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 15.04 x86_64, Linux kernel 3.19.0-18.18 generic
# Author : Andrea Denzler
# Note: This script should be used only for PlayOnLinux since there is a specific release for Mac available on the Official web site
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
APP_URL="http://www.andreaplanet.com/andreamosaic"
EDITOR="Andrea Denzler"
# 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" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
POL_System_TmpCreate "$PREFIX" # Create temp folder
cd "$POL_System_TmpDir"
# Ask if Beta ora Stable version
POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then
DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
DOWNLOAD_FILE="download.php?version=portablebeta"
else
DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
DOWNLOAD_FILE="download.php?version=portable"
fi
POL_Debug_Message "Download URL is $DOWNLOAD_URL"
POL_Debug_Message "Download File is $DOWNLOAD_FILE"
POL_Download "$DOWNLOAD_URL"
# Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi
# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"
# Free downloaded file
POL_System_TmpDelete
# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi
# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
# Exit
POL_SetupWindow_Close
exit
Screenshots
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenshotLinux.jpg[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShot.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotToolTip.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotSelectTiles.png[/img]
Left Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicLogo150x356.png[/img]
Top Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon64x64.png[/img]
48x48
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon48x48.png[/img]
22x22
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon22x22.png[/img]
--------------------------------------------------------------------------
Below the initial error messages I got that where fixed:
Wine didn't started due to Audio driver problem that disappeared after adding
Set_SoundDriver "alsa"
Set_SoundEmulDriver "Y"
Not sure if this is the correct approach. The software doesn't use audio at all and it was tested with older versions of Wine too. Only basic Wine installation is required. No .NET, no Browser.
Errors:
The software runs very well. PDF File (user manual), Hyperlink, Drag & Drop. No errors. Only two minor issues:
1) When installing an error message is shown while trying to show the license (because it isn't a UTF-8 file). It will be fixed soon in the next release of the software. So it's not an issue.
2) When initially starting the program an error message is shown.
Error in main
AndreaMosaic crashed.
Click on debug link to get more details.
I have no idea why, there is no real crash, and with debug +all I didn't found anything useful. If the program is closed and I start the Configure->Wine->Command Prompt and then try to start the program from the command line then no error is shown. I would like to fix that.
Edited by andreaplanet