gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Newbie PCX files on NDS

#89980 - nds_padawan - Tue Jun 27, 2006 7:22 pm

hi,

I am playing around with the devkitPro examples for the nds. The lesson 10 nehe example uses a pcx file, map.pcx. My Adobe photoshop won't read this file.

Was this file re-manipulated in anyway to make it a NDS-PCX file?

I want to implement my own textures and really mess around with this code.
What do I need a conversion utility?

Also, will this example run on the nds?

thanks.

#90035 - wintermute - Wed Jun 28, 2006 12:52 am

nds_padawan wrote:
hi,

I am playing around with the devkitPro examples for the nds. The lesson 10 nehe example uses a pcx file, map.pcx. My Adobe photoshop won't read this file.

Was this file re-manipulated in anyway to make it a NDS-PCX file?


You mean Mud.pcx

No, it wasn't manipulated in any way. It's a standard 256 color RLE compressed pcx. After a bit of experimentation it appears that Photoshop refuses to recognise pcx files with a dpi that isn't 72x72 - no idea why they would do something that odd.

Quote:

I want to implement my own textures and really mess around with this code.
What do I need a conversion utility?


You should be able to replace the image with any 256color 128x128 pcx file (indexed color in photoshop).

Quote:

Also, will this example run on the nds?


Yes
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog