El Foro

[Script] Reason 5

Actually working as it should.

Autor Respuestas
Ronin DUSETTE Wednesday 19 June 2013 at 19:38
Ronin DUSETTE

For the most part, everything works. You can click the menus (the big issue with it), and do everything else. It uses the newest version of wine out right now, and its actually really smooth on the install.

Some little caveats that I ran into was after the install, the first time that you run Reason 5, it will ask you for your registration code; you need to alt-tab or right-click its icon in your taskbar and select "move" to drag it out from behind the Reason logo. Its just hiding right behind it.

Also, after you enter your registration code, it wants to install the sound banks from the DVD. If it fails, it will crash without warning or error. Simply eject the disc and put it back in. It worked for me 3 times in a row.

If you get an error when trying to save your songs, then save them elsewhere, like somehwere in your home folder, OUTSIDE of the virtual drive.

I know, sounds like a lot. But they are very small showstoppers for this program. Im currently waiting on the wine build to finish and get uploaded, then this script should be good to go.

#!/bin/bash
# Date : (2013-06-19)
# Last revision : (2013-06-19)
# Distribution used to test : Kubuntu 12.04.2 LTS x64
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.1

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Reason5"
WINEVERSION="1.6-rc2-Reason5Menu"
TITLE="Reason 5"
EDITOR="Propellerheads"
GAME_URL="http://www.propellerheads.se/"
AUTHOR="DJYoshaBYD"
 
#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" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
#Dependencies
POL_Call POL_Install_vcrun2008
 
# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"
 
# Installation
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Registration window will be hidden behind Reason logo on first run; right-click task bar item and click MOVE. If soundbanks fail to copy and program crashes after entering registration code, then take out disc and reinsert and try to run again. If that doesnt work, you will have to manually copy soundbanks to Reasons virtual drive. Digital downloads should not have this issue.')" "$TITLE"

# Create Shortcuts
POL_Shortcut "Reason.exe" "$TITLE"

 
POL_SetupWindow_Close
exit 0


Ill post up resources and screenshots later today or tomorrow.

Editado por: 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 Wednesday 19 June 2013 at 20:13
Ronin DUSETTE

Screenshots:






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 Wednesday 19 June 2013 at 20:21
Ronin DUSETTE

If anyone has suggestions to fix the issue with shortcuts like CTRL+C and whatnot for copy and paste not working, feel free to chime in. Im not sure where Wine would even be confused by that. haha

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 Wednesday 19 June 2013 at 21:32
Ronin DUSETTE

Actually, we may be able to change this to ALL versions of reason, as Im testing 6 and 7 right now, and so far its going well. Ill make the changes if needed, as Im still waiting on the wine build.

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 Wednesday 19 June 2013 at 22:43
Ronin DUSETTE

Scratch that last one. At least for now.

I also sent a pull request on github for the POL/Wine build with that patch. Im pretty sure I did it right. haha. It was my first one.

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 25 June 2013 at 17:04
Ronin DUSETTE

I added a note about the CD thing and the registration window to the end of the script. Hopefully that will clear up future confusion.

Also, here are the resources. Now we just need the Wine version to be built and we are good to go. :)











Editado por: 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 Wednesday 26 June 2013 at 0:18
Ronin DUSETTE

Probably not going to have the wine build until tomorrow. Still waiting for the pull request to go through. no too much longer, though. :D

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 Thursday 27 June 2013 at 22:47
Ronin DUSETTE

Sweet. Its built, and installed on my computer. The script is up for all those who would like to test/run it. Enjoy! :)

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