Installer rise-of-nations-gold-edition-cd-v0302120800-patch

files:
- dgvoodoo: http://dege.freeweb.hu/dgVoodoo2/bin/dgVoodoo2_61.zip
- archive: N/A:Select the downloaded patch archive
game:
  exe: drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/thrones.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: mfc42 msxml4 directplay directmusic
    name: winetricks
    prefix: $GAMEDIR
- insert-disc:
    requires: setup.exe
- task:
    description: Installing Rise of Nations Gold Edition.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/
    src: archive
- write_file:
    content: thrones.exe /patch rngu.rtp /p
    file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
- chmodx: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
- task:
    executable: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
- extract:
    dst: /tmp/dgvoodoo2/
    file: dgvoodoo
- move:
    dst: $GAMEDIR/drive_c/windows/syswow64/d3d9.dll.old
    src: $GAMEDIR/drive_c/windows/syswow64/d3d9.dll
- move:
    dst: $GAMEDIR/drive_c/windows/syswow64/d3d8.dll.old
    src: $GAMEDIR/drive_c/windows/syswow64/d3d8.dll
- move:
    dst: $GAMEDIR/drive_c/windows/syswow64/ddraw.dll.old
    src: $GAMEDIR/drive_c/windows/syswow64/ddraw.dll
- merge:
    dst: $GAMEDIR/drive_c/windows/syswow64
    src: /tmp/dgvoodoo2/MS/x86
- write_config:
    data:
      RISE OF NATIONS:
        AllowAllResolutions: 1
        BackVidAsSlideShow: 1
        CPU_grade_override(A-F or AUTO): AUTO
        CTWMapScroll: 35
        CTWScrollInc: 7
        ClickDragHighSensitive: 64
        ClickDragLowSensitive: 20
        ClickDragRightSensitive: 6
        ClickDragTiming: 5
        ConfigDatabase: BHGVidCardConfig.txt
        Console Coord Mode: 0
        Console Name Mode: 2
        DefaultScenarioDirectory: .\scenario\Custom\
        DefaultScriptDirectory: .\scenario\Scripts\
        Don't Allow Texture Compression: 0
        ESCKeyGoesToMenu: 1
        EnableGraphicsToggles: 0
        Force Profile Menu: 0
        ForceAGPVBs: 1
        ForceBWCursor: 0
        ForceGDICursor: 0
        ForceHardwareCursor: 1
        ForceLowCPUBackgroundVid: 1
        ForceStaticCursor: 0
        FullScreen: 1
        GPU_grade_override(A-F or AUTO): AUTO
        GameFrameTestDelayMax: 0
        GameFrameTestDelayMin: 0
        IgnoreMinimizeOnTabOut: 0
        MEM_grade_override(A-F or AUTO): AUTO
        RebuildBalance: 0
        RenderMinimap: 1
        SYS_grade_override(A-F or AUTO): AUTO
        ScenarioDirectory: \Scenarios
        SkipIntroMovies: 1
        Sound Enabled: 1
        StandaloneScriptsDirectory: Stand-alone Scripts
        StartConsole: 0
        StartPaused: 0
        StartReveal: 0
        TEXTURE_grade_override(FULL, HALF, QUARTER, AUTO): AUTO
        TPModsDirectory: .\Mods
        TestDelayRenderAMax: 0
        TestDelayRenderAMin: 0
        TestDelayRenderBMax: 0
        TestDelayRenderBMin: 0
        UseAltColors: 0
        UseNetworkSimulator: 0
        UseVTUNEDLL: 0
        VSync: 0
        Windowed Height: $RESOLUTION_HEIGHT
        Windowed Width: $RESOLUTION_WIDTH
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations/rise2.ini
system:
  env:
    PULSE_LATENCY_MSEC: '30'
wine:
  esync: false
  overrides:
    d3d8.dll: n
    d3d9.dll: n
    d3dimm.dll: n
    ddraw.dll: n
description: "Installs the 2 CD Gold Edition version.\r\nInstalls the last Gold patch\
  \ 03.02.12.0800."
game_slug: rise-of-nations-gold-edition
gogslug: ''
humblestoreid: ''
installer_slug: rise-of-nations-gold-edition-cd-v0302120800-patch
name: Rise of Nations Gold Edition
notes: "- Download the patch before installation.\r\n- When installing the patch,\
  \ the screen will go blank, just hit enter and you will be at the game menu. Exit\
  \ the game and let the installer finish.\r\n- To run the game without the expansion,\
  \ change the exe:"
runner: wine
script:
  files:
  - dgvoodoo: http://dege.freeweb.hu/dgVoodoo2/bin/dgVoodoo2_61.zip
  - archive: N/A:Select the downloaded patch archive
  game:
    exe: drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/thrones.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating 64bit Wine prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: mfc42 msxml4 directplay directmusic
      name: winetricks
      prefix: $GAMEDIR
  - insert-disc:
      requires: setup.exe
  - task:
      description: Installing Rise of Nations Gold Edition.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/
      src: archive
  - write_file:
      content: thrones.exe /patch rngu.rtp /p
      file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
  - chmodx: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
  - task:
      executable: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations
  - extract:
      dst: /tmp/dgvoodoo2/
      file: dgvoodoo
  - move:
      dst: $GAMEDIR/drive_c/windows/syswow64/d3d9.dll.old
      src: $GAMEDIR/drive_c/windows/syswow64/d3d9.dll
  - move:
      dst: $GAMEDIR/drive_c/windows/syswow64/d3d8.dll.old
      src: $GAMEDIR/drive_c/windows/syswow64/d3d8.dll
  - move:
      dst: $GAMEDIR/drive_c/windows/syswow64/ddraw.dll.old
      src: $GAMEDIR/drive_c/windows/syswow64/ddraw.dll
  - merge:
      dst: $GAMEDIR/drive_c/windows/syswow64
      src: /tmp/dgvoodoo2/MS/x86
  - write_config:
      data:
        RISE OF NATIONS:
          AllowAllResolutions: 1
          BackVidAsSlideShow: 1
          CPU_grade_override(A-F or AUTO): AUTO
          CTWMapScroll: 35
          CTWScrollInc: 7
          ClickDragHighSensitive: 64
          ClickDragLowSensitive: 20
          ClickDragRightSensitive: 6
          ClickDragTiming: 5
          ConfigDatabase: BHGVidCardConfig.txt
          Console Coord Mode: 0
          Console Name Mode: 2
          DefaultScenarioDirectory: .\scenario\Custom\
          DefaultScriptDirectory: .\scenario\Scripts\
          Don't Allow Texture Compression: 0
          ESCKeyGoesToMenu: 1
          EnableGraphicsToggles: 0
          Force Profile Menu: 0
          ForceAGPVBs: 1
          ForceBWCursor: 0
          ForceGDICursor: 0
          ForceHardwareCursor: 1
          ForceLowCPUBackgroundVid: 1
          ForceStaticCursor: 0
          FullScreen: 1
          GPU_grade_override(A-F or AUTO): AUTO
          GameFrameTestDelayMax: 0
          GameFrameTestDelayMin: 0
          IgnoreMinimizeOnTabOut: 0
          MEM_grade_override(A-F or AUTO): AUTO
          RebuildBalance: 0
          RenderMinimap: 1
          SYS_grade_override(A-F or AUTO): AUTO
          ScenarioDirectory: \Scenarios
          SkipIntroMovies: 1
          Sound Enabled: 1
          StandaloneScriptsDirectory: Stand-alone Scripts
          StartConsole: 0
          StartPaused: 0
          StartReveal: 0
          TEXTURE_grade_override(FULL, HALF, QUARTER, AUTO): AUTO
          TPModsDirectory: .\Mods
          TestDelayRenderAMax: 0
          TestDelayRenderAMin: 0
          TestDelayRenderBMax: 0
          TestDelayRenderBMin: 0
          UseAltColors: 0
          UseNetworkSimulator: 0
          UseVTUNEDLL: 0
          VSync: 0
          Windowed Height: $RESOLUTION_HEIGHT
          Windowed Width: $RESOLUTION_WIDTH
      file: $GAMEDIR/drive_c/users/$USER/Application Data/Microsoft Games/Rise of
        Nations/rise2.ini
  system:
    env:
      PULSE_LATENCY_MSEC: '30'
  wine:
    esync: false
    overrides:
      d3d8.dll: n
      d3d9.dll: n
      d3dimm.dll: n
      ddraw.dll: n
slug: rise-of-nations-gold-edition-cd-v0302120800-patch
steamid: null
version: CD + v03.02.12.0800 Patch
year: 2004
{
  "game_slug": "rise-of-nations-gold-edition",
  "version": "CD + v03.02.12.0800 Patch",
  "description": "Installs the 2 CD Gold Edition version.\r\nInstalls the last Gold patch 03.02.12.0800.",
  "notes": "- Download the patch before installation.\r\n- When installing the patch, the screen will go blank, just hit enter and you will be at the game menu. Exit the game and let the installer finish.\r\n- To run the game without the expansion, change the exe:",
  "name": "Rise of Nations Gold Edition",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "rise-of-nations-gold-edition-cd-v0302120800-patch",
  "installer_slug": "rise-of-nations-gold-edition-cd-v0302120800-patch",
  "script": {
    "files": [
      {
        "dgvoodoo": "http://dege.freeweb.hu/dgVoodoo2/bin/dgVoodoo2_61.zip"
      },
      {
        "archive": "N/A:Select the downloaded patch archive"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/thrones.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating 64bit Wine prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "mfc42 msxml4 directplay directmusic",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "description": "Installing Rise of Nations Gold Edition.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/",
          "src": "archive"
        }
      },
      {
        "write_file": {
          "content": "thrones.exe /patch rngu.rtp /p",
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat"
      },
      {
        "task": {
          "executable": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/Patch.bat",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations"
        }
      },
      {
        "extract": {
          "dst": "/tmp/dgvoodoo2/",
          "file": "dgvoodoo"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/windows/syswow64/d3d9.dll.old",
          "src": "$GAMEDIR/drive_c/windows/syswow64/d3d9.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/windows/syswow64/d3d8.dll.old",
          "src": "$GAMEDIR/drive_c/windows/syswow64/d3d8.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/windows/syswow64/ddraw.dll.old",
          "src": "$GAMEDIR/drive_c/windows/syswow64/ddraw.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/windows/syswow64",
          "src": "/tmp/dgvoodoo2/MS/x86"
        }
      },
      {
        "write_config": {
          "data": {
            "RISE OF NATIONS": {
              "AllowAllResolutions": 1,
              "BackVidAsSlideShow": 1,
              "CPU_grade_override(A-F or AUTO)": "AUTO",
              "CTWMapScroll": 35,
              "CTWScrollInc": 7,
              "ClickDragHighSensitive": 64,
              "ClickDragLowSensitive": 20,
              "ClickDragRightSensitive": 6,
              "ClickDragTiming": 5,
              "ConfigDatabase": "BHGVidCardConfig.txt",
              "Console Coord Mode": 0,
              "Console Name Mode": 2,
              "DefaultScenarioDirectory": ".\\scenario\\Custom\\",
              "DefaultScriptDirectory": ".\\scenario\\Scripts\\",
              "Don't Allow Texture Compression": 0,
              "ESCKeyGoesToMenu": 1,
              "EnableGraphicsToggles": 0,
              "Force Profile Menu": 0,
              "ForceAGPVBs": 1,
              "ForceBWCursor": 0,
              "ForceGDICursor": 0,
              "ForceHardwareCursor": 1,
              "ForceLowCPUBackgroundVid": 1,
              "ForceStaticCursor": 0,
              "FullScreen": 1,
              "GPU_grade_override(A-F or AUTO)": "AUTO",
              "GameFrameTestDelayMax": 0,
              "GameFrameTestDelayMin": 0,
              "IgnoreMinimizeOnTabOut": 0,
              "MEM_grade_override(A-F or AUTO)": "AUTO",
              "RebuildBalance": 0,
              "RenderMinimap": 1,
              "SYS_grade_override(A-F or AUTO)": "AUTO",
              "ScenarioDirectory": "\\Scenarios",
              "SkipIntroMovies": 1,
              "Sound Enabled": 1,
              "StandaloneScriptsDirectory": "Stand-alone Scripts",
              "StartConsole": 0,
              "StartPaused": 0,
              "StartReveal": 0,
              "TEXTURE_grade_override(FULL, HALF, QUARTER, AUTO)": "AUTO",
              "TPModsDirectory": ".\\Mods",
              "TestDelayRenderAMax": 0,
              "TestDelayRenderAMin": 0,
              "TestDelayRenderBMax": 0,
              "TestDelayRenderBMin": 0,
              "UseAltColors": 0,
              "UseNetworkSimulator": 0,
              "UseVTUNEDLL": 0,
              "VSync": 0,
              "Windowed Height": "$RESOLUTION_HEIGHT",
              "Windowed Width": "$RESOLUTION_WIDTH"
            }
          },
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations/rise2.ini"
        }
      }
    ],
    "system": {
      "env": {
        "PULSE_LATENCY_MSEC": "30"
      }
    },
    "wine": {
      "esync": false,
      "overrides": {
        "d3d8.dll": "n",
        "d3d9.dll": "n",
        "d3dimm.dll": "n",
        "ddraw.dll": "n"
      }
    }
  }
}
Back to game