|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| Virtual Console games are usually identical to the original game, as Nintendo tries to avoid modifying ROMs directly and instead uses patches. And even when modified, these modifications are usually somewhat easy to undo. | | Virtual Console games are usually identical to the original game, as Nintendo usually avoids modifying ROMs directly and instead layers patches on top. However, even when directly modified, easy methods have been found to revert them. |
| This means the original game can be extracted and used identically to one that came from a cartridge. | | This means the original game can be extracted and used exactly the same as one dumped from a cartridge. |
|
| |
|
| == Required Reading == | | == Required Reading == |
| This tutorial works for NES, SNES, GB, GBC, GBA, and Game Gear (WIP) VCs. | | This tutorial currently supports NES, SNES, GB, GBC, GBA, and Game Gear VCs. |
|
| |
|
| Note that ROMs from three consoles are altered in VCs, as follows: | | Note that ROMs from three consoles are altered in VCs, as follows: |
|
| |
|
| NES VC ROMs use a non-standard TNES header that only works in the Virtual Console, and must be converted back after dumping. This guide walks through how to convert the header. | | NES VCs use a non-standard TNES header that only works in the Virtual Console, and must be converted back after dumping. This guide walks through how to convert the header. |
|
| |
|
| SNES VC ROMs are altered for more efficient playback in the Virtual Console, and if not restored after dumping the audio will be unusuable in other emulators. This guide walks through how to restore the ROM. | | SNES VCs are altered for more efficient playback in the Virtual Console, and if not restored after dumping the audio will be unusuable in other emulators. This guide walks through how to restore the ROM. |
|
| |
|
| Game Gear VC ROMs are compressed into a unique archive type, and may have patches directly added into the ROM itself. This guide will walk through how to decompress the archive once more info is collected, but as the patches are nondestructive it does not revert them. | | Game Gear VCs are compressed into a unique archive type, and sometimes their ROMs are directly patched. This guide walks through how to decompress the archive (WIP), but as the patches are nondestructive it does not revert them. |
|
| |
|
| ==Instructions== | | ==Instructions== |
|
| |
|
| ===What You Need=== | | ===What You Need=== |
| * The latest release of {{GitHub|dok3/GodMode9|GodMode9}} (the GodMode9 <code>.zip</code> file)
| | <ul> |
| * If extracting an NES game: [[Special:DownloadWithFilename/File:tnes2ines.txt/tnes2ines.gm9|tnes2ines.gm9]]
| | <li>The latest release of {{GitHub|d0k3/GodMode9|GodMode9}} (the GodMode9 <code>.zip</code> file)</li> |
| * If extracting a SNES game:
| | <li>If extracting an NES game: [[Special:DownloadWithFilename/File:tnes2ines.txt/tnes2ines.gm9|tnes2ines.gm9]]</li> |
| ** The source code of {{GitHub|Plombo/vcromclaim|vcromclaim}} (obtainable by the Download ZIP option in the <big><span style="background:#008000">Code</span></big> button)
| | <li>If extracting a SNES game: |
| ** [[Special:DownloadWithFilename/File:snesvcsplit.txt/snesvcsplit.py|snesvcsplit.py]]
| | <ul> |
| ** A version of [https://www.python.org/downloads/release/python-2718/ Python 2.7]
| | <li>The source code of {{GitHub|Plombo/vcromclaim|vcromclaim}} (obtainable by the Download ZIP option within the <big><span style="background:#008000">Code</span></big> dropdown)</li> |
| * If extracting a Game Gear game: MArchiveBatchTool, obtained from {{GitHub|farmerbb/RED-Project/releases/latest|here}}
| | <li>[[Special:DownloadWithFilename/File:snesvcsplit.txt/snesvcsplit.py|snesvcsplit.py]]</li> |
| | <li>An installation of [https://www.python.org/downloads/release/python-2718/ Python 2.7]</li> |
| | </ul> |
| | </li> |
| | <li>If extracting a Game Gear game: The latest release of {{GitHub|farmerbb/RED-Project/releases/latest|MArchiveBatchTool}}</li> |
| | </ul> |
|
| |
|
| === Section I - Prep Work === | | === Section I - Prep Work === |
Line 28: |
Line 33: |
| In this section, you will set up the necessary files to extract a VC game. | | In this section, you will set up the necessary files to extract a VC game. |
|
| |
|
| # Power off your console
| | <ol> |
| # Insert your SD card into your computer
| | <li>Power off your console |
| # Copy <code>GodMode9.firm</code> from the GodMode9 <code>.zip</code> to the <code>luma/payloads</code> folder on your SD card
| | <li>Insert your SD card into your computer |
| # Copy the <code>gm9</code> folder from the GodMode9 <code>.zip</code> to the root of your SD card
| | <li>Copy <code>GodMode9.firm</code> from the GodMode9 <code>.zip</code> to the <code>luma/payloads</code> folder on your SD card |
| # If you are extracting an NES game, copy <code>tnes2ines.gm9</code> into the <code>gm9/scripts</code> folder on your SD card
| | <li>Copy the <code>gm9</code> folder from the GodMode9 <code>.zip</code> to the root of your SD card |
| # If you are extracting an SNES game, extract the vcromclaim <code>.zip</code> into a folder and place <code>snesvcsplit.py</code> into this folder
| | <li>If you are extracting an NES game, copy <code>tnes2ines.gm9</code> into the <code>gm9/scripts</code> folder on your SD card |
| # If you are extracting a Game Gear game, extract the MArchiveBatchTool <code>.zip</code> into a folder
| | <li>If you are extracting an SNES game, extract the vcromclaim <code>.zip</code> into a folder and place <code>snesvcsplit.py</code> into this folder |
| # Reinsert your SD card into your console
| | <li>If you are extracting a Game Gear game, extract the MArchiveBatchTool <code>.zip</code> into a folder |
| | <li>Reinsert your SD card into your console |
| | </ol> |
|
| |
|
| === Section II - Accessing the Game Files === | | === Section II - Accessing the Game Files === |
Line 41: |
Line 48: |
| In this section, you will mount the VC game's internal files. | | In this section, you will mount the VC game's internal files. |
|
| |
|
| # Hold the {{B|START}} button and power on to open GodMode9
| | <ol> |
| # Press the {{B|HOME}} button, then press {{B|A}} on the '''Title manager''' option
| | <li>Hold the {{B|START}} button and power on to open GodMode9 |
| # Press {{B|A}} on <code>[A:] SD CARD</code> and wait for the search to complete
| | <li>Press the {{B|HOME}} button, then press {{B|A}} on the '''Title manager''' option |
| # Once it completes, all titles that you have installed will appear
| | <li>Press {{B|A}} on <code>[A:] SD CARD</code> and wait for the search to complete |
| # Find the VC that you wish to extract a ROM from and press {{B|A}} on that title, then choose to '''Open title folder'''
| | <li>Once it completes, all titles that you have installed will appear |
| # Press {{B|A}} on the main game file - usually named <code>00000000.app</code> - then choose '''NCCH image options...''', then '''Mount image to drive''' and press {{B|A}} again to confirm
| | <li>Find the VC that you wish to extract a ROM from and press {{B|A}} on that title, then choose to '''Open title folder''' |
| # The internal files of the chosen game will appear
| | <li>Press {{B|A}} on the main game file - usually named <code>00000000.app</code> - then choose '''NCCH image options...''', then '''Mount image to drive''' and press {{B|A}} again to confirm |
| | <li>The internal files of the chosen game will appear |
| | </ol> |
|
| |
|
| === Section III - Dumping the ROM === | | === Section III - Dumping the ROM === |
Line 55: |
Line 64: |
| What console does the chosen game originally come from? | | What console does the chosen game originally come from? |
| <tabber> | | <tabber> |
| | |
| |-|NES= | | |-|NES= |
| # Go into the folder <code>romfs/rom</code>
| | |
| # Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code>
| | <ol> |
| # Press {{B|HOME}}, then go into <code>Scripts...</code> -> <code>tnes2ines</code>
| | <li>Go into the folder <code>romfs/rom</code></li> |
| # Select the copied file and choose a mirroring if it asks, then let the script run
| | <li>Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code></li> |
| # Rename the ROM so its file extension is <code>.nes</code>
| | <li>Press {{B|HOME}}, then go into <code>Scripts...</code> -> <code>tnes2ines</code></li> |
| | <li>Select the copied file and choose a mirroring if it asks, then let the script run</li> |
| | <li>Rename the ROM so its file extension is <code>.nes</code></li> |
| | </ol> |
| {{success|text=Your ROM is now extracted and can be used in an emulator.}} | | {{success|text=Your ROM is now extracted and can be used in an emulator.}} |
|
| |
|
| |-|SNES= | | |-|SNES= |
| | |
| {{info|If you are on Linux, replace <code>py -2</code> with <code>python2</code> in the commands.}} | | {{info|If you are on Linux, replace <code>py -2</code> with <code>python2</code> in the commands.}} |
| # Go into the folder <code>romfs</code>
| | <ol> |
| # Press {{B|A}} to select the file <code>data.bin</code>, then choose <code>Copy to 0:/gm9/out</code>
| | <li>Go into the folder <code>romfs</code></li> |
| # Press {{B|R}}+{{B|START}} to power off the console
| | <li>Press {{B|A}} to select the file <code>data.bin</code>, then choose <code>Copy to 0:/gm9/out</code></li> |
| # Take the SD card out of your 3DS and put it into your PC
| | <li>Press {{B|R}}+{{B|START}} to power off the console</li> |
| # Copy <code>data.bin</code> into the vcromclaim folder
| | <li>Take the SD card out of your 3DS and put it into your PC</li> |
| # Right-click anywhere in the empty space inside this folder and click on the option that opens Command Prompt, PowerShell, or the terminal
| | <li>Copy <code>data.bin</code> into the vcromclaim folder</li> |
| #* If no such option appears, open this window manually and use <code>cd</code> or similar commands to move the terminal into this folder
| | <li>Right-click anywhere in the empty space inside this folder and click on the option that opens Command Prompt, PowerShell, or the terminal |
| # Run the following two commands one at a time:
| | <ul> |
| #* <code>py -2 snesvcsplit.py data.bin</code>
| | <li>If no such option appears, open this window manually and use <code>cd</code> or similar commands to target it into the vcromclaim folder</li> |
| #* <code>py -2 snesrestore.py game.rom game.pcm output.smc</code>
| | </ul> |
| # If desired, change <code>output.smc</code>'s filename to a name of your choice
| | </li> |
| | <li>Run the following two commands one at a time: |
| | <ul> |
| | <li><code>py -2 snesvcsplit.py data.bin</code></li> |
| | <li><code>py -2 snesrestore.py game.rom game.pcm output.smc</code></li> |
| | </ul> |
| | </li> |
| | <li>If desired, change <code>output.smc</code>'s filename to a name of your choice</li> |
| | </ol> |
| {{success|Your ROM is now extracted and can be used in an emulator.}} | | {{success|Your ROM is now extracted and can be used in an emulator.}} |
|
| |
|
|
| |
|
| |-|GB/GBC= | | |-|GB/GBC= |
| # Go into the folder <code>romfs/rom</code>
| | |
| # Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code>
| | <ol> |
| # Press {{B|B}} until you return to the drive list, then go into <code>[0:] SDCARD/gm9/out</code>
| | <li>Go into the folder <code>romfs/rom</code></li> |
| # Place the cursor on the copied ROM, press {{B|R}}+{{B|X}}, and change the file extension to match the console it came from: <code>.gb</code> for Gameboy, <code>.gbc</code> for Gameboy Color
| | <li>Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code></li> |
| # If desired, also change the ROM's filename to a name of your choice
| | <li>Press {{B|B}} until you return to the drive list, then go into <code>0:/gm9/out</code></li> |
| | <li>Place the cursor on the copied ROM, press {{B|R}}+{{B|X}}, and change the file extension to match the console it came from: <code>.gb</code> for Gameboy, or <code>.gbc</code> for Gameboy Color</li> |
| | <li>If desired, also change the ROM's filename to a name of your choice</li> |
| | </ol> |
| | |
| {{success|Your ROM is now extracted and can be used in an emulator.}} | | {{success|Your ROM is now extracted and can be used in an emulator.}} |
|
| |
|
|
| |
|
| |-|GBA= | | |-|GBA= |
| # Go into the folder <code>exefs</code>
| | <ol> |
| # Press {{B|A}} to select the <code>.code</code> file, then choose <code>Copy to 0:/gm9/out</code>
| | <li>Go into the folder <code>exefs</code></li> |
| # Press {{B|B}} until you return to the drive list, then go into <code>[0:] SDCARD/gm9/out</code>
| | <li>Press {{B|A}} to select the <code>.code</code> file, then choose <code>Copy to 0:/gm9/out</code></li> |
| # Press {{B|A}} on the <code>.code</code> file, choose '''GBA image options...''', then choose '''Rename file''' and press {{B|A}} to confirm
| | <li>Press {{B|B}} until you return to the drive list, then go into <code>0:/gm9/out</code></li> |
| | <li>Press {{B|A}} on the <code>.code</code> file, choose '''GBA image options...''', then choose '''Rename file''' and press {{B|A}} to confirm</li> |
| | </ol> |
| | |
| {{success|Your ROM is now extracted and can be used in an emulator.}} | | {{success|Your ROM is now extracted and can be used in an emulator.}} |
|
| |
|
| |-|Game Gear= | | |-|Game Gear= |
| | |
| {{warning|These ROMs can only be fully extracted on Windows or Linux. If you do not have access to a PC that runs either of these operating systems, stop after copying the ROM into <code>gm9/out</code> and wait until you have access.}} | | {{warning|These ROMs can only be fully extracted on Windows or Linux. If you do not have access to a PC that runs either of these operating systems, stop after copying the ROM into <code>gm9/out</code> and wait until you have access.}} |
| {{Section WIP|notes=Figure out how to determine the seed and codec for any given game. Can't give a specific command for extracting without that info.}} | | {{Section WIP|notes=Need to figure out how to determine the seed and codec for every game. This section can't be finished without them.<br>}} |
| # Go into the folder <code>romfs/system/roms</code>
| |
| # Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code>
| |
| # Press {{B|R}}+{{B|START}} to power off the console
| |
| # Take the SD card out of your 3DS and put it into your PC
| |
| # Copy the ROM from <code>gm9/out</code> into the MArchiveBatchTool folder
| |
| # Right-click anywhere in the empty space inside this folder and click on the option that opens Command Prompt, PowerShell, or the terminal
| |
| #* If no such option appears, open this window manually and use <code>cd</code> or similar commands to move the terminal into this folder
| |
| # WIP
| |
|
| |
|
| | <ol> |
| | <li>Go into the folder <code>romfs/system/roms</code></li> |
| | <li>Press {{B|A}} to select the file that appears, then choose <code>Copy to 0:/gm9/out</code></li> |
| | <li>Press {{B|R}}+{{B|START}} to power off the console</li> |
| | <li>Take the SD card out of your 3DS and put it into your PC</li> |
| | <li>Copy the ROM from <code>sd:/gm9/out</code> into the MArchiveBatchTool folder</li> |
| | <li>Right-click anywhere in the empty space inside this folder and click on the option that opens Command Prompt, PowerShell, or the terminal |
| | <ul> |
| | <li>If no such option appears, open this window manually and use <code>cd</code> or similar commands to move the terminal into this folder</li> |
| | </ul> |
| | </li> |
| | <li>WIP</li> |
| | </ol> |
|
| |
|
| </tabber> | | </tabber> |