Installer super-mario-64-sm64plus

files:
- sm64plusmaster: https://github.com/MorsGames/sm64plus/archive/refs/heads/master.zip
- sm64plus: https://github.com/MorsGames/sm64plus-launcher/releases/download/v3.0.0/SM64Plus_x64.zip
- sm64plus-bin: https://github.com/BENDER-V2/sm64plus-sh-bin/releases/download/release/sm64.us
- rom: N/A:Select SM64 ROM (Must be .z64 format)
game:
  exe: $GAMEDIR/sm64plus/bin/SM64Plus
installer:
- execute:
    command: mkdir -p ~/.config/SM64Plus && mkdir -p $GAMEDIR/sm64plus/bin/sm64plus
- extract:
    dst: $GAMEDIR/sm64plus/bin/sm64plus
    file: sm64plusmaster
- extract:
    dst: $GAMEDIR/sm64plus
    file: sm64plus
- copy:
    dst: $GAMEDIR
    src: rom
- execute:
    command: mv *.z64 $GAMEDIR/sm64plus/bin/sm64plus/baserom.us.z64
- execute:
    command: cd $GAMEDIR/sm64plus/bin/sm64plus && make -j4
- execute:
    command: cp $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us ~/.config/SM64Plus/sm64
- execute:
    command: mv $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us sm64.us.bak
- execute:
    command: cp -r $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/gfx ~/.config/SM64Plus
- move:
    dst: $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/
    src: sm64plus-bin
- execute:
    command: chmod +x $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us
description: Downloads and builds Super Mario 64 Plus
game_slug: super-mario-64
gogslug: ''
humblestoreid: ''
installer_slug: super-mario-64-sm64plus
name: Super Mario 64
notes: You may need to install additional dependencies. Check https://github.com/MorsGames/sm64plus/wiki/Manual-Building-Guide
  for details.
runner: linux
script:
  files:
  - sm64plusmaster: https://github.com/MorsGames/sm64plus/archive/refs/heads/master.zip
  - sm64plus: https://github.com/MorsGames/sm64plus-launcher/releases/download/v3.0.0/SM64Plus_x64.zip
  - sm64plus-bin: https://github.com/BENDER-V2/sm64plus-sh-bin/releases/download/release/sm64.us
  - rom: N/A:Select SM64 ROM (Must be .z64 format)
  game:
    exe: $GAMEDIR/sm64plus/bin/SM64Plus
  installer:
  - execute:
      command: mkdir -p ~/.config/SM64Plus && mkdir -p $GAMEDIR/sm64plus/bin/sm64plus
  - extract:
      dst: $GAMEDIR/sm64plus/bin/sm64plus
      file: sm64plusmaster
  - extract:
      dst: $GAMEDIR/sm64plus
      file: sm64plus
  - copy:
      dst: $GAMEDIR
      src: rom
  - execute:
      command: mv *.z64 $GAMEDIR/sm64plus/bin/sm64plus/baserom.us.z64
  - execute:
      command: cd $GAMEDIR/sm64plus/bin/sm64plus && make -j4
  - execute:
      command: cp $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us ~/.config/SM64Plus/sm64
  - execute:
      command: mv $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us sm64.us.bak
  - execute:
      command: cp -r $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/gfx ~/.config/SM64Plus
  - move:
      dst: $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/
      src: sm64plus-bin
  - execute:
      command: chmod +x $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us
slug: super-mario-64-sm64plus
steamid: null
version: SM64Plus
year: 1996
{
  "game_slug": "super-mario-64",
  "version": "SM64Plus",
  "description": "Downloads and builds Super Mario 64 Plus",
  "notes": "You may need to install additional dependencies. Check https://github.com/MorsGames/sm64plus/wiki/Manual-Building-Guide for details.",
  "name": "Super Mario 64",
  "year": 1996,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "super-mario-64-sm64plus",
  "installer_slug": "super-mario-64-sm64plus",
  "script": {
    "files": [
      {
        "sm64plusmaster": "https://github.com/MorsGames/sm64plus/archive/refs/heads/master.zip"
      },
      {
        "sm64plus": "https://github.com/MorsGames/sm64plus-launcher/releases/download/v3.0.0/SM64Plus_x64.zip"
      },
      {
        "sm64plus-bin": "https://github.com/BENDER-V2/sm64plus-sh-bin/releases/download/release/sm64.us"
      },
      {
        "rom": "N/A:Select SM64 ROM (Must be .z64 format)"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/sm64plus/bin/SM64Plus"
    },
    "installer": [
      {
        "execute": {
          "command": "mkdir -p ~/.config/SM64Plus && mkdir -p $GAMEDIR/sm64plus/bin/sm64plus"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/sm64plus/bin/sm64plus",
          "file": "sm64plusmaster"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/sm64plus",
          "file": "sm64plus"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "rom"
        }
      },
      {
        "execute": {
          "command": "mv *.z64 $GAMEDIR/sm64plus/bin/sm64plus/baserom.us.z64"
        }
      },
      {
        "execute": {
          "command": "cd $GAMEDIR/sm64plus/bin/sm64plus && make -j4"
        }
      },
      {
        "execute": {
          "command": "cp $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us ~/.config/SM64Plus/sm64"
        }
      },
      {
        "execute": {
          "command": "mv $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us sm64.us.bak"
        }
      },
      {
        "execute": {
          "command": "cp -r $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/gfx ~/.config/SM64Plus"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/",
          "src": "sm64plus-bin"
        }
      },
      {
        "execute": {
          "command": "chmod +x $GAMEDIR/sm64plus/bin/sm64plus/build/us_pc/sm64.us"
        }
      }
    ]
  }
}
Back to game