Counter Strike: Global Offensive

Informations

Créateur Messages
Thermionix Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 183794
Wine: 2.11

Retours d'expérience

Description

Counter-Strike: Global Offensive is an online tactical and first-person shooter developed by Valve Corporation and Hidden Path Entertainment,

Captures d'écran

MiniatureMiniature

Code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="2.11"
GAME_VMS="512"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
if `POL_DetectVideoCards | grep -qi AMD` ; then
POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
_EOFINI_
fi

POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
fos Mardi 31 Octobre 2017 à 0:39
fos Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -14,7 +14,7 @@
 EDITOR="Valve"
 GAME_URL="http://www.counter-strike.net/"
 AUTHOR="Thermionix"
-WORKING_WINE_VERSION="1.7.21"
+WORKING_WINE_VERSION="2.11"
 GAME_VMS="512"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="2.11"
GAME_VMS="512"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
if `POL_DetectVideoCards | grep -qi AMD` ; then
POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
_EOFINI_
fi

POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

that1irishmate Mercredi 25 Mai 2016 à 18:55
that1irishmate Anonymous

Messages

I have problems with CS:GO on steam. I tried looking for the answer but apparently no one has answered his question: http://ubuntuforums.org/showthread.php?t=2169326

It keeps telling me that:

ENGINE ERROR

Your graphics hardware does not support all features (CSM) needed to run this game.

Device Info:

Marked unsupported: 0

Supports PCF Sampling: 1

DriverName: "AMD Radeon HD 7900 Series"

VendorID: 0x1002, DeviceID: 0x679A

DriverHigh: 0x00060011, DriverLow: 0x000A0500

DXLevel: 95, MinDXSupportLevel: 90,

MaxDXSupportLevel: 95

Now I know that it cannot be my graphics card because I was using Windows 10 (before I bootnuked it and installed Ubuntu 16.04 64-bit) and it worked fine with CS:GO. If someone can at the very least point me in the right direction I would be greatful, thank you.

Réponses

Anonymous
Jeudi 26 Mai 2016 à 1:24
You need to change your card devide id and vendor id to match ndivia. See csgo winehq database. It doesnt work with ati cards for some reason
HatedPro Samedi 12 Décembre 2015 à 16:24
HatedPro

Messages

I installed CS:GO last night and it is done at 100%, but when I try to launch it I get a message that says "Failed to start game (unknown error). I'm not sure what to do.

Réponses

Woodix Samedi 6 September 2014 à 20:46
Woodix Anonymous

Messages

Hello,

I got a problem with the CS:GO POL program,when i try to run it,the game launch I see the things for valve etc,but when i'm suppose to be on the main menu,the game crash after a 20seconds black screen,i'll try to send the logs later,i've heard about a bug in a voice file when you mute someone in game,but i haven't played yet so i don't think it's the problem.I searched for like 2hours and tried a lot of things to make the game work but nothing,if you can help me that will be really nice from you.

Bonjour,

J'ai un problème avec cs:go via POL,quand je lance le jeu,j'ai droit à l'intro de cs:go avec la pub pour valve etc...mais au moment ou je suis sensé être dans le menu principal mon jeu crash,sans raison,j'ai désactivé l'overlay steam.

J'ai tenté de suivre un tutoriel de quelqu'un qui avait à priori le même problème que moi,mais toujours rien,j'enverrai les logs la prochaine fois que je me connecte.

Cela ne vient pas du fichier voice non plus car je n'ai encore jamais jouer à cs:go sur ce pc,si quelqu'un peut m'aider :).

Réponses

riggoperez Dimanche 10 Aoüt 2014 à 21:56
riggoperez Anonymous

Messages

Estoy tratando de instalar el CS-GO en Linux Mint 17 Qiana a 64 Bits con el siguiente hardware:

- PLaca madre ASUS B85M-G

- Procesador Intel Core i3 4ta generación

- 8 Gb Memoria Kingston HiperX Blue 1600 Mhz

- HDD Adata SSD 120 Gb.

La instalación se hizo de manera normal. Al ejecutar el juego, el inicio es normal. Al iniciar un mapa, el que sea, se ve todo en escala de grises. Ya he probado diferentes configuraciones de PlayOnLinux y no he podido mejorar esa parte. Si me pasan una forma de adjuntarles capturas de pantalla, creo que con eso podrían tener una mejor idea de que es lo que está pasando que no se puede visualizar bien el juego cuando se corre un mapa en modo entrenamiento o en modo off-line con bots.

Espero respuestas, Gracias!

Réponses

Anonymous
Dimanche 10 Aoüt 2014 à 22:20
Aqui van las capturas de imágenes para que las puedan revisar y ayudarme a solucionar el problema:
Anonymous
Dimanche 10 Aoüt 2014 à 22:20
http://imgur.com/a/bhdhB
BloodyIron Lundi 14 Juillet 2014 à 21:26
BloodyIron

Messages

My initial problem was the steam update download would get stuck near the end repeatedly and never complete. I had to close the updater and relaunch it while the POL script GUI was still running. Then installed the game (and I got incredible speed downloading btw).

 

Launching the game was fine, but when I go to spectate a player I get stuttering, and I imagine this is what the actual play is like.

 

I'm testing further, but have you looked at this thread: http://www.reddit.com/r/GlobalOffensive/comments/22b5zg/a_quick_guide_to_having_a_nearly_flawless_csgo/

 

Also, thanks for doing this! :D

Réponses

Thermionix Mercredi 9 Juillet 2014 à 1:26
Thermionix Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

set shortcut icon in source

With the news, do I just need to provide some screenshots?

Differences

@@ -49,7 +49,7 @@
 _EOFINI_
 fi
 
-POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
 POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
 
 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"

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
if `POL_DetectVideoCards | grep -qi AMD` ; then
POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
_EOFINI_
fi

POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Mercredi 9 Juillet 2014 à 1:46
Just a small text with screenshot saying that this game work :)
Anonymous
Mercredi 9 Juillet 2014 à 11:00
Counter Strike : Global Offensive is now supported by PlayOnLinux!

http://i.imgur.com/4dGYwjB.png
http://i.imgur.com/EWGeAsN.png

Checkout ; http://www.playonlinux.com/en/app-2147.html

Enjoy!
Quentin PÂRIS Mardi 8 Juillet 2014 à 17:22
Quentin PÂRIS Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

- Adding left.png and top.png support

Do you want to write a news about your script?

Differences

@@ -16,10 +16,11 @@
 AUTHOR="Thermionix"
 WORKING_WINE_VERSION="1.7.21"
 GAME_VMS="512"
- 
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"
 POL_SetupWindow_Init
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/csgo/top.png" "http://files.playonlinux.com/resources/setups/csgo/left.png" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
if `POL_DetectVideoCards | grep -qi AMD` ; then
POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
_EOFINI_
fi

POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Edité par Tinou

Thermionix Mardi 8 Juillet 2014 à 14:48
Thermionix Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

AMD Fix

Differences

@@ -0,0 +1,60 @@
+#!/bin/bash
+# Date : (2014-07-07 12-00)
+# Wine version used : 1.7.21
+# Distribution used to test : Arch Linux x64
+# Author : Thermionix
+# Only For : http://www.playonlinux.com
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Counter Strike: Global Offensive"
+PREFIX="csgo"
+STEAM_ID="730"
+EDITOR="Valve"
+GAME_URL="http://www.counter-strike.net/"
+AUTHOR="Thermionix"
+WORKING_WINE_VERSION="1.7.21"
+GAME_VMS="512"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_dinput
+
+POL_Call POL_Install_steam 
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+POL_Wine_SetVideoDriver
+POL_SetupWindow_VMS $GAME_VMS
+
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+# Spoof as Nvidia card for AMD users
+if `POL_DetectVideoCards | grep -qi AMD` ; then
+POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
+[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
+"VideoPCIVendorID"=dword:000010de
+"VideoPCIDeviceID"=dword:00000402
+_EOFINI_
+fi
+
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+
+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"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
if `POL_DetectVideoCards | grep -qi AMD` ; then
POL_Wine_UpdateRegistry amd_fix <<- _EOFINI_
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
_EOFINI_
fi

POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Mardi 8 Juillet 2014 à 16:31
(There is already a way to edit posts)

Edité par Tinou

Thermionix Mardi 8 Juillet 2014 à 13:58
Thermionix Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

fix vga_reg

Differences

@@ -0,0 +1,64 @@
+#!/bin/bash
+# Date : (2014-07-07 12-00)
+# Wine version used : 1.7.21
+# Distribution used to test : Arch Linux x64
+# Author : Thermionix
+# Only For : http://www.playonlinux.com
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Counter Strike: Global Offensive"
+PREFIX="csgo"
+STEAM_ID="730"
+EDITOR="Valve"
+GAME_URL="http://www.counter-strike.net/"
+AUTHOR="Thermionix"
+WORKING_WINE_VERSION="1.7.21"
+GAME_VMS="512"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_dinput
+
+POL_Call POL_Install_steam 
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+POL_Wine_SetVideoDriver
+POL_SetupWindow_VMS $GAME_VMS
+
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+# Spoof as Nvidia card for AMD users
+amdgfx=`lspci | grep VGA | grep AMD`
+if [ "$amdgfx" -ne "" ]; then
+cat << EOF > "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
+[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]
+"VideoPCIVendorID"=dword:000010de
+"VideoPCIDeviceID"=dword:00000402
+EOF
+regedit "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
+fi
+
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+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"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
amdgfx=`lspci | grep VGA | grep AMD`
if [ "$amdgfx" -ne "" ]; then
cat << EOF > "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]
"VideoPCIVendorID"=dword:000010de
"VideoPCIDeviceID"=dword:00000402
EOF
regedit "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
fi

POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_Call POL_Install_steam_flags "$STEAM_ID"

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Mardi 8 Juillet 2014 à 14:00
Line 43 from 51, you have a POL function that does that way better: POL_Wine_SetVideoDriver
Anonymous
Mardi 8 Juillet 2014 à 14:03
cs:go won't launch with AMD vendor/device ids
Anonymous
Mardi 8 Juillet 2014 à 14:12
Then, replace amdgfx=`lspci | grep VGA | grep AMD` with something more portable", for exemple a POL_DetectVideoCards
Thermionix Mardi 8 Juillet 2014 à 13:35
Thermionix Anonymous

Thermionix Mardi 8 Juillet 2014 à 13:34
Thermionix Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,64 @@
+#!/bin/bash
+# Date : (2014-07-07 12-00)
+# Wine version used : 1.7.21
+# Distribution used to test : Arch Linux x64
+# Author : Thermionix
+# Only For : http://www.playonlinux.com
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Counter Strike: Global Offensive"
+PREFIX="csgo"
+STEAM_ID="730"
+EDITOR="Valve"
+GAME_URL="http://www.counter-strike.net/"
+AUTHOR="Thermionix"
+WORKING_WINE_VERSION="1.7.21"
+GAME_VMS="512"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_dinput
+
+POL_Call POL_Install_steam 
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+POL_Wine_SetVideoDriver
+POL_SetupWindow_VMS $GAME_VMS
+
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+# Spoof as Nvidia card for AMD users
+amdgfx=`lspci | grep VGA | grep AMD`
+if [ "$amdgfx" -ne "" ]; then
+cat << EOF > "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
+[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]
+"VideoPCIVendorID"=dword:10de
+"VideoPCIDeviceID"=dword:0402
+EOF
+regedit "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
+fi
+
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+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"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-07-07 12-00)
# Wine version used : 1.7.21
# Distribution used to test : Arch Linux x64
# Author : Thermionix
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Counter Strike: Global Offensive"
PREFIX="csgo"
STEAM_ID="730"
EDITOR="Valve"
GAME_URL="http://www.counter-strike.net/"
AUTHOR="Thermionix"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_dinput

POL_Call POL_Install_steam 
POL_Call POL_Install_steam_flags "$STEAM_ID"

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

# Spoof as Nvidia card for AMD users
amdgfx=`lspci | grep VGA | grep AMD`
if [ "$amdgfx" -ne "" ]; then
cat << EOF > "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]
"VideoPCIVendorID"=dword:10de
"VideoPCIDeviceID"=dword:0402
EOF
regedit "$POL_USER_ROOT/tmp/VGA_ID_fix.reg"
fi

POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_Call POL_Install_steam_flags "$STEAM_ID"

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"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Mardi 19 Janvier 2016 à 17:44
work?

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