Installer caesar-iii-cd-julius

files:
- engine:
    filename: julius-linux.AppImage
    url: https://github.com/bvschaik/julius/releases/download/v1.8.0/julius-1.8.0-linux.AppImage
- rome1:
    filename: Rome1.mp3
    url: https://github.com/bvschaik/julius-support/releases/download/music/Rome1.mp3
- rome2:
    filename: Rome2.mp3
    url: https://github.com/bvschaik/julius-support/releases/download/music/Rome2.mp3
- rome3:
    filename: Rome3.mp3
    url: https://github.com/bvschaik/julius-support/releases/download/music/Rome3.mp3
- rome4:
    filename: Rome4.mp3
    url: https://github.com/bvschaik/julius-support/releases/download/music/Rome4.mp3
- rome5:
    filename: Rome5.mp3
    url: https://github.com/bvschaik/julius-support/releases/download/music/Rome5.mp3
game:
  exe: $GAMEDIR/julius-linux.AppImage
  working_dir: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3
installer:
- input_menu:
    description: 'Choose the game''s language version, to fetch the matching 1.0.1.0
      patch:'
    id: LANG
    options:
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip: English
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_french.zip: French
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_german.zip: German
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_italian.zip: Italian
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_polish.zip: Polish
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_portuguese_br.zip: Portuguese
        (Brazilian)
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_russian.zip: Russian
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_simplified_chinese.zip: Simplified
        Chinese
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_spanish.zip: Spanish
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_swedish.zip: Swedish
    - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_traditional_chinese.zip: Traditional
        Chinese
    preselect: https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR/prefix
- insert-disc:
    requires: autoRun.exe
- task:
    executable: $DISC/autoRun.exe
    name: wine.wineexec
    prefix: $GAMEDIR/prefix
- execute:
    command: curl -L -o "$CACHE/c3patch.zip" "$INPUT_LANG" && rm -rf "$CACHE/c3patch"
      && mkdir -p "$CACHE/c3patch" && unzip -o "$CACHE/c3patch.zip" -d "$CACHE/c3patch"
      && cp -rf "$CACHE/c3patch"/* "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/"
    description: Downloading and applying the language-specific 1.0.1.0 patch
    disable_runtime: true
- mkdir: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
- copy:
    dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
    src: rome1
- copy:
    dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
    src: rome2
- copy:
    dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
    src: rome3
- copy:
    dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
    src: rome4
- copy:
    dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
    src: rome5
- copy:
    dst: $GAMEDIR
    src: engine
- chmodx: $GAMEDIR/julius-linux.AppImage
description: Play "Caesar III"installed from CD on Linux! using Julius open source
  project
game_slug: caesar-iii
gogslug: caesar_3
humblestoreid: ''
installer_slug: caesar-iii-cd-julius
name: Caesar III
notes: "- Julius engine v1.8\r\n\r\nUse the \"Full installation\" option when installing.\r\
  \n\r\nAlso downloads required 1.0.1.0 patch and high quality MP3s.\r\n\r\nOther\
  \ improvements that can be added:\r\nhttps://github.com/bvschaik/julius/wiki/Editor"
runner: linux
script:
  files:
  - engine:
      filename: julius-linux.AppImage
      url: https://github.com/bvschaik/julius/releases/download/v1.8.0/julius-1.8.0-linux.AppImage
  - rome1:
      filename: Rome1.mp3
      url: https://github.com/bvschaik/julius-support/releases/download/music/Rome1.mp3
  - rome2:
      filename: Rome2.mp3
      url: https://github.com/bvschaik/julius-support/releases/download/music/Rome2.mp3
  - rome3:
      filename: Rome3.mp3
      url: https://github.com/bvschaik/julius-support/releases/download/music/Rome3.mp3
  - rome4:
      filename: Rome4.mp3
      url: https://github.com/bvschaik/julius-support/releases/download/music/Rome4.mp3
  - rome5:
      filename: Rome5.mp3
      url: https://github.com/bvschaik/julius-support/releases/download/music/Rome5.mp3
  game:
    exe: $GAMEDIR/julius-linux.AppImage
    working_dir: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3
  installer:
  - input_menu:
      description: 'Choose the game''s language version, to fetch the matching 1.0.1.0
        patch:'
      id: LANG
      options:
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip: English
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_french.zip: French
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_german.zip: German
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_italian.zip: Italian
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_polish.zip: Polish
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_portuguese_br.zip: Portuguese
          (Brazilian)
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_russian.zip: Russian
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_simplified_chinese.zip: Simplified
          Chinese
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_spanish.zip: Spanish
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_swedish.zip: Swedish
      - https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_traditional_chinese.zip: Traditional
          Chinese
      preselect: https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip
  - task:
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR/prefix
  - insert-disc:
      requires: autoRun.exe
  - task:
      executable: $DISC/autoRun.exe
      name: wine.wineexec
      prefix: $GAMEDIR/prefix
  - execute:
      command: curl -L -o "$CACHE/c3patch.zip" "$INPUT_LANG" && rm -rf "$CACHE/c3patch"
        && mkdir -p "$CACHE/c3patch" && unzip -o "$CACHE/c3patch.zip" -d "$CACHE/c3patch"
        && cp -rf "$CACHE/c3patch"/* "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/"
      description: Downloading and applying the language-specific 1.0.1.0 patch
      disable_runtime: true
  - mkdir: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
  - copy:
      dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
      src: rome1
  - copy:
      dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
      src: rome2
  - copy:
      dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
      src: rome3
  - copy:
      dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
      src: rome4
  - copy:
      dst: $GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3
      src: rome5
  - copy:
      dst: $GAMEDIR
      src: engine
  - chmodx: $GAMEDIR/julius-linux.AppImage
slug: caesar-iii-cd-julius
steamid: 517790
version: CD + Julius
year: 1998
{
  "game_slug": "caesar-iii",
  "version": "CD + Julius",
  "description": "Play \"Caesar III\"installed from CD on Linux! using Julius open source project",
  "notes": "- Julius engine v1.8\r\n\r\nUse the \"Full installation\" option when installing.\r\n\r\nAlso downloads required 1.0.1.0 patch and high quality MP3s.\r\n\r\nOther improvements that can be added:\r\nhttps://github.com/bvschaik/julius/wiki/Editor",
  "name": "Caesar III",
  "year": 1998,
  "steamid": 517790,
  "gogslug": "caesar_3",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "caesar-iii-cd-julius",
  "installer_slug": "caesar-iii-cd-julius",
  "script": {
    "files": [
      {
        "engine": {
          "filename": "julius-linux.AppImage",
          "url": "https://github.com/bvschaik/julius/releases/download/v1.8.0/julius-1.8.0-linux.AppImage"
        }
      },
      {
        "rome1": {
          "filename": "Rome1.mp3",
          "url": "https://github.com/bvschaik/julius-support/releases/download/music/Rome1.mp3"
        }
      },
      {
        "rome2": {
          "filename": "Rome2.mp3",
          "url": "https://github.com/bvschaik/julius-support/releases/download/music/Rome2.mp3"
        }
      },
      {
        "rome3": {
          "filename": "Rome3.mp3",
          "url": "https://github.com/bvschaik/julius-support/releases/download/music/Rome3.mp3"
        }
      },
      {
        "rome4": {
          "filename": "Rome4.mp3",
          "url": "https://github.com/bvschaik/julius-support/releases/download/music/Rome4.mp3"
        }
      },
      {
        "rome5": {
          "filename": "Rome5.mp3",
          "url": "https://github.com/bvschaik/julius-support/releases/download/music/Rome5.mp3"
        }
      }
    ],
    "game": {
      "exe": "$GAMEDIR/julius-linux.AppImage",
      "working_dir": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Choose the game's language version, to fetch the matching 1.0.1.0 patch:",
          "id": "LANG",
          "options": [
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip": "English"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_french.zip": "French"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_german.zip": "German"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_italian.zip": "Italian"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_polish.zip": "Polish"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_portuguese_br.zip": "Portuguese (Brazilian)"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_russian.zip": "Russian"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_simplified_chinese.zip": "Simplified Chinese"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_spanish.zip": "Spanish"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_swedish.zip": "Swedish"
            },
            {
              "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_traditional_chinese.zip": "Traditional Chinese"
            }
          ],
          "preselect": "https://github.com/bvschaik/julius-support/releases/download/patches/caesar3_update_english.zip"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "insert-disc": {
          "requires": "autoRun.exe"
        }
      },
      {
        "task": {
          "executable": "$DISC/autoRun.exe",
          "name": "wine.wineexec",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "execute": {
          "command": "curl -L -o \"$CACHE/c3patch.zip\" \"$INPUT_LANG\" && rm -rf \"$CACHE/c3patch\" && mkdir -p \"$CACHE/c3patch\" && unzip -o \"$CACHE/c3patch.zip\" -d \"$CACHE/c3patch\" && cp -rf \"$CACHE/c3patch\"/* \"$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/\"",
          "description": "Downloading and applying the language-specific 1.0.1.0 patch",
          "disable_runtime": true
        }
      },
      {
        "mkdir": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3"
      },
      {
        "copy": {
          "dst": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3",
          "src": "rome1"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3",
          "src": "rome2"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3",
          "src": "rome3"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3",
          "src": "rome4"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/prefix/drive_c/SIERRA/Caesar3/mp3",
          "src": "rome5"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "engine"
        }
      },
      {
        "chmodx": "$GAMEDIR/julius-linux.AppImage"
      }
    ]
  }
}
Back to game