csgo -> cs2

This commit is contained in:
Mylloon 2023-09-28 11:56:51 +02:00
parent 0bd8f2550a
commit d87e2acfce
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
5 changed files with 9 additions and 35 deletions

View file

@ -22,7 +22,7 @@ PFx86 = /mnt/c/Program\ Files\ \(x86\)
WIN_HOME = /mnt/c/Users/$(WIN_USER)
APPDATA = $(WIN_HOME)/AppData/Roaming
WIN_STEAM_USERDATA = $(filter-out "userdata",$(shell find $(PFx86)/Steam/userdata -maxdepth 1 -type d -printf "\"%f\" "))
CSGO_CFG = $(PFx86)/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo/cfg
CS2_CFG = $(PFx86)/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/csgo/cfg
all: full-sync
@ -135,12 +135,11 @@ sync-windows:
@echo "(Windows) Scripts synced!"
@echo
# CSGO (only if installed)
@if [ -d $(CSGO_CFG) ]; then \
$(WGET) $(REPO_SRC)/games/csgo/autoexec.cfg -O $(CSGO_CFG)/autoexec.cfg; \
$(WGET) $(REPO_SRC)/games/csgo/myconfig.cfg -O $(CSGO_CFG)/myconfig.cfg; \
$(WGET) $(REPO_SRC)/games/csgo/customgame.cfg -O $(CSGO_CFG)/customgame.cfg; \
$(foreach d,$(WIN_STEAM_USERDATA), $(WGET) $(REPO_SRC)/games/csgo/video.txt -O $(PFx86)/Steam/userdata/$(d)/730/local/cfg/video.txt;) \
# CS2 (only if installed)
@if [ -d $(CS2_CFG) ]; then \
$(WGET) $(REPO_SRC)/games/cs2/autoexec.cfg -O $(CS2_CFG)/autoexec.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/myconfig.cfg -O $(CS2_CFG)/myconfig.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/customgame.cfg -O $(CS2_CFG)/customgame.cfg; \
echo "(Windows) CS:GO synced!"; \
echo; \
fi

View file

@ -1,5 +1,5 @@
// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/autoexec.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg'"
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/autoexec.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\autoexec.cfg'"
// Load custom config
exec myconfig

View file

@ -1,5 +1,5 @@
// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/customgame.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\customgame.cfg'"
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/customgame.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\customgame.cfg'"
// Allow cheats
sv_cheats "1"

View file

@ -1,5 +1,5 @@
// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/myconfig.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\myconfig.cfg'"
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/myconfig.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\myconfig.cfg'"
// Deplacements
unbind "z"

View file

@ -1,25 +0,0 @@
"VideoConfig"
{
"setting.cpu_level" "0"
"setting.gpu_level" "3"
"setting.mat_antialias" "2"
"setting.mat_aaquality" "0"
"setting.mat_forceaniso" "4"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_grain_scale_override" "-1.000000"
"setting.gpu_mem_level" "2"
"setting.mem_level" "2"
"setting.mat_queue_mode" "-1"
"setting.csm_quality_level" "3"
"setting.mat_software_aa_strength" "0"
"setting.mat_motion_blur_enabled" "0"
"setting.mat_texturestreaming" "0"
"setting.r_player_visibility_mode" "1"
"setauto.mat_enable_uber_shaders" "1"
"setting.defaultres" "1920"
"setting.defaultresheight" "1080"
"setting.aspectratiomode" "0"
"setting.fullscreen" "0"
"setting.nowindowborder" "1"
}