Skip to content

Instantly share code, notes, and snippets.

@phako
Last active December 8, 2020 18:56
Show Gist options
  • Save phako/c2e3cf9d35a40b3738f2d3d2ee1e7897 to your computer and use it in GitHub Desktop.
Save phako/c2e3cf9d35a40b3738f2d3d2ee1e7897 to your computer and use it in GitHub Desktop.
# Installieren des installers
WINEPREFIX=$HOME/tmp/tso wine ~/Downloads/The\ Settlers\ Online\ Installer\ RC1.exe
WINEPREFIX=$HOME/tmp/tso winecfg
Libaries -> New override -> dnsapi (builtin, native)
Damit das Klicken auf den Button funktioniert
in ~/.local/share/applications tso-testing.desktop anlegen mit
[Desktop Entry]
Type=Application
Name=TSO Testing client
Exec=env WINEPREFIX="/home/jgeorg/tmp/tso" wine "/home/jgeorg/tmp/tso/drive_c/users/jgeorg/Local Settings/Application Data/Ubisoft/The Settlers Online RC1/The Settlers Online.exe" %u
StartupNotify=false
MimeType=x-scheme-handler/tsorc;
Danach
update-desktop-database
xdg-mime default tso-testing.desktop x-scheme-handler/tsorc
Testen mit
xdg-open tsorc://foo
Sollte versuchen, den TSO clent zu starten...
Wenn es denn mal startet ohne zu crashen:
Dez 08 19:49:26 z400 earlyoom[825]: mem avail: 381 of 40107 MiB ( 0.95%), swap free: 0 of 24213 MiB ( 0.00%)
Dez 08 19:49:26 z400 earlyoom[825]: low memory! at or below SIGTERM limits: mem 1.00%, swap 10.00%
Dez 08 19:49:26 z400 earlyoom[825]: sending SIGTERM to process 77032 uid 1000 "client.exe": badness 1194, VmRSS 31904 MiB
Dez 08 19:49:26 z400 earlyoom[825]: process exited after 0.0 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment