beko Oct 01, 2008 12:02 am
Subject: Re: max file formats

a friendly piece of advice: don't jump from task to task. That way you'll never get anything done. Focus on one job, keep it simple and stupid and get it done.

Eiko Oct 01, 2008 1:03 am
Subject: Re: max file formats

shaktazuki: you can have a look at this file from the resinstaller:
http://maxthegame.dyndns.org:8080/...er/pcx.cpp

there are functions to read and write sdl surfaces from/to pcx files.

shaktazuki Oct 01, 2008 5:58 am
Subject: Re: max file formats

Quote by beko:
a friendly piece of advice: don't jump from task to task. That way you'll never get anything done. Focus on one job, keep it simple and stupid and get it done.

Quote by Eiko:
shaktazuki: you can have a look at this file from the resinstaller:
http://maxthegame.dyndns.org:8080/...er/pcx.cpp

there are functions to read and write sdl surfaces from/to pcx files.

See, this is why I get so far behind Wink To use Eiko's approach, I need to also learn how to use SDL surfaces, which means I need to practice that too, and to use Beko's approach, I shouldn't use SDL surfaces! What am I supposed to do? Wink

Eiko - thanks for bringing that part of the reinstaller to my attention. By the way, are you guys going to make that reinstaller patch I submitted part of the official code?

beko Oct 01, 2008 8:49 am
Subject: Re: max file formats

nope, you got me wrong.

Eiko Oct 01, 2008 10:02 am
Subject: Re: max file formats

which patch are you talking about? The one for the wave file extension is already in the code. Wink

shaktazuki Oct 01, 2008 4:53 pm
Subject: Re: max file formats

Quote by beko:
nope, you got me wrong.

I'm joking. Sorry! Surprised

Eiko, Tortoise SVN says the working base lacks the code for the SPW files...

Eiko Oct 01, 2008 6:13 pm
Subject: Re: max file formats

make a revert and then update. Then you should have the newest code.

shaktazuki Oct 02, 2008 2:25 am
Subject: Re: max file formats

Eiko - with respect to the PCX, maybe you can help me - suppose I am using the basic 16 - color EGA palette with 4 color planes, and I want to encode a scanline that is entirely blue to a file. What form would the scanline data have?

Weird about the reinstaller...

Eiko Oct 03, 2008 11:30 pm
Subject: Re: max file formats

hm, sorry, i don't know how the pcx file looks like, when using a 16 color table.
But, why do want to use a 16 color palette? This is a quite uncommon format for a graphic file. I would suggest using a 8 bpp pcx file.

shaktazuki Oct 04, 2008 2:33 am
Subject: Re: max file formats

Just for simplicity; technically, I only need 4 colors. I'm trying to represent a resource distribution for MAX using PCX for ease of visual inspection. I've decided to go with 16 color bitmaps instead (since they're fully documented, where PCX seems not to be).