Installer need-for-speed-iii-hot-pursui-glide-renderer-moder

files:
- nglide: https://www.zeus-software.com/downloads/nglide/d-1.html
- nfs3_mp: https://veg.by/files/nfs3/nfs3_modern_patch.7z
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files/Need For Speed III
install_complete_text: Installation completed! When you exit the game via the main
  menu, the game gets stuck on a black screen. To prevent this, activate CLI mode.
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- task:
    executable: nglide
    name: wineexec
    prefix: $GAMEDIR
- insert-disc:
    requires: gamedata
- copy:
    dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/fedata
    src: $DISC/fedata
- copy:
    dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/gamedata
    src: $DISC/gamedata
- execute:
    command: find "$GAMEDIR/drive_c/Program Files/Need For Speed III/" \( -type d
      -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Need For Speed III
    file: nfs3_mp
- move:
    dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/backup_glide3x.dll
    src: $GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/glide3x.dll
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - english: English
    - german: German
    - french: French
    - spanish: Spanish
    - italian: Italian
    - swedish: Swedish
    preselect: english
- write_config:
    data:
      NFS3:
        Language: $INPUT_LANG
    file: $GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.ini
system:
  env:
    NGLIDE_BACKEND: 2
    NGLIDE_REFRESH: 1
    NGLIDE_RESOLUTION: 1
    NGLIDE_SPLASH: 0
    NGLIDE_VSYNC: 0
description: Using nGlide wrapper with Vulkan backend and Modern Patch
game_slug: need-for-speed-iii-hot-pursuit
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-iii-hot-pursui-glide-renderer-moder
name: 'Need for Speed III: Hot Pursuit'
notes: ''
runner: wine
script:
  files:
  - nglide: https://www.zeus-software.com/downloads/nglide/d-1.html
  - nfs3_mp: https://veg.by/files/nfs3/nfs3_modern_patch.7z
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files/Need For Speed III
  install_complete_text: Installation completed! When you exit the game via the main
    menu, the game gets stuck on a black screen. To prevent this, activate CLI mode.
  installer:
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      executable: nglide
      name: wineexec
      prefix: $GAMEDIR
  - insert-disc:
      requires: gamedata
  - copy:
      dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/fedata
      src: $DISC/fedata
  - copy:
      dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/gamedata
      src: $DISC/gamedata
  - execute:
      command: find "$GAMEDIR/drive_c/Program Files/Need For Speed III/" \( -type
        d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Need For Speed III
      file: nfs3_mp
  - move:
      dst: $GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/backup_glide3x.dll
      src: $GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/glide3x.dll
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - english: English
      - german: German
      - french: French
      - spanish: Spanish
      - italian: Italian
      - swedish: Swedish
      preselect: english
  - write_config:
      data:
        NFS3:
          Language: $INPUT_LANG
      file: $GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.ini
  system:
    env:
      NGLIDE_BACKEND: 2
      NGLIDE_REFRESH: 1
      NGLIDE_RESOLUTION: 1
      NGLIDE_SPLASH: 0
      NGLIDE_VSYNC: 0
slug: need-for-speed-iii-hot-pursui-glide-renderer-moder
steamid: null
version: Glide renderer + Modern Patch
year: 1998
{
  "game_slug": "need-for-speed-iii-hot-pursuit",
  "version": "Glide renderer + Modern Patch",
  "description": "Using nGlide wrapper with Vulkan backend and Modern Patch",
  "notes": "",
  "name": "Need for Speed III: Hot Pursuit",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-iii-hot-pursui-glide-renderer-moder",
  "installer_slug": "need-for-speed-iii-hot-pursui-glide-renderer-moder",
  "script": {
    "files": [
      {
        "nglide": "https://www.zeus-software.com/downloads/nglide/d-1.html"
      },
      {
        "nfs3_mp": "https://veg.by/files/nfs3/nfs3_modern_patch.7z"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files/Need For Speed III"
    },
    "install_complete_text": "Installation completed! When you exit the game via the main menu, the game gets stuck on a black screen. To prevent this, activate CLI mode.",
    "installer": [
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "nglide",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "gamedata"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files/Need For Speed III/fedata",
          "src": "$DISC/fedata"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files/Need For Speed III/gamedata",
          "src": "$DISC/gamedata"
        }
      },
      {
        "execute": {
          "command": "find \"$GAMEDIR/drive_c/Program Files/Need For Speed III/\" \\( -type d -exec chmod 755 {} + \\) -o \\( -type f -exec chmod 644 {} + \\)"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Need For Speed III",
          "file": "nfs3_mp"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/backup_glide3x.dll",
          "src": "$GAMEDIR/drive_c/Program Files/Need For Speed III/drivers/nglide/glide3x.dll"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "english": "English"
            },
            {
              "german": "German"
            },
            {
              "french": "French"
            },
            {
              "spanish": "Spanish"
            },
            {
              "italian": "Italian"
            },
            {
              "swedish": "Swedish"
            }
          ],
          "preselect": "english"
        }
      },
      {
        "write_config": {
          "data": {
            "NFS3": {
              "Language": "$INPUT_LANG"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files/Need For Speed III/nfs3.ini"
        }
      }
    ],
    "system": {
      "env": {
        "NGLIDE_BACKEND": 2,
        "NGLIDE_REFRESH": 1,
        "NGLIDE_RESOLUTION": 1,
        "NGLIDE_SPLASH": 0,
        "NGLIDE_VSYNC": 0
      }
    }
  }
}
Back to game