Page 1 of 1

DM Extract

Posted: Tue Dec 23, 2003 5:26 pm
by PaulH
For some bizzare reason, the programme now works fine and I can decompile/compile at will and alter the graphics without error. But some of the graphics seem to be 'missing', ie the ones of items as they would appear in your hand/back pack and not the generic item graphics. Where are they?
Also, can I export these new creations to RTC by using the import bitmap option?

Thanks

Paul

Posted: Tue Dec 23, 2003 6:55 pm
by Zyx
They're in the graphs from 042 to 048.

Posted: Tue Dec 23, 2003 7:21 pm
by PaulH
Ah. So they are. Time to go to the opticians, methinks...

dm extract

Posted: Mon Dec 29, 2003 4:55 pm
by PaulH
My brain is hurting from trying to 'clean up' my DM folders so I apolgize if this sounds like a dumb question. I have changed many of the graphics in the original DM graphics.dat, but how do i convert it to get it to work in CSBWin?

hmmm

Posted: Mon Dec 29, 2003 8:26 pm
by PaulH
Yet another question. Right: I have CSBEdit 1.0 in my possession and have viewed the sample .gil files and can clearly see how to change the stats of items etc. However, when I use DMExtract to extract graphics from CSBWin graphics.dat, the DMout file is not a .gil and will not work with CSBEdit. When I extract graphics from original DM, the .gil is present and DMExtract compiles normally. Something to do with the difference between Amiga and Atari files I guess.

So... what I want to do is edit CSBWin graphics.dat for both the actual graphics AND the stats. As I can do this with the original DM graphics.dat file, the simplest way may be as I mentioned above, to convert my edited graphics.dat to CSBWin format.

Addition: DMextract 101 extracts with an ouputed gil file but the graphics are corrupt. DMextract 99 extracts with no gil file (DMout is a dat) and the graphics are fine

Add2: CSBEdit will not work on an original DM file due to it being amiga based

Posted: Mon Dec 29, 2003 8:42 pm
by beowuuf
zyx is the one that's managed to produce a csb4win compliant graphics.dat, so i guess he is the person to talk to!

Posted: Thu Jan 01, 2004 11:47 pm
by Zyx
Use version 1.01

Use this to extract the graphics into a folder:
"dmextract -x Graphics.dat -d Graphicsfolder"

Use this to create an graphics.dat from the dmout files:
"dmextract -c graphics.dat -d graphicsfolder"
You may need to add the "-i 4" option, which I use for the CSB graphics.
You may try other values or none for DM. I think the number ranges from 0 to 4.

Posted: Fri Jan 02, 2004 4:18 pm
by PaulH
The extracted graphics are still corrupted! Just a load of lines and fuzz. Strange.

Posted: Fri Jan 02, 2004 4:31 pm
by Zyx
Curious... I'll have a try myself with the CSBwin graphics and I'll tell you.

Posted: Fri Jan 02, 2004 4:59 pm
by Zyx
I created a batch file with this line:
dmextract -x Graphics.dat -d GraphicsFolder -i 4

And it worked perfectly with the CSBwin graphics.dat.

Posted: Fri Jan 02, 2004 6:30 pm
by PaulH
Yeah! I got it to work at last, and CSBEdit reads the .gil so I can now do exactly what I want. It was the IMG4 code (which I forgot to add on the command line, oops...) that made the difference.

Thankyou very much