The forum

[Script]Ableton Live 8.2.2 w/ LINK TO SCREENSHOTS

My first script. Input welcome :)

Author Replies
Jump to the page: 1 - 2 - 3
Ronin DUSETTE Tuesday 4 December 2012 at 1:17
Ronin DUSETTE

[b]**NOTE: THIS PROGRAM HAS A KNOWN BUG WITH UNITY (REGULAR UBUNTU'S DESKTOP ENVIRONMENT). THIS APP HAS BEEN TESTED WORKING WITH KDE, XFCE, CINNAMON, AND MATE. IF YOU ARE NOT USING ONE OF THESE, AND HAVE THE FOLLOWING SYMPTOMS:
[I]RIGHT-CLICK DOESNT WORK
KEYBOARD SHORTCUTS DONT WORK[/I]

THIS IS NOT SOMETHING THAT I HAVE ANY CLUE ON HOW TO FIX. UNITY, CANONICAL'S INVENTION, IS SOMEHOW CAUSING IT NOT TO WORK. IF ANYONE HAS ANY IDEAS, PLEASE POST THEM HERE.[/B]
Here is the updated version of this script, running VERY VERY well, with no errors or glitches. I have installed in multiple times on my system to make sure it works well. Enjoy!!

Hopefully this one will get approved. :D Teehee.

I also finally have Reason 5 working, menu's and all, so I will probably work on that script this week and get it posted. 

[code language=playonlinux]
#!/bin/bash
# Date : (2013-01-14)
# Last revision : (2013-01-14)
# Distribution used to test : Kubuntu 12.04 LTS
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.1.9 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
WINEVERSION="1.5.20"
TITLE="Ableton Live 8.2.2"   
#Initialization
POL_SetupWindow_Init
POL_RequiredVersion "4.1.9" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.9 is required to install $TITLE"
POL_Debug_Init     
# Presentation
POL_SetupWindow_presentation "Live 8.2.2" "Ableton" "http://www.ableton.com" "DJYoshaBYD" "Ableton8"      
# Create Prefix
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "AbletonLive822"
POL_Wine_PrefixCreate "$WINEVERSION"   
#Dependencies
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_corefonts   
# Configuration
Set_OS "winxp"
POL_Wine_Direct3D "DirectDrawRenderer" "gdi"     
# Installation
POL_SetupWindow_InstallMethod "LOCAL" 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: To register; Install $TITLE, then run after install. When it opens asking for registration, drag-and-drop your reg file into $TITLE')" "$TITLE" 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then   
POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE Install file:')" "$TITLE"   
POL_Wine_WaitBefore "$TITLE"   
GC_DONT_GC=1 POL_Wine "$APP_ANSWER"
fi
POL_Wine_WaitExit "$TITLE"
# Create Shortcuts
POL_Shortcut "Live 8.2.2.exe" "Ableton Live 8.2.2"
POL_SetupWindow_Close
exit 0[/code]

Edited by RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Monday 10 December 2012 at 4:55
Ronin DUSETTE

Link to screenshots:

http://repository.quicktech209.com/Resources/Screenshots/Wine/Ableton8/

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Monday 10 December 2012 at 7:50
petch

Hi DJYoshaBYD,

(Added "code" tag to your message to improve readability and benefit from line numbers)

Some (maybe not exhaustive) remarks about the code:

- use POL_Wine_PrefixCreate "Wineversion" instead of manipulating POL_WINEVERSION directly

- define PREFIX="AbletonLive822" to avoid duplication and make it easier to spot virtual drive name

- is the "sleep 5; POL_Wine_reboot" actually required? Use of "sleep" in automation is usually a bad code smell

- As written, "POL_SetupWindow_InstallMethod "LOCAL,CD"" is unnecessary (you're not making any use of $INSTALL_METHOD) (http://www.playonmac.com/en/dev-documentation-7.html)

- Use eval_gettext consistently and use standard messages whenever possible to avoid duplicate work by translation team (http://www.playonmac.com/en/dev-documentation-10.html): "Please select the setup file to run.", "Please wait while $TITLE is installed.",...

- Improvement: it's recommended to create the virtual drive as late as possible; So I'd move lines 20 to 42 after line 47

Edited by petch

Ronin DUSETTE Monday 10 December 2012 at 16:59
Ronin DUSETTE

Yeah. this is my first one. Lol. Just getting into this project. Ill make those corrections and re-post.

The sleep and reboot code I just thought was needed for install c++ and stuff, so since Its not, I can take it out.

Thanks again for checking this out. Ill get this taken care of.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Monday 14 January 2013 at 22:22
Ronin DUSETTE

Just updated the script. Check original post for update. 

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Monday 14 January 2013 at 22:49
petch

(there has been an issue with your paste, reformatting as well as I could
Ronin DUSETTE Tuesday 15 January 2013 at 4:18
Ronin DUSETTE

Yeah. I noticed that earlier. It was fine, and then it would change after I saved it. I did it a couple of times, and it worked, but I guess something must be wrong. Perhaps on my side. Chrome just had an update yesterday, and its been somewhat buggy.

PS- Thanks for helping with the reformatting, as well as the tips. I looked through a bunch of other scripts to get a feel for how they are written. 

Edited by RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Friday 18 January 2013 at 14:33
petch

Hi,

I validated the script in the repository with a few changes (that you can check in the history of changes).
I'm tempted to remove the version number from $PREFIX, unless you plan to support the installation of several versions in parallel.

To add an icon to the installer, I need at least a 22x22 PNG icon;
Your screenshots have disappared;By the way, if you want to submit some again, those must be screenshots of the working program, not of the full desktop, and not of the installation.

Regards,
Pierre.
Ronin DUSETTE Tuesday 22 January 2013 at 21:10
Ronin DUSETTE

Excellent. The version number can be removed, as I have tested the script on a few recent versions of ableton 8, and they are all functional. No one would really run two different versions of that program. Not for any reason that I can see.

Ill get you the icon here in a few. Ill make a list of this and get it posted by the end of the day.

sawweeeeeeet.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Tuesday 22 January 2013 at 22:31
Ronin DUSETTE

Hi,

I validated the script in the repository with a few changes (that you can check in the history of changes).
I'm tempted to remove the version number from $PREFIX, unless you plan to support the installation of several versions in parallel.

To add an icon to the installer, I need at least a 22x22 PNG icon;
Your screenshots have disappared;By the way, if you want to submit some again, those must be screenshots of the working program, not of the full desktop, and not of the installation.

Regards,
Pierre.

Quote from petch

Here is the link to the 22x22 PNG icon. 

http://djyoshabyd.quicktech209.com/repository/Resources/Icons/Ableton_Live.png

Also, if you want, you can remove the version number from $PREFIX. Unless you would rather me do it? Its up to you. :D

Thanks! Its fun to be a part of something like this. 

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Tuesday 22 January 2013 at 22:53
Ronin DUSETTE

Here are the new screenshots that I just took. 3 of them, all while using Ableton Live. 





Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Tuesday 22 January 2013 at 23:18
petch

Ronin DUSETTE Wednesday 23 January 2013 at 0:05
Ronin DUSETTE

Sweeeeeet. Thank you very much! :)


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Saturday 2 February 2013 at 1:54
Ronin DUSETTE

And here are the left.jpg and top.jpg for ableton. Sorry if Im submitting too much. lol

Edited by RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Saturday 2 February 2013 at 10:32
petch

top.jpg was roughly square, but larger than 64x64 pixels.
That should be ok now.
Ronin DUSETTE Saturday 2 February 2013 at 18:31
Ronin DUSETTE

Oh ok. Hmm. Thats odd that it was off. Oh well. I must I have lost track after doing like 10 of them. Friggin Gimp. lol. Its kind of fun, though, because I have to hunt down images, and make them. Like, the left.jpg. Those are actually fun to be creative with.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Saturday 2 February 2013 at 21:06
petch

Yes, I sometimes spend an awful lot of time doing those too ;)
The format (150x356) is very tall, it's often a challenge to find something that would fit, and I almost always end up with a composition of my own... :D
Ronin DUSETTE Sunday 3 February 2013 at 19:15
Ronin DUSETTE

yeah. haha. it works good like that.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
funkleg Thursday 21 February 2013 at 9:59
funklegAnonymous

Hey,
I just installed Ableton 8.2.1 (I had to change a few things in your script like the POL Shortcut).  It looks like it installed successfully, but the program does not response to the computer keyboard.  Do I need install something else to get the keyboard to work?  Thanks
funkleg Thursday 21 February 2013 at 10:39
funklegAnonymous

UPDATE:  I Configured Wine to emulate a virtual desktop and I am now able to use my keyboard in Ableton.  However, I am no longer able to use the right mouse button.

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