Jump to content

Ubuntu server - How to install DMT?


FiftyTifty

Recommended Posts

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...