Median XL without Launcher + Steam Deck/Linux/MacOS guide

Need help installing the mod?
User avatar
SteelWings
Sasquatch
67 | 5
Great Popularity Badge
Has a thread with over 50.000 views
I've updated the guide including how to run on Linux and Steam Deck.
User avatar
kambala
Djinn
527 | 91
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
kambala wrote:a simple bash script to automate mod update, requires 7z (p7zip) to be in PATH

Code: Select all

#!/usr/bin/env bash

if [ -z "$1" ]; then
  echo "provide output path"
  exit 1
fi

tempFile=$(mktemp)
for part in dlls mod; do
  echo "downloading $part"
  curl -L -o "$tempFile" "http://get.median-xl.com/launcher/?get=$part"
  7z x -y -o"$1" "$tempFile"
  rm -f "$tempFile"
done

endpoints mentioned in the OP no longer work (as well as the quoted script), here's a new script in Python 3:

Code: Select all

#!/usr/bin/env python3

import json
from subprocess import run
from urllib.error import URLError
from urllib.request import urlopen, urlretrieve

try:
   with urlopen('https://launcher.median-xl.com/mxl/release/public/manifest') as response:
      manifest = json.loads(response.read().decode('utf-8'))
      print(f'downloading files for v{manifest['tag']}')
      for fileInfo in manifest['files']:
         fileName = fileInfo['name']
         fileNameLowercase = fileName.casefold()
         if (fileNameLowercase.endswith('.mpq') and fileNameLowercase != 'patch_d2.mpq') or fileNameLowercase == 'd2sigma.dll' or fileNameLowercase == 'fog.dll':
            print(f'\ndownloading {fileName}...')
            # urlretrieve(fileInfo['url'], fileName)
            run(['curl', '-L', '-o', fileName, fileInfo['url']])
except URLError as e:
   print(e)

here I'm using curl to download (also to see progress), but if you don't have curl / don't wish to install it, just comment its line and uncomment the line above it

btw you can find new API doc here: https://launcher.median-xl.com/docs
momope
Pit Knight
104 | 8
Common Popularity Badge
Has a thread with over 10.000 views
What's it like playing on the steam deck? Is there a lot of touch screen intervention? Are certain builds better than others? What kind of macros and things are helpful?