the Phrozen Forums
  General Mod Making
  Could somebody help me, please? (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 3 pages long:   1  2  3 
next newest topic | next oldest topic
Author Topic:   Could somebody help me, please?
ThiagoMonteiroBarbosa
Knight

Posts: 75
From: Brazil
Registered: Nov 2001

posted 23 December 2001 14:26     Click Here to See the Profile for ThiagoMonteiroBarbosa   Click Here to Email ThiagoMonteiroBarbosa        Reply w/Quote   
*I hate my user name. how would i cnahge it?
*Everybody has a picture below their names, when make a topic or a reply. i wanna use a picture that i have on my HD. how do i do that?
*How do i use and copy a hex editor, to increase the chanves of getting set and unique on gambling? i dont care if its hard
*In wich files and should i work to insert a new enemi, without deleting a old one? I really dont care if its very hard.
*at last, how do i insert a gfx, and set it like a unique gfx for rings and other itens?

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 23 December 2001 14:38     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Too many hard questions don't you think. For the username, ask the admins, they might be able to do something...and for changing gambling percentages, that goes in the Expansion Code Editing Forum but I have made a tutorial for viewing.

How to change the gambling percentages:

First off, we will need the following tools to achieve this:
http://wielandbelka.hypermart.net/opera/tools/xvi32.htm
This is a hex editor that we will use to change the .dll code to what we want it to.

http://members.home.net/w32dasm/Demo/w32dsm87.zip
This is a disassembler which allows you to view the code as assembly language. It’s not required for this but still very useful for future projects.

I’m going to tell you how to change the gambling percentages. However, this is can be quite complicated stuff so I doubt most will understand this the first try. We are going to use hex editing and you might not understand it but just follow what I do, you don’t have to understand this process. First off, we will be using D2Game.dll which you should have in your Diablo 2 directory. We do not need any file extracting or reinserting into mpq files. First off, to open D2Game.dll, you will need XVI32 which is a hex editor. This can be found at this site: http://wielandbelka.hypermart.net/opera/tools/xvi32.htm

Now, to get a little background on what hex is, it is in bytes which is used to code the game. This usually looks something like ex. 00 76 0A 32. Each byte is grouped in pairs so one byte would be 00, another would be 76, etc. These are in a form of hexadecimals and you will need to first know what each pair stands for in regular numbers. Hex uses the numbers 0-9 and letters A-F.
Here is a short table:

Hex Representation:

Hex - Decimal(normal numbers)
01 - 1
02 - 2
03 - 3
04 - 4
05 - 5
06 - 6
07 - 7
08 - 8
09 - 9
0A - 10
0B - 11
0C - 12
0D - 13
0E - 14
0F - 15
10 - 16
etc. to FF - 255
Changing Hex to Dec:

Dec= Hex 1st digit*16+ Hex 2nd digit

Changing Dec to Hex:

Hex 1st digit= Dec/16
Hex 2nd digit= Dec R*16
Hex= 1st digit beside 2nd digit

Here is a little background. It would be a better idea if you found a hex to dec calculator and converter to make your life easier. Now, make a backup of D2Game.dll like you did for patch_d2.mpq and put it somewhere safe. Now, open up XVI32 and open up D2Game.dll. Now, you will see an extremely large amount of numbers that will probably make your head spin. Don’t worry, just follow along. For this example, we will change the gambling percentages so they are:

Magic - 90%
Rare - 9%
Set - 0.75%
Unique - 0.25%

Now, we know that the gambling percentages currently are

Magic - 90%
Rare - 9.989%
Set - 0.01%
Unique - 0.001%

These percentages need to be converted to decimal numbers so magic would be 90000 dec, rare would be 9989, set 10 dec and unique is 1 dec. For our new gambling percentages that we want to put in, they will be magic 90000 dec, rare 9000 dec, set 750 dec and unique 250 dec. These numbers now need to be changed from dec to hex numbers. You can use the formulas I gave you but I’ll do it for you:

Magic 90000 dec - 01 5F 90 hex
Rare 9000+90000 = 99000 dec - 01 82 B8 hex
Set 750+9000+90000 = 99750 dec - 01 85 A6 hex

A few things to note, there is no need to add in anything for the unique address because it does it automatically. See, the agic percentages are a value out of 100000 where 90% would be 90000. Then the rare percentages are added to the magic, so first, the rare(9% would be 9000) and the 9000 is added to the 90000 to make 99000. Then you find the hex for the summed value. Then for set, you find the dec for it(.75% is 750) which is added to the sum of magic and rare values so you get 90000+9000+750 which equals 99750. Then you find the hex for that. Als, it is important to remember that the .dlls use inverse hex values for dwords(dwords are basically byte values that are more than one byte like for example, 01 A6). So, all the values I stated need to be reversed so now the values are:

Magic - 90 5F 01 hex
Rare - B8 82 01 hex
Set - A6 85 01 hex

Okay, now that we have the numbers, we must put them in the D2Game.dll file. With XVI32, open up D2Game.dll and go to “address” which is located on the toolbar. Go to “go to.” Click on the hexadecimal option button and write in this address in the space provided: 883AE. Hopefully, this takes you to the address and the bottom left corner of the program, it says Adr. hex: 883AE.
Type this: 90 5F 01. Now, go back to“address” and go to “go to.” Type in the address 883B5. Hopefully, this takes your cursor to that address and you can check if the bottom left corner states that address. Type this: B8 82 01. Now, go to address 883C5 and type in A6 85 01. Save the file and you are done. There is no need to reinsert anything, your gambling percentages have been changed. Hopefully, when you run this game, it doesn’t crash, if it does, you wrote something wrong possibly in the wrong address and therefore altering something unrelated that crashed the game. You might not understand this but I thought you might like your gambling percentages to be changed. If you want your own gambling percentages, find out the hex for your numbers and type them in the hex addresses I provided.

Thanks to Thunder for actually telling me the gambling percentage address locations

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

gorothon
Honorary Warlord

Posts: 1318
From: usa loudon New Hampshire
Registered: Aug 2001

posted 23 December 2001 14:50     Click Here to See the Profile for gorothon   Click Here to Email gorothon        Reply w/Quote   
good old apoc did it again

------------------
That butch u see there got killed but he will live again HAHA

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 23 December 2001 14:59     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Was that the guide you posted at diabloii.net?

------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 23 December 2001 15:14     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Yes but the one I just posted is an updated one. The other one was kind of vague and less explanatory.

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

ThiagoMonteiroBarbosa
Knight

Posts: 75
From: Brazil
Registered: Nov 2001

posted 23 December 2001 17:56     Click Here to See the Profile for ThiagoMonteiroBarbosa   Click Here to Email ThiagoMonteiroBarbosa        Reply w/Quote   
Man, you saved my life! THANKS A LOT!!!
By the way, my picture can bee seen now?
And how about insert a gfx? for example, i wanna insert the plate mail from diablo 1 and set it as the unique art for unique plate mail. How do i do that?
other question: how do i insert an enemy without replacing an existing one? I dont care about how much its hard, im still young

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 23 December 2001 18:25     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
u must upload your picture to the WEB online, it is on your hd right now so you can do 2 things, find a free image host (no such out there any more) or do what i do and make your pc into a server (how ever if you have to pay per time you online i wont advice that to you)

------------------
Ňëƒąřİű§
Official Modding since v1.02!!!
ǾƒƒīçĺáĻ МơÞÞ¦ħĝ §¡Nčē Λŀθ2
------------------
XyRAXv21.00B Coming Soon!

NOTE: my User Image is NOT broken it is only online when i am

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 23 December 2001 19:01     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Actually, anyone here know how to make for example, a specific gfx for Dwarfstar, a specific gfx for Ravenfrost, etc. Because, it works for weapons and armor(just go the uniqueinv and setinv columns and type in the name of the graphic). However, how do you do this for rings and amulets to give you unique and set only graphics. Because, there isn't such a column in misc.txt that I have seen...and even so, there are multiple rings and amulets and I don't want all of them to have the same uniqueinv graphic...

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 24 December 2001 03:49     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
clone the ring and change the codes in uniqueitems.txt, then open itemtypes and change the varinv column to 0

------------------
Ňëƒąřİű§
Official Modding since v1.02!!!
ǾƒƒīçĺáĻ МơÞÞ¦ħĝ §¡Nčē Λŀθ2
------------------
XyRAXv21.00B Coming Soon!

NOTE: my User Image is NOT broken it is only online when i am

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 24 December 2001 08:43     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
I see, thanks alot. I'll try that later.

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

ThiagoMonteiroBarbosa
Knight

Posts: 75
From: Brazil
Registered: Nov 2001

posted 25 December 2001 10:36     Click Here to See the Profile for ThiagoMonteiroBarbosa   Click Here to Email ThiagoMonteiroBarbosa        Reply w/Quote   
I thanks man. But my first question is how i insert the bmp of the unique item in the mpq file. I will be more especific:
*can i insert bmp or it must be another format?
*In wich mpq file should i insert and how?
*Do i need to edit tabblestring? How do i get this file, if it does not appear at mpqview?
*how i set it for the item?
Thats another question: when i equip a gothic shield, the character looks like holding a kite shield. How can I create a gothic shield 3D image, for being weared by the char?
And how do i need to insert a new monter without replacing an existing one? I dont care if i spend an entire month for this.
Thanks and Merry Cristhmas!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 25 December 2001 11:05     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
"*can i insert bmp or it must be another format?"

You need to convert the bmp to .dc6 file. Use dc6con or dc6maker.

"*In wich mpq file should i insert and how?"

Doesn't matter, just reinsert it into patch_d2.mpq like all the other files. Here's an example of a path to right:

A invugrd.dc6 data\global\items\invugrd.dc6

"*Do i need to edit tabblestring? How do i get this file, if it does not appear at mpqview?"

You do not need the tbl files for this.

"*how i set it for the item?"

Go to weapons.txt, armor.txt or misc.txt(depending on what the item is). Then, there should be a column called invfile. Then, go to the base item type row of your unique or set item. Now, in the invfile column, type the name of your graphic. I suggest changing the name of the .dc6 image to something like invxxx(put in some letters or numbers for the x's. Make sure there isn't an already existing graphic file in the mpq with the same name). Then, type the exact name of the inventory graphic in the invfile column.

"Thats another question: when i equip a gothic shield, the character looks like holding a kite shield. How can I create a gothic shield 3D image, for being weared by the char?"

I strongly recommend you do not try to do this as it is WAY to time consuming and will drive you nuts. You will need to create that image for EVERY single angle of your character and then for all characters as well which is too time consuming.

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 25 December 2001 11:17     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
you cant add any new monster without replacing a old one, it is to much work which will probably involve even changes to game.exe, which would be illegal, another thing i dont understand is WHY DONT YOU WANT TO REPLACE the unused monsters like the gorgons they ahve no function, there are others like the elemental demons and lots of others.

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

IP Logged

ThiagoMonteiroBarbosa
Knight

Posts: 75
From: Brazil
Registered: Nov 2001

posted 26 December 2001 11:25     Click Here to See the Profile for ThiagoMonteiroBarbosa   Click Here to Email ThiagoMonteiroBarbosa        Reply w/Quote   
Apocalypse demon, you're the man. Thanks a lot! But nephariux: gorgon, elemental demons... what are you talking about? ive never seen any of them. Why dont i like to replace monsters? Its simple: im learning mod just to fix some errors that blizzard dont wanna fix, and emailed them a lot. I think that, for example, i replace a zombie by izual spoils the game's soul, its liking putting sugar on meat. I dont think its fun : ) But if you say that are monsters that are not being used and cannot be turned on, so i agree in replacing them!
By the way, how do i increase gamble costs and set new ring and amulets arts for normal rings? I saw a screenshot of a patch, i dont remember the author, where he had many diferent rings and white little bear on stash. Anybody knows the use for that bear?

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 26 December 2001 11:36     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
is it so hard to look at the name of some one before you reply? my name is NEFARIUS not
quote:
nephariux
and not Nefarious like some ppl also refered to it it has nothing to do with the english word nefarious it means "ancient evil" in a combination of ancient latin and some other old languages.

you didnt see them becouse they are UNUSED as i said the game never spawns them since they have incomplete graphics so if you dont want to replace the monster that the game contains right now you have like 50 unused monsters that the game dosent use any way.

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

Gaze into the Oblivion of yourself and you shall become your greatest fears.

[This message has been edited by NefariusDX (edited 26 December 2001).]

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 26 December 2001 11:41     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Hey, the long named guy Check out the tokens GO, FI, FM, IM, M4 and some others for really cool unused monsters. Now Nefarius, is there anyone that is actually willing to "create" the remaining animations for the Gorgons? I know it's a hard job but all you need to do is create about hundreds of gifs and reorder them...

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 26 December 2001 12:08     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
i dun think so, its more then doing this I COULD replace the snakes from act2 with gorgons but id use their walking animation as a attack (make them spin really fast or somthing ), or change their AI to range only attacks else it MUCH with a very big M more then just creating "hunderds of gifs" you will need to create a NEW 3d render for them in a 3d prog, then make a animation out of that and then save the animations for every one of the eight angels d2 uses, for some one to do this alone, it will prolly take 5 months unless he knows aHoA about 3d progs then maybe it will take him 1 month. so this is actually a job for some one that has no life (even i do like modding making stuff like this just takes to much time) how ever i can make a "pseudo" gorgon just it will look pretty Fücked up.

(aHoA = a hell of alot)

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

Gaze into the Oblivion of yourself and you shall become your greatest fears.

[This message has been edited by NefariusDX (edited 26 December 2001).]

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 26 December 2001 12:47     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Btw Nefarius, does my gambling hex editing tutorial seem correct(it works for many people including me) because I've volunteered to upload it to jbouley to phrozenkeep. Is there anything in that hex editing tutorial that is unclear or incorrect?

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 26 December 2001 12:49     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
not to my knowledge i changed the gamble% back on v1.04 once but never made it public (who wants a .dll that makes you game 99% rares it seam correct, didnt try myself thought

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:

Gaze into the Oblivion within yourself and you shall become your greatest fears.

the escence of leeching is to request before you try


IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 26 December 2001 13:51     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I'll get the tutorial up as soon as I have a chance...probably in the next few days.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.0 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

ThiagoMonteiroBarbosa
Knight

Posts: 75
From: Brazil
Registered: Nov 2001

posted 26 December 2001 15:06     Click Here to See the Profile for ThiagoMonteiroBarbosa   Click Here to Email ThiagoMonteiroBarbosa        Reply w/Quote   
sorry nefarius, take it easy, im human : )
Ive read that now there are a lot of plugins with diablo 1 monsters, but some of them are set for replacing existing monters, like the mosquitoes. How i set them for these unused monsters?
Hey, Jbouley, now that you appeared, see my first question: how do i change my user name? I dont wanna be called gauy with long name again...
Ah! thanks!

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 26 December 2001 15:12     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
the only way to do this i guess is to make a new account. if there would be another way id use my name and not attach DX to it.

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:

Gaze into the Oblivion within yourself and you shall become your greatest fears.

the escence of leeching is to request before you try


IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 26 December 2001 15:23     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I don't deal with the technical side of the forums...iowan does...but I'm not sure that even e-mailing him will help. You can go to the home page and click on the staff biographies link...his e-mail address should be in there...but he might tell you just what Nefarius did. Still, it's worth a shot.

If you do have to re-register, just tell iowan how many posts you had so he can move that info over to your new account name.

Good luck!

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.0 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 26 December 2001 17:56     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
there is one MAJOR problem with re registering, it will say that your email adress is in use by some one else so you will have to open a new email account as well

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:

Gaze into the Oblivion within yourself and you shall become your greatest fears.

the escence of leeching is to request before you try


IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 26 December 2001 23:58     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Ok...definitely e-mail iowan then...

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.0 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged


This topic is 3 pages long:   1  2  3 

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c