Ubuntu server - How to install DMT?

Status
Not open for further replies.

FiftyTifty

Refugee
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?

 
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.

 
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.

 
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.

 
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.

 
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?

 
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.

 
Status
Not open for further replies.
Back
Top