how to read dbc format (specifically faction.dbc)

Hi. I’m new here. I’m trying to have fun with this emulator at home. this is my first post. (Note that the questions bellow concern wow 3.3.5 version of the trinity core)

I’m interested in reading the contents of dbc files (at the moment I’m interested in factions.dbc)

How exactly is the dbc file header? Do the records have fixed size? if so, how does it store strings? if not, how does it mark a record’s end. What is the size of fields marked as “BitMask”? I will probably have more questions soon, those are simply the most fundamental so I can start working. Thank you.

Nevermind, I figured it out. All working, thanks again for this cool emulator!