Installer bad-mojo-cd

files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Bad%20Mojo/badmjo_launcher.7z
game:
  exe: drive_c/BMCD/launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing Bad Mojo wineprefix...
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert Bad Mojo CD and press "Autodetection"
    requires: badmojo.exe
- merge:
    dst: $GAMEDIR/drive_c/BMCD
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "BMCD"; cd BMCD; mkdir backup; ls
      | grep -i badmojo.exe | xargs -I {} -t mv {} backup; ls | grep -i waveout.dll
      | xargs -I {} -t mv {} backup; cd sound; find . -depth -type f -exec mv {} .
      \;
- extract:
    dst: $GAMEDIR/drive_c/BMCD
    file: patch
system:
  gamescope: false
  gamescope_game_res: 640x480
  gamescope_output_res: $RESOLUTION
description: Play "Bad Mojo" CD edition on Linux!
game_slug: bad-mojo
gogslug: ''
humblestoreid: ''
installer_slug: bad-mojo-cd
name: Bad Mojo
notes: "- You will need install CD only one time during install\r\n- This game will\
  \ launch in a window 640x480. During my tests, the only solution to play this game\
  \ in fullscreen was to use gamescope"
runner: wine
script:
  files:
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Bad%20Mojo/badmjo_launcher.7z
  game:
    exe: drive_c/BMCD/launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Preparing Bad Mojo wineprefix...
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert Bad Mojo CD and press "Autodetection"
      requires: badmojo.exe
  - merge:
      dst: $GAMEDIR/drive_c/BMCD
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "BMCD"; cd BMCD; mkdir backup;
        ls | grep -i badmojo.exe | xargs -I {} -t mv {} backup; ls | grep -i waveout.dll
        | xargs -I {} -t mv {} backup; cd sound; find . -depth -type f -exec mv {}
        . \;
  - extract:
      dst: $GAMEDIR/drive_c/BMCD
      file: patch
  system:
    gamescope: false
    gamescope_game_res: 640x480
    gamescope_output_res: $RESOLUTION
slug: bad-mojo-cd
steamid: null
version: CD
year: 1996
{
  "game_slug": "bad-mojo",
  "version": "CD",
  "description": "Play \"Bad Mojo\" CD edition on Linux!",
  "notes": "- You will need install CD only one time during install\r\n- This game will launch in a window 640x480. During my tests, the only solution to play this game in fullscreen was to use gamescope",
  "name": "Bad Mojo",
  "year": 1996,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "bad-mojo-cd",
  "installer_slug": "bad-mojo-cd",
  "script": {
    "files": [
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Bad%20Mojo/badmjo_launcher.7z"
      }
    ],
    "game": {
      "exe": "drive_c/BMCD/launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Preparing Bad Mojo wineprefix...",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert Bad Mojo CD and press \"Autodetection\"",
          "requires": "badmojo.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/BMCD",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"BMCD\"; cd BMCD; mkdir backup; ls | grep -i badmojo.exe | xargs -I {} -t mv {} backup; ls | grep -i waveout.dll | xargs -I {} -t mv {} backup; cd sound; find . -depth -type f -exec mv {} . \\;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/BMCD",
          "file": "patch"
        }
      }
    ],
    "system": {
      "gamescope": false,
      "gamescope_game_res": "640x480",
      "gamescope_output_res": "$RESOLUTION"
    }
  }
}
Back to game