Installer rise-of-nations-cd

files:
- setup:
    filename: RONSETUP.EXE
    url: N/A:Insert your Rise of Nations disc and select RONSETUP.EXE on it
- nocd:
    filename: nations.exe
    url: N/A:Select your own version-matched no-CD nations.exe (see Notes)
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/rise.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: winxp
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: mfc42
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: directmusic
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: directplay
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
    src: nocd
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv.disabled
    src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv.disabled
    src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv.disabled
    src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv.disabled
    src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv
- write_file:
    content: '[RISE OF NATIONS]

      Windowed Width=1024

      Windowed Height=768

      FullScreen=0

      VSync=1

      AllowAllResolutions=0

      IgnoreMinimizeOnTabOut=1

      ESCKeyGoesToMenu=1

      SkipIntroMovies=1

      BackVidAsSlideShow=1

      Sound Enabled=1

      ForceHardwareCursor=0

      ForceGDICursor=0

      '
    file: $GAMEDIR/drive_c/users/$USER/AppData/Roaming/Microsoft Games/Rise of Nations/rise2.ini
wine:
  dxvk: false
description: "Installs the original 2003 retail CD release of Rise of Nations (the\
  \ SafeDisc-protected disc, not the Steam Extended Edition) on Linux via Wine/Proton.\
  \ Renders through WineD3D rather than DXVK, so it works on machines with weak or\
  \ no Vulkan support. You supply a no-CD nations.exe from your own legally-owned\
  \ copy when prompted \u2014 SafeDisc copy protection cannot run under Wine, so this\
  \ is required. Most retail discs already ship at the final 1.04 patch level, so\
  \ no patching is needed."
game_slug: rise-of-nations
gogslug: ''
humblestoreid: ''
installer_slug: rise-of-nations-cd
name: Rise of Nations
notes: "Set a recent Proton-based Wine runner as your Lutris Wine version before installing\
  \ \u2014 old builds like wine-ge-8-26 fail to build a prefix on current distros.\
  \ No 32-bit host libraries are needed; Proton's Steam Runtime container provides\
  \ them.\r\nYou'll be prompted for two files: RONSETUP.EXE from your disc, and your\
  \ own no-CD nations.exe. Match the no-CD file to your disc's version (check with\
  \ exiftool nations.exe); a SafeDisc no-CD is normally smaller than the protected\
  \ original.\r\nIMPORTANT: when RONSETUP finishes it offers a \"Play now\" button\
  \ \u2014 do NOT click it; the no-CD swap hasn't happened yet, so the game won't\
  \ launch there. Close the installer, let Lutris finish, and launch from your Lutris\
  \ library instead.\r\nThe installer disables DXVK (rendering via WineD3D, for weak/no-Vulkan\
  \ GPUs), writes a working rise2.ini (windowed, intro skipped, no alt-tab blackout),\
  \ and disables the startup movies that otherwise spawn a stray black \"ActiveMovie\"\
  \ window. Most discs need no patch; early discs that want the final patch must apply\
  \ it after install: rise.exe /patch rn2.04.04.2903.rtp /p."
runner: wine
script:
  files:
  - setup:
      filename: RONSETUP.EXE
      url: N/A:Insert your Rise of Nations disc and select RONSETUP.EXE on it
  - nocd:
      filename: nations.exe
      url: N/A:Select your own version-matched no-CD nations.exe (see Notes)
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/rise.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: winxp
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: mfc42
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: directmusic
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: directplay
      name: winetricks
      prefix: $GAMEDIR
  - task:
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
      src: nocd
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv.disabled
      src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv.disabled
      src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv.disabled
      src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv.disabled
      src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv
  - write_file:
      content: '[RISE OF NATIONS]

        Windowed Width=1024

        Windowed Height=768

        FullScreen=0

        VSync=1

        AllowAllResolutions=0

        IgnoreMinimizeOnTabOut=1

        ESCKeyGoesToMenu=1

        SkipIntroMovies=1

        BackVidAsSlideShow=1

        Sound Enabled=1

        ForceHardwareCursor=0

        ForceGDICursor=0

        '
      file: $GAMEDIR/drive_c/users/$USER/AppData/Roaming/Microsoft Games/Rise of Nations/rise2.ini
  wine:
    dxvk: false
slug: rise-of-nations-cd
steamid: null
version: CD
year: 2003
{
  "game_slug": "rise-of-nations",
  "version": "CD",
  "description": "Installs the original 2003 retail CD release of Rise of Nations (the SafeDisc-protected disc, not the Steam Extended Edition) on Linux via Wine/Proton. Renders through WineD3D rather than DXVK, so it works on machines with weak or no Vulkan support. You supply a no-CD nations.exe from your own legally-owned copy when prompted \u2014 SafeDisc copy protection cannot run under Wine, so this is required. Most retail discs already ship at the final 1.04 patch level, so no patching is needed.",
  "notes": "Set a recent Proton-based Wine runner as your Lutris Wine version before installing \u2014 old builds like wine-ge-8-26 fail to build a prefix on current distros. No 32-bit host libraries are needed; Proton's Steam Runtime container provides them.\r\nYou'll be prompted for two files: RONSETUP.EXE from your disc, and your own no-CD nations.exe. Match the no-CD file to your disc's version (check with exiftool nations.exe); a SafeDisc no-CD is normally smaller than the protected original.\r\nIMPORTANT: when RONSETUP finishes it offers a \"Play now\" button \u2014 do NOT click it; the no-CD swap hasn't happened yet, so the game won't launch there. Close the installer, let Lutris finish, and launch from your Lutris library instead.\r\nThe installer disables DXVK (rendering via WineD3D, for weak/no-Vulkan GPUs), writes a working rise2.ini (windowed, intro skipped, no alt-tab blackout), and disables the startup movies that otherwise spawn a stray black \"ActiveMovie\" window. Most discs need no patch; early discs that want the final patch must apply it after install: rise.exe /patch rn2.04.04.2903.rtp /p.",
  "name": "Rise of Nations",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "rise-of-nations-cd",
  "installer_slug": "rise-of-nations-cd",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "RONSETUP.EXE",
          "url": "N/A:Insert your Rise of Nations disc and select RONSETUP.EXE on it"
        }
      },
      {
        "nocd": {
          "filename": "nations.exe",
          "url": "N/A:Select your own version-matched no-CD nations.exe (see Notes)"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/rise.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "winxp",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "mfc42",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "directmusic",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "directplay",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations",
          "src": "nocd"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv.disabled",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/bhg_game_studios1M.wmv"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv.disabled",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/ms_game_studios_1M.wmv"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv.disabled",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/opening.wmv"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv.disabled",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/art/iface_bg_movie.wmv"
        }
      },
      {
        "write_file": {
          "content": "[RISE OF NATIONS]\nWindowed Width=1024\nWindowed Height=768\nFullScreen=0\nVSync=1\nAllowAllResolutions=0\nIgnoreMinimizeOnTabOut=1\nESCKeyGoesToMenu=1\nSkipIntroMovies=1\nBackVidAsSlideShow=1\nSound Enabled=1\nForceHardwareCursor=0\nForceGDICursor=0\n",
          "file": "$GAMEDIR/drive_c/users/$USER/AppData/Roaming/Microsoft Games/Rise of Nations/rise2.ini"
        }
      }
    ],
    "wine": {
      "dxvk": false
    }
  }
}
Back to game