Installer grand-theft-auto-san-andreas-10-steam

files:
- atmosphereinterfacepack: N/A:Select the Atmosphere_Interface_Pack.7z
- faithfulweaponspack: N/A:Select the Faithful Weapons Pack 2.0 - HD.7z
- loadscreen4k: N/A:Select the Loadscreens_4K_Definitive.7z
- gtasadowngraderarchive: N/A:Select the SADowngrade_1-3-1_Full.exe
- asi_loader: https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/Win32-latest/vorbisFile-Win32.zip
- modloader: https://github.com/thelink2012/modloader/releases/download/v0.3.7/modloader.zip
- silentpatchsa: https://github.com/CookiePLMonster/SilentPatch/releases/latest/download/SilentPatchSA.zip
- widescreen_fix: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/GTASA.WidescreenFix.Archived.zip
- wsfix_HOR+: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/wshps.asi
- skygfx: https://github.com/aap/skygfx/releases/download/v4.2b/SkyGfx_SA_4.2b.zip
- ginput: http://silent.rockstarvision.com/uploads/GInputSA.zip
- frameratevigilante: https://fileservice.gtainside.com/fileservice/downloads/ftpl/1702416328_GTA%20San%20Andreas%20Framerate%20Vigilante.zip
- samp: https://gta-multiplayer.cz/downloads/sa-mp-0.3.7-R5-2-MP-install.exe
- openmp: https://github.com/openmultiplayer/launcher/releases/latest/download/omp-launcher-setup.exe
- ompclientdll: https://assets.open.mp/omp-client.dll
- webview2:
    filename: MicrosoftEdgeWebview2Setup.exe
    url: https://go.microsoft.com/fwlink/p/?LinkId=2124703
game:
  arch: win64
  args: -h samp.example.com -p 7777 -n Player123 -g 'C:/Program Files (x86)/Rockstar
    Games/GTA San Andreas'
  exe: $GAMEDIR/drive_c/Program FIles (x86)/Open Multiplayer Launcher/omp-launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win8
    description: Set Windows version to Windows 8...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: allfonts
    description: Installing All Fonts...
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing WebView2..
    executable: webview2
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: 'mkdir -p "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/"

      '
    description: 'Creating folder: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/'
- extract:
    dst: $CACHE/GTASADOWNGRADER
    file: gtasadowngraderarchive
    format: exe
- input_menu:
    description: How did you install Steam?
    id: STEAMGTASADIR
    options:
    - .var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Grand Theft Auto San Andreas: As
        Flatpak
    - .steam/steam/steamapps/common/Grand Theft Auto San Andreas: As Package/Steam
        Deck
    preselect: .steam/steam/steamapps/common/Grand Theft Auto San Andreas
- execute:
    command: 'cp -R "$HOME/$INPUT_STEAMGTASADIR/." "$GAMEDIR/drive_c/Program Files
      (x86)/Rockstar Games/GTA San Andreas"

      '
    description: Copying Steam version to $GAMEDIR
- task:
    description: Running SA Downgrader, make sure to select $GAMEDIR/drive_c/Program
      Files (x86)/Rockstar Games/GTA San Andreas as Game folder!
    executable: $CACHE/GTASADOWNGRADER/sadowngrade1-3-1.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Installing Ultimate ASI Loader...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/
    file: asi_loader
- extract:
    description: Installing Mod Loader...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/
    file: modloader
- extract:
    description: Installing SilentPatchSA...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SilentPatchSA/
    file: silentpatchsa
- extract:
    description: Extracting Widescreen Fix...
    dst: $CACHE/widescreen_fix/
    file: widescreen_fix
- extract:
    description: Extracting SkyGfx...
    dst: $CACHE/skygfx/
    file: skygfx
- extract:
    description: Extracting Faithful Weapons Packs...
    dst: $CACHE/faithfulweaponspack/
    file: faithfulweaponspack
- extract:
    description: Extracting Atmosphere Interface Pack...
    dst: $CACHE/atmosphereinterfacepack/
    file: atmosphereinterfacepack
- extract:
    description: Extracting Ginput...
    dst: $CACHE/ginput/
    file: ginput
- extract:
    description: Extracting Loadscreen 4K...
    dst: $CACHE/loadscreen4k/
    file: loadscreen4k
- extract:
    description: Extracting FramerateVigilante...
    dst: $CACHE/frameratevigilante/
    file: frameratevigilante
- copy:
    description: Installing Widescreen Fix...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
    src: $CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.asi
- copy:
    description: Installing Widescreen Fix...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
    src: $CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.ini
- copy:
    description: Installing Widescreen Fix HOR+...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
    src: wsfix_HOR+
- copy:
    description: Installing SkyGfx...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SkyGfx
    src: $CACHE/skygfx/
- copy:
    description: Installing Faithful Weapons Pack...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful
      Weapons Pack/
    src: $CACHE/faithfulweaponspack/Faithful Weapons Pack
- copy:
    description: Installing Faithful Weapons Sounds Pack...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful
      Weapons Sounds Pack/
    src: $CACHE/faithfulweaponspack/Faithful Weapons Sounds Pack
- copy:
    description: Installing Atmosphere Interface Pack...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Atmosphere
      Interface Pack/
    src: $CACHE/atmosphereinterfacepack/Atmosphere Interface Pack
- copy:
    description: Installing Ginput...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/ginput
    src: $CACHE/ginput/
- copy:
    description: Installing Loadscreen 4K...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Loadscreens
      4K Definitive/
    src: $CACHE/loadscreen4k/Loadscreens 4K Definitive
- copy:
    description: Installing Framerate Vigilante...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/FramerateVigilante/
    src: $CACHE/frameratevigilante/FramerateVigilante
- task:
    key: ExePath
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
    type: REG_SZ
    value: C:\Program Files (x86)\Rockstar Games\GTA San Andreas\gta_sa.exe
- task:
    key: Installed
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
    type: REG_SZ
    value: '1'
- task:
    key: UninstallPath
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
    type: REG_SZ
    value: RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\50\Intel32\Ctor.dll,LaunchSetup
      "C:\Program Files\InstallShield Installation Information\{D417C96A-FCC7-4590-A1BB-FAF73F5BC98E}\setup.exe"
      -l0x9
- task:
    key: empty
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\1.00.00001
    type: REG_SZ
    value: empty
- task:
    description: Installing SA:MP...
    executable: $samp
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing OpenMP..
    executable: $openmp
    name: wineexec
    prefix: $GAMEDIR
- copy:
    description: Installing OpenMP Client DLL...
    dst: $GAMEDIR/drive_c/users/$USER/AppData/Local/mp.open.launcher/omp/
    src: ompclientdll
description: Uses Steam version of the game
game_slug: grand-theft-auto-san-andreas-open-multiplayer
gogslug: ''
humblestoreid: ''
installer_slug: grand-theft-auto-san-andreas-10-steam
name: "Grand Theft Auto: San Andreas \u2014 Open Multiplayer"
notes: "Make sure you do the following before starting the installer:\r\n1) Install\
  \ the classic version of GTA San Andreas using Steam\r\n2) Download the following\
  \ mods manually:\r\n- https://www.mixmods.com.br/2021/01/atmosphere-interface-pack-interface-hd/\r\
  \n- https://drive.google.com/file/d/1OjwyxUKqjRCYuv9y49dgHfV0EOnqiBTA\r\n- https://www.mixmods.com.br/2021/12/loadscreens-4k-definitive-artworks-widescreen-hd/\r\
  \n- https://services.rockstarnexus.com/sadowngrade/SADowngrade_1-3-1_Full.exe\r\n\
  \r\nDuring the installation you will be prompted by 'SA Downgrader', select the\
  \ following options:\r\n- Select 'yes' when prompted about 'Disclaimer'\r\n- Select\
  \ 'no' when asked about updating 'SA Downgrader'\\r\\n\r\n- Select 'ok' when warned\
  \ about possible issues\r\n- Ignore the error about reaching online services\r\n\
  - Press 'Downgrade'\r\n- Press 'No' when asked about creating a copy of GTA San\
  \ Andreas to another location\r\n- Press 'Yes' when asked about creating retail\
  \ registry entries\r\n- Wait for the downgrader to finish\r\n- Press 'Exit'\r\n\
  Note: If the installer script fails during the 'SA Downgrade' phase, then try running\
  \ the installer again or try connecting an external display (in case of Steam Deck)\
  \ and using only the external display. You can also try to use a different GTA:SA\
  \ downgrader.\r\n> Do NOT run OpenMP after installing it, use the Lutris launcher\
  \ instead!\r\n\r\nThis installer tries to preserve the original feel while fixing\
  \ issues with the game on modern hardware.\r\nThe GUI OpenMP launcher is not working,\
  \ but the command line option is working properly, you can create multiple duplicates\
  \ of the Game and change the command line parameters to join different servers.\r\
  \nThis installer is designed for Steam Deck, but should work for any popular Linux\
  \ distros as well. If you need to get the Steam Deck's joystick buttons to work,\
  \ you will need to create a shortcut for Steam from Lutris and launch the game from\
  \ Steam instead of Lutris."
runner: wine
script:
  files:
  - atmosphereinterfacepack: N/A:Select the Atmosphere_Interface_Pack.7z
  - faithfulweaponspack: N/A:Select the Faithful Weapons Pack 2.0 - HD.7z
  - loadscreen4k: N/A:Select the Loadscreens_4K_Definitive.7z
  - gtasadowngraderarchive: N/A:Select the SADowngrade_1-3-1_Full.exe
  - asi_loader: https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/Win32-latest/vorbisFile-Win32.zip
  - modloader: https://github.com/thelink2012/modloader/releases/download/v0.3.7/modloader.zip
  - silentpatchsa: https://github.com/CookiePLMonster/SilentPatch/releases/latest/download/SilentPatchSA.zip
  - widescreen_fix: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/GTASA.WidescreenFix.Archived.zip
  - wsfix_HOR+: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/wshps.asi
  - skygfx: https://github.com/aap/skygfx/releases/download/v4.2b/SkyGfx_SA_4.2b.zip
  - ginput: http://silent.rockstarvision.com/uploads/GInputSA.zip
  - frameratevigilante: https://fileservice.gtainside.com/fileservice/downloads/ftpl/1702416328_GTA%20San%20Andreas%20Framerate%20Vigilante.zip
  - samp: https://gta-multiplayer.cz/downloads/sa-mp-0.3.7-R5-2-MP-install.exe
  - openmp: https://github.com/openmultiplayer/launcher/releases/latest/download/omp-launcher-setup.exe
  - ompclientdll: https://assets.open.mp/omp-client.dll
  - webview2:
      filename: MicrosoftEdgeWebview2Setup.exe
      url: https://go.microsoft.com/fwlink/p/?LinkId=2124703
  game:
    arch: win64
    args: -h samp.example.com -p 7777 -n Player123 -g 'C:/Program Files (x86)/Rockstar
      Games/GTA San Andreas'
    exe: $GAMEDIR/drive_c/Program FIles (x86)/Open Multiplayer Launcher/omp-launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win8
      description: Set Windows version to Windows 8...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: allfonts
      description: Installing All Fonts...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Installing WebView2..
      executable: webview2
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: 'mkdir -p "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/"

        '
      description: 'Creating folder: $GAMEDIR/drive_c/Program Files (x86)/Rockstar
        Games/'
  - extract:
      dst: $CACHE/GTASADOWNGRADER
      file: gtasadowngraderarchive
      format: exe
  - input_menu:
      description: How did you install Steam?
      id: STEAMGTASADIR
      options:
      - .var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Grand Theft Auto San Andreas: As
          Flatpak
      - .steam/steam/steamapps/common/Grand Theft Auto San Andreas: As Package/Steam
          Deck
      preselect: .steam/steam/steamapps/common/Grand Theft Auto San Andreas
  - execute:
      command: 'cp -R "$HOME/$INPUT_STEAMGTASADIR/." "$GAMEDIR/drive_c/Program Files
        (x86)/Rockstar Games/GTA San Andreas"

        '
      description: Copying Steam version to $GAMEDIR
  - task:
      description: Running SA Downgrader, make sure to select $GAMEDIR/drive_c/Program
        Files (x86)/Rockstar Games/GTA San Andreas as Game folder!
      executable: $CACHE/GTASADOWNGRADER/sadowngrade1-3-1.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      description: Installing Ultimate ASI Loader...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/
      file: asi_loader
  - extract:
      description: Installing Mod Loader...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/
      file: modloader
  - extract:
      description: Installing SilentPatchSA...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SilentPatchSA/
      file: silentpatchsa
  - extract:
      description: Extracting Widescreen Fix...
      dst: $CACHE/widescreen_fix/
      file: widescreen_fix
  - extract:
      description: Extracting SkyGfx...
      dst: $CACHE/skygfx/
      file: skygfx
  - extract:
      description: Extracting Faithful Weapons Packs...
      dst: $CACHE/faithfulweaponspack/
      file: faithfulweaponspack
  - extract:
      description: Extracting Atmosphere Interface Pack...
      dst: $CACHE/atmosphereinterfacepack/
      file: atmosphereinterfacepack
  - extract:
      description: Extracting Ginput...
      dst: $CACHE/ginput/
      file: ginput
  - extract:
      description: Extracting Loadscreen 4K...
      dst: $CACHE/loadscreen4k/
      file: loadscreen4k
  - extract:
      description: Extracting FramerateVigilante...
      dst: $CACHE/frameratevigilante/
      file: frameratevigilante
  - copy:
      description: Installing Widescreen Fix...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
      src: $CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.asi
  - copy:
      description: Installing Widescreen Fix...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
      src: $CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.ini
  - copy:
      description: Installing Widescreen Fix HOR+...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/
      src: wsfix_HOR+
  - copy:
      description: Installing SkyGfx...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SkyGfx
      src: $CACHE/skygfx/
  - copy:
      description: Installing Faithful Weapons Pack...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful
        Weapons Pack/
      src: $CACHE/faithfulweaponspack/Faithful Weapons Pack
  - copy:
      description: Installing Faithful Weapons Sounds Pack...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful
        Weapons Sounds Pack/
      src: $CACHE/faithfulweaponspack/Faithful Weapons Sounds Pack
  - copy:
      description: Installing Atmosphere Interface Pack...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Atmosphere
        Interface Pack/
      src: $CACHE/atmosphereinterfacepack/Atmosphere Interface Pack
  - copy:
      description: Installing Ginput...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/ginput
      src: $CACHE/ginput/
  - copy:
      description: Installing Loadscreen 4K...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Loadscreens
        4K Definitive/
      src: $CACHE/loadscreen4k/Loadscreens 4K Definitive
  - copy:
      description: Installing Framerate Vigilante...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/FramerateVigilante/
      src: $CACHE/frameratevigilante/FramerateVigilante
  - task:
      key: ExePath
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
      type: REG_SZ
      value: C:\Program Files (x86)\Rockstar Games\GTA San Andreas\gta_sa.exe
  - task:
      key: Installed
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
      type: REG_SZ
      value: '1'
  - task:
      key: UninstallPath
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\Installation
      type: REG_SZ
      value: RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\50\Intel32\Ctor.dll,LaunchSetup
        "C:\Program Files\InstallShield Installation Information\{D417C96A-FCC7-4590-A1BB-FAF73F5BC98E}\setup.exe"
        -l0x9
  - task:
      key: empty
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Rockstar Games\GTA San Andreas\1.00.00001
      type: REG_SZ
      value: empty
  - task:
      description: Installing SA:MP...
      executable: $samp
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing OpenMP..
      executable: $openmp
      name: wineexec
      prefix: $GAMEDIR
  - copy:
      description: Installing OpenMP Client DLL...
      dst: $GAMEDIR/drive_c/users/$USER/AppData/Local/mp.open.launcher/omp/
      src: ompclientdll
slug: grand-theft-auto-san-andreas-10-steam
steamid: null
version: 1.0 - Steam
year: 2020
{
  "game_slug": "grand-theft-auto-san-andreas-open-multiplayer",
  "version": "1.0 - Steam",
  "description": "Uses Steam version of the game",
  "notes": "Make sure you do the following before starting the installer:\r\n1) Install the classic version of GTA San Andreas using Steam\r\n2) Download the following mods manually:\r\n- https://www.mixmods.com.br/2021/01/atmosphere-interface-pack-interface-hd/\r\n- https://drive.google.com/file/d/1OjwyxUKqjRCYuv9y49dgHfV0EOnqiBTA\r\n- https://www.mixmods.com.br/2021/12/loadscreens-4k-definitive-artworks-widescreen-hd/\r\n- https://services.rockstarnexus.com/sadowngrade/SADowngrade_1-3-1_Full.exe\r\n\r\nDuring the installation you will be prompted by 'SA Downgrader', select the following options:\r\n- Select 'yes' when prompted about 'Disclaimer'\r\n- Select 'no' when asked about updating 'SA Downgrader'\\r\\n\r\n- Select 'ok' when warned about possible issues\r\n- Ignore the error about reaching online services\r\n- Press 'Downgrade'\r\n- Press 'No' when asked about creating a copy of GTA San Andreas to another location\r\n- Press 'Yes' when asked about creating retail registry entries\r\n- Wait for the downgrader to finish\r\n- Press 'Exit'\r\nNote: If the installer script fails during the 'SA Downgrade' phase, then try running the installer again or try connecting an external display (in case of Steam Deck) and using only the external display. You can also try to use a different GTA:SA downgrader.\r\n> Do NOT run OpenMP after installing it, use the Lutris launcher instead!\r\n\r\nThis installer tries to preserve the original feel while fixing issues with the game on modern hardware.\r\nThe GUI OpenMP launcher is not working, but the command line option is working properly, you can create multiple duplicates of the Game and change the command line parameters to join different servers.\r\nThis installer is designed for Steam Deck, but should work for any popular Linux distros as well. If you need to get the Steam Deck's joystick buttons to work, you will need to create a shortcut for Steam from Lutris and launch the game from Steam instead of Lutris.",
  "name": "Grand Theft Auto: San Andreas \u2014 Open Multiplayer",
  "year": 2020,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "grand-theft-auto-san-andreas-10-steam",
  "installer_slug": "grand-theft-auto-san-andreas-10-steam",
  "script": {
    "files": [
      {
        "atmosphereinterfacepack": "N/A:Select the Atmosphere_Interface_Pack.7z"
      },
      {
        "faithfulweaponspack": "N/A:Select the Faithful Weapons Pack 2.0 - HD.7z"
      },
      {
        "loadscreen4k": "N/A:Select the Loadscreens_4K_Definitive.7z"
      },
      {
        "gtasadowngraderarchive": "N/A:Select the SADowngrade_1-3-1_Full.exe"
      },
      {
        "asi_loader": "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/Win32-latest/vorbisFile-Win32.zip"
      },
      {
        "modloader": "https://github.com/thelink2012/modloader/releases/download/v0.3.7/modloader.zip"
      },
      {
        "silentpatchsa": "https://github.com/CookiePLMonster/SilentPatch/releases/latest/download/SilentPatchSA.zip"
      },
      {
        "widescreen_fix": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/GTASA.WidescreenFix.Archived.zip"
      },
      {
        "wsfix_HOR+": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/gtasa-wshps/wshps.asi"
      },
      {
        "skygfx": "https://github.com/aap/skygfx/releases/download/v4.2b/SkyGfx_SA_4.2b.zip"
      },
      {
        "ginput": "http://silent.rockstarvision.com/uploads/GInputSA.zip"
      },
      {
        "frameratevigilante": "https://fileservice.gtainside.com/fileservice/downloads/ftpl/1702416328_GTA%20San%20Andreas%20Framerate%20Vigilante.zip"
      },
      {
        "samp": "https://gta-multiplayer.cz/downloads/sa-mp-0.3.7-R5-2-MP-install.exe"
      },
      {
        "openmp": "https://github.com/openmultiplayer/launcher/releases/latest/download/omp-launcher-setup.exe"
      },
      {
        "ompclientdll": "https://assets.open.mp/omp-client.dll"
      },
      {
        "webview2": {
          "filename": "MicrosoftEdgeWebview2Setup.exe",
          "url": "https://go.microsoft.com/fwlink/p/?LinkId=2124703"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "args": "-h samp.example.com -p 7777 -n Player123 -g 'C:/Program Files (x86)/Rockstar Games/GTA San Andreas'",
      "exe": "$GAMEDIR/drive_c/Program FIles (x86)/Open Multiplayer Launcher/omp-launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win8",
          "description": "Set Windows version to Windows 8...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "allfonts",
          "description": "Installing All Fonts...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing WebView2..",
          "executable": "webview2",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "mkdir -p \"$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/\"\n",
          "description": "Creating folder: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/GTASADOWNGRADER",
          "file": "gtasadowngraderarchive",
          "format": "exe"
        }
      },
      {
        "input_menu": {
          "description": "How did you install Steam?",
          "id": "STEAMGTASADIR",
          "options": [
            {
              ".var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Grand Theft Auto San Andreas": "As Flatpak"
            },
            {
              ".steam/steam/steamapps/common/Grand Theft Auto San Andreas": "As Package/Steam Deck"
            }
          ],
          "preselect": ".steam/steam/steamapps/common/Grand Theft Auto San Andreas"
        }
      },
      {
        "execute": {
          "command": "cp -R \"$HOME/$INPUT_STEAMGTASADIR/.\" \"$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas\"\n",
          "description": "Copying Steam version to $GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Running SA Downgrader, make sure to select $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas as Game folder!",
          "executable": "$CACHE/GTASADOWNGRADER/sadowngrade1-3-1.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Installing Ultimate ASI Loader...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/",
          "file": "asi_loader"
        }
      },
      {
        "extract": {
          "description": "Installing Mod Loader...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/",
          "file": "modloader"
        }
      },
      {
        "extract": {
          "description": "Installing SilentPatchSA...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SilentPatchSA/",
          "file": "silentpatchsa"
        }
      },
      {
        "extract": {
          "description": "Extracting Widescreen Fix...",
          "dst": "$CACHE/widescreen_fix/",
          "file": "widescreen_fix"
        }
      },
      {
        "extract": {
          "description": "Extracting SkyGfx...",
          "dst": "$CACHE/skygfx/",
          "file": "skygfx"
        }
      },
      {
        "extract": {
          "description": "Extracting Faithful Weapons Packs...",
          "dst": "$CACHE/faithfulweaponspack/",
          "file": "faithfulweaponspack"
        }
      },
      {
        "extract": {
          "description": "Extracting Atmosphere Interface Pack...",
          "dst": "$CACHE/atmosphereinterfacepack/",
          "file": "atmosphereinterfacepack"
        }
      },
      {
        "extract": {
          "description": "Extracting Ginput...",
          "dst": "$CACHE/ginput/",
          "file": "ginput"
        }
      },
      {
        "extract": {
          "description": "Extracting Loadscreen 4K...",
          "dst": "$CACHE/loadscreen4k/",
          "file": "loadscreen4k"
        }
      },
      {
        "extract": {
          "description": "Extracting FramerateVigilante...",
          "dst": "$CACHE/frameratevigilante/",
          "file": "frameratevigilante"
        }
      },
      {
        "copy": {
          "description": "Installing Widescreen Fix...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/",
          "src": "$CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.asi"
        }
      },
      {
        "copy": {
          "description": "Installing Widescreen Fix...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/",
          "src": "$CACHE/widescreen_fix/scripts/GTASA.WidescreenFix.ini"
        }
      },
      {
        "copy": {
          "description": "Installing Widescreen Fix HOR+...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/WidescreenFix/",
          "src": "wsfix_HOR+"
        }
      },
      {
        "copy": {
          "description": "Installing SkyGfx...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/SkyGfx",
          "src": "$CACHE/skygfx/"
        }
      },
      {
        "copy": {
          "description": "Installing Faithful Weapons Pack...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful Weapons Pack/",
          "src": "$CACHE/faithfulweaponspack/Faithful Weapons Pack"
        }
      },
      {
        "copy": {
          "description": "Installing Faithful Weapons Sounds Pack...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Faithful Weapons Sounds Pack/",
          "src": "$CACHE/faithfulweaponspack/Faithful Weapons Sounds Pack"
        }
      },
      {
        "copy": {
          "description": "Installing Atmosphere Interface Pack...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Atmosphere Interface Pack/",
          "src": "$CACHE/atmosphereinterfacepack/Atmosphere Interface Pack"
        }
      },
      {
        "copy": {
          "description": "Installing Ginput...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/ginput",
          "src": "$CACHE/ginput/"
        }
      },
      {
        "copy": {
          "description": "Installing Loadscreen 4K...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/Loadscreens 4K Definitive/",
          "src": "$CACHE/loadscreen4k/Loadscreens 4K Definitive"
        }
      },
      {
        "copy": {
          "description": "Installing Framerate Vigilante...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas/modloader/FramerateVigilante/",
          "src": "$CACHE/frameratevigilante/FramerateVigilante"
        }
      },
      {
        "task": {
          "key": "ExePath",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Rockstar Games\\GTA San Andreas\\Installation",
          "type": "REG_SZ",
          "value": "C:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\gta_sa.exe"
        }
      },
      {
        "task": {
          "key": "Installed",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Rockstar Games\\GTA San Andreas\\Installation",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "UninstallPath",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Rockstar Games\\GTA San Andreas\\Installation",
          "type": "REG_SZ",
          "value": "RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\PROFES~1\\RunTime\\10\\50\\Intel32\\Ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{D417C96A-FCC7-4590-A1BB-FAF73F5BC98E}\\setup.exe\" -l0x9"
        }
      },
      {
        "task": {
          "key": "empty",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Rockstar Games\\GTA San Andreas\\1.00.00001",
          "type": "REG_SZ",
          "value": "empty"
        }
      },
      {
        "task": {
          "description": "Installing SA:MP...",
          "executable": "$samp",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing OpenMP..",
          "executable": "$openmp",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "description": "Installing OpenMP Client DLL...",
          "dst": "$GAMEDIR/drive_c/users/$USER/AppData/Local/mp.open.launcher/omp/",
          "src": "ompclientdll"
        }
      }
    ]
  }
}
Back to game