Installer bamse-spil-og-leg-10

files:
- imageloadscript: https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/loaddisk.sh
- imageunloadscript: https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/unloaddisk.sh
- imageconfigfile: https://raw.githubusercontent.com/MrMEEE/godgol/14fef06524ed5368b9a38070ce428bcc0c698511/Common/Scripts/config
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Bamse/Bamse 1/Bamse - spil og leg.exe
  prefix: $GAMEDIR/
  working_dir: $GAMEDIR/drive_c/Program Files/Bamse/Bamse 1
installer:
- insert-disc:
    requires: Install.exe
- task:
    arch: win32
    description: Creating WINE prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Enable Windows 98 compatibility mode
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win98
- task:
    arch: win32
    executable: $DISC/Install.exe
    name: wineexec
    working_dir: $DISC
- move:
    description: Installing ISO/Image load script
    dst: $GAMEDIR/loaddisk.sh
    src: imageloadscript
- move:
    description: Installing ISO/Image unload script
    dst: $GAMEDIR/unloaddisk.sh
    src: imageunloadscript
- move:
    description: Installing ISO/Image config file
    dst: $GAMEDIR/config
    src: imageconfigfile
- chmodx: $GAMEDIR/loaddisk.sh
- chmodx: $GAMEDIR/unloaddisk.sh
system:
  postexit_command: $GAMEDIR/unloaddisk.sh
  prelaunch_command: $GAMEDIR/loaddisk.sh
  prelaunch_wait: true
  reset_desktop: true
  resolution: 800x600
  xephyr: 16bpp
  xephyr_resolution: 800x600
wine:
  esync: false
description: Installer
game_slug: bamse-spil-og-leg
gogslug: ''
humblestoreid: ''
installer_slug: bamse-spil-og-leg-10
name: 'Bamse: Spil og Leg'
notes: Automount of game ISO can be configured in the "config" file in the games installation
  folder
runner: wine
script:
  files:
  - imageloadscript: https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/loaddisk.sh
  - imageunloadscript: https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/unloaddisk.sh
  - imageconfigfile: https://raw.githubusercontent.com/MrMEEE/godgol/14fef06524ed5368b9a38070ce428bcc0c698511/Common/Scripts/config
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Bamse/Bamse 1/Bamse - spil og leg.exe
    prefix: $GAMEDIR/
    working_dir: $GAMEDIR/drive_c/Program Files/Bamse/Bamse 1
  installer:
  - insert-disc:
      requires: Install.exe
  - task:
      arch: win32
      description: Creating WINE prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Enable Windows 98 compatibility mode
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win98
  - task:
      arch: win32
      executable: $DISC/Install.exe
      name: wineexec
      working_dir: $DISC
  - move:
      description: Installing ISO/Image load script
      dst: $GAMEDIR/loaddisk.sh
      src: imageloadscript
  - move:
      description: Installing ISO/Image unload script
      dst: $GAMEDIR/unloaddisk.sh
      src: imageunloadscript
  - move:
      description: Installing ISO/Image config file
      dst: $GAMEDIR/config
      src: imageconfigfile
  - chmodx: $GAMEDIR/loaddisk.sh
  - chmodx: $GAMEDIR/unloaddisk.sh
  system:
    postexit_command: $GAMEDIR/unloaddisk.sh
    prelaunch_command: $GAMEDIR/loaddisk.sh
    prelaunch_wait: true
    reset_desktop: true
    resolution: 800x600
    xephyr: 16bpp
    xephyr_resolution: 800x600
  wine:
    esync: false
slug: bamse-spil-og-leg-10
steamid: null
version: '1.0'
year: 2007
{
  "game_slug": "bamse-spil-og-leg",
  "version": "1.0",
  "description": "Installer",
  "notes": "Automount of game ISO can be configured in the \"config\" file in the games installation folder",
  "name": "Bamse: Spil og Leg",
  "year": 2007,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "bamse-spil-og-leg-10",
  "installer_slug": "bamse-spil-og-leg-10",
  "script": {
    "files": [
      {
        "imageloadscript": "https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/loaddisk.sh"
      },
      {
        "imageunloadscript": "https://raw.githubusercontent.com/MrMEEE/godgol/f1c35446800abbe932d0a51e5574681b52856334/Common/Scripts/unloaddisk.sh"
      },
      {
        "imageconfigfile": "https://raw.githubusercontent.com/MrMEEE/godgol/14fef06524ed5368b9a38070ce428bcc0c698511/Common/Scripts/config"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Bamse/Bamse 1/Bamse - spil og leg.exe",
      "prefix": "$GAMEDIR/",
      "working_dir": "$GAMEDIR/drive_c/Program Files/Bamse/Bamse 1"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "Install.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Creating WINE prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Enable Windows 98 compatibility mode",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win98"
        }
      },
      {
        "task": {
          "arch": "win32",
          "executable": "$DISC/Install.exe",
          "name": "wineexec",
          "working_dir": "$DISC"
        }
      },
      {
        "move": {
          "description": "Installing ISO/Image load script",
          "dst": "$GAMEDIR/loaddisk.sh",
          "src": "imageloadscript"
        }
      },
      {
        "move": {
          "description": "Installing ISO/Image unload script",
          "dst": "$GAMEDIR/unloaddisk.sh",
          "src": "imageunloadscript"
        }
      },
      {
        "move": {
          "description": "Installing ISO/Image config file",
          "dst": "$GAMEDIR/config",
          "src": "imageconfigfile"
        }
      },
      {
        "chmodx": "$GAMEDIR/loaddisk.sh"
      },
      {
        "chmodx": "$GAMEDIR/unloaddisk.sh"
      }
    ],
    "system": {
      "postexit_command": "$GAMEDIR/unloaddisk.sh",
      "prelaunch_command": "$GAMEDIR/loaddisk.sh",
      "prelaunch_wait": true,
      "reset_desktop": true,
      "resolution": "800x600",
      "xephyr": "16bpp",
      "xephyr_resolution": "800x600"
    },
    "wine": {
      "esync": false
    }
  }
}
Back to game