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

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 10
    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: 'Grand Theft Auto: San Andreas - Open Multiplayer (Steam)'
game_slug: grand-theft-auto-san-andreas-open-multiplayer
gogslug: ''
humblestoreid: ''
installer_slug: grand-theft-auto-san-andreas-10-1
name: "Grand Theft Auto: San Andreas \u2014 Open Multiplayer"
notes: "Uses your legitimate copy of GTA:SA from Steam. Make sure you have installed\
  \ the Steam's version first.\r\nYou will need to download these mods manually:\r\
  \n- https://services.rockstarnexus.com/sadowngrade/SADowngrade_1-3-1_Full.exe\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\r\nThis installer tries to preserve the original feel while fixing issues with\
  \ the game on modern hardware.\r\nIf you experience issues (for example, crashing\
  \ game when paused), consider trying to change the runner to Proton.\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 distro 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's Game Mode."
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 10
      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-1
steamid: null
version: '1.0'
year: 2020
{
  "game_slug": "grand-theft-auto-san-andreas-open-multiplayer",
  "version": "1.0",
  "description": "Grand Theft Auto: San Andreas - Open Multiplayer (Steam)",
  "notes": "Uses your legitimate copy of GTA:SA from Steam. Make sure you have installed the Steam's version first.\r\nYou will need to download these mods manually:\r\n- https://services.rockstarnexus.com/sadowngrade/SADowngrade_1-3-1_Full.exe\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\r\nThis installer tries to preserve the original feel while fixing issues with the game on modern hardware.\r\nIf you experience issues (for example, crashing game when paused), consider trying to change the runner to Proton.\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 distro 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's Game Mode.",
  "name": "Grand Theft Auto: San Andreas \u2014 Open Multiplayer",
  "year": 2020,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "grand-theft-auto-san-andreas-10-1",
  "installer_slug": "grand-theft-auto-san-andreas-10-1",
  "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 10",
          "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