Hacking The general VC rom injection thread (NES,GB/C/A etc.)

  • Thread starter Thread starter gamesquest1
  • Start date Start date
  • Views Views 206,047
  • Replies Replies 313
  • Likes Likes 19
he, tried card2patcher for my vc rom, but still my 3dslink 4.0b2 will see ther's something but can't load it (empty white icon/banner) when selected it says no gamecard found, while normaly it shows the game.
 
he, tried card2patcher for my vc rom, but still my 3dslink 4.0b2 will see ther's something but can't load it (empty white icon/banner) when selected it says no gamecard found, while normaly it shows the game.
these things dont work for 3DSlink/R4i/orange 3ds, they still haven't copied the homebrew ability from gateway yet

i will update OP i forgot about that
 
yeah it is covered in the nes VC injection bit, you need to extract a nes VC game that has a rom that has the same header as the NES rom you intend to inject, so for example SMB3 and bart vs the world have the same NES carts specs as seen in the list that is liked in the OP, so you extract the SMB3 VC rom, open the VC version of SMB3 nes rom in a hex editor and copy the top line over the top line of the normal bart vs the world rom


Oh, I need to extract from a NES-VC ROM then. There's any tool for that? Because I couldn't extract using the BOBMCJR method. :(
 
so basicly we'll need a tool that first id's the rom to inject and selects a base structure fit to this type of rom to inject it and re encrypt it into a 3ds rom. 'hope that's not going to be too complex for a coder... how can we id the base roms, all different types, and what tree would do to make one complete structure for all type o roms? i mean gb, gbc, gba, nes, gg/sms, snes, 3d (don't know what system that is, but also listed by vc)... i didn't even knew there were different nes carts?
 
use banner maker or just use Hex editer to edit the icon.bin
I opened the icon.bin in a Hex Editor and the title name is in it more than just one time. I changed the first one, but that didn't change anything. Do I have to chnage them all?
 
if you using banner maker you just need to edit the appdata.txt in the main folder of banner maker, then run the python script, then if you dont change the rsf file to have a new unique ID it will just keep loading the cached copy, so icon changes wont happen.....you NEED to edit the uniqueID in the rsf file

basically follow the guide in the first post, edit the png images, run the python script in each folder after you have edited the image, then go back to the main folder, edit the appdata.txt, then run the build script, once done you will be given banner.bnr and icon.icn, you can copy these into the exefs if you like, then remeber to change icon.bin to icon.icn, and banner.bin to banner.bnr in the makerom bat file(or you can just delete the old icon.bin and banner.bin and rename the new ones to *.bin

before you build open up the rsf.rsf file in notepad and change the UniqueID part to a different uniqueID......only then build the rom
 
i need someone that can code to contact me...me gamesquest1 and hundshamer have made a good marginal discovery on how to change the header to play probably 90% of nes games just need someone that can build something that checks the rom size and mapper and builds a header and applies it based on the information i give you
 
ok so me and alexenochs got the header layout figured out, so now you should be able to generate you custom header to play pretty much all nes games on the nes VC,
basically the format is
54 4E 45 53 XX YY ZZ SS 01 MM? 00 00 00 00 00 00
XX= Mapper type
YY= PRG
ZZ= CHR
SS = SRAM 00=no 01=yes (thanks to bobmcjr for that one)
MM= possibly mirroring....not sure though(doesn't seem to effect anything anyway)

mapper types we figured out so far are
00= none 01 = MMC1 03=MMC3 05=MMC5 06=UNROM
PRG and CHR are added in 8kb blocks, so 01=8kb, 10=128kb,20=256kb etc

so now you should be able to generate your own header to match the rom you want to inject meaning you aren't tied to only roms that have the same header as released NES VC games
you can check the detail of any given nes game here
http://tuxnes.sourceforge.net/nesmapper.txt

IMG_20140925_001315.jpg
 
ok so me and alexenochs got the header layout figured out, so now you should be able to generate you custom header to play pretty much all nes games on the nes VC,
basically the format is
54 4E 45 53 XX YY ZZ 00 01 MM? 00 00 00 00 00 00
XX= Mapper type
YY= PRG
ZZ= CHR
MM= possibly mirroring....not sure though

mapper types we figured out so far are
00= none 01 = MMC1 03=MMC3 05=MMC5 06=UNROM
PRG and CHR are added in 8kb blocks, so 01=8kb, 10=128kb,20=256kb etc

so now you should be able to generate your own header to match the rom you want to inject meaning you aren't tied to only roms that have the same header as released NES VC games

Nicely done. How can we figure out the mapper type for a specific rom and the value for PRG/CHR and MM? Would be great to have an example rom.
 
if you open up the nes rom in a hex editor its the first line in hex, it will sat NES at the top, after editing it will be TNES
 
ok so me and alexenochs got the header layout figured out, so now you should be able to generate you custom header to play pretty much all nes games on the nes VC,
basically the format is
54 4E 45 53 XX YY ZZ 00 01 MM? 00 00 00 00 00 00
XX= Mapper type
YY= PRG
ZZ= CHR
MM= possibly mirroring....not sure though

mapper types we figured out so far are
00= none 01 = MMC1 03=MMC3 05=MMC5 06=UNROM
PRG and CHR are added in 8kb blocks, so 01=8kb, 10=128kb,20=256kb etc

so now you should be able to generate your own header to match the rom you want to inject meaning you aren't tied to only roms that have the same header as released NES VC games
you can check the detail of any given nes game here
http://tuxnes.sourceforge.net/nesmapper.txt

Byte 0x07 is SRAM. The Legend of Zelda has it set to one, and Earthbound 0 wont get past the title screen unless this byte is 1. And I'm also not sure about mirroring. Zelda is supposed to be horizontal (for the US version, not the JP version, although they are using a different version that has the save warning), but changing the mirroring mode in Nestopia makes little difference.
Code:
54 4E 45 53 XX YY ZZ SS 01 MM? 00 00 00 00 00 00
XX= Mapper type
YY= PRG
ZZ= CHR
SS=SRAM
MM= possibly mirroring....not sure though

Now if you'll excuse me I'm off to fight a lamp (with wrong colors and missing menu text).
 
take it you hadnt found the MMC5 and UNROM headers.....(although it was just trial and error once we knew the mapper byte)
also are you sure about the mirroring, as zelda has horizontal and metroid has vertical and the only header difference is at 0x9 ....but then other games dont seem to follow that standard which is why its a bit weird
 

Site & Scene News

Popular threads in this forum