![]() ![]() You need a good emulator as a reference and/or write your own emulator as a reference. ![]() Esp platforms like those from Nintendo where there isnt enough processing power to emulate in real time. Actually, both requirements are possible and you may be surprised how many of the handheld console games or set top box games are translated and not emulated. There may be some code out there I may have left some code out there.Ĭompletely removing the rom may be a bit more work than you think, but not using an emulator, definitely possible. Graham Toal has a good howto paper on the subject, should show up early in the hits. Yes, more than possible, been done many times. If the emulator is licensed under the GPL, you may not be legally allowed to store a proprietary file in the executable, so it would be worth checking that, especially before you release / distribute it (if you plan to do so). However, be careful for licensing issues. In this case it would probably be as simple as replacing the file load function with a function to return your pointer. It may require a little bit of work if you need to emulate file pointers and such, or you may be lucky and find that the rom loading function just loads the whole file in at once. Then, you will need to alter the source code so that instead of reading the rom in from a file, it uses the in memory version of the rom, stored in your variable and included from your header file. You may want to write a script to automate this for you. You can use a method that is often used to store images in c source files.īasically, what you need to do is create a char * variable in a header file, and store the contents of the rom file in that variable. ![]() It shouldn't be too difficult if you have the emulator source code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |