You're right. I spoke too soon. But that's because I always begin
from scratch with anything I do :)
Same here. Most of the time it's more time consuming to integrate new stuff into already finished code anyhow. However, having some 'working reference' isn't bad at all.
koekebakker wrote:
You all are know how to deal with graphics/tiles so I have
some questions before I make time consuming mistakes.
* Are there pallete limits
I keep sokoban within 1024 colours so
that should'nt be any problem... I suppose
There are 8bit (256 colors) and 4bit (16 colors) paletted texture formats, and I think the 8bit format should be enough for the tiles texture (there's also 16bit and 32bit palette formats supported, however, they're not as useable as wanted because there's still always only 256 active entries). If not I'd rather stick to 16bit textures than decreasing the number of colors though. It's not that the texture we need would be too big with 16bits. For display format I'd also stick to 16bit, unless we're going to do a lot of blending effects anywhere
*Is there a video memory limit?
(I did something on GBA, but that was a
terrible machine to deal with videomem)
The video memory of the PSP is 2MB in size, so including a framebuffer and a backbuffer consisting of 512*272*2 bytes each, there'd be about 1,5MB left for the graphics, which should be more than enough for this game. Even if it wouldn't - the PSP is designed for heavy use of texture uploads from system ram without big performance drop.
* Is it possible to use MP3's (or other compressed
wav formats) for music.
I hope I dont have to go 10 years back to
create .MOD files again.
The PSP has an inbuilt MP3 decoder, however, it isn't available for games due to licenses and also still there's no info available on how to use the inbuilt Media Engine codecs anyhow. So we'd need to adopt a freeware mp3 playling library and integrate it into the game. Most likely there's someone with more knowledge out there that can give more information on how easy that would be.
*Is there a documented site/file about memory,
screenmodes and ther technical info about the PSP?
I have searched allready but did'nt find anything
good.
Well, I found one document a guy pulled together here on the forums once. He called it "Yet Another PSP Documentation" I think and up to then it was quite complete of the informations that were known about the PSP (use search function or just ask me and I'll send you the document).
Then there's also the
PS2Dev wiki with technical information on the PSP hardware and also the header files/documentation for the GU in the SDK.
For a brief overview however it's enough to say, that the PSP supports following screenmodes: 4bit paletted, 8bit paletted, 16bit BGR/BGRA and 32bit BGR/BGRA. The PSP contains 32MB of system ram of which 24MB are available for the user, and 2MB of VRAM as I said above.