files:
- installer: N/A:Select the game's setup file
- instant_action_mod: https://www.clanexf.com/users/2839/amrts_instant.exe
- custom_campaigns: https://www.clanexf.com/users/2839/amrts_custom_cpgn.exe
- high_resolution_texture_pack: https://www.moddb.com/games/army-men-rts/addons/army-men-rts-high-resolution-texture-pack
- dxwrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip
game:
exe: $GAMEDIR/drive_c/GOG Games/Army Men RTS/amrts.exe
prefix: $GAMEDIR
installer:
- task:
args: /NOCANCEL /NOGUI /SP- /SUPPRESSMSGBOXES
executable: installer
name: wineexec
- extract:
dst: $CACHE/dxwrapper
file: dxwrapper
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/dxwrapper.dll
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/dxwrapper.ini
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/Stub/ddraw.dll
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: Dd7to9
section: Compatibility
value: '1'
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: DdrawLimitDisplayModeCount
section: Dd7to9
value: '1'
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: AnisotropicFiltering
section: d3d9
value: '1'
- task:
args: -o"C:\GOG Games\Army Men RTS" -y
executable: instant_action_mod
name: wineexec
- task:
args: -o"C:\GOG Games\Army Men RTS" -y
executable: custom_campaigns
name: wineexec
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
file: high_resolution_texture_pack
- execute:
command: sed --in-place 's/MrmDist(50);/MrmDist(100);/g' "$GAMEDIR/drive_c/GOG
Games/Army Men RTS/library/engine/detail.cfg"
description: Increasing view distance for high world detail
- execute:
command: printf '\x61' | dd of="$GAMEDIR/drive_c/GOG Games/Army Men RTS/base.x-e"
bs=1 seek=59598312 count=1 conv=notrunc
description: Disabling intro video
system:
gamescope: true
wine:
overrides:
ddraw.dll: n,b
description: GOG version with the Instant Action and Custom Campaigns Mods plus the
High Resolution Texture Pack
game_slug: army-men-rts
gogslug: army_men_rts
humblestoreid: ''
installer_slug: army-men-rts-gog-ia-custom-campai
name: Army Men RTS
notes: "After installation, select a resolution corresponding to the correct aspect\
\ ratio in the in-game option's menu.\r\nSelecting resolutions greater than 1280x1024\
\ is not possible, but Gamescope will upscale nicely when a resolution with a matching\
\ ratio is selected.\r\nTo scale without Gamescope, edit dxwrapper.ini in the game's\
\ installation folder, and in the section D3d7to9, set the option DdrawUseNativeResolution\
\ to 1.\r\n\r\nIntro videos are disabled and max view distance for high world detail\
\ is doubled."
runner: wine
script:
files:
- installer: N/A:Select the game's setup file
- instant_action_mod: https://www.clanexf.com/users/2839/amrts_instant.exe
- custom_campaigns: https://www.clanexf.com/users/2839/amrts_custom_cpgn.exe
- high_resolution_texture_pack: https://www.moddb.com/games/army-men-rts/addons/army-men-rts-high-resolution-texture-pack
- dxwrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip
game:
exe: $GAMEDIR/drive_c/GOG Games/Army Men RTS/amrts.exe
prefix: $GAMEDIR
installer:
- task:
args: /NOCANCEL /NOGUI /SP- /SUPPRESSMSGBOXES
executable: installer
name: wineexec
- extract:
dst: $CACHE/dxwrapper
file: dxwrapper
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/dxwrapper.dll
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/dxwrapper.ini
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
src: $CACHE/dxwrapper/Stub/ddraw.dll
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: Dd7to9
section: Compatibility
value: '1'
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: DdrawLimitDisplayModeCount
section: Dd7to9
value: '1'
- write_config:
file: $GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini
key: AnisotropicFiltering
section: d3d9
value: '1'
- task:
args: -o"C:\GOG Games\Army Men RTS" -y
executable: instant_action_mod
name: wineexec
- task:
args: -o"C:\GOG Games\Army Men RTS" -y
executable: custom_campaigns
name: wineexec
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Army Men RTS
file: high_resolution_texture_pack
- execute:
command: sed --in-place 's/MrmDist(50);/MrmDist(100);/g' "$GAMEDIR/drive_c/GOG
Games/Army Men RTS/library/engine/detail.cfg"
description: Increasing view distance for high world detail
- execute:
command: printf '\x61' | dd of="$GAMEDIR/drive_c/GOG Games/Army Men RTS/base.x-e"
bs=1 seek=59598312 count=1 conv=notrunc
description: Disabling intro video
system:
gamescope: true
wine:
overrides:
ddraw.dll: n,b
slug: army-men-rts-gog-ia-custom-campai
steamid: 694500
version: GOG + IA + Custom Campaigns
year: 2002
{
"game_slug": "army-men-rts",
"version": "GOG + IA + Custom Campaigns",
"description": "GOG version with the Instant Action and Custom Campaigns Mods plus the High Resolution Texture Pack",
"notes": "After installation, select a resolution corresponding to the correct aspect ratio in the in-game option's menu.\r\nSelecting resolutions greater than 1280x1024 is not possible, but Gamescope will upscale nicely when a resolution with a matching ratio is selected.\r\nTo scale without Gamescope, edit dxwrapper.ini in the game's installation folder, and in the section D3d7to9, set the option DdrawUseNativeResolution to 1.\r\n\r\nIntro videos are disabled and max view distance for high world detail is doubled.",
"name": "Army Men RTS",
"year": 2002,
"steamid": 694500,
"gogslug": "army_men_rts",
"humblestoreid": "",
"runner": "wine",
"slug": "army-men-rts-gog-ia-custom-campai",
"installer_slug": "army-men-rts-gog-ia-custom-campai",
"script": {
"files": [
{
"installer": "N/A:Select the game's setup file"
},
{
"instant_action_mod": "https://www.clanexf.com/users/2839/amrts_instant.exe"
},
{
"custom_campaigns": "https://www.clanexf.com/users/2839/amrts_custom_cpgn.exe"
},
{
"high_resolution_texture_pack": "https://www.moddb.com/games/army-men-rts/addons/army-men-rts-high-resolution-texture-pack"
},
{
"dxwrapper": "https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip"
}
],
"game": {
"exe": "$GAMEDIR/drive_c/GOG Games/Army Men RTS/amrts.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"args": "/NOCANCEL /NOGUI /SP- /SUPPRESSMSGBOXES",
"executable": "installer",
"name": "wineexec"
}
},
{
"extract": {
"dst": "$CACHE/dxwrapper",
"file": "dxwrapper"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Army Men RTS",
"src": "$CACHE/dxwrapper/dxwrapper.dll"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Army Men RTS",
"src": "$CACHE/dxwrapper/dxwrapper.ini"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Army Men RTS",
"src": "$CACHE/dxwrapper/Stub/ddraw.dll"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini",
"key": "Dd7to9",
"section": "Compatibility",
"value": "1"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini",
"key": "DdrawLimitDisplayModeCount",
"section": "Dd7to9",
"value": "1"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/GOG Games/Army Men RTS/dxwrapper.ini",
"key": "AnisotropicFiltering",
"section": "d3d9",
"value": "1"
}
},
{
"task": {
"args": "-o\"C:\\GOG Games\\Army Men RTS\" -y",
"executable": "instant_action_mod",
"name": "wineexec"
}
},
{
"task": {
"args": "-o\"C:\\GOG Games\\Army Men RTS\" -y",
"executable": "custom_campaigns",
"name": "wineexec"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/GOG Games/Army Men RTS",
"file": "high_resolution_texture_pack"
}
},
{
"execute": {
"command": "sed --in-place 's/MrmDist(50);/MrmDist(100);/g' \"$GAMEDIR/drive_c/GOG Games/Army Men RTS/library/engine/detail.cfg\"",
"description": "Increasing view distance for high world detail"
}
},
{
"execute": {
"command": "printf '\\x61' | dd of=\"$GAMEDIR/drive_c/GOG Games/Army Men RTS/base.x-e\" bs=1 seek=59598312 count=1 conv=notrunc",
"description": "Disabling intro video"
}
}
],
"system": {
"gamescope": true
},
"wine": {
"overrides": {
"ddraw.dll": "n,b"
}
}
}
}