title: How to configure Mabinogi to run in Lutris?
body: <p>I'm attempting to play <a href="https://mabinogi.nexon.net/" rel="nofollow noreferrer">Mabinogi</a> by Nexon on Linux Mint 20 (Ulyana) using Lutris. I've previously used Lutris to play Heroes of the Storm but otherwise don't have much experience with it (or with gaming on Linux, in general). There's no installer on the Lutris website for Mabinogi like there was for Heroes of the Storm, so I was on my own to try and figure everything out.</p>
  <h2>What I've tried</h2>
  <p>I started by downloading the <a href="https://download2.nexon.net/Game/NexonLauncher/NexonLauncherSetup.exe" rel="nofollow noreferrer">Nexon Launcher Installer</a> from their website. I configured Lutris to launch this executable using Wine within a simulated Windows environment. When it first launched I noticed several files were created (&quot;drive_c&quot;, &quot;Program Files&quot;, &quot;Users&quot;, etc -- mimicking a Windows file system). The launcher installer ran without issue and I installed the launcher to &quot;C:\Program Files (x86)\Nexon&quot;</p>
  <p>I then re-configured Lutris to try and launch the Nexon Launcher instead of the Nexon Launcher Installer. When I hit &quot;Play&quot; in Lutris, nothing happened. Running <code>ps -ax | grep &quot;Nexon&quot;</code> showed that it was theoretically running, but there was no window or visible UI even after several minutes of waiting. I checked the Lutris logs and noticed a message about a file missing (something like &quot;10000.manifest.hash&quot;). I Google'd this error and found plenty of people <strong>in Windows</strong> who had trouble running the Nexon Launcher with the same error, and the solution was to just install Mabinogi through Steam.</p>
  <p>So next I downloaded the &quot;Wine Steam&quot; runner in Lutris and set this as the runner for Mabinogi, plugging in the app ID (212200). After Steam installed, launched, logged in, and downloaded Mabinogi I tried to launch the game. This time I saw a window pop up saying &quot;Mabinogi is launching&quot; and in the bottom-right the Nexon Game Security icon popped up, but then everything closed and the game never started.</p>
  <p>Finally out of desperation I tried setting up a virtual computer using VirtualBox to play the game in its native Windows environment. I installed Windows 7 (the minimum required version according to the Nexon website). I downloaded Mabinogi through Steam on the virtual box. Upon trying to launch Mabinogi, I received the error error:  &quot;api-ms-win-crt-runtime-l1-1-0.dll is missing&quot;. I'm curious if this error is related to why I couldn't get Mabinogi working in Lutris.</p>
  <p>Looking at a game that I had previously played in Lutris (Heroes of the Storm), I noticed a very similar DLL was listed in the &quot;DLL overrides&quot; section: &quot;api-ms-win-crt-private-l1-1-0.dll&quot;. So I tried adding the runtime DLL to the overrides in Mabinogi with the same value (&quot;n,b&quot;) - but this didn't work.</p>
  <p>Looking at the Lutris logs when I try to launch Mabinogi through Wine Steam, there are several errors from <code>\main\game-launch.js:109</code>. I'm not sure if this JS script is part of Lutris of part of the Nexon Launcher, but it could provide some hints. Among the logs the following lines stand out as potentially meaningful:</p>
  <pre><code>...
  ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  ...
  fixme:d3d12_get_vk_physical_device: Could not find Vulkan physical device for DXGI adapter.
  fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
  ...
  warn:  OpenVR: Failed to locate module
  ...
  </code></pre>
  <h2>What I don't know</h2>
  <p>I'm not familiar with using Wine and I've never written a Lutris installer. Up until now I've only ever run Linux binaries on Linux and Windows binaries on Windows. So there's a lot I don't understand, like: What's Vulkan? What's DXVK? How do &quot;override DLLs&quot; work? Do I need to provide alternative DLLs for anything I want to override? What does the value &quot;n,b&quot; mean in the DLL override?</p>
  <p>I'm welcome to any help</p>