DM Extract

Discuss anything about the original Dungeon Master on any of the original platforms (Amiga, Atari, etc.).
This forum may contain spoilers.

Moderator: Ameena

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

DM Extract

Post 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
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

They're in the graphs from 042 to 048.
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Post by PaulH »

Ah. So they are. Time to go to the opticians, methinks...
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

dm extract

Post 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?
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

hmmm

Post 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
Last edited by PaulH on Mon Dec 29, 2003 11:22 pm, edited 3 times in total.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post 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!
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post 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.
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Post by PaulH »

The extracted graphics are still corrupted! Just a load of lines and fuzz. Strange.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

Curious... I'll have a try myself with the CSBwin graphics and I'll tell you.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post 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.
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Post 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
Post Reply