Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 930731 Details for
Bug 1123589
terrible stuttering after upgrading to pulseaudio-libs-5.0-7
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
how to set up wine to play borderlands 2
b2 (text/plain), 3.62 KB, created by
John Schmitt
on 2014-08-26 04:28:25 UTC
(
hide
)
Description:
how to set up wine to play borderlands 2
Filename:
MIME Type:
Creator:
John Schmitt
Created:
2014-08-26 04:28:25 UTC
Size:
3.62 KB
patch
obsolete
>#!/bin/bash > >set -e >set -u >set -x > >export WINEARCH=win32 > >export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' >#export PATH=$PATH:/home/john/projects/wine/winebuild/bin >#export COMMANDLINE=" $@ " # extra space is there so that all arguments lead with a space >export BOTTLE=borderlands2 >export WINEPREFIX="/home/john/wineapps3/$BOTTLE" >export STEAM_EXE="$BOTTLE/drive_c/Program Files/Steam/Steam.exe" >export STEAM_INSTALLER="$BOTTLE/drive_c/users/$USER/Desktop/SteamSetup.exe" >export STEAM_INSTALLER_CACHE="cache/SteamSetup.exe" > #~/wineapps3/borderlands2/drive_c/Program Files/Steam/SteamApps/common/Borderlands 2/Binaries/Win32 >export BORDERLANDS2_EXE="$BOTTLE/drive_c/Program Files/Steam/SteamApps/common/Borderlands 2/Binaries/Win32/Borderlands2.exe" > > >export WINEDLLOVERRIDES=winemenubuilder=d >export XDG_DATA_DIRS=/tmp/xdg_data_dirs >export XDG_DATA_HOME=/tmp/xdg_data_home >export XDG_CONFIG_HOME=/tmp/xdg_config_home >export HOME=/tmp/home > > >function wt() >{ > #set -x > winetricks --no-clean --no-isolate sandbox prefix=${WINEPREFIX} $@ > #set +x > # --no-clean because I want to use the packages that get stored by winetricks in ~/.cache/winetricks/ > # --no-isolate because I want to manage the wineprefixes myself >} > >function steam_run() >{ > d=$(dirname "$STEAM_EXE") > b=$(basename "$STEAM_EXE") > ( cd "$d"; nohup wine "$b" -no-dwrite >> "$WINEPREFIX"/steam.out 2>&1 & ) >} > >function steam_run_installer() >{ > d=$(dirname "$STEAM_INSTALLER") > b=$(basename "$STEAM_INSTALLER") > ( cd "$d"; wine "$b" >> "$WINEPREFIX"/steam_installer.out 2>&1 ) >} > >function borderlands2_bottle_make() >{ > # mkdir -p "$WINEPREFIX" # do NOT do this http://bugs.winehq.org/show_bug.cgi?id=29661 > WINEPREFIX="/home/john/wineapps3/$BOTTLE" WINEARCH=win32 winecfg >> "winecfg.out" 2>&1 > error=$? > if [[ $error -ne 0 ]]; then > exit $? > fi > for i in d3dx9 d3dx10 vcrun2010 physx d3dx11_43 d3dx9_43 directx9 dotnet40 vcrun2008 xact; do > wt "$i" > error=$? > if [[ $error -ne 0 ]]; then > exit $? > fi > done > #wt dotnet40 corefonts wininet winhttp >} > >function gibbed_run() >{ > GIBBED="/home/john/wineapps3/borderlands2/drive_c/users/john/My Documents/Gibbed.Borderlands2.SaveEdit.exe" > d=$(dirname "$GIBBED") > b=$(basename "$GIBBED") > ( cd "$d"; wine "$b" >> "$WINEPREFIX"/gibbed 2>&1 ) >} > >if [[ -d "$BOTTLE" && -f "$BOTTLE/drive_c/windows/system.ini" ]]; then > echo "$BOTTLE seems to be installed" >else > borderlands2_bottle_make > error=$? > if [[ $? -ne 0 ]]; then > exit $? > fi >fi > >#gibbed_run > >ps -C Steam.exe > /dev/null 2>&1 >if [[ $? -eq 0 ]]; then # steam is already running > d=$(dirname "$BORDERLANDS2_EXE") > b=$(basename "$BORDERLANDS2_EXE") > ( cd "$d"; wine "$b" >> "$WINEPREFIX"/borderlands2.out 2>&1 ) > exit 0 >fi > >if [[ -f "$STEAM_EXE" ]]; then > ( nohup nvidia-settings >> /tmp/nvidia-settings.out 2>&1 & ) > sleep 10 > d=$(dirname "$STEAM_EXE") > b=$(basename "$STEAM_EXE") > ( cd "$d"; nohup wine "$b" -no-dwrite >> "$WINEPREFIX"/steam.out 2>&1 & ) > sleep 20 > if [[ -f "$BORDERLANDS2_EXE" ]]; then > d=$(dirname "$BORDERLANDS2_EXE") > b=$(basename "$BORDERLANDS2_EXE") > ( cd "$d"; wine "$b" >> "$WINEPREFIX"/borderlands2.out 2>&1 ) > exit 0 > fi > exit $? >fi > >if [[ ! -f "$STEAM_INSTALLER" ]]; then > cp "$STEAM_INSTALLER_CACHE" "$STEAM_INSTALLER" >fi >if [[ -f "$STEAM_INSTALLER" ]]; then > steam_run_installer > error=$? > if [[ $error -eq 0 ]]; then > steampid=$(pidof Steam.exe) > if [[ -z "$steampid" ]]; then > steam_run > fi > fi > exit $? >fi > >set +x
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1123589
: 930731