Page 1 of 1

Turning chunks into png's

Posted: Thu Aug 28, 2008 4:27 am
by Magic531
Hi everyone, quick question.

For almost all of the graphics that Exult Studio gets out of the .vga files, almost all of them within the program can be saved and turned into an external picture file. The only things that can't (from what I can see) are the prebuilt 'chunks'. Anyone know of a way to get these into seperate graphic files? Thanks!

[edit by Dominus: changed gumps to chunks in the subject]

Re: Turning gumps into png's

Posted: Thu Aug 28, 2008 5:20 am
by Madoc
I would also be interested in this information.

Re: Turning gumps into png's

Posted: Thu Aug 28, 2008 1:58 pm
by Malignant Manor
I'm pretty sure chunks are drawn from information about what individual shape numbers go where. You can't convert that to a png and have the same effect. Right now ES doesn't even differential patch chunks and saves everything into one output file.

You could set up a border around a chunk that is composed of all water or something easy to distinguish, run the game in windowed mode with x1 scaling, and take a screen shot.

Re: Turning gumps into png's

Posted: Thu Aug 28, 2008 2:14 pm
by marzo
I'm pretty sure chunks are drawn from information about what individual shape numbers go where.
You are correct.

Re: Turning chunks into png's

Posted: Wed Sep 03, 2008 3:06 am
by Magic531
Ah, I didn't even think about doing a print screen. I suppose that would work just as well wouldn't it ;) Thanks for the help! I'm attempting (just as a fun little project) to rebuild U7 from scratch just as a 'see if I can do it' sort of thing. So obviously you can imagine being able to use the chunks in my own graphics sub-system could save me a lot of time and work. I'm a programmer, not a designer, hehe.

Re: Turning chunks into png's

Posted: Mon Sep 08, 2008 1:54 am
by Darkstar
There's a command line option to dump the whole map into a (huge) png file. You could create a new map within exult studio, fill it with all the chunks (without adding anything else onto them) and then launch exult with the comman dline parameter to save the map as png.

-Darkstar