Author
|
Topic: adding inventory graphics dc6 where to insert
|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 14:16
where do i insert my dc6 inventory graphics and can i make my own code or do i got to replace exsisting graphics? thx

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 07 February 2002 16:08
Here's an example of an existing path already in the game:data\global\items\fkpskp.dc6 You would save you new inventory graphic to the same path...just change the filename. And in the misc.txt, armor.txt or weapons.txt file, you put the name of the file, MINUS the .dc6 extension. So, if I create a new inventory graphic file called hardwand.dc6, I would save it in the patch file to the path: data\global\items\hardwand.dc6 And in the inventory graphic file column in weapons.txt for my new item (or old item if I'm just changing the graphic for an existing item), I would put: hardwand Hope that clears it up for you.  ------------------ - 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.1 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 16:20
thx alot that should help gonna try it when i get the chance.

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 17:36
kinda confuesed about items do i gotta change the dc6 one or is there a txt version i edit and what do i do change in there?

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 07 February 2002 20:52
What are you changing? New items need to be defined in text files, but their graphics are stored in the dc6 files. The text files have columns for listing the graphics files (e.g. column invfile in misc.txt). Inventory and flippyfile dc6s go in data\global\items.

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 21:36
i made a assasian only mask and have found a phat mask pic that is in dc6. I would like to insert it but dunno how really trying to call it invmas but dunno what i am doing heh . I tried jbouley's path but get a failed atempt i am missing somthing my guess is the correct txt what txt do i use and how do i link the 2 together?

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 07 February 2002 21:55
Mask would be armor.txt...add file phatmask.dc6 to data\global\items, and phatmask WITHOUT the dc6 extension in column invfile in armor.txt.

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 22:25
thx alot does this replace the mask graphics i don't mean the one i want to replace but all of mask graphics?

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 07 February 2002 23:16
Man... not working for me here is what i did in my bat and txt installs let me know if they r right. (txt) O Patch_d2.mpq a armor.txt data\global\excel\armor.txt a armor.bin data\global\excel\armor.bin a data\global\items\mas1.dc6 C patch_d2.mpq(bat) @echo off cls echo This mod was made by Wyvern echo With this Diablo 2 will (insert text) pause copy patch_d2.mpq patch_d2.old mpq2k a patch_d2.mpq armor.txt data\global\excel\armor.txt mpq2k a patch_d2.mpq armor.bin data\global\excel\armor.bin mpq2k a patch_d2.mpq data\global\items\mas1.dc6 echo patching complete! mas1 is also in my armor.txt (under inventory graphics) my dc6 graphic i want to add is in my excel folder gonna try another path i am getting error in my bat installer says that graphic does not exist any know what i am doing wrong? [This message has been edited by Wyvern (edited 07 February 2002).] [This message has been edited by Wyvern (edited 08 February 2002).]

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 08 February 2002 22:16
Your batch file is not correct. You only need one line there: mpq2k s mpqload.txt and your script file mpqload.txt should have: O patch_d2.mpq a armor.txt data\global\excel\armor.txt a armor.bin data\global\excel\armor.bin a mas1.dc6 data\global\items\mas1.dc6 C patch_d2.mpq The batch file calls the script file, the script file has your filelist and loading instructions. As far as replacing inventory graphics, you won't change all masks with a new mask file UNLESS you name it the same as the existing mask file and load it that way in the mpq. [edited error in script file ] [This message has been edited by Myhrginoc (edited 09 February 2002).]

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 08 February 2002 22:24
think i was using another method for bat file but it worked too for everything but the mask.dc6 thing. i will try this other method better than typing all that crap in again and again for new stuff lol thx hope it works this time

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 08 February 2002 23:12
i get a fatal error saying that i have no mpq.txt that not working for me =( but my graphic should still be added using this other method

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 08 February 2002 23:41
its not adding the .dc6 right i am totaly lost this is what it keeps sayingFatal error: attempt to add nonexistant file data\global\items\maa.dc6 to archivepatching complete i changed name to maa thought it was to long or something but thats not the case ;(. WTF everything seems right. thx for trying to help me. This really sux seems to make sense what i am doing when its not working right.

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 09 February 2002 00:29
That is because I screwed up and one line in my script file is wrong.  The line should read: a mas1.dc6 data\global\items\mas1.dc6 Sorry about that...I'll edit my previous message before I lead somebody else astray.

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 09 February 2002 00:43
heheh np but is the method i use totaly different? i am pretty confused about this adding graphics i will try this bat file method i cannot get this one line thing to work it just says cannot find mpq when i load up the .bat . I am pretty sure the way i do it is the same thing just more typing. i tried putting the maa.dc6 infront it don't find the file. I think this directeory is wrong data/global/items otherwise i have no clue y i cannot do it this directory don't make sense to me(i must be wrong) where is data/global/items maa.dc6? it cannot exsist right? or is that what i am trying to make? damn sorry i am really lost is there another way to insert the graphic? thx for the help i dunno what the hell is messing me up  [This message has been edited by Wyvern (edited 09 February 2002).]

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 09 February 2002 00:52
Adding graphics is just like adding any other file to the mpq. The line would reada {filename} {mpq-path + filename} Your method wasn't different, just a couple of bugs in the samples. Also I didn't set my batch file to make backup copies or echo stuff, but that is just user style.

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 09 February 2002 01:12
ok that clears some stuff up we posted at same time i think lol every time i try to do your method i cannot run it right and it says stuff i didn't even put in there! lol batch sux gonna go check out the tuturial and see what it says about this batch method. has less bugs ya say?[This message has been edited by Wyvern (edited 09 February 2002).]

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 09 February 2002 01:26
doh there way don't work for me either i really am lost now! they put in mpq2k s install.txt this don't run for me wtf? now i am back to newbie start 1 *crymy d2 folder is not in c directory does that even matter? it doesn't find the install.txt file [This message has been edited by Wyvern (edited 09 February 2002).] [This message has been edited by Wyvern (edited 09 February 2002).]

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 09 February 2002 11:19
Certain files seem to need cross-compiling, from some of the threads I have read. So you might try making and packing bins for armor.txt, gems.txt, misc.txt, treasureclassex.txt and weapons.txt, whether you have edited all of these files or not.The only things you should need in the same directory would be the four mpq2k program files, a batch file to run the script, a script file to list all the mpq2k commands, a copy of patch_d2.mpq and the actual files you are inserting. If you have text files and haven't obtained your bin files, you would get lines saying "cannot find bin file" but that is no problem, you re-run the same script with the bins and it will insert them too. If that is not working, try getting another CLEAN Blizzard-issued patch_d2.mpq, and downloading mpq2k again (or reinstall from your downloaded file). You may have a corrupted file, so the more you can start from ground zero the more likely you will get it to work. You may find yourself re-entering all your mods into clean text files too...if so, be sure you use tools that respect the structure of the files (e.g. D2Excel, Darkstorm's Table Editor).

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 09 February 2002 11:38
ok i got tons of bin files in my folder i will try deleting them. still not working i tried using anothe persons mod to put it into cause i got no clean patch. Same problem is happening wtf? Either i am stupid or this cannot work for me ever[This message has been edited by Wyvern (edited 09 February 2002).]

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 09 February 2002 22:53
i got it now was saving install as install.txt earlyer.wyvern=2 legged spiked tail foolish dragon  [This message has been edited by Wyvern (edited 11 February 2002).]

|