war1 Product Config
Download
{
  "all": {
    "config": {
      "casc_language_agnostic": true,
      "data_dir": "Data/",
      "form": {
        "game_dir": {
          "dirname": "Warcraft Orcs \u0026 Humans"
        }
      },
      "product": "war1",
      "relax_product_validation": true,
      "supported_locales": [
        "enUS"
      ],
      "supports_multibox": false,
      "supports_offline": true,
      "switcher": false,
      "title_info": {
        "title_id": "w1"
      },
      "update_method": "containerless ngdp"
    }
  },
  "enus": {
    "config": {
      "install": [
        {
          "start_menu_shortcut": {
            "args": "-noconsole -conf dosbox.conf -title 'Warcraft: Orcs \u0026 Humans [Version 1.22h][DOS]'",
            "link": "%commonstartmenu%Warcraft Orcs \u0026 Humans/Warcraft Orcs \u0026 Humans.lnk",
            "target": "%shortcutpath%",
            "working_dir": "%installpath%/dos"
          }
        },
        {
          "desktop_shortcut": {
            "args": "-noconsole -conf dosbox.conf -title 'Warcraft: Orcs \u0026 Humans [Version 1.22h][DOS]'",
            "link": "%desktoppreference%Warcraft Orcs \u0026 Humans.lnk",
            "target": "%shortcutpath%",
            "working_dir": "%installpath%/dos"
          }
        },
        {
          "add_remove_programs_key": {
            "display_name": "Warcraft Orcs \u0026 Humans",
            "icon_path": "%binarypath%",
            "install_path": "%installpath%",
            "locale": "%locale%",
            "root": "Warcraft Orcs \u0026 Humans",
            "uid": "%uid%",
            "uninstall_path": "%uninstallpath%"
          }
        }
      ]
    }
  },
  "platform": {
    "win": {
      "config": {
        "binaries": {
          "game": {
            "launch_arguments": [
              "-noconsole",
              "-conf",
              "dosbox.conf",
              "-title",
              "'Warcraft: Orcs \u0026 Humans [Version 1.22h][DOS]'"
            ],
            "regex": "dos/DOSBox.exe",
            "relative_path": "dos/DOSBox.exe",
            "switcher": false
          }
        },
        "form": {
          "game_dir": {
            "default": "Program Files",
            "required_space": 3000000000
          }
        },
        "shortcut_target_path": "dos/DOSBox.exe",
        "tags": [],
        "uninstall": [
          {
            "delete_registry_key_list": {
              "flags": "WOW_BOTH",
              "key_type": "HKEY_LOCAL_MACHINE",
              "root": "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall",
              "subkeys": [
                "Warcraft Orcs \u0026 Humans"
              ]
            }
          },
          {
            "delete_registry_key_list": {
              "flags": "WOW_BOTH",
              "key_type": "HKEY_CURRENT_USER",
              "root": "SOFTWARE\\Blizzard Entertainment",
              "subkeys": [
                "Warcraft Orcs \u0026 Humans"
              ]
            }
          },
          {
            "delete_folder": {
              "relative_paths": [
                "Data",
                "dos",
                "Warcraft.app"
              ],
              "root": "%game%"
            }
          },
          {
            "delete_file": {
              "relative_paths": [
                ".DS_Store",
                "DOSBox.exe",
                "stderr.txt",
                "stdout.txt",
                "Warcraft.bat",
                "Warcraft_I_-_Manual_-_PC.pdf"
              ],
              "root": "%game%"
            }
          }
        ]
      }
    }
  }
}