• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

DMT Modding Tool

Status
Not open for further replies.
Have a look on the Github page and under Releases grab v1.2. That should be compatible with A16. I'll have a look at backwards compatibility for the next release

 
Have a look on the Github page and under Releases grab v1.2. That should be compatible with A16. I'll have a look at backwards compatibility for the next release
Hey Hal tried right back to 1.0 same error, hopefully backwards compatible is actually a viable option cause this'll be awesome, I'll be looking forward to next release xD

 
How do you get started with modding the C# assembly? I'm a programmer, but what tool is best to use to view the assembly source? Do you just use ILSpy?

 
Thanks a lot for the info. Looks like a really great tool. Exactly what I'm looking for.
The latest version has an experimental option to try running the game in debug mode so you can hit breakpoints placed in dnSpy

K0OJDT7.png


Go to About->Experimental->Enable Debugger and then click the "Debug Exe" button. It will download a modded version of dnSpy and (fingers crossed) get debugging running

I've had mixed results, sometimes it works and others it crashes but if you're needing extra info about something not working right it's a good place to start.

 
The latest version has an experimental option to try running the game in debug mode so you can hit breakpoints placed in dnSpy
Hey, I'm currently doing debugging just with dnSpy. Does this offer any benefit over that?

 
Hey, I'm currently doing debugging just with dnSpy. Does this offer any benefit over that?
No, either is good. It just handles swapping to the debug dll and starts the game through dnSpy so you can hit breakpoints. Just saves a few clicks and for those that don't want to start messing with the dlls

 
Nice work Hal, I finally got the chance to try out A18 tonight and so far all my A17 SDX mods are working with this without any changes. Except my custom icons don't show up anymore, was there a change to how they work?

 
Nice work Hal, I finally got the chance to try out A18 tonight and so far all my A17 SDX mods are working with this without any changes. Except my custom icons don't show up anymore, was there a change to how they work?
Make a folder structure like this: UIAtlases/ItemIconAtlas

The icon atlas is generated on game start up based on its contents. 160x160 is the new standard size, although 116x80 still works.

 
I remember with SDX tool to mod a Dedi, you had to install a dedi on your PC, and build that way, then copy over the dll and mods folder, im assuming its the same way for DMT?

 
I remember with SDX tool to mod a Dedi, you had to install a dedi on your PC, and build that way, then copy over the dll and mods folder, im assuming its the same way for DMT?
Yes. With DMT, you can add multiple build locations, so you can point to both the client and dedi and have them build.

The files are different though. Under Managed, you are looking for Assembly-CSharp.dll, Mods.dll, 0Harmony.dll, and DMT.dll, along with the traditional Mods folder.

I usually sort the Managed folder by Date modified, and grab them easily.

 
Yes. With DMT, you can add multiple build locations, so you can point to both the client and dedi and have them build.
The files are different though. Under Managed, you are looking for Assembly-CSharp.dll, Mods.dll, 0Harmony.dll, and DMT.dll, along with the traditional Mods folder.

I usually sort the Managed folder by Date modified, and grab them easily.

Thats what I usually do as well.

Thanks for the swift reply. Love your mods and all the work you do!

 
Really odd bug now after several hours of playing. My server crashed while I was playing and my game seems to be very borked since.

Server is fine, all players connect fine, but I cannot get onto my game at all.

I sign in with DMT and my game Immediately open a SP game... if I quit VIA the pause menu it goes directly to desktop.

uninstalled 2 times and retired still same thing.

Installed in new spot same thing.

Completely wiped all traces of 7dtd same thing

wiped via game launcher same thing

Uninstalled, DIDNT use DMT, and it works. Build with DMT, doesn't work.

It seems once adding the rebuilt assembly dll, i get the error, deleting, and verifying clears the error. But the issue is now, I can't get on my own server and all my players can....

No matter what I try I can't play with DMT.. All im using is Animal Husbandry, Bandits, Traders and NPCS and its 1 dependency.

 
Really odd bug now after several hours of playing. My server crashed while I was playing and my game seems to be very borked since.
Server is fine, all players connect fine, but I cannot get onto my game at all.

I sign in with DMT and my game Immediately open a SP game... if I quit VIA the pause menu it goes directly to desktop.

uninstalled 2 times and retired still same thing.

Installed in new spot same thing.

Completely wiped all traces of 7dtd same thing

wiped via game launcher same thing

Uninstalled, DIDNT use DMT, and it works. Build with DMT, doesn't work.

It seems once adding the rebuilt assembly dll, i get the error, deleting, and verifying clears the error. But the issue is now, I can't get on my own server and all my players can....

No matter what I try I can't play with DMT.. All im using is Animal Husbandry, Bandits, Traders and NPCS and its 1 dependency.
Do you have Scroll Lock on, by any chance? 0-SphereIICore has a feature where, if your scroll lock is on, it'll load up your last save game.

 
Do you have Scroll Lock on, by any chance? 0-SphereIICore has a feature where, if your scroll lock is on, it'll load up your last save game.
Im honestly not even sure how to turn that on/off

EDIT: nvm duh. that scroll lock.

EDIT again:

Dude.... I love you again.. Thank you so much. Spent almost 3 hours trying to figure out what is wrong... Never knew about that scroll lock feature.

 
Im honestly not even sure how to turn that on/off
EDIT: nvm duh. that scroll lock.

EDIT again:

Dude.... I love you again.. Thank you so much. Spent almost 3 hours trying to figure out what is wrong... Never knew about that scroll lock feature.
I am sorry that it caused you grief. I use it as a shortcut when I'm doing a lot of testing. That's a feature of 0-SphereIICore, not DMT though.

 
Are we supposed to have to reset game files every time we want to rebuild?

Bc I can't ever seem to rebuild. I always get the error

This Assembly-CSharp.dll file has already been patched by SDX so can not be used as a backup. Reset your game files and try again.Build failed

process exited with error code -1
 
Status
Not open for further replies.
Back
Top