Rocksmith 2014 (Steam)

Informations

Creator Message
plata

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4246
Wine: 1.9.5

Feedbacks

Description

Music video game produced by Ubisoft. 2013.

 

Wikipedia.

Source code

#!/bin/bash
# Date : (2016-05-07 ??-??)
# Last revision : (2016-05-07 ??-??)
# Wine version used : 1.9.5
# Distribution used to test : Linux Mint 17.3 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rocksmith 2014 (Steam)"
PREFIX="Rocksmith_2014"
WORKING_WINE_VERSION="1.9.5"
EDITOR="Ubisoft"
GAME_URL="http://rocksmith.ubi.com/rocksmith/en-US/home/index.aspx"
AUTHOR="plata"
 
# start the script
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
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# set prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# download wine if necessary and create prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# use Windows 7
Set_OS "win7"

# make sure that audio works
Set_SoundDriver "alsa"

# install dependencies
POL_Call POL_Install_d3dx9
POL_Call POL_Install_steam
 
# begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/221680
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitExit "$TITLE"

# fix Rocksmith.ini
cd "$WINEPREFIX/drive_c/Program Files/Steam/steamapps/common/Rocksmith2014"
# set Win32UltraLowLatencyMode=0
sed -i 's/^\(Win32UltraLowLatencyMode=\).*/\10/' Rocksmith.ini
# set display resolution
read width height <<<$(xrandr | fgrep '*' | egrep -o '[0-9]+x[0-9]+' | egrep -o '[0-9]+')
sed -i "s/^\(ScreenWidth=\).*/\1$width/" Rocksmith.ini
sed -i "s/^\(ScreenHeight=\).*/\1$height/" Rocksmith.ini
 
# create shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221680"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
plata Friday 20 May 2016 at 18:22
plata

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,60 @@
+#!/bin/bash
+# Date : (2016-05-07 ??-??)
+# Last revision : (2016-05-07 ??-??)
+# Wine version used : 1.9.5
+# Distribution used to test : Linux Mint 17.3 x64
+# Author : plata
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Rocksmith 2014 (Steam)"
+PREFIX="Rocksmith_2014"
+WORKING_WINE_VERSION="1.9.5"
+EDITOR="Ubisoft"
+GAME_URL="http://rocksmith.ubi.com/rocksmith/en-US/home/index.aspx"
+AUTHOR="plata"
+ 
+# start the script
+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
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# set prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# download wine if necessary and create prefix
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# use Windows 7
+Set_OS "win7"
+
+# make sure that audio works
+Set_SoundDriver "alsa"
+
+# install dependencies
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_steam
+ 
+# begin game installation
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/221680
+POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
+POL_Wine_WaitExit "$TITLE"
+
+# fix Rocksmith.ini
+cd "$WINEPREFIX/drive_c/Program Files/Steam/steamapps/common/Rocksmith2014"
+# set Win32UltraLowLatencyMode=0
+sed -i 's/^\(Win32UltraLowLatencyMode=\).*/\10/' Rocksmith.ini
+# set display resolution
+read width height <<<$(xrandr | fgrep '*' | egrep -o '[0-9]+x[0-9]+' | egrep -o '[0-9]+')
+sed -i "s/^\(ScreenWidth=\).*/\1$width/" Rocksmith.ini
+sed -i "s/^\(ScreenHeight=\).*/\1$height/" Rocksmith.ini
+ 
+# create shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221680"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-05-07 ??-??)
# Last revision : (2016-05-07 ??-??)
# Wine version used : 1.9.5
# Distribution used to test : Linux Mint 17.3 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rocksmith 2014 (Steam)"
PREFIX="Rocksmith_2014"
WORKING_WINE_VERSION="1.9.5"
EDITOR="Ubisoft"
GAME_URL="http://rocksmith.ubi.com/rocksmith/en-US/home/index.aspx"
AUTHOR="plata"
 
# start the script
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
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# set prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# download wine if necessary and create prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# use Windows 7
Set_OS "win7"

# make sure that audio works
Set_SoundDriver "alsa"

# install dependencies
POL_Call POL_Install_d3dx9
POL_Call POL_Install_steam
 
# begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/221680
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitExit "$TITLE"

# fix Rocksmith.ini
cd "$WINEPREFIX/drive_c/Program Files/Steam/steamapps/common/Rocksmith2014"
# set Win32UltraLowLatencyMode=0
sed -i 's/^\(Win32UltraLowLatencyMode=\).*/\10/' Rocksmith.ini
# set display resolution
read width height <<<$(xrandr | fgrep '*' | egrep -o '[0-9]+x[0-9]+' | egrep -o '[0-9]+')
sed -i "s/^\(ScreenWidth=\).*/\1$width/" Rocksmith.ini
sed -i "s/^\(ScreenHeight=\).*/\1$height/" Rocksmith.ini
 
# create shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221680"
 
POL_SetupWindow_Close
exit 0

Replies

Friday 2 August 2019 at 20:35
Copy/paste (wrote by Plata):


The script installs Rocksmith 2014 for Steam.

Icons:

Rocksmith2014-48x48.png

https://ibin.co/2gKpCeKVhB7x.png

Rocksmith2014-22x22.png

https://ibin.co/2gKpPRzK5TfN.png

left.png

https://ibin.co/2gKpcsMT5FMv.png

top.png

https://ibin.co/2gKplcN7XweH.png

 

Problems known :

I had played the game on windows before. If I now start it with playonlinux via steam, it uses the settings for windows and does not recognize the cable (at least I assume that this is the reason). Starting Rocksmith2014.exe directly shows an error that steam is not running. However, you can ignore this and then everything will work.
Wine must be configured for Windows 7 (otherwise the cable is not recognized. This crashes steamwebhelper.exe.

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