It'd be nice if the homebrew readers had the kind of polish that this commercial rom does. It also supports images which is nice.
Anyways, I decided to take a look at the files to see how difficult it'd be to write a book importer.
The books themselves are located in ./data/eile
Here is the format:
byte 8bits, short 16bits, long 32bits
The bulk of the book is in the .BD files. They are plaintext and use a markup language similar to HTML. Like so:
I don't think it'd be all that hard to write a converter. I still need to see if the wifi books are stored the same way though.
Anyways, I decided to take a look at the files to see how difficult it'd be to write a book importer.
The books themselves are located in ./data/eile
Here is the format:
byte 8bits, short 16bits, long 32bits
Code:
typedef struct {
// Header for the file
ubyte Unknown[16];
ulong FileTypes; //Maybe??
ulong FileOffsets[28]; //to Compressed NARCs
ulong FileSizes[28];// size of compressed NARCs
} BookRecord;
The bulk of the book is in the .BD files. They are plaintext and use a markup language similar to HTML. Like so:
Code:
Alice's Adventures in Wonderland
Lewis Carroll
You can't think how glad I am to see you again, you dear old thing!
but there were three gardeners at it,
with a great crowd assembled about themall sorts of little birds and beasts,
I don't think it'd be all that hard to write a converter. I still need to see if the wifi books are stored the same way though.