Discussion in 'Modding' started by Daynab, Dec 1, 2011.
Which folder, and what operating system, and why not "mods"?
Try checking it with a XML validator and writing it step by step, testing that every skill works after writing another one. If you follow this guide and use an already made mod to look how to do things, you should have no problem. Also, if you specify a little more, there are plenty of people around here (including myself) that can help you
What? You need to put all your files in a zip file (I think it can be a folder too) in the the Dungeons of Dredmor folder that is in the Gaslamp Games folder in My Documents. That is, if you are on Windows
I just updated the OP to have all the new information and guides from the new modding wiki, formatting might be a little strange, let me know if anything's missing.
I do not think the recent changes to the OP were entirely good. It no longer explains where you have to put the files, which at least for Mac using Steam, is not intuitive. The page you linked to on the wiki is the page for uploading a mod, not installing one. Newbs coming here to figure out how to get started using their first non-Steam-Workshop mod would face significant hurdles.
Oops. I knew I was forgetting things. You're right I need to update the directories. But the info I have under "Installing a mod" is exactly the same info I had before, except it assumes the mods are packaged correctly?
edit: updated the directories, thanks for the heads up.
I started typing up where it should be listed for a Mac, and now suddenly it lists it properly for Mac and Linux. I see an orphaned "folder." that suggests to me you ninja edited while I was typing.
Looks good now, other than the orphaned "folder."
Yup, caught that. Thanks Let me know if there's anything else amiss or missing.
Can someone explain how to install?
It's right in the first post:
Or you can subscribe to mods in the Steam Workshop.
In both cases, you must also make sure the mod is enabled. You do that by launching Dredmor and clicking the Mods button. And then check-marking the mods you want to load.
I created folder "mods" in the correct directory, than put there a mod, but it isn't displayed in Mod Launcher. What shall I do?
My Windows are in Russian, so "Documents" folder have russian name, can this be a problem?
UPD: Set the English language, but it doesn't work still.
Also, i tried to download those mods via Steam Workshop. Fail.
Unfortunately yes, it's a known issue that usernames with special characters currently cannot load mods.
It is possible to change that but I don't know if it's something that you want to go through.
I found the problem. My username folder is in Russian. And i cant change it.
Assuming you're on Windows 7, you could; http://www.sevenforums.com/tutorials/147545-user-profile-folder-change-user-account-folder-name.html
There are probably guides for other windows too if you're not on 7.
I found a guide for how to do this on XP years ago. And since XP is the same kernel of 2000, those are covered. Vista and Seven should both use the same method too since they share a kernel. If you are using anything older than XP/2000 then you are probably out of luck though.
I did a search and found this utility that claims to do this for all current Windows OSes.
It is free, but I am unsure if it works or not. If you need some help, I would be glad to assist in any way I can. Keep us updated if you need anything or run into any problems.
So, I've got my mod showing up in the mod selector screen, and the abilities I have are mostly working right, but the problem I'm having is importing outside resources, specifically art. I have them in a sprites/skills/whatever folder, and it passes the validator, and the game loads, but the second it needs to display one of the custom images, it crashes. Works fine if I use images that are already in the game, but I can't seem to do it with the mod. Obviously you can do it, since every other modder has, so maybe I don't have the format right? Can a modder who's imported custom art tell me how they have it structured and referenced in their code? Thanks!
I reckon it's the problem with icons and not with the code, Prince of Foxes. Icons have to be indexed and stuff, and the validator just detects whether they are there at all.
Skill sprites need to be 32x32 (for small) or 64x64 .pngs. RGB/Indexed doesn't matter in this case.
For items, they must be 32x32 indexed .pngs.
Monsters follow the same rules as items, but must be 64x64.
Blockers may be in RGB or indexed, but must have their dimensions in multiples of 8.
For spell effects, they must be RGB .pngs that have their dimensions in multiples of 8. Their path names must follow the style of spell_name00xx.png, where xx is the frame number, starting with 00 and progressing through 99.
If you're doing your editing in GIMP, your indexed sprites will crash the game, because GIMP doesn't know how to index .pngs properly. If you're dead set on GIMP (or it's the only thing you have) you can do what I do and do all your drawing in GIMP, index it, then open it in mtPaint, then reindex it by converting to RGB and back to indexed.
Alright, I'll see what I can do. I don't have any art programs other than MSPaint, anyway. Ha ha.
Separate names with a comma.