HogwartsLegacy 980 Bytes
Newer Older
Mikhail Tergoev's avatar
Mikhail Tergoev committed
1 2 3 4 5 6 7
#!/usr/bin/env bash
#Author: fidel
#HogwartsLegacy.exe
#Rating=1-5
#####################examples###########################
if [ "${update_loc}" = "RUS" ] ; then
    export PW_COMMENT_DB="Если у вас игра не запускается, то необходимо добавить
Boria138's avatar
Boria138 committed
8
clearcpuid=514 в раздел GRUB_CMDLINE_LINUX_DEFAULT
Mikhail Tergoev's avatar
Mikhail Tergoev committed
9 10 11
в файле /etc/default/grub. Для упрощения можно использовать
утилиту Grub Customizer"
fi
Boria138's avatar
Boria138 committed
12 13 14 15 16 17
if [ "${update_loc}" = "ENG" ] ; then
    export PW_COMMENT_DB="If your game does not start, you need to add
clearcpuid=514 to the GRUB_CMDLINE_LINUX_DEFAULT section
in the /etc/default/grub file. To simplify things, you can use
Grub Customizer utility"
fi
18
export PW_VULKAN_USE="2"
Mikhail Tergoev's avatar
Mikhail Tergoev committed
19 20 21 22 23 24

add_in_start_portwine () {
    if [ "${update_loc}" = "RUS" ] ; then
        sed -i "s/Language=english/Language=russian/g" "${PATH_TO_GAME}/Engine/Binaries/ThirdParty/Steamworks/Steamv154/Win64/steam_api64.ini"
    fi
}