Facebook
From klozz, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 272
  1. Supreme Commander Forged Alliance Forever
  2. HOWOTO install at Linux
  3.  
  4.  
  5.  
  6. Steam guide
  7. -------------------------------
  8.  
  9.  
  10. enable steamplay
  11. set compability: proton 5.0-10
  12. launch options: ROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%
  13.  
  14. install java e.g. openjre etc. (repository)
  15. install winetricks (repository)
  16. install protontricks (repository and run command: pipx install protontricks
  17. run command: protontricks 9420 dlls d3dx9
  18. run command: protontricks 9420 dlls xact
  19.  
  20. check java path: ls /usr/lib/jvm    and copy path   /usr/lib/jvm/java-17-openjdk/   into desktop run script
  21.  
  22. copy proton run file to main faf folder /tmp/proton_x/run.sh  to  /home/x/Games/faf/run.sh
  23.  
  24. create a run file in /home/x/.local/share/applications/   named    faforever.desktop
  25.  
  26.  
  27. start client
  28.  
  29.  
  30.  
  31.  
  32.  
  33. content of desktop run file "faforever.desktop"
  34. ----------------------------------------------
  35. #!/usr/bin/env xdg-open
  36. [Desktop Entry]
  37. Version=v2021.11.0
  38. Type=Application
  39. Exec=bash -c "cd /home/x/Games/faf/faf-client-2022.4.0-alpha-2/; export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-17-openjdk/; ./faf-client"
  40. Name=FAF
  41. Comment=Forged Alliance Forever Client
  42. Icon=~/.local/share/icons/faf.png
  43. ----------------------------------------------
  44. ( important command integrated above (set java export path:)   export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-17-openjdk/    )
  45.  
  46.  
  47. content of run file in faf main folder
  48. ----------------------------------------------
  49. #!/bin/bash
  50. #Run game or given command in environment
  51.  
  52. cd "/home/x/Steam-2TB/SteamLibrary/steamapps/common/Supreme Commander Forged Alliance"
  53. DEF_CMD=("/home/x/Steam-2TB/SteamLibrary/steamapps/common/Supreme Commander Forged Alliance/bin/SupremeCommander.exe")
  54. PATH="/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/bin/:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin:/home/x/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin" \
  55.         TERM="xterm" \
  56.         WINEDEBUG="-all" \
  57.         WINEDLLPATH="/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/lib64//wine:/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/lib//wine" \
  58.         LD_LIBRARY_PATH="/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/lib64/:/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/lib/:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/libfakeroot:/usr/lib32:/usr/lib/openmpi:/usr/lib:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/x/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib:/home/x/Steam-2TB/SteamLibrary/steamapps/common/Supreme Commander Forged Alliance" \
  59.         WINEPREFIX="/home/x/Steam-2TB/SteamLibrary/steamapps/compatdata/9420/pfx/" \
  60.         WINEFSYNC="1" \
  61.         SteamGameId="9420" \
  62.         SteamAppId="9420" \
  63.         WINEDLLOVERRIDES="steam.exe=b;mfplay=n;dxvk_config=n" \
  64.         STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/x/.local/share/Steam" \
  65.         WINE_LARGE_ADDRESS_AWARE="1" \
  66.         "/home/x/Steam-2TB/SteamLibrary/steamapps/common/Proton 5.0/dist/bin/wine" steam.exe "${@:-${DEF_CMD[@]}}"
  67. ----------------------------------------------