Editing General instructions

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
General instructions on how to perform some important tasks.
 
General instructions on how to perform some important tasks.
  
== Obtaining a game's files ==
+
==Obtaining a game's files==
 
You can obtain the files inside the games by following these instructions. This guide only explains how to obtain the files from inside a copy of the game. It won't explain how to obtain a copy.
 
You can obtain the files inside the games by following these instructions. This guide only explains how to obtain the files from inside a copy of the game. It won't explain how to obtain a copy.
  
=== GameCube ===
+
{{todo|Add this.}}
# Get a copy of the game's disk image (.ISO). We do not support any illegal pirating here, so to do this legally, search up how to rip GameCube games using Nintendo Wii homebrew software.
 
# Ensure the file is not corrupted by running it using the Dolphin emulator.
 
# Open GC-Tool and go to File > Open > Pikmin 2 GCN.iso, then go to ISO > Extract whole ISO, check the box that says "Also extract header, apploader, DOL and TOC", choose the directory you want to save it to and then click extract. Give it some time.
 
  
'''To rebuild a new ISO from your root:'''
+
==Saving changes==
# Open GC-Rebuilder and go to Root > Open, select the root folder created by GC-Tool and click open.
+
Once you have a game's files, you can read them all you want. If you want to make changes, you can do so with the appropriate tools, and use those same tools to save the altered files. Remember that SZS files need to be repacked, if you changed their contents! What you need to do to have those changes be applied to the game depends is elaborated in the next sections.
# Go back to Root and now select Save. Name the ISO what you want and choose where you want it, then click save. This does not save the ISO file.
 
# Go back again to Root and finally click Rebuild. It will now rebuild the ISO, this may take some time.
 
  
=== Wii ===
+
===GameCube===
# Download [https://wit.wiimm.de/ Wiimms ISO Tools]. Make sure to install wit specifically.
+
What you have to do depends on you want to [[#Running a modified game|run the game]]. If you want to run it with Dolphin, through a folder and <code>boot.dol</code>, you won't need to do anything else after saving the files (except maybe restarting the game or area).
# Dump a copy of your game from a Wii onto your computer.
 
# If your game is in .iso format, type <code>wit copy nameofyourgame.iso nameofyourgame.wbfs</code> in a command prompt (make sure the directory is set to where your dump is). If it's already in .wbfs, skip this step.
 
# Next, type <code>wit copy nameofyourgame.wbfs newnameforgame.wbfs --psel data</code>
 
# Then, type <code>wit extract newnameforgame.wbfs /directory you want the DATA folder to be stored/newfolder</code> (for Linux and MacOS, use <code>/</code>. for Windows, use <code>\</code>. You may need to specify which drive you want to extract to). wit will create "newfolder" for you in this directory.
 
  
;To rebuild your .wbfs
+
If you use an ISO, you'll have to apply the changes onto the ISO, since you've only made changes on the extract folder so far.
 
 
# Once you've made your changes, type <ocde>wit copy ./newfolder/directory your game is stored/hackedgame.wbfs</code> into your command prompt.
 
 
 
=== Wii U ===
 
{{todo|Add Wii U instructions.}}
 
 
 
=== Nintendo Switch ===
 
# Dump a copy of the game onto your computer.
 
# Using either Yuzu or Ryujinx, right click on the game and select "Dump RomFS Folder".
 
 
 
=== Nintendo 3DS ===
 
You will need:
 
# A <code>.3ds</code> file of the game's data.
 
# [[DotNet3dsToolkit]].
 
 
 
Simply use a command line, run <code>ToolkitConsole.exe</code> with the parameters it expects, and you'll extract the contents of the <code>.3ds</code> file onto a folder. Detailed instructions can be found in the [[DotNet3dsToolkit]] page.
 
 
 
== Making changes ==
 
Once you have a game's files, you can read them all you want. If you want to make changes to the files, you can do so. Some files are as simple as plain text, and can be edited with any text editor (although Notepad++ is recommended over the standard Notepad). Other files can only be edited with the appropriate tools. Some files need to be extracted, and once you're done making changes, they need to be packed again, just like zip files &ndash; [[SZS file]]s are one such type.
 
 
 
That takes care of editing the game's insides, but then you'll need to transform these files into a runnable game, if you want to actually play the changes. What you need to do is elaborated in the next sections.
 
 
 
=== GameCube/Wii ===
 
What you have to do depends on how you want to [[#Running a modified game|run the game]]. If you want to run it with Dolphin, through a folder and <code>boot.dol</code>, you won't need to do anything else after saving the files (except maybe restarting the game or area).
 
 
 
If you use an ISO, you'll have to apply the changes onto the ISO, since you've only made changes on the extracted folder so far.
 
  
 
{{todo|Add ISO instructions.}}
 
{{todo|Add ISO instructions.}}
  
===Wii U ===
+
===Wii U===
{{ todo|Add Wii U instructions.}}
 
 
 
=== Nintendo 3DS ===
 
Just like when you extracted the <code>.3ds</code> file to get the contents, you will have to do the opposite and turn the contents into a <code>.3ds</code> file. Again, you'll need DotNet3dsToolkit. Detailed instructions can once again be found in the [[DotNet3dsToolkit]] page.
 
 
 
== Running a modified game ==
 
After having made the changes, you will want to play your modified game. You can either play it on a real console, or using an emulator. A note regarding savestates and emulators: If the game loads data from a file and saves it in RAM, and you make a savestate after this information is loaded, it will always have that information when you reload the savestate, even if you changed the files in the meantime. To get the changes to take effect, make the game reload the file. This depends on the game and file (e.g. quit and re-enter the area you're on, restart the game, etc.). To be safe, you can always avoid loading savestates altogether.
 
 
 
=== GameCube/Wii ===
 
{{todo|Add GameCube/Wii instructions.}}
 
 
 
=== Wii U ===
 
 
{{todo|Add Wii U instructions.}}
 
{{todo|Add Wii U instructions.}}
  
=== Nintendo 3DS ===
+
==Running a modified game==
{{todo|Add real console instructions.}}
+
{{todo|Add instructions on how to run the games with emulators and actual consoles.}}
  
To run a modified <code>.3ds</code> file with [[Citra]], simply open the emulator and choose the <code>.3ds</code> file with your changes.
+
A note regarding savestates and emulators: If the game loads data from a file and saves it in RAM, and you make a savestate after this information is loaded, it will always have that information when you reload the savestate, even if you changed the files in the meantime. To get the changes to take effect, make the game reload the file. This depends on the game and file. To be safe, you can always avoid loading savestates altogether.
  
 
== Scripts ==
 
== Scripts ==

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: