Rockbox General > Rockbox General Discussion
Do we have the file format for the database files?
sadffffff:
Say someone wanted to open the files and read them outside of rockbox, is there documentation on that? Or am I stuck having to read through the entire database source?
psycho_maniac:
right click on the file and select "open" or "open with" then click "select the program from a list" and then select notepad. this is from a windows xp pro computer. is this what you were after?
Mad Cow:
I'm pretty sure that they aren't just plain text. I don't think there's any way to read them, plus why would you want to? You'll have to read through the source and write a program to read them I would think.
sadffffff:
--- Quote from: psycho_maniac on September 12, 2007, 11:38:57 PM ---right click on the file and select "open" or "open with" then click "select the program from a list" and then select notepad. this is from a windows xp pro computer. is this what you were after?
--- End quote ---
like madcow mentioned, they're not plain text, so opening them in this manner gives you a lot of, largely unreadable, garbage. thanks anyway though.
And madcow, writing a program to read them is exactly what I plan on doing. Well, its one part of what I'm planning anyways. I was hoping that the file format for these tcd files was documented somewhere. As in telling me what each of them (database_0.tcd through database_7.tcd and database_idx.tcd) does and how they are constructed internaly. As in byte offsets and fields and how they relate to one another. Otherwise, I'll have to either try to pick out what i need from the source or reverse engineer them.
Llorean:
I'm pretty sure the source is arranged in such away that you can get away with just porting the header and .c file that handle the database into your own program, instead of trying to reverse engineer the format.
Navigation
[0] Message Index
[#] Next page
Go to full version