Hi all.

I've just been given the task of porting a multimedia program from a certain
other popular handheld over to PalmOS (3.1 and up). I've got a good take on
how to do most of it, including putting all the artwork it uses into
resources etc.

One thing that is going to be a lot harder to deal with though is some other
external files that need to be loaded and unloaded during the running of the
program.

It will be a major pita to start including blocks of binary into my program,
so is there anyway of faking up a filing system ? It seems to me that I
could write a little compiler that put the entire directory structure into a
single block/file, and saved out another includable file with the original
filenames matching some sort of data-offset within this block. This could
then be included with the exe somehow, maybe even using a bincopy to append
it right on the end of the .prc

Question is, how do I load this into my program ?  resource ? library file ?
etc, and then how do I reference it later when I come to write my 'fake'
fileopen()/close() routines. I can't believe this is the first time someone
wanted to do this - is there a definitive work ?

I'm a programmer of sensible talent so complex answers are ok, but please
bear in mind that I'm a bit of a newbie when it comes to both PalmOS AND
CodeWarrior.

I read somewhere that a proper filing system may exist on later devices, but
this is a no-no for me :(

Many thanks in advance...

PS. Is there a better place to ask ? Maybe some game programming hang out or
hackers paradise on the net somewhere ?

Paul Johnson
Applewood House Development
www.applewoodhouse.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to