Skip to content

Commit

Permalink
v0.78.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Feb 22, 2024
1 parent 4fca958 commit 919bbee
Show file tree
Hide file tree
Showing 42 changed files with 150 additions and 130 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# v0.78.2.8

* Add pseudo CD-ROM for fix old games CD-ROM check (`Road Rash` and others)
* Add `installrun_nupkg_exe()` for install and run exe with `*.nupkg` in DB scripts
* Update DB script for `Direct Commander`
* Update DB script for `WeMod`
* Add DB script for `EVE Online Setup`
* Add `Auto remove apps shortcuts` option to LW `Settings`
* Minor fixes

# v0.78.2.7

Expand Down
2 changes: 1 addition & 1 deletion db/ACOdyssey.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Assassin's Creed Odyssey ('ACOdyssey.exe')
#DB# Assassin's Creed Odyssey # DB_EXES=('ACOdyssey.exe')

WIN_VER=10
GSTREAMER=0
Expand Down
2 changes: 1 addition & 1 deletion db/AbeWin.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Abe's Oddysee ('AbeWin.exe')
#DB# Abe's Oddysee # DB_EXES=('AbeWin.exe')

pre_launch() { EXE_ARGS+=(-interline) ; }
WIN_VER=10
Expand Down
2 changes: 1 addition & 1 deletion db/Anno1800.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Anno 1800 ('Anno1800.exe')
#DB# Anno 1800 # DB_EXES=('Anno1800.exe')

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

PYTHONIOENCODING=utf-8
2 changes: 1 addition & 1 deletion db/Arcania.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Gothic 4: Arcania - ('Arcania Addon.exe' 'ArcaniA Addon POL.exe' 'ArcaniA Addon RUS.exe' 'Arcania.exe')
#DB# Gothic 4: Arcania # DB_EXES=('Arcania Addon.exe' 'ArcaniA Addon POL.exe' 'ArcaniA Addon RUS.exe' 'Arcania.exe')

WIN_VER=10
WINEARCH=win64
Expand Down
2 changes: 1 addition & 1 deletion db/Battle.net-Setup.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Battle.net Launcher ('Battle.net-Setup.exe' 'Battle.net Launcher.exe')
#DB# Battle.net Launcher # DB_EXES=('Battle.net-Setup.exe' 'Battle.net Launcher.exe')

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

WIN_VER=10
ESYNC=0
Expand Down
2 changes: 1 addition & 1 deletion db/CaliberSetup.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Caliber ('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')
#DB# Caliber # DB_EXES=('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')

WIN_VER=10
WINEARCH=win64
Expand Down
2 changes: 1 addition & 1 deletion db/Crysis.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Crysis ('Crysis.exe' 'Crysis64.exe' 'CrysisLauncher.exe')
#DB# Crysis # DB_EXES=('Crysis.exe' 'Crysis64.exe' 'CrysisLauncher.exe')

WIN_VER=10
ESYNC=0
2 changes: 1 addition & 1 deletion db/DOOMEternalx64vk.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Doom Eternal ('DOOMEternalx64vk.exe')
#DB# Doom Eternal # DB_EXES=('DOOMEternalx64vk.exe')

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

Expand Down
37 changes: 3 additions & 34 deletions db/Direct Commander.lwdb
Original file line number Diff line number Diff line change
@@ -1,39 +1,8 @@
# Direct Commander ('Direct Commander.exe' 'Direct Commander Setup*.exe')
#DB# Direct Commander # DB_EXES=('Direct Commander.exe' 'Direct Commander Setup*.exe')

pre_launch() {
if [[ "${EXE_NAME,,}" == 'direct commander setup'* ]]
then
cleandcmdtmp() { [ -d "$dcmdtmp" ] && rm -rf "$dcmdtmp" ; }
dcmdtmp="$LW_DEF_TMP/dcmd-$RANDOM"
dcmddir="$WINEPREFIX/dosdevices/c:/Program Files/Direct Commander"
dcmdexe="$dcmddir/Direct Commander.exe"
cleandcmdtmp
mkdir -p "$dcmdtmp"
if (7z x "$LU_EXE" '*.nupkg' -o"$dcmdtmp" ; \
unzip -o "$dcmdtmp"/*.nupkg 'lib/net*/*' -d "$dcmdtmp")
then
[ -d "$dcmddir" ] && rm -f "$dcmddir"
mkdir -p "$(dirname "$dcmddir")"
if mv -f "$dcmdtmp/lib/net"* "$dcmddir" && \
[ -f "$dcmdexe" ]
then
cleandcmdtmp
export LU_EXE="$dcmdexe"
lu_shortcut "$LU_EXE" 'Direct Commander'
cleanrun "$LW_SOURCE" "$LU_EXE"
exit $?
else
print_error yad "Failed to install: $EXE_NAME"
cleandcmdtmp
exit 1
fi
cleandcmdtmp
else
print_error yad "Failed to extract: $EXE_NAME"
cleandcmdtmp
exit 1
fi
fi
[[ "${EXE_NAME,,}" == 'direct commander setup'* ]] && \
installrun_nupkg_exe
}

WIN_VER=10
Expand Down
2 changes: 1 addition & 1 deletion db/EpicGamesLauncher.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Epic Games Launcher ('EpicGamesLauncher.exe')
#DB# Epic Games Launcher # DB_EXES=('EpicGamesLauncher.exe')

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

Expand Down
2 changes: 1 addition & 1 deletion db/LeagueClient.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# League of Legends ('live.na.exe' 'LeagueClient.exe' 'RiotClientServices.exe' '*league of legends*')
#DB# League of Legends # DB_EXES=('live.na.exe' 'LeagueClient.exe' 'RiotClientServices.exe' '.*league of legends.*')

WIN_VER=10
DIS_NETCORE=1
Expand Down
2 changes: 1 addition & 1 deletion db/MassEffect.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mass Effect ('MassEffect.exe')
#DB# Mass Effect # DB_EXES=('MassEffect.exe')

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

WIN_VER=10
DGVOODOO2=1
Expand Down
2 changes: 1 addition & 1 deletion db/Remnant2.lwdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Remnant 2 ('Remnant2.exe' 'Remnant2-Win64-Shipping.exe')
#DB# Remnant 2 # DB_EXES=('Remnant2.exe' 'Remnant2-Win64-Shipping.exe')

VKD3D_DISABLE_EXTENSIONS=VK_EXT_mesh_shader
2 changes: 1 addition & 1 deletion db/Sam4.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Serious Sam 4 ('Sam4.exe')
#DB# Serious Sam 4 # DB_EXES=('Sam4.exe')

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

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

FSR_MODE=Enabled
2 changes: 1 addition & 1 deletion db/SoF2.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Soldier of Fortune 2 ('SoF2.exe')
#DB# Soldier of Fortune 2 # DB_EXES=('SoF2.exe')

SUM=($(sha256sum SoF2.exe 2>/dev/null))
PATCH_SUM='bf8225821e1b0e27ea97a7507034a575d93e3e190adbc9f162510bb547a52bbb'
Expand Down
2 changes: 1 addition & 1 deletion db/Starfield.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Starfield ('Starfield.exe')
#DB# Starfield # DB_EXES=('Starfield.exe')

WIN_VER=10
DXR=0
2 changes: 1 addition & 1 deletion db/Syberia.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Syberia ('Syberia.exe')
#DB# Syberia # DB_EXES=('Syberia.exe')

pre_launch() {
syberia_cfg="$EXE_PATH/player.ini"
Expand Down
37 changes: 3 additions & 34 deletions db/WeMod.lwdb
Original file line number Diff line number Diff line change
@@ -1,39 +1,8 @@
# WeMod ('WeMod.exe' 'WeMod-*.exe')
#DB# WeMod # DB_EXES=('WeMod.exe' 'WeMod-.*.exe')

pre_launch() {
if [[ "${EXE_NAME,,}" == 'wemod-'[0-9]* ]]
then
cleanwemodtmp() { [ -d "$wemodtmp" ] && rm -rf "$wemodtmp" ; }
wemodtmp="$LW_DEF_TMP/wemod-$RANDOM"
wemoddir="$WINEPREFIX/dosdevices/c:/Program Files/WeMod"
wemodexe="$wemoddir/WeMod.exe"
cleanwemodtmp
mkdir -p "$wemodtmp"
if (unzip -o "$LU_EXE" '*.nupkg' -d "$wemodtmp" ; \
unzip -o "$wemodtmp"/*.nupkg 'lib/net*/*' -d "$wemodtmp")
then
[ -d "$wemoddir" ] && rm -f "$wemoddir"
mkdir -p "$(dirname "$wemoddir")"
if mv -f "$wemodtmp/lib/net"* "$wemoddir" && \
[ -f "$wemodexe" ]
then
cleanwemodtmp
export LU_EXE="$wemodexe"
lu_shortcut "$LU_EXE" 'WeMod'
cleanrun "$LW_SOURCE" "$LU_EXE"
exit $?
else
print_error yad "Failed to install: $EXE_NAME"
cleanwemodtmp
exit 1
fi
cleanwemodtmp
else
print_error yad "Failed to extract: $EXE_NAME"
cleanwemodtmp
exit 1
fi
fi
[[ "${EXE_NAME,,}" == 'wemod-'[0-9]* ]] && \
installrun_nupkg_exe
}

WIN_VER=10
Expand Down
2 changes: 1 addition & 1 deletion db/Wolf2.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Wolfenstein (2009) ('Wolf2.exe')
#DB# Wolfenstein 2009 # DB_EXES=('Wolf2.exe')

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

Expand Down
2 changes: 1 addition & 1 deletion db/WorldOfSeaBattleClient.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# World Of Sea Battle ('WorldOfSeaBattleClient.exe' 'wos_client.exe')
#DB# World Of Sea Battle # DB_EXES=('WorldOfSeaBattleClient.exe' 'wos_client.exe')

WIN_VER=10
WINEARCH=win64
Expand Down
2 changes: 1 addition & 1 deletion db/Zona.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Zona ('Zona.exe' 'ZonaSetup*.exe')
#DB# Zona # DB_EXES=('Zona.exe' 'ZonaSetup.*.exe')

WIN_VER=10
ZUPDATER="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/Zona/plugins/zupdater"
Expand Down
2 changes: 1 addition & 1 deletion db/bms.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Black Mesa ('bms.exe')
#DB# Black Mesa # DB_EXES=('bms.exe')

WIN_VER=10
pre_launch() {
Expand Down
2 changes: 1 addition & 1 deletion db/crashday.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Crashday ('crashday.exe')
#DB# Crashday # DB_EXES=('crashday.exe')

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

Expand Down
8 changes: 8 additions & 0 deletions db/eve-online-latest+Setup.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#DB# EVE Online Setup # DB_EXES=('eve-online-latest+Setup.exe')

pre_launch() { installrun_nupkg_exe ; }

WIN_VER=10
WINEARCH=win64
SHRT_NAME='EVE Online'
EXE_ARGS=('--product=eve-online')
2 changes: 1 addition & 1 deletion db/game.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Infernal ('game.exe')
#DB# Infernal # DB_EXES=('game.exe')

infernal() {
WIN_VER=10
Expand Down
8 changes: 4 additions & 4 deletions db/launcher.lwdb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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'
#DB# Crossout # DB_EXES=('launcher.exe')
#DB# Dark Sector # DB_EXES=('DS.exe' 'launcher.exe')
#DB# Caliber # DB_EXES=('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')
#DB# Honkai: Star Rail # DB_EXES=('launcher.exe') !'StarRail.exe'

srlauncher() {
SR_PATCH_VER=v3.1.1
Expand Down
2 changes: 1 addition & 1 deletion db/nvapi64-tests.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nvapi64-tests ('nvapi64-tests.exe')
#DB# nvapi64-tests # DB_EXES=('nvapi64-tests.exe')

WIN_VER=10
TERMINAL=1
Expand Down
2 changes: 1 addition & 1 deletion db/osu!.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# osu! ('osu!install.exe' 'osu!.exe')
#DB# osu! # DB_EXES=('osu!install.exe' 'osu!.exe')

WIN_VER=10
FPS_LIMIT=0
Expand Down
2 changes: 1 addition & 1 deletion db/re8.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Resident Evil Village ('re8.exe')
#DB# Resident Evil Village # DB_EXES=('re8.exe')

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

ESYNC=0
FSYNC=0
Expand Down
8 changes: 4 additions & 4 deletions db/speed.lwdb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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')
#DB# Need for Speed Most Wanted # DB_EXES=('speed.exe')
#DB# Need for Speed Carbon # DB_EXES=('NFSC.exe')
#DB# Need for Speed Underground # DB_EXES=('speed.exe')
#DB# Need for Speed Underground 2 # DB_EXES=('SPEED2.exe')


set_syswine() {
Expand Down
2 changes: 1 addition & 1 deletion db/steam.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Steam ('Steam.exe')
#DB# Steam # DB_EXES=('Steam.exe')

pre_launch() {
EXE_ARGS+=(-no-cef-sandbox -opengl)
Expand Down
2 changes: 1 addition & 1 deletion db/wic.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# World in Conflict ('wic.exe')
#DB# World in Conflict # DB_EXES=('wic.exe')

pre_launch() {
wicconfig="$WINEPREFIX/drive_c/users/steamuser/Documents/World in Conflict/Game Options.txt"
Expand Down
2 changes: 1 addition & 1 deletion db/xrEngine.lwdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# S.T.A.L.K.E.R. ('xrEngine.exe')
#DB# S.T.A.L.K.E.R. # DB_EXES=('xrEngine.exe')

pre_launch() {
[[ ! -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.7"
LW_VERSION="0.78.2.8"
Loading

0 comments on commit 919bbee

Please sign in to comment.