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.

Coding > file attachment problem + Processing

#21049 - tomer - Sat May 22, 2004 1:01 pm

Hi everyone!
I have finished writing a 3D engine for the GBA, and I am thinking
to expand it's features by making a BSP file renderer (BSP is the file
format used by quake 1, and it contains the level data).
The file format is in binary mode, and I need somehow to make a
function, that will read the BSP file and process it.
How the hell do I do that. The GBA isn't exactly reading extenal files,
so there must be a way to compile the BSP file into the project
and then process it as if it was a file....

Anyone who made a GBA project. that consisted of reading any file
data (i.e - Doom levels etc..).
Another thing - Please don't tell me to convert the file into some kind
of processed data (like raw files), since the BSP file contains much
complicated data structures - Binary Trees, linked lists.

any help is welcomed!

Cheers, Tomer!

#21050 - BeeWarloc - Sat May 22, 2004 1:36 pm

Haven't tested it myself, but I think GBFS might be what you're looking for..

http://www.pineight.com/gba/