Skip to content

Commit

Permalink
v0.78.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Feb 21, 2024
1 parent 3fc40a1 commit 32064aa
Show file tree
Hide file tree
Showing 44 changed files with 362 additions and 122 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# v0.78.2.7

* Add app and EXE names to all DB scripts
* Update automatic shortcuts creation
* Fix manual shortcut creation from *.url file
* Fix manual shortcut removing for apps with a partial of the same name
* Fix passing arguments for EXE
* Fix launch GOG `Blade Runner` and other games with `ScummVM`
* Add DB script for `Syberia`
* Add DB script for `Infernal`
* Add DB script for `Abe's Oddysee`
* Add DB script for `upc.exe` from `Ubisoft Connect`
* Update DB script for `Crashday`
* Minor fixes

# v0.78.2.6

* Add DB script for `Caliber`
Expand Down
2 changes: 2 additions & 0 deletions db/ACOdyssey.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Assassin's Creed Odyssey ('ACOdyssey.exe')

WIN_VER=10
GSTREAMER=0
WINEARCH=win64
Expand Down
5 changes: 5 additions & 0 deletions db/AbeWin.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Abe's Oddysee ('AbeWin.exe')

pre_launch() { EXE_ARGS+=(-interline) ; }
WIN_VER=10
DGVOODOO2=1
2 changes: 2 additions & 0 deletions db/Anno1800.lwdb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Anno 1800 ('Anno1800.exe')

LANG=en_US
2 changes: 2 additions & 0 deletions db/Anno2205.lwdb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Anno 2205 ('Anno2205.exe')

PYTHONIOENCODING=utf-8
2 changes: 2 additions & 0 deletions db/Arcania.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Gothic 4: Arcania - ('Arcania Addon.exe' 'ArcaniA Addon POL.exe' 'ArcaniA Addon RUS.exe' 'Arcania.exe')

WIN_VER=10
WINEARCH=win64
TZ=Europe/Moscow
Expand Down
2 changes: 1 addition & 1 deletion db/Battle.net Launcher.lwdb
1 change: 0 additions & 1 deletion db/Battle.net-Setup.exe.lwdb

This file was deleted.

3 changes: 3 additions & 0 deletions db/Battle.net-Setup.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Battle.net Launcher ('Battle.net-Setup.exe' 'Battle.net Launcher.exe')

WINE_SIMULATE_WRITECOPY=1
3 changes: 3 additions & 0 deletions db/BioshockHD.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# BioShock Remastered ('BioshockHD.exe')
# Ubisoft Connect ('UbisoftConnect.exe' 'UbisoftConnectInstaller.exe' 'upc.exe')

WIN_VER=10
ESYNC=0
FSYNC=0
2 changes: 2 additions & 0 deletions db/CaliberSetup.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Caliber ('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')

WIN_VER=10
WINEARCH=win64
WINE_VERSION=System
Expand Down
2 changes: 2 additions & 0 deletions db/Crysis.lwdb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Crysis ('Crysis.exe' 'Crysis64.exe' 'CrysisLauncher.exe')

WIN_VER=10
ESYNC=0
4 changes: 3 additions & 1 deletion db/DOOMEternalx64vk.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pre_launch() { check_exe_args '+com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +m_smoothing 0' ; }
# Doom Eternal ('DOOMEternalx64vk.exe')

pre_launch() { EXE_ARGS+=(+com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +m_smoothing 0) ; }

WIN_VER=10
2 changes: 2 additions & 0 deletions db/Direct Commander.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Direct Commander ('Direct Commander.exe' 'Direct Commander Setup*.exe')

pre_launch() {
if [[ "${EXE_NAME,,}" == 'direct commander setup'* ]]
then
Expand Down
4 changes: 3 additions & 1 deletion db/EpicGamesLauncher.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pre_launch() { check_exe_args '-opengl' ; }
# Epic Games Launcher ('EpicGamesLauncher.exe')

pre_launch() { EXE_ARGS+=(-opengl) ; }

WIN_VER=10
4 changes: 3 additions & 1 deletion db/LeagueClient.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# League of Legends ('live.na.exe' 'LeagueClient.exe' 'RiotClientServices.exe' '*league of legends*')

WIN_VER=10
DIS_NETCORE=1
WINEARCH=win64
Expand All @@ -7,7 +9,7 @@ USE_DEFPFX_BACKUP=1
MUST_HAVE_DLL=Disabled
WINE_VERSION=wine-lutris-GE-Proton8-27-LoL-x86_64
[ "$EXE_NAME" == "RiotClientServices" ] && \
EXE_ARG='--launch-product=league_of_legends --launch-patchline=live'
EXE_ARGS=(--launch-product=league_of_legends --launch-patchline=live)

pfxsetupfl="$LW_DEF_WPFXS_DIR/$WPREFIX_NAME/.setup"
if [ ! -f "$pfxsetupfl" ]
Expand Down
2 changes: 2 additions & 0 deletions db/MassEffect.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Mass Effect ('MassEffect.exe')

WIN_VER=10
WINEARCH=win64
RESTORE_RESOL=1
Expand Down
3 changes: 3 additions & 0 deletions db/Porsche.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Need for Speed Porsche ('Porsche.exe')
# Emperor: Rise of the Middle Kingdom ('EMPEROR.exe')

WIN_VER=10
DGVOODOO2=1
WINEARCH=win64
Expand Down
2 changes: 2 additions & 0 deletions db/Remnant2.lwdb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Remnant 2 ('Remnant2.exe' 'Remnant2-Win64-Shipping.exe')

VKD3D_DISABLE_EXTENSIONS=VK_EXT_mesh_shader
4 changes: 3 additions & 1 deletion db/Sam4.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pre_launch() { check_exe_args '+gfxapi D3D12 +sfxapi OpenAL' ; }
# Serious Sam 4 ('Sam4.exe')

pre_launch() { EXE_ARGS+=(+gfxapi D3D12 +sfxapi OpenAL) ; }

WIN_VER=10
4 changes: 4 additions & 0 deletions db/SettlersHoK.lwdb
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Heritage of Kings - The Settlers ('SettlersHoK.exe')
# Command & Conquer: Red Alert 3 ('RA3.exe')
# Command & Conquer: Red Alert 3 — Uprising ('RA3EP1.exe')

FSR_MODE=Enabled
2 changes: 2 additions & 0 deletions db/SoF2.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Soldier of Fortune 2 ('SoF2.exe')

SUM=($(sha256sum SoF2.exe 2>/dev/null))
PATCH_SUM='bf8225821e1b0e27ea97a7507034a575d93e3e190adbc9f162510bb547a52bbb'
[ "$SUM" == "$PATCH_SUM" ] && \
Expand Down
2 changes: 2 additions & 0 deletions db/Starfield.lwdb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Starfield ('Starfield.exe')

WIN_VER=10
DXR=0
11 changes: 11 additions & 0 deletions db/Syberia.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Syberia ('Syberia.exe')

pre_launch() {
syberia_cfg="$EXE_PATH/player.ini"
[ ! -f "$syberia_cfg" ] && \
echo "800 600 32 0 BaseCMO.cmo" > "$syberia_cfg"
}

WIN_VER=10
DGVOODOO2=1

2 changes: 2 additions & 0 deletions db/WeMod.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# WeMod ('WeMod.exe' 'WeMod-*.exe')

pre_launch() {
if [[ "${EXE_NAME,,}" == 'wemod-'[0-9]* ]]
then
Expand Down
4 changes: 3 additions & 1 deletion db/Wolf2.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pre_launch() { check_exe_args '+set com_skipIntro 1' ; }
# Wolfenstein (2009) ('Wolf2.exe')

pre_launch() { EXE_ARGS+=(+set com_skipIntro 1) ; }

WIN_VER=10
2 changes: 2 additions & 0 deletions db/WorldOfSeaBattleClient.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# World Of Sea Battle ('WorldOfSeaBattleClient.exe' 'wos_client.exe')

WIN_VER=10
WINEARCH=win64
MUST_HAVE_DLL=Disabled
Expand Down
2 changes: 2 additions & 0 deletions db/Zona.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Zona ('Zona.exe' 'ZonaSetup*.exe')

WIN_VER=10
ZUPDATER="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/Zona/plugins/zupdater"
if [ -n "$(lspci|grep -o 'NVIDIA')" ]
Expand Down
4 changes: 3 additions & 1 deletion db/bms.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Black Mesa ('bms.exe')

WIN_VER=10
pre_launch() {
check_exe_args "-oldgameui -w $(echo "$PRIMDISPL_RES"|cut -d'x' -f1) -h $(echo "$PRIMDISPL_RES"|cut -d'x' -f2)"
EXE_ARGS+=(-oldgameui -w $(echo "$PRIMDISPL_RES"|cut -d'x' -f1) -h $(echo "$PRIMDISPL_RES"|cut -d'x' -f2))
}
26 changes: 23 additions & 3 deletions db/crashday.lwdb
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Crashday ('crashday.exe')

is_crashday_gcfg_fixed() { grep -qo '"FSAA": 0,' "$crashday_gcfg" 2>/dev/null ; }

pre_launch() {
crashday_gcfg="$WINEPREFIX/drive_c/users/steamuser/Local Settings/Crashday/config/graphics.config"
[ -f "$crashday_gcfg" ] && \
sed -i 's|"FSAA": 2,|"FSAA": 0,|' "$crashday_gcfg"
if [ -f "$crashday_gcfg" ] && ! is_crashday_gcfg_fixed
then
sed -i 's|"FSAA": 2,|"FSAA": 0,|' "$crashday_gcfg"
sleep 0.5
killall crashday.exe
return 0
fi
return 1
}

crashday_gcfg="$WINEPREFIX/drive_c/users/steamuser/Local Settings/Crashday/config/graphics.config"
if ! is_crashday_gcfg_fixed
then
(while kill -0 $LWPID
do
pre_launch && break
sleep 3
done) &
post_launch() { sleep 0.5 ; cleanrun "$LW_SOURCE" "$LU_EXE" ; }
fi
24 changes: 24 additions & 0 deletions db/game.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Infernal ('game.exe')

infernal() {
WIN_VER=10
WINEARCH=win64
MUST_HAVE_DLL=physx
pre_launch() {
if [ ! -d "$WINEPREFIX/drive_c/Program Files (x86)/NVIDIA Corporation/PhysX/Engine/v2.5.2" ]
then
physexe="$LW_DEF_TMP/PhysX.v2.5.2.exe"
if [ -f "$physexe" ]||try_download "https://github.com/VHSgunzo/wine-dlls/releases/download/physx-v2.5.2/PhysX.v2.5.2.exe" "$LW_DEF_TMP"
then sleep 0.5 ; cleanrun "$LW_SOURCE" "$physexe" /VERYSILENT
else
try_rm "$physexe" &>/dev/null
print_error yad "Failed to download PhysX v2.5.2!"
exit 1
fi
fi
}
}

case "$EXE_DIR" in
'Infernal') infernal ;;
esac
5 changes: 5 additions & 0 deletions db/launcher.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Crossout ('launcher.exe')
# Dark Sector ('DS.exe' 'launcher.exe')
# Caliber ('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')
# Honkai: Star Rail ('launcher.exe') !'StarRail.exe'

srlauncher() {
SR_PATCH_VER=v3.1.1
SR_PATCH_DIR="$LW_DEF_TMP/srpatch_$SR_PATCH_VER"
Expand Down
2 changes: 2 additions & 0 deletions db/nvapi64-tests.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# nvapi64-tests ('nvapi64-tests.exe')

WIN_VER=10
TERMINAL=1
HOLD_TERMINAL=1
2 changes: 2 additions & 0 deletions db/osu!.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# osu! ('osu!install.exe' 'osu!.exe')

WIN_VER=10
FPS_LIMIT=0
PULSE_LTCY=0
Expand Down
2 changes: 2 additions & 0 deletions db/re8.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Resident Evil Village ('re8.exe')

pre_launch() {
try_mkdir "$WINEPREFIX/drive_c/Program Files (x86)/Steam/userdata/418370/remote/win64_save"
}
Expand Down
4 changes: 4 additions & 0 deletions db/setup.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# ('setup.exe')
# GOG Galaxy ('gog_galaxy*.exe')
# League of Legends ('live.na.exe' 'LeagueClient.exe' 'RiotClientServices.exe' '*league of legends*')

ESYNC=0
FSYNC=0
WIN_VER=10
Expand Down
6 changes: 6 additions & 0 deletions db/speed.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Need for Speed Most Wanted ('speed.exe')
# Need for Speed Carbon ('NFSC.exe')
# Need for Speed Underground ('speed.exe')
# Need for Speed Underground 2 ('SPEED2.exe')


set_syswine() {
WIN_VER=10
WINEARCH=win64
Expand Down
4 changes: 3 additions & 1 deletion db/steam.lwdb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Steam ('Steam.exe')

pre_launch() {
check_exe_args "-no-cef-sandbox -opengl"
EXE_ARGS+=(-no-cef-sandbox -opengl)
if [[ -f "$LW_REGPATCH_DIR/steam.reg" && \
! -n "$(grep -A2 "\[Software.*Wine.*AppDefaults.*steam.exe\]" \
"$WINEPREFIX/user.reg"|grep -wo 'win10')" ]]
Expand Down
1 change: 1 addition & 0 deletions db/upc.lwdb
2 changes: 2 additions & 0 deletions db/wic.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# World in Conflict ('wic.exe')

pre_launch() {
wicconfig="$WINEPREFIX/drive_c/users/steamuser/Documents/World in Conflict/Game Options.txt"
[ -f "$wicconfig" ] && \
Expand Down
2 changes: 2 additions & 0 deletions db/xrEngine.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# S.T.A.L.K.E.R. ('xrEngine.exe')

pre_launch() {
[[ ! -f "$EXE_PATH/fsgame.ltx" && \
-f "$EXE_PATH/../fsgame.ltx" ]] && \
Expand Down
2 changes: 1 addition & 1 deletion lutris-wine
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LW_VERSION="0.78.2.6"
LW_VERSION="0.78.2.7"
Loading

0 comments on commit 32064aa

Please sign in to comment.