Ronin DUSETTE |
Mardi 4 Décembre 2012 à 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] Edité par RoninDusette
|
Ronin DUSETTE |
Lundi 10 Décembre 2012 à 4:55
|
Ronin DUSETTE
|
Link to screenshots: http://repository.quicktech209.com/Resources/Screenshots/Wine/Ableton8/
|
petch |
Lundi 10 Décembre 2012 à 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 Edité par petch
|
Ronin DUSETTE |
Lundi 10 Décembre 2012 à 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.
|
Ronin DUSETTE |
Lundi 14 Janvier 2013 à 22:22
|
Ronin DUSETTE
|
Just updated the script. Check original post for update.
|
petch |
Lundi 14 Janvier 2013 à 22:49
|
petch
|
(there has been an issue with your paste, reformatting as well as I could
|
Ronin DUSETTE |
Mardi 15 Janvier 2013 à 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. Edité par RoninDusette
|
petch |
Vendredi 18 Janvier 2013 à 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 |
Mardi 22 Janvier 2013 à 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.
|
Ronin DUSETTE |
Mardi 22 Janvier 2013 à 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.
|
Ronin DUSETTE |
Mardi 22 Janvier 2013 à 22:53
|
Ronin DUSETTE
|
Here are the new screenshots that I just took. 3 of them, all while using Ableton Live.
|
petch |
Mardi 22 Janvier 2013 à 23:18
|
petch
|
|
Ronin DUSETTE |
Mercredi 23 Janvier 2013 à 0:05
|
Ronin DUSETTE
|
Sweeeeeet. Thank you very much! :)
|
Ronin DUSETTE |
Samedi 2 Février 2013 à 1:54
|
Ronin DUSETTE
|
And here are the left.jpg and top.jpg for ableton. Sorry if Im submitting too much. lol
Edité par RoninDusette
|
petch |
Samedi 2 Février 2013 à 10:32
|
petch
|
top.jpg was roughly square, but larger than 64x64 pixels. That should be ok now.
|
Ronin DUSETTE |
Samedi 2 Février 2013 à 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.
|
petch |
Samedi 2 Février 2013 à 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 |
Dimanche 3 Février 2013 à 19:15
|
Ronin DUSETTE
|
yeah. haha. it works good like that.
|
funkleg |
Jeudi 21 Février 2013 à 9:59
|
funkleg
|
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 |
Jeudi 21 Février 2013 à 10:39
|
funkleg
|
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.
|