mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-21 01:11:46 +03:00
Updated runners list and simplified game starting command
This commit is contained in:
parent
aeac9f9281
commit
80eabc72e9
2 changed files with 75 additions and 16 deletions
|
@ -246,11 +246,63 @@
|
||||||
winecfg: lib64/wine/x86_64-windows/winecfg.exe
|
winecfg: lib64/wine/x86_64-windows/winecfg.exe
|
||||||
recommended: false
|
recommended: false
|
||||||
|
|
||||||
# Proton-GE versions
|
# GE-Proton versions
|
||||||
- title: Proton-GE
|
- title: GE-Proton
|
||||||
runners:
|
runners:
|
||||||
|
# GE-Proton 7-4
|
||||||
|
- family: GE-Proton
|
||||||
|
name: GE-Proton7-4
|
||||||
|
title: GE-Proton 7-4
|
||||||
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-4/GE-Proton7-4.tar.gz
|
||||||
|
files:
|
||||||
|
wine: files/bin/wine64
|
||||||
|
wineserver: files/bin/wineserver
|
||||||
|
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
|
recommended: true
|
||||||
|
|
||||||
|
# GE-Proton 7-3
|
||||||
|
- family: GE-Proton
|
||||||
|
name: GE-Proton7-3
|
||||||
|
title: GE-Proton 7-3
|
||||||
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-3/GE-Proton7-3.tar.gz
|
||||||
|
files:
|
||||||
|
wine: files/bin/wine64
|
||||||
|
wineserver: files/bin/wineserver
|
||||||
|
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
|
recommended: true
|
||||||
|
|
||||||
|
# GE-Proton 7-2
|
||||||
|
- family: GE-Proton
|
||||||
|
name: GE-Proton7-2
|
||||||
|
title: GE-Proton 7-2
|
||||||
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-2/GE-Proton7-2.tar.gz
|
||||||
|
files:
|
||||||
|
wine: dist/bin/wine64
|
||||||
|
wineserver: dist/bin/wineserver
|
||||||
|
winecfg: dist/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
|
recommended: true
|
||||||
|
|
||||||
|
# GE-Proton 7-1
|
||||||
|
- family: GE-Proton
|
||||||
|
name: GE-Proton7-1
|
||||||
|
title: GE-Proton 7-1
|
||||||
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-1/GE-Proton7-1.tar.gz
|
||||||
|
files:
|
||||||
|
wine: dist/bin/wine64
|
||||||
|
wineserver: dist/bin/wineserver
|
||||||
|
winecfg: dist/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
|
|
||||||
|
# From 7-2 (above) changelog:
|
||||||
|
# Fixed broken controller input on clean game prefix creations
|
||||||
|
# So this version can be broken for controller users
|
||||||
|
recommended: false
|
||||||
|
|
||||||
|
# Project versioning (and name) was changed
|
||||||
|
# https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton7-1
|
||||||
|
# https://www.patreon.com/posts/63101415
|
||||||
|
|
||||||
# Proton-GE 7.2-2
|
# Proton-GE 7.2-2
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-7.2-GE-2
|
name: Proton-7.2-GE-2
|
||||||
title: Proton 7.2 GE 2
|
title: Proton 7.2 GE 2
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.2-GE-2/Proton-7.2-GE-2.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.2-GE-2/Proton-7.2-GE-2.tar.gz
|
||||||
|
@ -261,7 +313,7 @@
|
||||||
recommended: true
|
recommended: true
|
||||||
|
|
||||||
# Proton-GE 7.2-1
|
# Proton-GE 7.2-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-7.2-GE-1
|
name: Proton-7.2-GE-1
|
||||||
title: Proton 7.2 GE 1
|
title: Proton 7.2 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.2-GE-1/Proton-7.2-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.2-GE-1/Proton-7.2-GE-1.tar.gz
|
||||||
|
@ -272,7 +324,7 @@
|
||||||
recommended: true
|
recommended: true
|
||||||
|
|
||||||
# Proton-GE 7.1-2
|
# Proton-GE 7.1-2
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-7.1-GE-2
|
name: Proton-7.1-GE-2
|
||||||
title: Proton 7.1 GE 2
|
title: Proton 7.1 GE 2
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.1-GE-2/Proton-7.1-GE-2.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.1-GE-2/Proton-7.1-GE-2.tar.gz
|
||||||
|
@ -283,7 +335,7 @@
|
||||||
recommended: true
|
recommended: true
|
||||||
|
|
||||||
# Proton-GE 7.1-1
|
# Proton-GE 7.1-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-7.1-GE-1
|
name: Proton-7.1-GE-1
|
||||||
title: Proton 7.1 GE 1
|
title: Proton 7.1 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.1-GE-1/Proton-7.1-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/7.1-GE-1/Proton-7.1-GE-1.tar.gz
|
||||||
|
@ -294,7 +346,7 @@
|
||||||
recommended: true
|
recommended: true
|
||||||
|
|
||||||
# Proton-GE 6.21-2
|
# Proton-GE 6.21-2
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.21-GE-2
|
name: Proton-6.21-GE-2
|
||||||
title: Proton 6.21 GE 2
|
title: Proton 6.21 GE 2
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.21-GE-2/Proton-6.21-GE-2.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.21-GE-2/Proton-6.21-GE-2.tar.gz
|
||||||
|
@ -302,10 +354,10 @@
|
||||||
wine: files/bin/wine64
|
wine: files/bin/wine64
|
||||||
wineserver: files/bin/wineserver
|
wineserver: files/bin/wineserver
|
||||||
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
recommended: true
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.20-1
|
# Proton-GE 6.20-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.20-GE-1
|
name: Proton-6.20-GE-1
|
||||||
title: Proton 6.20 GE 1
|
title: Proton 6.20 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.20-GE-1/Proton-6.20-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.20-GE-1/Proton-6.20-GE-1.tar.gz
|
||||||
|
@ -313,10 +365,10 @@
|
||||||
wine: files/bin/wine64
|
wine: files/bin/wine64
|
||||||
wineserver: files/bin/wineserver
|
wineserver: files/bin/wineserver
|
||||||
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
winecfg: files/lib64/wine/x86_64-windows/winecfg.exe
|
||||||
recommended: true
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.19-2
|
# Proton-GE 6.19-2
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.19-GE-2
|
name: Proton-6.19-GE-2
|
||||||
title: Proton 6.19 GE 2
|
title: Proton 6.19 GE 2
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.19-GE-2/Proton-6.19-GE-2.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.19-GE-2/Proton-6.19-GE-2.tar.gz
|
||||||
|
@ -327,7 +379,7 @@
|
||||||
recommended: false # works, but outdated
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.19-1
|
# Proton-GE 6.19-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.19-GE-1
|
name: Proton-6.19-GE-1
|
||||||
title: Proton 6.19 GE 1
|
title: Proton 6.19 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.19-GE-1/Proton-6.19-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.19-GE-1/Proton-6.19-GE-1.tar.gz
|
||||||
|
@ -338,7 +390,7 @@
|
||||||
recommended: false # works, but outdated
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.18-2
|
# Proton-GE 6.18-2
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.18-GE-2
|
name: Proton-6.18-GE-2
|
||||||
title: Proton 6.18 GE 2
|
title: Proton 6.18 GE 2
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.18-GE-2/Proton-6.18-GE-2.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.18-GE-2/Proton-6.18-GE-2.tar.gz
|
||||||
|
@ -349,7 +401,7 @@
|
||||||
recommended: false # works, but outdated
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.18-1
|
# Proton-GE 6.18-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.18-GE-1
|
name: Proton-6.18-GE-1
|
||||||
title: Proton 6.18 GE 1
|
title: Proton 6.18 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.18-GE-1/Proton-6.18-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.18-GE-1/Proton-6.18-GE-1.tar.gz
|
||||||
|
@ -360,7 +412,7 @@
|
||||||
recommended: false # works, but outdated
|
recommended: false # works, but outdated
|
||||||
|
|
||||||
# Proton-GE 6.16-1
|
# Proton-GE 6.16-1
|
||||||
- family: Proton-GE
|
- family: GE-Proton
|
||||||
name: Proton-6.16-GE-1
|
name: Proton-6.16-GE-1
|
||||||
title: Proton 6.16 GE 1
|
title: Proton 6.16 GE 1
|
||||||
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.16-GE-1/Proton-6.16-GE-1.tar.gz
|
uri: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/6.16-GE-1/Proton-6.16-GE-1.tar.gz
|
||||||
|
|
|
@ -157,8 +157,15 @@ export default (launcher: Launcher): Promise<void> => {
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
const virtual_desktop = await Configs.get('wine.virtual_desktop') as object;
|
const virtual_desktop = await Configs.get('wine.virtual_desktop') as object;
|
||||||
|
const borderless_window = await Configs.get('borderless_window') as boolean;
|
||||||
|
|
||||||
let command = `"${path.addSlashes(wineExeutable)}" ${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''} ${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'} ${await Configs.get('borderless_window') ? '-screen-fullscreen 0 -popupwindow' : ''} ${await Configs.get('wine.fsr') && (!await Configs.get('borderless_window') || !virtual_desktop['enabled']) ? '-window-mode exclusive' : ''}`;
|
let command: string = [
|
||||||
|
`"${path.addSlashes(wineExeutable)}"`,
|
||||||
|
`${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''}`,
|
||||||
|
`${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'}`,
|
||||||
|
`${borderless_window ? '-screen-fullscreen 0 -popupwindow' : ''}`,
|
||||||
|
`${await Configs.get('wine.fsr') && (!borderless_window || !virtual_desktop['enabled']) ? '-window-mode exclusive' : ''}`
|
||||||
|
].join(' ');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gamemode integration
|
* Gamemode integration
|
||||||
|
|
Loading…
Reference in a new issue