🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Art

posted in DruinkJournal
Published May 22, 2006
Advertisement
So, the project I'm working on at the moment has a 2D section to it. The background is drawn, then the player, then any "scenery objects" on top of that, to allow the player to go behind objects. These scenery objects just need cut out of the background TGA files, and can use either an alpha channel, or magenta. The editor program wil read these files, and auto place the scenery by matching the pixels.
The scenery object TGAs also need converted to BMP for the Nintendo convertor program, since it only accepts BMPs (and spits out a few DS-specific files).

Sounds simple, yes? No. First of all, the artist who's making the scenery objects was told to write the BMPs as 8-bit. That kinda makes sense, since we only have a budget of 16 colours per scenery object, so it'll be cut down anyway. The problem is, that he's saved the 8-bit BMPs, and no TGAs. So none of the scenery can be auto-placed by the editor. We tried hacking the editor to accept "near matches", but that caused a few false placings, and is a bit ugly.
Secondly, the few files that have been saved as TGA have been cut out of the background and blended slightly. Photoshop seems to have blurred things around the edge of the selection tool - again meaning they don't match up.
Thirdly, the artist doesn't have the tool program on his machine, so he can't check this. I intend to get him set up with it tomorrow (he's off today).

So, today consists of me going through about 70 images, and re-cutting them from the background, using MS Paint and Irfanview to convert TGA <-> BMP.
I installed GIMP, and tried using it, and failed miserably. I'm sure it's all very nice if I had the time or patience to learn how to use it, but I don't.

*sigh*

Oh well, back to work...
0 likes 2 comments

Comments

mrbastard
You might want to think about using python & PIL to do the conversion.

It's pretty simple to write a script that converts every file of a certain type in a directory - I did it in an hour or so with no real knowledge of python.
May 22, 2006 07:42 AM
Evil Steve
Converting each file takes under a second (Double click file, hit 'S', hit enter). Most of the time is spent with me editing the files (About 5 mins for each object, longer for more complex ones)
May 22, 2006 07:56 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement