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.

Beginners > Appending gba files

#35281 - demitri - Wed Feb 02, 2005 3:24 pm

Hey everyone,
Kinda new at this, I'm actually not developing a game of any sort. It's rather a information program for a company that i'm working for. Well here's my problem. I've created the program and made the gba file. that's all good. However, I've also created an mpeg which i converted to a gba file (via an online free trial version converter). but now i'm trying to append the program file to the end of the mpeg gba file. any idea how to do this? or a better way to accomplish it?

Thanks,
Demitri

#35284 - ymalik - Wed Feb 02, 2005 4:44 pm

You can save the contents into some C structure in a .c, compile but not link the C structure, and then link the object file to the final ROM. Or you can save the contents of the file as a C structure and simply include the file within your program.