The Lurker Lounge Forums
Question in Diablo PC - Printable Version

+- The Lurker Lounge Forums (http://www.lurkerlounge.com/forums)
+-- Forum: Lurker Games (/forum-6.html)
+--- Forum: Diablo (/forum-15.html)
+--- Thread: Question in Diablo PC (/thread-16288.html)



Question in Diablo PC - Lothril - 02-02-2015 10:23 PM

Good Evening,

I would like to get into modding .. but I do not see how to change settings etc ... uh .. I Diablo PC .bin and Daemon Tools with a Virtual DVD to launch the bin file ..

.. But after I tried to Mpqeditor used to try to edit it to see the files etc ... but when I can I do not use since I can not edit the file given that it is assigned to a virtual drive ..: D

Have you any idea? So I can use the image diabdat.mpq without this read-only property comes bothered me and I can see the files and start trying to make a mod

Good evening to you


RE: Question in Diablo PC - Belix - 02-02-2015 10:54 PM

Greetings Lothril,

I'm going to throw a bunch of information and suggestions at you. Do with it what you will.

First off, while modding can be a lot of fun, I feel I should give you fair warning that Diablo is a very difficult game to mod relative to today's games. I don't mean to discourage you, I just want to give you some perspective here. Some modern games actually come with official tools for making changes to the game, and are specifically designed to support modifications. Diablo is not one of those games. Much of the game's data and rules are hardcoded into the executable. In the mpq you will find very little to mod besides the graphics, sounds, music and animations. In order to make more extensive changes to the game, you'll have to learn about hexadecimal so you can edit the exe code or game memory directly, and that will only enable you to modify very basic things like names, dialogue text, descriptions, and the numerical values of some properties like item values, monster health/armor, etc. To do much else you will have to get into programming and learn x86 ASM (x86 Assembly Language), one of the most complex and difficult languages one can learn and a headache to work directly with even for experienced programmers.

It's up to you to judge if you've chosen the right game based on what exactly you want to modify, but at least that information will help you assess your choice. If you're not deterred by the difficulty, or what you want to change doesn't touch areas that require you to get into more complex stuff, please read on.

Regarding diabdat.mpq, you don't have to write your changes to the diabdat.mpq file. Chances are you won't change most of the content in it no matter how extensive your mod is, so messing with it is an unnecessary hassle you can avoid. When you have patched Diablo to v1.09, you will notice a file named Patch_rt.mpq in the Diablo directory. This little guy is your friend. Carefully extract everything out of it (make sure you don't miss anything, you may want to use a modern MPQ Editor such as Ladik's, which seems capable of finding ALL the files in MPQs reliably), preserve the file path and names, and now you are ready to modify files used by the game.

Find files you want to change in the diabdat.mpq file, extract them, then put them in the same relative file path/name in your extracted Patch_rt.mpq folder contents. Later you can use an MPQ editor to build a new MPQ file out of the stuff you extracted from Patch_rt.mpq and anything else you added. This new file contains the original patch contents and your modified files. Diablo will automatically use versions of files in Patch_rt.mpq, ignoring its own in diabdat.mpq, so as long as you kept the paths and names correct, this approach is much easier, yielding a file starting at just over 1mb file to repack and distribute containing files for your mod, rather than the whopping 500mb main data file.


RE: Question in Diablo PC - Lothril - 02-05-2015 10:19 PM

Hi,

For your answer I learn about this famous 'file diablo.exe ' fiddling with the hex editor I came across interesting data such as text and other incomprehensible code the data, however, do not hacky aparaissent for others so additions or changes for the game that is done ..

As for stats of the articles and I 'm currently looking for a decompiler see how it handles the addition additions and life point enlevage can do other interesting thing but I'm afraid that by dint of add bytes the game crashes and I have to reinstall everything so for the moment it's simplistic texts hack and not big Smile

Thank you for your help and I will see everything with his decompile etc ... Smile
Good evening .


RE: Question in Diablo PC - Belix - 02-05-2015 10:38 PM

My apologies, my language skills are very limited outside of English, but I think I understood that you said thank you and that your edits are mostly simple text changes at this time. Good luck!


RE: Question in Diablo PC - Lothril - 02-05-2015 10:43 PM

Besides Belix if its interests you to come play Diablo with me and a friend? I raise the requests I play with my friend I am being more Smile