I am trying to figure out this same problem (trying to set up an explorer for an altcoin).
The problem is getting the raw transaction data for the genesis transaction from blk0001.dat. I can view the data in a hex editor, but I don't know how long the transaction is. It is not in a "standard" format since this coin has changed it.