File Patch Code

Created by PhantomWings, the File Patch Code (formerly the Dynamic SD Loader) was the decisive element in making texture hacks easily accessible to the public by almost completely eliminating the need for modification of the Brawl ISO. Currently, the only commonly edited file that cannot be used with the NTSC File Patch Code is mu_menumain.pac, the file containing music titles in My Music (among many other things). The PAL code is not compatible with music files at this time.
==The Code==
===How to use it===
Using the code is simple. Simply download the following gct file and place it in a "codes" folder at the root of your SD card (must have a capacity of 2GB or LOWER). (A gct file is a code file created using Ocarina or a similar program and read by Gecko OS or a backup launcher.) In addition to the File Patch Code, the gct contains codes for unlimited pause camera, no time limit on replays, and name tags with replays.
Download NTSC gct here (Version 3.5.1) Download PAL gct here (Version 2.1)
=== How to format your SD card ===
The latest version of the File Patch Code is compatible with character textures, character effects, some final smashes, stages, selection portraits, victory portraits, battle portraits, items, assist trophies, Pokemon, music, and music titles at the start of a match. It does not support mu_menumain.pac, the file that controls titles in My Music. The PAL version does not support the music or titles. These files must be placed and named correctly on the SD card in order to be loaded in the game. The file paths and naming conventions are listed below. The variables in the filenames are marked with parentheses; for a full list of correct names for every file, see the PAC Naming article. Regardless of what you are replacing, you will need to create the following folder path on your SD card. If you've ever saved a snapshot or replay to your SD card, the first four folders will already exist. These are private\wii\app\RSBE. Inside the RSBE folder, create a new folder and name it pf. From here, the folders you need to create will vary based on what you want to replace and are listed in the table below.
*Character Textures, Effects, and Final Smashes In general, you need only the pcs file for textures. However, transforming characters will need both their pac and pcs files included. If you are lacking a pac for a character that requires it, you can create your own using lz77ex or gbalzss. Simply drag and drop the pcs onto the program. Transforming characters are: Bowser, Charizard, Ivysaur, Samus, Sheik, Squirtle, Wario, Zelda, and Zero Suit Samus.
*Stages Every stage hack goes into the same folder. Note that boss textures (such as Shiny Rayquaza) are technically stages and go into stage\adventure.
*Portraits Portraits are compiled using CUPASH. Upon completion of the creation process, users will find that the various modified files are in folders mirroring their correct path on the SD card. Note that you must remove the "_en" from the new common5_en.pac in order for it to work. Likewise, you must remove the first period from new battle portraits (ex. InfFace.000.brres). Common5.pac contains selection portraits, MenSelCharFace files contain victory portraits, and InfFace files contain battle portraits.
*Items, Assist Trophies, and Pokemon All items are included in common3_en.pac. You must remove the "_en" in order to load the file. Assist Trophies and Pokemon (the characters that emerge from the items, not the items themselves) have their own folder and possess wildly varying names. Many of them consist of multiple parts. For example, the Custom Robo Assist Trophy has folders for "customrobo," "customrobobomb," and "customrobogun." The latter two are not within the first; each is its own folder within "item."
*Music and Music Titles Every brstm (music file) is included in the same folder. Info_en.pac controls music titles at the start of a match; you must remove the "_en" from the name in order to load it.
File Placement
Type 	Folders 	File Name 	Example
Texture 	fighter\(character) 	Fit(Character)(Color).pcs/pac 	private\wii\app\rsbe\pf\fighter\snake\FitSnake01.pcs
Effect 	fighter\(character) 	Fit(Character)[Motion(Etc)].pac*	private\wii\app\rsbe\pf\fighter\marth\FitMarth.pac
Final Smash 	fighter\(character) 	Fit(Character)Final.pac** 	private\wii\app\rsbe\pf\fighter\pit\FitPitFinal.pac
Stage 	stage\melee 	Stg(StageName).pac 	private\wii\app\rsbe\pf\stage\melee\StgMansion.pac
Selection Portrait	system 	common5.pac 	private\wii\app\rsbe\pf\system\common5.pac
Victory Portrait 	menu\common\char_bust_tex	MenSelCharFaceB(###).brres 	private\wii\app\rsbe\pf\menu\common\char_bust_tex\MenSelCharFaceB020.brres
Battle Portrait 	info\portrite 	InfFace(###).brres 	private\wii\app\rsbe\pf\info\portrite\InfFace092.brres
Items 	system 	common3.pac 	private\wii\app\rsbe\pf\system\common3.pac
Assist Trophies 	item\(name) 	(Name).pac 	private\wii\app\rsbe\pf\item\andross\AsfAndrossBrres.pac
Pokemon 	item\(name) 	(Name).pac 	private\wii\app\rsbe\pf\item\chicorita\PkmChicoritaBrres.pac
Music 	sound\strm 	(Letter##).brstm 	private\wii\app\rsbe\pf\sound\strm\X05.brstm
Music Titles 	info2 	info.pac 	private\wii\app\rsbe\pf\info2\info.pac
== History ==
=== Early Beta ===
=== First Release ===
=== Version 2.1 ===
File Replacement v2.1 came in two versions, which were 2.1a and 2.1b. Version 2.1a requires the person to place the patch files in the directory, private\wii\app\RSBE\pf (NTSC version). Version 2.1b requires the person to place the patch files on the root of the SD card.
=====​File Replacement v2.1a NTSC=====
The code below was created by Phantom Wings.
225664EC 00000000 0401BFE0 4858BE20 065A7E00 00000070 38A00067 38810020 3CE0805A 60E37C18 4BE52531 38A0007F 3883FFE8 38610020 4BE52521 38A00068 60E47C18 38610020 9421FF80 BC410008 38610088 4BA74DB9 7C7C1B78 2C030000 4082000C 38210080 4800001C B8410008 38210080 4BE524E5 38610008 4BA742E1 7C7C1B78 4BA741E8 0401CD0C 4858B1F4 065A7F00 00000018 2C030000 4182000C 4BA7DD51 48000008 8078000C 4BA74DFC 043EE9D8 48000014 043EEBD4 48000014 043D8B9C 48000018 043E9B4C 38600000 043E9D38 38600000 043D8C80 60000000 80000000 80406920 80000001 805A7C00 8A001001 00000000 045A7C10 2F525342 045A7C14 452F7066 E0000000 80008000
The code below was created by Phantom Wings and ported by Deathwolf File Patch Code v3.5.1: [Phantom Wings, ported by Deathwolf]
E0000000 80008000 225683EC 00000000 0401C3A8 4858BA58 065A7E00 00000070 38A00067 38810020 3CE0805A 60E37C18 4BE55339 38A0007F 3883FFE8 38610020 4BE55329 38A00068 60E47C18 38610020 9421FF80 BC410008 38610088 4BA75041 7C7C1B78 2C030000 4082000C 38210080 4800001C B8410008 38210080 4BE552ED 38610008 4BA746A9 7C7C1B78 4BA745B0 04022394 48585C0C 065A7FA0 00000020 77239000 2C030000 4182000C 7FDDC850 3BDEFFE0 93DB0008 4BA7A3E0 00000000 0401CF94 4858AF6C 065A7F00 00000038 2C030000 4182000C 4BA7DCF5 4BA7508C 80780008 2C030000 41820014 8118000C 7C634214 7C7B1850 48000008 8078000C 4BA75068 00000000 043EF000 48000014 043EEE04 48000014 043D8FC8 48000018 043E9F78 38600000 043EA164 38600000 043D90AC 60000000 80000000 80409728 80000001 805A7C00 8A001001 00000000 045A7C10 2F525342 045A7C14 502F7066 80000001 805A7B00 8A001001 00000000 065A7B10 0000000F 2F525342 502F7066 2F736F75 6E642F00 041C74C0 483E0541 065A7A00 00000028 9421FF80 BC410008 3C60805A 60637B1F 4BE55739 B8410008 38210080 4BE5579D 4BC1FAA4 00000000 065A7900 00000078 9421FF80 7C0802A6 9001000C BC810010 9421FF00 7C872378 54B2BA7E 7CD33378 38800000 9081000C 90810010 90610014 90810018 3880FFFF 9081001C 38610020 90610008 7CE43B78 38A00080 4BE557FD 38610008 4BA75529 60000000 80210000 B8810010 8001000C 7C0803A6 80210000 4E800020 00000000 043E3DC8 481C3AD8 065A78A0 00000010 80BC0020 7CA59214 3A400000 4BE3C520 043DBF18 481CB9B8 065A78D0 00000018 800302A4 2C130000 41820008 7E609B78 3A600000 4BE34638 041CE75C 483D90A4 065A7800 00000098 818C0014 9421FF80 BC410008 3D00902F 61085A34 7C034000 4082003C 7C882378 3C60901A 60630000 3C80805A 60847B00 7CC53378 38C04200 80E40080 2C070000 40820014 60000000 480000B9 2C030000 41820010 B8410008 80210000 4BC26F04 70A501FF 3868FFFF 3C809019 6084FFFF 7C842A14 38A04001 38A5FFFF 8C040001 9C030001 2C050000 4082FFF0 B8410008 80210000 4BC26EEC 141CD770 483D9F90 065A7700 00000048 9421FF80 BC410008 7FE3FB78 3C80805A 60847B00 38A00000 38C04000 480001E5 90640080 807F0008 907A0014 907A005C 907A0074 B8410008 80210000 807F0000 4BC26034 00000000 E0000000 80008000
=== Version 3.0 ===
=== Version 3.5.1 ===
File Patch Code v3.5.1 enabled players to perform music hacks along with file replacing. As of now, this is only available for NTSC Wiis.
====File Patch Code v3.5.1 NTSC-U====
The code below was created by Phantom Wings.
E0000000 80008000 225664EC 00000000 0401BFE0 4858BE20 065A7E00 00000070 38A00067 38810020 3CE0805A 60E37C18 4BE52531 38A0007F 3883FFE8 38610020 4BE52521 38A00068 60E47C18 38610020 9421FF80 BC410008 38610088 4BA74DB9 7C7C1B78 2C030000 4082000C 38210080 4800001C B8410008 38210080 4BE524E5 38610008 4BA742E1 7C7C1B78 4BA741E8 040223E0 48585BC0 065A7FA0 00000028 80010044 3C608001 6063581C 7C001800 4082000C 7FDDC850 3BDEFFE0 93DB0008 4BA7A424 00000000 0401CD0C 4858B1F4 065A7F00 00000038 2C030000 4182000C 4BA7DD51 4BA74E04 80780008 2C030000 41820014 8118000C 7C634214 7C7B1850 48000008 8078000C 4BA74DE0 00000000 043EE9D8 48000014 043EEBD4 48000014 043D8B9C 48000018 043E9B4C 38600000 043E9D38 38600000 043D8C80 60000000 80000000 80406920 80000001 805A7C00 8A001001 00000000 045A7C10 2F525342 045A7C14 452F7066 80000001 805A7B00 8A001001 00000000 065A7B10 0000000F 2F525342 452F7066 2F736F75 6E642F00 041C6CE0 483E0D20 065A7A00 00000028 9421FF80 BC410008 3C60805A 60637B1F 4BE52931 B8410008 38210080 4BE52995 4BC1F2C4 00000000 065A7900 00000078 9421FF80 7C0802A6 9001000C BC810010 9421FF00 7C872378 54B2BA7E 7CD33378 38800000 9081000C 90810010 90610014 90810018 3880FFFF 9081001C 38610020 90610008 7CE43B78 38A00080 4BE529F5 38610008 4BA752A1 60000000 80210000 B8810010 8001000C 7C0803A6 80210000 4E800020 00000000 043E399C 481C3F04 065A78A0 00000010 80BC0020 7CA59214 3A400000 4BE3C0F4 043DBAEC 481CBDE4 065A78D0 00000018 800302A4 2C130000 41820008 7E609B78 3A600000 4BE3420C 041CDF7C 483D9884 065A7800 00000098 818C0014 9421FF80 BC410008 3D009034 61089D94 7C034000 4082003C 7C882378 3C60804D 60630000 3C80805A 60847B00 7CC53378 38C04200 80E40080 2C070000 40820014 60000000 480000B9 2C030000 41820010 B8410008 80210000 4BC26724 70A501FF 3868FFFF 3C80804C 6084FFFF 7C842A14 38A04001 38A5FFFF 8C040001 9C030001 2C050000 4082FFF0 B8410008 80210000 4BC2670C 141CCF90 483DA770 065A7700 00000048 9421FF80 BC410008 7FE3FB78 3C80805A 60847B00 38A00000 38C04000 480001E5 90640080 807F0008 907A0014 907A005C 907A0074 B8410008 80210000 807F0000 4BC25854 00000000 E0000000 80008000
====File Patch Code v3.5.1 NTSC-J====
The code below was created by Phantom Wings and ported by ‚Bero
E0000000 80008000 2256606C 00000000 0401BFE0 4858B9A0 065A7980 00000070 38A00067 38810020 3CE0805A 60E37798 4BE52525 38A0007F 3883FFE8 38610020 4BE52515 38A00068 60E47798 38610020 9421FF80 BC410008 38610088 4BA75239 7C7C1B78 2C030000 4082000C 38210080 4800001C B8410008 38210080 4BE524D9 38610008 4BA74761 7C7C1B78 4BA74668 04022360 48585C40 065A7FA0 00000028 80010044 3C608001 6063550C 7C001800 4082000C 7FDDC850 3BDEFFE0 93DB0008 4BA7A3A4 00000000 0401CD0C 4858AD74 065A7A80 00000038 2C030000 4182000C 4BA7E1D1 4BA75284 80780008 2C030000 41820014 8118000C 7C634214 7C7B1850 48000008 8078000C 4BA75260 00000000 043EEA50 48000014 043EEC4C 48000014 043D8C14 48000018 043E9BC4 38600000 043E9DB0 38600000 043D8CF8 60000000 80000000 80406490 80000001 805A7780 8A001001 00000000 045A7790 2F525342 045A7794 4A2F7066 80000001 805A7B00 8A001001 00000000 065A7B10 0000000F 2F525342 4A2F7066 2F736F75 6E642F00 041C6D58 483E0CA8 065A7A00 00000028 9421FF80 BC410008 3C60805A 60637B1F 4BE524A5 B8410008 38210080 4BE52509 4BC1F33C 00000000 065A7900 00000078 9421FF80 7C0802A6 9001000C BC810010 9421FF00 7C872378 54B2BA7E 7CD33378 38800000 9081000C 90810010 90610014 90810018 3880FFFF 9081001C 38610020 90610008 7CE43B78 38A00080 4BE52569 38610008 4BA752A1 60000000 80210000 B8810010 8001000C 7C0803A6 80210000 4E800020 00000000 043E3A14 481C3E8C 065A78A0 00000010 80BC0020 7CA59214 3A400000 4BE3C16C 043DBB64 481CBD6C 065A78D0 00000018 800302A4 2C130000 41820008 7E609B78 3A600000 4BE34284 041CDFF4 483D980C 065A7800 00000098 818C0014 9421FF80 BC410008 3D009034 61089D94 7C034000 4082003C 7C882378 3C60804D 60630000 3C80805A 60847B00 7CC53378 38C04200 80E40080 2C070000 40820014 60000000 480000B9 2C030000 41820010 B8410008 80210000 4BC2679C 70A501FF 3868FFFF 3C80804C 6084FFFF 7C842A14 38A04001 38A5FFFF 8C040001 9C030001 2C050000 4082FFF0 B8410008 80210000 4BC26784 141CD008 483DA6F8 065A7700 00000048 9421FF80 BC410008 7FE3FB78 3C80805A 60847B00 38A00000 38C04000 480001E5 90640080 807F0008 907A0014 907A005C 907A0074 B8410008 80210000 807F0000 4BC258CC 00000000 E0000000 80008000
Category:texture hacking