We actually use simple compiler of text files to convert them to PDB....this
helps a lot during development as you can easily set up and modify any
database format using source file like

#creator BKS1
#type    0x00
#newrec
0x12,0x22            // Version, offset
"My name here"    // Level creator
0,0,0,0,0,0,0,0,0,0    // Level data
.
.
.
and so on.

I think the compiler is on our website www.beiks.com/download/genpdb.exe

Bobby

----- Original Message -----
From: DeAnna Davidson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 1999 12:35 PM
Subject: RE: text doc to pdb


> I don't know what utilities there are to do it, but I make my own .pdb
files
> from text files.  Basically, looking at the pdb file format, you have to
> create the header file and then store your text data as records.  If
you're
> just trying to make something that you can read on the palm, then you
> probably should look for one of those DOC converters or something.  If
> you're actually making a database you want to use with a program, you may
> have to actually create it.  I've seen a set of predone functions for
making
> pdb files, but, like said, I found it easier to just make my own.  The
steps
> are basically as follows:
>
> 1 - Create the header data.  It must have exactly the right number of
bytes
> in it or you      will end of with an invalid file.
>
> 2 - You will have to determine the size of each of the records, because
the
> records list requires you to input the size of each record you are going
to
> enter.  I believe the records list follows the header.
>
> 3 - Then you add the record data to the file and, assuming you didn't
write
> too many bytes anywhere or leave something major out, it should be fine.
>
> Key point:  You will need to do a little endian/big endian conversion on
the
> numbers assuming you have an Intel based processor.
>
> Outside of that, converting a text file to a pdb file is basically reading
> data from the text file and writing it in the right format to a file with
a
> .pdb extension.
>
> DeAnna Davidson
> Software Engineer
> iBrite
> -----Original Message-----
> From: Alagesh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 5:48 AM
> To: [EMAIL PROTECTED]
> Subject: text doc to pdb
>
>
> Hi ,
>
> Can any one pl. tell me how to convert  a text document to a PDB format
that
> a palm accepts.
> I went through the pdb file format but couldn't make out how to convert a
> text to a pdb file.
>
> TIA
> Alagesh < [EMAIL PROTECTED] >.
>
>
> --------------------------------------------------------------
> Robosoft Technologies, Mangalore, India
>
>
>

Reply via email to