files:
- gogsetup: N/A:Please select the GOG Windows setup exe file from your GOG account.
- wds: https://raw.githubusercontent.com/legluondunet/MyLittleLutrisScripts/master/Prince%20of%20Persia%20-%20The%20Sands%20of%20time/pop.7z
game:
exe: drive_c/GOG Games/Prince of Persia - The Sands of Time/PrinceOfPersia.EXE
prefix: $GAMEDIR
installer:
- task:
arch: win64
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
file: gogsetup
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
file: wds
- write_file:
content: '[MAIN]
Width = $RESOLUTION_WIDTH
Height = $RESOLUTION_HEIGHT
[HUD]
HUD_posX_auto = 1 // 0 - Off; 1 - On;
HUD_posX = -0.148958 // -0.082450 - for 16x10 mode; -0.148958 for 16x9 mode;
[MISC]
cutscenes_black_borders = 0 // 0 - Off; 1 - On
Xbox_fov = 0 // 0 - Off; 1 - On
fov_multiplier = 1.0 // original value 1.0;'
file: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/pop.ini
- merge:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
src: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/__support/app
system:
env:
DXVK_FRAME_RATE: '60'
DXVK_HUD: null
wine:
overrides:
'*d3d9': n,b
description: Play "Prince of Persia - The Sands of Time" provided by GOG on Linux!
game_slug: prince-of-persia-the-sands-of-time
gogslug: prince_of_persia_the_sands_of_time
humblestoreid: ''
installer_slug: prince-of-persia-the-sands-of-gog-widescreen-patch
name: 'Prince of Persia: The Sands of Time'
notes: "- This script installer will automagically set the game to your desktop resolution\
\ with widescreen mode\r\n- In case you have the fog bug, just desactivate fog in\
\ graphic settings\r\n- This game has insufficient controller support, for a better\
\ game experience, you will find AntimicroX profiles for your controller here:\r\
\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Prince%20of%20Persia%20-%20The%20Sands%20of%20time/gamepad%20profiles"
runner: wine
script:
files:
- gogsetup: N/A:Please select the GOG Windows setup exe file from your GOG account.
- wds: https://raw.githubusercontent.com/legluondunet/MyLittleLutrisScripts/master/Prince%20of%20Persia%20-%20The%20Sands%20of%20time/pop.7z
game:
exe: drive_c/GOG Games/Prince of Persia - The Sands of Time/PrinceOfPersia.EXE
prefix: $GAMEDIR
installer:
- task:
arch: win64
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
file: gogsetup
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
file: wds
- write_file:
content: '[MAIN]
Width = $RESOLUTION_WIDTH
Height = $RESOLUTION_HEIGHT
[HUD]
HUD_posX_auto = 1 // 0 - Off; 1 - On;
HUD_posX = -0.148958 // -0.082450 - for 16x10 mode; -0.148958 for 16x9 mode;
[MISC]
cutscenes_black_borders = 0 // 0 - Off; 1 - On
Xbox_fov = 0 // 0 - Off; 1 - On
fov_multiplier = 1.0 // original value 1.0;'
file: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/pop.ini
- merge:
dst: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time
src: $GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/__support/app
system:
env:
DXVK_FRAME_RATE: '60'
DXVK_HUD: null
wine:
overrides:
'*d3d9': n,b
slug: prince-of-persia-the-sands-of-gog-widescreen-patch
steamid: 13600
version: GOG + widescreen patch
year: 2003
{
"game_slug": "prince-of-persia-the-sands-of-time",
"version": "GOG + widescreen patch",
"description": "Play \"Prince of Persia - The Sands of Time\" provided by GOG on Linux!",
"notes": "- This script installer will automagically set the game to your desktop resolution with widescreen mode\r\n- In case you have the fog bug, just desactivate fog in graphic settings\r\n- This game has insufficient controller support, for a better game experience, you will find AntimicroX profiles for your controller here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Prince%20of%20Persia%20-%20The%20Sands%20of%20time/gamepad%20profiles",
"name": "Prince of Persia: The Sands of Time",
"year": 2003,
"steamid": 13600,
"gogslug": "prince_of_persia_the_sands_of_time",
"humblestoreid": "",
"runner": "wine",
"slug": "prince-of-persia-the-sands-of-gog-widescreen-patch",
"installer_slug": "prince-of-persia-the-sands-of-gog-widescreen-patch",
"script": {
"files": [
{
"gogsetup": "N/A:Please select the GOG Windows setup exe file from your GOG account."
},
{
"wds": "https://raw.githubusercontent.com/legluondunet/MyLittleLutrisScripts/master/Prince%20of%20Persia%20-%20The%20Sands%20of%20time/pop.7z"
}
],
"game": {
"exe": "drive_c/GOG Games/Prince of Persia - The Sands of Time/PrinceOfPersia.EXE",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"install_gecko": false,
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time",
"file": "gogsetup"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time",
"file": "wds"
}
},
{
"write_file": {
"content": "[MAIN]\nWidth = $RESOLUTION_WIDTH\nHeight = $RESOLUTION_HEIGHT\n\n[HUD]\nHUD_posX_auto = 1 // 0 - Off; 1 - On;\nHUD_posX = -0.148958 // -0.082450 - for 16x10 mode; -0.148958 for 16x9 mode;\n\n[MISC]\ncutscenes_black_borders = 0 // 0 - Off; 1 - On\nXbox_fov = 0 // 0 - Off; 1 - On\nfov_multiplier = 1.0 // original value 1.0;",
"file": "$GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/pop.ini"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time",
"src": "$GAMEDIR/drive_c/GOG Games/Prince of Persia - The Sands of Time/__support/app"
}
}
],
"system": {
"env": {
"DXVK_FRAME_RATE": "60",
"DXVK_HUD": null
}
},
"wine": {
"overrides": {
"*d3d9": "n,b"
}
}
}
}