Editing Pikmin 2 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: | ||
− | Helpful instructions for editing and handling ''Pikmin 2'''s files. This guide assumes you have some basic knowledge on navigating folders, opening files, using | + | Helpful instructions for editing and handling ''Pikmin 2'''s files. This guide assumes you have some basic knowledge on navigating folders, opening files, using the command line, etc. |
− | |||
− | + | ==Obtaining the game's files== | |
− | + | See [[General instructions#Obtaining a game's files]]. | |
− | == | + | ==Editing== |
− | + | You can view and edit a lot of the game's files. You can read them without any worry, but if you want to change them and have those changes apply in-game, see [[General instructions#Writing to a game's files]]. | |
+ | {{todo|Sound files.}} | ||
− | + | ===Text files=== | |
− | < | + | To read and edit a plain text file (<code>.txt</code>), you can use any text editor, like Notepad, although [https://notepad-plus-plus.org/download/ Notepad++] is highly recommended. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | + | ===SZS files=== | |
− | + | SZS files (<code>.szs</code>) are a bit like zip files. If you want to read a SZS file's contents, you need to unpack it, and if you want to make changes to the contents, you need to repack it after you're done. | |
− | |||
− | |||
− | |||
− | + | To unpack and repack a SZS files, use [http://szs.wiimm.de/ Wiimms SZS Toolset]. First, install it using the instructions on the website. Unpacking and repacking is done through the command line, but under Windows, there are scripts you can create to make it easier. | |
− | |||
− | + | The command to unpack a file is <code>wszst extract <SZS file path></code>. This will create a folder with the same name as the SZS file, but ending in ".d". Inside this folder will be the contents of the SZS file, plus an additional data file, which is used by Wiimms SZS Toolset, so that it knows how to repack. To repack, use <code>wszst update <SZS file path></code>. | |
− | |||
− | + | ====Scripts==== | |
+ | Under Windows, you can create scripts to automatically unpack and repack a SZS file, so that you don't have to write commands all the time. Open a text editor, and type | ||
+ | <pre>wszst extract %1</pre> | ||
+ | Save it as <code>SZS extract.bat</code> on some folder you can remember. Create a new file with | ||
+ | <pre>wszst update %1</pre> | ||
+ | And save it as <code>SZS update.bat</code>. | ||
− | + | After this, you can simply grab the SZS file you want and drag it onto the BAT file you need. | |
− | |||
− | + | ===BMD files=== | |
+ | BMD files (<code>.bmd</code>) are 3D model files. You can open these with [http://www.mediafire.com/?uy2nmmjmkmj BMDView2]. | ||
− | + | ===BMG files=== | |
+ | BMG files (<code>.bmg</code>) contain the game's text strings. Any text editor can edit these, but once again, [https://notepad-plus-plus.org/download/ Notepad++] is highly recommended. You can find the strings after you scroll past the initial control data. If you want to edit the strings, remember to keep their length the same. i.e. You can replace "Floor" with "Level", but not with "Step" or "Sublevel". | ||
− | === | + | ===BTI files=== |
− | + | BTI files (<code>.bti</code>) are image files. You'll need [http://szs.wiimm.de/ Wiimms SZS Toolset] to view these. It is currently unknown how to save them. As with [[#SZS files|SZS files]], you convert a BTI to PNG with the command line, though you can make a script to skip the command line part. The command to convert a BTI file is <code>wimgt DECODE <BTI file path></code>. | |
− | |||
− | |||
− | + | ====Scripts==== | |
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
As with [[#SZS files|SZS files]], you can write a script so that you don't have to write commands all the time. Open up a text editor, write | As with [[#SZS files|SZS files]], you can write a script so that you don't have to write commands all the time. Open up a text editor, write | ||
<pre>wimgt DECODE %1</pre> | <pre>wimgt DECODE %1</pre> | ||
And save it somewhere you can remember, with the name <code>BTI converter.bat</code>. Then, when you want to convert a BTI file into PNG, simply drag the BTI file onto the BAT file you created. | And save it somewhere you can remember, with the name <code>BTI converter.bat</code>. Then, when you want to convert a BTI file into PNG, simply drag the BTI file onto the BAT file you created. | ||
− | |||
==Running your modified game== | ==Running your modified game== |