FiftyTifty Posted September 30, 2019 Share Posted September 30, 2019 I've created a mod using DMT's Harmony library, that disables sleepers from respawning. It loads and works fine on my Windows 7 PC, both the client and the dedicated server. However, that isn't the case for my Ubuntu server. I added the 0Harmony.dll, mods.dll, and DMT.dll files to the 7DaysToDieServer_Data\Managed folder, and copied my Mods folder over to the 7 Days To Die root folder. But the server does not load the added .dll files. How do I properly install DMT for an Ubuntu server? Link to comment Share on other sites More sharing options...
SylenThunder Posted September 30, 2019 Share Posted September 30, 2019 Not even sure what DMT is, but based on the given info, this is what I found... https://steamdb.info/app/648890/subs/ https://7d2dmods.github.io/HarmonyDocs/index.htm?DMTsHarmonyImplementation.html It requires .NET 3.5 framework, and may not be compatible with Linux. You can try the below to install the framework. https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 30, 2019 Author Share Posted September 30, 2019 It's the successor to SDX: https://7daystodie.com/forums/showthread.php?117235-DMT-Modding-Tool Installing .Net Core did not fix it, but .Net Core is different from .Net Framework. So that might be an issue. Link to comment Share on other sites More sharing options...
SylenThunder Posted September 30, 2019 Share Posted September 30, 2019 Yeah, you would probably have to use Wine for the framework, and that's going to be really screwy working with the server. Most likely it's not going to be compatible with Linux. Which is one of the primary reasons I've stayed away from these types of mods. Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 30, 2019 Author Share Posted September 30, 2019 Harmony, which DMT uses, is wholly compatible with both Linux and Windows. So it's really an issue of there being no instructions for installing DMT on Ubuntu. Link to comment Share on other sites More sharing options...
SylenThunder Posted September 30, 2019 Share Posted September 30, 2019 Harmony might be, but DMT isn't. DMT is designed with .NET framework support as a requirement. And .NET isn't exactly compatible with Linux. You might be able to run .NET in Linux using Wine, but that's only emulation, and may not sync at all with the dedicated server. Then you're going to have to end up running the Windows dedi on Wine, and by this point overhead cost is going to be so bad that you may as well just being using Windows. Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 30, 2019 Author Share Posted September 30, 2019 That's a grave misunderstanding. WINE is not emulating Windows; it's not a VM, but an open source implementation of Windows' various API calls. In terms of performance, WINE is actually faster than Windows when it comes to processing power. It's only in games where WINE wraps the calls to OpenGL that performance drops, as OpenGL is piss-awful at processing draw calls. Currently trying to get playonlinux to work, but Linux is a complete nightmare and nothing is working as it should. Link to comment Share on other sites More sharing options...
FiftyTifty Posted October 1, 2019 Author Share Posted October 1, 2019 Yep, it works just fine when run through WINE. Link to comment Share on other sites More sharing options...
Beelzybub Posted October 1, 2019 Share Posted October 1, 2019 Yep, it works just fine when run through WINE. Are you running the Windows version of the dedi server in WINE, or just the MOD? Can you give more details on how you got this to work? Link to comment Share on other sites More sharing options...
FiftyTifty Posted October 2, 2019 Author Share Posted October 2, 2019 Are you running the Windows version of the dedi server in WINE, or just the MOD? Can you give more details on how you got this to work? I ran the Windows version of the dedicated server from WINE, yes. It was simply just uploading the dedicated server on my computer to my Ubuntu server, then using the command winefile to launch the bat file. However, I found the source of the problem. You need to copy over not just 0Harmony.dll, Mods.dll, and DMT.dll, but also Assembly-CSharp.dll and Assembly-UnityScript.dll. Once I did that, the native Ubuntu server software for 7Days ran fine, though the log will output an error about some Windows forms. It doesn't halt execution nor harm anything, and you can connect just fine to the server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.