Installer rise-of-nations-cd

files:
- dgvoodoo: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip
- setup: N/A:Select the game's setup file (RONSETUP.EXE)
game:
  exe: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/nations.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
- task:
    arch: win64
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- 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: Uses dgvoodoo2 and DXVK because wined3d produces graphics bugs.
game_slug: rise-of-nations
gogslug: ''
humblestoreid: ''
installer_slug: rise-of-nations-cd
name: Rise of Nations
notes: "If you are using two screens, the wrong resolution may be set in the game's\
  \ config.\r\nCheck / change in $GAMEDIR/drive_c/users/$USER/Application Data/Microsoft\
  \ Games/Rise of Nations/rise2.ini"
runner: wine
script:
  files:
  - dgvoodoo: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip
  - setup: N/A:Select the game's setup file (RONSETUP.EXE)
  game:
    exe: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/nations.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
  - task:
      arch: win64
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - 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-cd
steamid: null
version: CD
year: 2003
{
  "game_slug": "rise-of-nations",
  "version": "CD",
  "description": "Uses dgvoodoo2 and DXVK because wined3d produces graphics bugs.",
  "notes": "If you are using two screens, the wrong resolution may be set in the game's config.\r\nCheck / change in $GAMEDIR/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations/rise2.ini",
  "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": [
      {
        "dgvoodoo": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip"
      },
      {
        "setup": "N/A:Select the game's setup file (RONSETUP.EXE)"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Rise of Nations/nations.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"
        }
      },
      {
        "task": {
          "arch": "win64",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "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