From f45b464225e5334b4142eb03f1d0d2ced6f19747 Mon Sep 17 00:00:00 2001 From: dzmtrzz <92114800+dzmtrzz@users.noreply.github.com> Date: Mon, 21 Oct 2024 23:01:03 +0200 Subject: [PATCH 1/2] Refactor run-client-on-linux --- docs/client/run-client-on-linux.md | 31 ++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/docs/client/run-client-on-linux.md b/docs/client/run-client-on-linux.md index 22dc64bee..8d6151089 100644 --- a/docs/client/run-client-on-linux.md +++ b/docs/client/run-client-on-linux.md @@ -1,15 +1,26 @@ # How to run OMP client on linux -Warning! You DO NOT get the gui working, you can only run this EITHER through the wine terminal, OR a batch script. -(tested on wine-ge 8-26 in a 32-bit prefix in lutris) -- +### Warning! You DO NOT get the working gui, you can only run this EITHER through the wine terminal, OR a batch script. +### (tested on wine-ge 8-26 in a 32-bit prefix, running through lutris) -To get the client to run you need to download the launcher, and omp-client.dll. (https://assets.open.mp/omp-client.dll) -Then you need to put omp-client.dll in the AppData\Local\com.open.mp\omp\ folder of your prefix -You also should install allfonts through winetricks, or else the game will crash when you pause. -In case that the game doesn't work(for me it didn't show the login prompt on wtls), you should try toggling on/off the settings "Prefer system libraries" in lutris. +To get the client to run you need to download the launcher, and [omp-client.dll](https://assets.open.mp/omp-client.dll). \ +Then you need to put omp-client.dll in the AppData\Local\com.open.mp\omp\ folder of your prefix.\ +After that, you can execute the open mp launcher through the cli, or make a batch file like the one below, so that you can add it to your launcher of choice. + +### Here is a sample .bat file for editing +``` +Z:\path\to\omp-launcher.exe -h server.ip -p port -n dzmtrzz -g Z:\home\yourname\foo\bar\baz\gamepath\ +``` + +You can run omp-launcher.exe with the --help flag to get more info about the flags, in case the example above isn't enough. + + +## Troubleshooting + +| Issue | Supposed fix | +| ------------------------------------------- |:----------------------------------------------------------------------:| +| Game crashes when pausing | There is a missing font, fix by installing allfonts through winetricks | +| Not displaying the login prompt on a server | Try toggling on/off the "Prefer system libraries" setting in lutris | + -Here is a sample .bat file. - Z:\path\to\omp-launcher.exe -h server.ip -p port -n dzmtrzz -g Z:\home\yourname\foo\bar\baz\gamepath\ -(replace dzmtrzz with whatever username you want, that's just a cheeky self insert) From 7b5aedad05d2ffff9d55b33e57171cab3b66fb58 Mon Sep 17 00:00:00 2001 From: dzmtrzz <92114800+dzmtrzz@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:23:01 +0200 Subject: [PATCH 2/2] Rename run-client-on-linux.md to ClientOnLinux.md --- docs/client/{run-client-on-linux.md => ClientOnLinux.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/client/{run-client-on-linux.md => ClientOnLinux.md} (100%) diff --git a/docs/client/run-client-on-linux.md b/docs/client/ClientOnLinux.md similarity index 100% rename from docs/client/run-client-on-linux.md rename to docs/client/ClientOnLinux.md