Installer there-edge

files:
- there_setup:
    filename: Get_There.exe
    url: https://www.there.com/install/there.setup.exe
- thereim_setup:
    filename: ThereIMInstaller.20090218.signed.exe
    url: https://www.there.com/install/thereim.setup.exe
- edge:
    filename: MicrosoftEdgeSetup.exe
    url: https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&brand=M100
- webview2_downgrade: https://github.com/westinyang/WebView2RuntimeArchive/releases/download/92.0.902.73/Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab
- l3codecx: https://www.rarewares.org/rrw/files/fhg/l3codecx.exe
game:
  arch: win32
  args: -U -l http://www.prod.there.com/status/min.html
  exe: $GAMEDIR/drive_c/Makena/There/ThereClient/There.exe
  launch_configs:
  - args: -l http://webapps.prod.there.com/addrdisc/addrdisc
    exe: $GAMEDIR/drive_c/Makena/ThereIM/ThereIM.exe
    name: ThereIM
    working_dir: $GAMEDIR/drive_c/Makena/ThereIM
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Makena/There/ThereClient
install_complete_text: 'Installation completed!


  If the There client is still open, you may need to close and relaunch for it to
  work properly.'
installer:
- task:
    arch: win32
    description: Creating 32-bit wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: corefonts dxvk dotnet48 vcrun2022
    description: Setting up winetricks prerequisites
    name: winetricks
- task:
    blocking: true
    description: Installing MP3 decoder
    exclude_processes: l3codecx.exe
    executable: l3codecx
    name: wineexec
- task:
    key: MSACM.l3acm
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Drivers32
    type: REG_SZ
    value: l3codecx.acm
- task:
    description: 'Installing Microsoft Edge

      Please close browser after install completes.'
    executable: edge
    name: wineexec
- task:
    description: 'Setting Edge Update service to manual start

      This prevents Edge from holding Wine open after closing There.'
    key: Start
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\edgeupdate
    type: REG_DWORD
    value: '00000003'
- task:
    description: 'Installing ThereIM

      DO NOT change the installation directory.'
    executable: thereim_setup
    name: wineexec
- task:
    description: Setting There renderer to DX9
    key: graphicsPlatform
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\There.com\There\LocalSettings
    type: REG_SZ
    value: dx9
- task:
    description: 'Installing There

      DO NOT change the installation directory.

      Please close There client after install completes.'
    exclude_processes: There.exe
    executable: there_setup
    name: wineexec
- merge:
    description: Extracting old working version of Edge WebView2
    dst: $GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application
    src: webview2_downgrade
- execute:
    command: 'cd "$GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application"

      cabextract -d ./ Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab

      rm Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab

      orig_webview_folder=$(find . -maxdepth 1 -type d -regextype posix-extended -regex
      ''./[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'' | head -n 1)

      export LD_LIBRARY_PATH=""

      mv ${orig_webview_folder#./} ${orig_webview_folder}.bak

      mv Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86 ${orig_webview_folder#./}'
wine:
  dxvk: true
  overrides:
    l3codecx.acm: n
description: There 3D client & ThereIM
game_slug: there
gogslug: ''
humblestoreid: ''
installer_slug: there-edge
name: There
notes: "Requires 32-bit prefix support. The only Wine version confirmed working without\
  \ significant issues was lutris-GE-Proton8-26-x86_64.\r\n\r\nAdditional required\
  \ software to be installed:\r\n- Microsoft Edge\r\n- Microsoft Edge WebView2 (installed\
  \ by There installer and then downgraded to a version compatible with Wine)\r\n\
  - Fraunhofer IIS MP3 Decoder (l3codecx.acm)\r\n\r\nKnown issues:\r\n- No transparency\
  \ for WebView2 UI elements\r\n- Sometimes WebView2 UI elements go blank and/or don't\
  \ redraw until clicked\r\n- Sometimes when clicking outside the There window, it\
  \ becomes very tiny and can't be resized or exited and must be force closed\r\n\
  - MIDI music doesn't work in the installer\r\n\r\nAdditional notes:\r\n- To prevent\
  \ issues with small screens, this script does not adjust the There client resolution\
  \ from the default/minimum 800x600. You will likely want to increase the resolution\
  \ either in There Tweaker (C:\\Makena\\There\\ThereClient\\Resources\\dlls\\theretweaker.exe)\
  \ or after logging in, at There -> Settings -> Audio/Video -> Resolution."
runner: wine
script:
  files:
  - there_setup:
      filename: Get_There.exe
      url: https://www.there.com/install/there.setup.exe
  - thereim_setup:
      filename: ThereIMInstaller.20090218.signed.exe
      url: https://www.there.com/install/thereim.setup.exe
  - edge:
      filename: MicrosoftEdgeSetup.exe
      url: https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&brand=M100
  - webview2_downgrade: https://github.com/westinyang/WebView2RuntimeArchive/releases/download/92.0.902.73/Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab
  - l3codecx: https://www.rarewares.org/rrw/files/fhg/l3codecx.exe
  game:
    arch: win32
    args: -U -l http://www.prod.there.com/status/min.html
    exe: $GAMEDIR/drive_c/Makena/There/ThereClient/There.exe
    launch_configs:
    - args: -l http://webapps.prod.there.com/addrdisc/addrdisc
      exe: $GAMEDIR/drive_c/Makena/ThereIM/ThereIM.exe
      name: ThereIM
      working_dir: $GAMEDIR/drive_c/Makena/ThereIM
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Makena/There/ThereClient
  install_complete_text: 'Installation completed!


    If the There client is still open, you may need to close and relaunch for it to
    work properly.'
  installer:
  - task:
      arch: win32
      description: Creating 32-bit wine prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: corefonts dxvk dotnet48 vcrun2022
      description: Setting up winetricks prerequisites
      name: winetricks
  - task:
      blocking: true
      description: Installing MP3 decoder
      exclude_processes: l3codecx.exe
      executable: l3codecx
      name: wineexec
  - task:
      key: MSACM.l3acm
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Drivers32
      type: REG_SZ
      value: l3codecx.acm
  - task:
      description: 'Installing Microsoft Edge

        Please close browser after install completes.'
      executable: edge
      name: wineexec
  - task:
      description: 'Setting Edge Update service to manual start

        This prevents Edge from holding Wine open after closing There.'
      key: Start
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\edgeupdate
      type: REG_DWORD
      value: '00000003'
  - task:
      description: 'Installing ThereIM

        DO NOT change the installation directory.'
      executable: thereim_setup
      name: wineexec
  - task:
      description: Setting There renderer to DX9
      key: graphicsPlatform
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\There.com\There\LocalSettings
      type: REG_SZ
      value: dx9
  - task:
      description: 'Installing There

        DO NOT change the installation directory.

        Please close There client after install completes.'
      exclude_processes: There.exe
      executable: there_setup
      name: wineexec
  - merge:
      description: Extracting old working version of Edge WebView2
      dst: $GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application
      src: webview2_downgrade
  - execute:
      command: 'cd "$GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application"

        cabextract -d ./ Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab

        rm Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab

        orig_webview_folder=$(find . -maxdepth 1 -type d -regextype posix-extended
        -regex ''./[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'' | head -n 1)

        export LD_LIBRARY_PATH=""

        mv ${orig_webview_folder#./} ${orig_webview_folder}.bak

        mv Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86 ${orig_webview_folder#./}'
  wine:
    dxvk: true
    overrides:
      l3codecx.acm: n
slug: there-edge
steamid: null
version: Edge
year: 2012
{
  "game_slug": "there",
  "version": "Edge",
  "description": "There 3D client & ThereIM",
  "notes": "Requires 32-bit prefix support. The only Wine version confirmed working without significant issues was lutris-GE-Proton8-26-x86_64.\r\n\r\nAdditional required software to be installed:\r\n- Microsoft Edge\r\n- Microsoft Edge WebView2 (installed by There installer and then downgraded to a version compatible with Wine)\r\n- Fraunhofer IIS MP3 Decoder (l3codecx.acm)\r\n\r\nKnown issues:\r\n- No transparency for WebView2 UI elements\r\n- Sometimes WebView2 UI elements go blank and/or don't redraw until clicked\r\n- Sometimes when clicking outside the There window, it becomes very tiny and can't be resized or exited and must be force closed\r\n- MIDI music doesn't work in the installer\r\n\r\nAdditional notes:\r\n- To prevent issues with small screens, this script does not adjust the There client resolution from the default/minimum 800x600. You will likely want to increase the resolution either in There Tweaker (C:\\Makena\\There\\ThereClient\\Resources\\dlls\\theretweaker.exe) or after logging in, at There -> Settings -> Audio/Video -> Resolution.",
  "name": "There",
  "year": 2012,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "there-edge",
  "installer_slug": "there-edge",
  "script": {
    "files": [
      {
        "there_setup": {
          "filename": "Get_There.exe",
          "url": "https://www.there.com/install/there.setup.exe"
        }
      },
      {
        "thereim_setup": {
          "filename": "ThereIMInstaller.20090218.signed.exe",
          "url": "https://www.there.com/install/thereim.setup.exe"
        }
      },
      {
        "edge": {
          "filename": "MicrosoftEdgeSetup.exe",
          "url": "https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&brand=M100"
        }
      },
      {
        "webview2_downgrade": "https://github.com/westinyang/WebView2RuntimeArchive/releases/download/92.0.902.73/Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab"
      },
      {
        "l3codecx": "https://www.rarewares.org/rrw/files/fhg/l3codecx.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-U -l http://www.prod.there.com/status/min.html",
      "exe": "$GAMEDIR/drive_c/Makena/There/ThereClient/There.exe",
      "launch_configs": [
        {
          "args": "-l http://webapps.prod.there.com/addrdisc/addrdisc",
          "exe": "$GAMEDIR/drive_c/Makena/ThereIM/ThereIM.exe",
          "name": "ThereIM",
          "working_dir": "$GAMEDIR/drive_c/Makena/ThereIM"
        }
      ],
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Makena/There/ThereClient"
    },
    "install_complete_text": "Installation completed!\n\nIf the There client is still open, you may need to close and relaunch for it to work properly.",
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating 32-bit wine prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts dxvk dotnet48 vcrun2022",
          "description": "Setting up winetricks prerequisites",
          "name": "winetricks"
        }
      },
      {
        "task": {
          "blocking": true,
          "description": "Installing MP3 decoder",
          "exclude_processes": "l3codecx.exe",
          "executable": "l3codecx",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "key": "MSACM.l3acm",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32",
          "type": "REG_SZ",
          "value": "l3codecx.acm"
        }
      },
      {
        "task": {
          "description": "Installing Microsoft Edge\nPlease close browser after install completes.",
          "executable": "edge",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "description": "Setting Edge Update service to manual start\nThis prevents Edge from holding Wine open after closing There.",
          "key": "Start",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\edgeupdate",
          "type": "REG_DWORD",
          "value": "00000003"
        }
      },
      {
        "task": {
          "description": "Installing ThereIM\nDO NOT change the installation directory.",
          "executable": "thereim_setup",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "description": "Setting There renderer to DX9",
          "key": "graphicsPlatform",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\There.com\\There\\LocalSettings",
          "type": "REG_SZ",
          "value": "dx9"
        }
      },
      {
        "task": {
          "description": "Installing There\nDO NOT change the installation directory.\nPlease close There client after install completes.",
          "exclude_processes": "There.exe",
          "executable": "there_setup",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "description": "Extracting old working version of Edge WebView2",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application",
          "src": "webview2_downgrade"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/Program Files/Microsoft/EdgeWebView/Application\"\ncabextract -d ./ Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab\nrm Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86.cab\norig_webview_folder=$(find . -maxdepth 1 -type d -regextype posix-extended -regex './[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+' | head -n 1)\nexport LD_LIBRARY_PATH=\"\"\nmv ${orig_webview_folder#./} ${orig_webview_folder}.bak\nmv Microsoft.WebView2.FixedVersionRuntime.92.0.902.73.x86 ${orig_webview_folder#./}"
        }
      }
    ],
    "wine": {
      "dxvk": true,
      "overrides": {
        "l3codecx.acm": "n"
      }
    }
  }
}
Back to game