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

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
This thread is now pretty much not needed, there is much easier, simpler tools for making Virtual console injections, please follow these links for the relevant threads
NES
https://gbatemp.net/threads/release-ultimate-nes-vc-injector-for-3ds.437415/
GBA
https://gbatemp.net/threads/release-ultimate-gba-vc-injector-for-3ds.438057/
SNES
https://gbatemp.net/threads/release-ultimate-snes-vc-injector-for-3ds.453891/
GAMEBOY/GAMEBOY COLOUR
https://gbatemp.net/threads/release-ultimate-gbc-vc-injector-for-3ds.434172/
T16-PCE
https://gbatemp.net/threads/release-ultimate-t16-pce-vc-injector-for-3ds.438078/
GAME GEAR
https://gbatemp.net/threads/release-ultimate-gg-game-gear-vc-injector-for-3ds.437226/
MEGA DRIVE (emulator forwarder)
https://gbatemp.net/threads/release-ultimate-gen-md-forwarder-maker-for-3ds.454972/

Good luck and enjoy


[original thread contents]
sorry for posting a new thread i already think this matter has way too many as it is.....yet for some reason they all focused on gameboy (probably because its the easiest, and works the best though).

so i thought i would condense all the info spread about the 3 threads or so into 1 thread, lets clear up a few things first, the VC system is a sort of multi purpose emulator, the one system works as a gameboy,nes and crappy gba emulator, the output depends on what rom you drop into it, so you could decrypt a GBC VC title and then put nes roms in it and it will be the nes VC emulator....put a GBA
rom in and it does GBA

Decryption Methods
Retail encrypted VC games
1 drag your .3ds rom onto "crtkeygen.exe" this will create a file called ncchinfo.bin in the same folder as your rom

2. copy the XORpad generator (launcher.dat) from the "For the 3DS SD card" folder in this download to the 3DS's SD card
and the ncchinfo.bin that was generated in step 1, then pop the SD back in the 3DS and go to DS profile, this will generate the
Xor pads used to decrypt the game.(this step can be a little buggy if it stays on "opening ncchinfo.bin" for more than a few seconds
reset the console and repeat untill it kicks into action)

3. copy your ROM and XOR pads here, leave out any CTR-P-CTAP.romfs*.xorpad files they are un-needed and may cause issues you just need
the 3 Xor pads for the game exefs,romfs and exh


4. run unpackv2.bat, enter your roms filename (may help if you rename it to something easy like rom.3ds)
go into the "decrypted" folder then "romfs",
make your edits,

5. Go back to the main directory and run makerom.bat

6. If all goes well and you will be given romedited.3ds in the main folder.


thanks to ground for the neat and tidy decryption script,and everyone involved in making the tools
http://filetrip.net/dl?klFzuXHgmF
Using the bbb pokemon zero key encrypted roms as a base
DOWNLOAD BOBMCJR VERSION
(FIXED)
1.- Get Pokemon Crystal 3ds VC game
2.- Move the pokemon 3DS VC game to the prepare.bat
3.- Move the GBC/NES game to create3ds.bat or createcia.bat
4.- Fill out the prompts
5.- Wait and it's done!!
DOWNLOAD
https://gbatemp.net/attachments/vcpkg-zip.14975/
this is just the method copied from here
http://gbatemp.net/threads/gbc-vc-generator.371819/
Note that GBA and FDS roms will not work with the BBB Pokemon base, and someone makes an updated tnes.exe, AxROM NES ROMs will not be automatically converted.

Popular Mods that will work on all different systems
Full screen
mod, so depending on the rom you intend to run in full screen, make this adjustment in the config.ini file found in the RomFS of your decrypted rom, find the header for the system you are wanting to full screen i.e [NES][GBC] [AGB]
once at the correct header the options underneath let you toggle various features so for example setting the "Width" to 400 on all systems will make the game play in fullscreen
IMG_20140910_182916.jpg
Get rid of the delays in bringing up the VC menu and saving
again in the config.ini file found in RomFS, if you go to the bottom of the ini you will see options to change the [MENU] settings, here if you change all the delays to 0, the VC system will be much more responsive instead of having delays between trying to enter the VC menu

Adding games for various systems
GB/C
simply get a .gb or .gbc rom rename it to follow the naming structure that the VC uses, you don't need to stick to the built in name like Dmgazlp2.f11, you can go for something more recognizable like POKEMONY.F11 (not sure what the limits of the file name are so try to stick to similar to the original setup)

also for GBC its best to make sure you only have a 1 rom inserted or it may cause issues, so don't for example leave the original rom in there too when rebuilding

GBA
Ignore this section and visit this page
https://gbatemp.net/threads/release-agb_firm-signature-patcher-gba-rom-converter.390313/

another simple one, remove the old roms and copy a GBA rom into the rom folder, the name to match a similar set up to the old filename (but not exactly the same) and leave the extension as .gba so for example you could have AdvanceW.gba

worth noting the GBA emulation is very poor, very slow and only works on smaller roms i think after about 4MB it will just crash the 3DS
IMG_20140922_013419.jpg

NES
this one is actually the biggest pain in the butt, basically nintendo doesn't use the normal public method of headers for NES roms (suppose its to be expected),

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

so check here for the details of any given game and edit the header appropriately
http://tuxnes.sourceforge.net/nesmapper.txt
nexex1.png


As a bonus feature that only seems to work with nes roms you can actually insert more than one rom in the "rom" folder, and when you start it up you will be able to select the game you want......it will really help giving the games recognizable file names this time, and it seems the only way to get back to the menu is to exit and reload the rom..........but it works
IMG_20140921_001103.jpg

Making your own banners and icons
fist you will need to get python and Pillow to use these tools, install both of them and then download
3DSBannerMaker

edit you pictures, running the python script(icon.py,banner.py respectively) in each folder after editing, then once all your icons/banners are edited go back to the main folder, edit the AppData.txt to change the name etc and then run _buildscript.py (using the build.bat would require setting up environment variables which i cba explaining atm, running the .py file will work fine anyway)

one thing to note is that you will need to edit the RSF file for each game or you will end up having cached icons ruining your work, to make sure your custom icons show up between each game, be sure to edit "UniqueId : 0x123456" (in the rsf file)for each custom rom injection you make to avoid icon conflicts

copy the icon.icn and banner.bnr that are outputted into the /decrypted/exefs folder of your VC build, delete/rename the existing banner.bin and icon.bin and rename the banner.bnr and icon.icn to *.bin, and dont forget to make the adjustment to the rsf.rsf file to give each game a unique ID or they will just keep loading the old games icon and name in the menu
IMG_20140922_215110.jpg


and i think that's it, if i have missed anything out let me know, and inb4, what about gamegear/master system, it appears the roms are compressed for them, so unless a way to compress roms using the same method is found, you cant do GG/SMS

have fun everyone

PLEASE NOTE: these custom VC games will not work on R4i DE,3DSlink or orange3ds, as they dont have "homebrew" loading capabilities yet
 
Last edited by gamesquest1,

Huntereb

Well-Known Member
Member
Joined
Sep 1, 2013
Messages
3,234
Trophies
0
Website
lewd.pics
XP
2,446
Country
United States
Thanks for this, covers everything I can see as being useful for this topic.

I wish we had SNES VC games, I want to continue my Earthbound adventure from my phone.
 

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,296
Country
Puerto Rico
If anyone with a 3DS capture card manages to inject GBA roms, I'd really like to see how the upscaling is done and could really use a raw screenshot of it. Mainly I want to know if the quality of the filtering is the same as official GBA VC.
 
  • Like
Reactions: Margen67

Dean_

Well-Known Member
Member
Joined
Sep 11, 2014
Messages
684
Trophies
0
XP
712
Country
I'm surprised that a VC can run roms of various platforms.
I hope gateway team manages to get GBA VC to be run :D
 

AceyBwoi

Well-Known Member
Member
Joined
Feb 9, 2014
Messages
138
Trophies
1
Location
Bedroom
XP
1,582
Country
hey what up peeps?,

just wanted to drop by and say awesome work gamequest,
i was also just wondering i came across this multi-snes collection 3ds rom
called Namco - J Legend Retsuden.. it seems to have a compilation of nes and snes roms
would it be possible to rip this rom and inject some snes maybe if it has similar structure to the vc romfs?
it also includes a bottom screen scalier although it is in Japanese.. just a heads up maybe we can have a look into it?
image_thumb100.png

games included

image12.png

bottom screen with scalier

it also has 3d on some games maybe blargsnes could borrow some code from this 3ds game??
 
  • Like
Reactions: Kvnrdrguez

VMM

Hamon > Stand
Member
Joined
Jul 1, 2010
Messages
3,132
Trophies
2
Age
33
XP
2,243
Country
Brazil
This is really interesting.
Too bad I don't have a 4.5 3DS.
I really wanted to take a look in the GBA VC.
I have an ambassador 3DS, and at least for those titles, it seems to work properly.
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
hey what up peeps?,

just wanted to drop by and say awesome work gamequest,
i was also just wondering i came across this multi-snes collection 3ds rom
called Namco - J Legend Retsuden.. it seems to have a compilation of nes and snes roms
would it be possible to rip this rom and inject some snes maybe if it has similar structure to the vc romfs?
it also includes a bottom screen scalier although it is in Japanese.. just a heads up maybe we can have a look into it?

games include
bottom screen with scalier

it also has 3d on some games maybe blargsnes could borrow some code from this 3ds game??
i had a lil look at that game, but couldnt see where the roms where most of the files seemed to be "DARC" archives which open with 3dsexplorer.....but i couldnt see any roms really....unless i overlooked them

This is really interesting.
Too bad I don't have a 4.5 3DS.
I really wanted to take a look in the GBA VC.
I have an ambassador 3DS, and at least for those titles, it seems to work properly.

yeah this emulator is not the one the ambassador games use, apparently it was a sort of "beta" gba emulator that they dropped in favor of running the gba games on AGB_FIRM
 

AceyBwoi

Well-Known Member
Member
Joined
Feb 9, 2014
Messages
138
Trophies
1
Location
Bedroom
XP
1,582
Country
damn.. hmm maybe they are hidden somewhere i mean
like it uses some sort of browser to load roms they have to be somewhere
unless enabling the 3d code makes them in a different format and hidden from the naked eye lol...
 

IronClouds

GBAtemp's Pokébro
Member
Joined
May 8, 2010
Messages
1,019
Trophies
0
XP
625
Country
United States
So.. the Virtual Console is the 3DS' built-in emulator for running Virtual Console games obtained from the eShop, yes? And if that's correct, then what this thread is about is information on how to use the available tools to inject any ROM into the VC to be able to play them instead of being limited to using the VC to play purchased eShop VC games, right?
 

SunnyDelacote

Well-Known Member
Member
Joined
Dec 6, 2012
Messages
103
Trophies
0
Age
28
XP
101
Country
Cote d'Ivoire
I'm surprised that a VC can run roms of various platforms.
I hope gateway team manages to get GBA VC to be run :D
wait so gba games are yet to be compatible? and also.. can someone care to share a video? is more easy for the people who doesnt speak english..
 

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,296
Country
Puerto Rico
yeah this emulator is not the one the ambassador games use, apparently it was a sort of "beta" gba emulator that they dropped in favor of running the gba games on AGB_FIRM
Does it work like a normal VC title? Can you universally pause gameplay, suspend gameplay, use a restore point, and still access the five Home apps?

If I recall correctly the official GBA VC could not even be paused universally.
 

Huntereb

Well-Known Member
Member
Joined
Sep 1, 2013
Messages
3,234
Trophies
0
Website
lewd.pics
XP
2,446
Country
United States
So.. the Virtual Console is the 3DS' built-in emulator for running Virtual Console games obtained from the eShop, yes? And if that's correct, then what this thread is about is information on how to use the available tools to inject any ROM into the VC to be able to play them instead of being limited to using the VC to play purchased eShop VC games, right?


Yeah, pretty much. You still need a rather large rom running on a flashcard to get them working, though (Multiple roms if you want multiple games).
 
  • Like
Reactions: IronClouds

IronClouds

GBAtemp's Pokébro
Member
Joined
May 8, 2010
Messages
1,019
Trophies
0
XP
625
Country
United States
Yeah, pretty much. You still need a rather large rom running on a flashcard to get them working, though (Multiple roms if you want multiple games).

Thanks for the response. I've read through the instructions and it seems pretty obvious this is in its very early stages. Promising that it's possible, but only for the most dedicated of gamers at the moment (not complaining!). It'll be interesting to see where the scene is at 6 months from now :)
 
  • Like
Reactions: Huntereb

Huntereb

Well-Known Member
Member
Joined
Sep 1, 2013
Messages
3,234
Trophies
0
Website
lewd.pics
XP
2,446
Country
United States
Thanks for the response. I've read through the instructions and it seems pretty obvious this is in its very early stages. Promising that it's possible, but only for the most dedicated of gamers at the moment (not complaining!). It'll be interesting to see where the scene is at 6 months from now :)


A lot of people are really getting into decrypting and re-encrypting games now (And I plan on joining them after a certain helpful tool is released). Lots of fun is generating for the future, it's just unfortunate it still requires a shifty Flashcard to work.
 
  • Like
Reactions: IronClouds

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Does it work like a normal VC title? Can you universally pause gameplay, suspend gameplay, use a restore point, and still access the five Home apps?

If I recall correctly the official GBA VC could not even be paused universally.
yeah they work like normal VC games, pause save states etc....but i can't stress enough, the software emulator is pretty much unusablely slow and buggy
Thanks for the response. I've read through the instructions and it seems pretty obvious this is in its very early stages. Promising that it's possible, but only for the most dedicated of gamers at the moment (not complaining!). It'll be interesting to see where the scene is at 6 months from now :)
yeah tbh i was only playing with it for fun to see what works with it etc....for someone wanting to actually play NES games, you would probably have more success with 3DNES...albeit without sound....but in due time, this is more like comparing VC rom injections on wii to the normal homebrew emulators, the homebrew emulators are pretty much better all around, but for the moment there is no 3DS mode gameboy emulators, so there is that
 
  • Like
Reactions: IronClouds

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ButterScott101 @ ButterScott101: +1