From 787182f9c3083150a5181b89d891cd35c2870fa5 Mon Sep 17 00:00:00 2001
From: castro-fidel <castro-fidel@rosa2021.1>
Date: Tue, 27 Sep 2022 22:32:09 +0300
Subject: [PATCH] Scripts version 2132

---
 README.md                                    | 6 ++++--
 data_from_portwine/changelog_eng             | 8 +++++---
 data_from_portwine/changelog_rus             | 4 ++++
 data_from_portwine/scripts/functions_helper  | 2 ++
 data_from_portwine/scripts/portwine_db/steam | 2 +-
 data_from_portwine/scripts/var               | 2 +-
 6 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 4e9e4d37..efd57677 100755
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
-# PortWINE  
+# PortProton
 
-PortWINE is a project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.
+The **official website of the project** since September 2022: https://linux-gaming.ru. **Any other site is fake!**
+
+PortProton is a project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.
 The project strives to make launching games (and other software) as simple as possible, but at the same time provides flexible settings for advanced users.
 
 Based on the version of WINE from Valve (Proton) and its modifications (Proton GE). Includes a set of scripts combined with wine-proton itself, a Steam Runtime Sniper container with the addition of ported versions of MANGOHUD (output useful information over the game window: FPS, FrameTime, CPU, GPU, etc) and vkBasalt (improvement of graphics in games, very good in in conjunction with FSR, DLSS) + many already configured optimizations for maximum performance.
diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_eng
index 246b4ee1..697962b1 100644
--- a/data_from_portwine/changelog_eng
+++ b/data_from_portwine/changelog_eng
@@ -2,9 +2,11 @@ You can help us in the development of the project on the website: boosty.to/linu
 -----------------------------------------
 Changelog:
 
-###Scripts version 2131###
-* исправлены ссылки со старого сайта на новый 
-* префикс переменных временно возвращен на "PW_". 
+###Scripts version 2132###
+* ATTENTION! The site portwine-linux.ru which is working again - FAKE! What kind of person did this and with what motives is unknown. So be vigilant! The site of our project: LINUX-GAMING.RU - and once again I will ask all the authors of their sites and Youtube channels to change their links. Thank you.
+
+###Scripts version 2132###
+* HOTFIX and change url
 
 ###Scripts version 2130###
 * by default, the WINE version of PROTON_LG is used (based on wine-ge-custom with the addition of patches required for PortProton) You can still use the PROTON_GE version by selecting it in the startup menu.exe file.
diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_rus
index ac3ef48f..8ad253fe 100755
--- a/data_from_portwine/changelog_rus
+++ b/data_from_portwine/changelog_rus
@@ -2,6 +2,10 @@
 -----------------------------------------
 История изменений:
 
+###Scripts version 2132###
+* добавлен фикс для работы PortProton на системах Alt и Simply Linux (подготовка к возможному добавлению в репозитории)
+* ВНИМАНИЕ! Сайт portwine-linux.ru который снова заработал - ФЕЙК! Что за человек это сделал и с какими мотивами - неизвестно. Так что будте бдительны! Сайт нашего проекта: LINUX-GAMING.RU - и еще раз попрошу всех авторов своих сайтов и каналов на Youtube сменить ссылки у себя. Спасибо.
+
 ###Scripts version 2131###
 * исправлены ссылки со старого сайта на новый 
 * префикс переменных временно возвращен на "PW_". 
diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper
index 912aa705..272dc56c 100755
--- a/data_from_portwine/scripts/functions_helper
+++ b/data_from_portwine/scripts/functions_helper
@@ -341,6 +341,8 @@ pw_init_runtime () {
 
     if [[ -n "$(grep "ROSA Fresh" "/etc/os-release")" ]] ; then
         export LOCPATH="/run/host/usr/share/locale/"
+    elif [[ -n "$(grep "altlinux" "/etc/os-release")" ]] ; then
+        export LIBGL_DRIVERS_PATH="/usr/lib/X11/modules/dri:/usr/lib64/X11/modules/dri"
     fi
 
     PW_PV_OVERRIDES="/usr/lib/pressure-vessel/overrides/lib" 
diff --git a/data_from_portwine/scripts/portwine_db/steam b/data_from_portwine/scripts/portwine_db/steam
index c74fe879..8ddcb0fc 100755
--- a/data_from_portwine/scripts/portwine_db/steam
+++ b/data_from_portwine/scripts/portwine_db/steam
@@ -9,4 +9,4 @@ export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46"
 export WINEDLLOVERRIDES="libglesv2,lsteamclient="
 export LAUNCH_PARAMETERS="-no-cef-sandbox"
 export PW_VULKAN_USE=1
-export PW_WINE_USE=PROTON_GE
+export PW_WINE_USE=PROTON_LG
diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var
index b06a6604..832eabdb 100755
--- a/data_from_portwine/scripts/var
+++ b/data_from_portwine/scripts/var
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 #Author: Castro-Fidel (linux-gaming.ru)
-#SCRIPTS_NEXT_VERSION=2131
+#SCRIPTS_NEXT_VERSION=2132
 ########################################################################
 export PW_MANGOHUD=0
 export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt