1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<TITLE>cardedit</TITLE> 8<LINK rel="stylesheet" href="../CSS/revolution.css"> 9</HEAD> 10<BODY> 11<H1 align="left">cardedit.elf</H1> 12<H2>Description</H2> 13<P>The <CODE>cardedit.elf</CODE> program is a GUI-based Memory Card utility program that can create GameCube Memory Cards in various conditions. This program is mainly designed for quality control and bug testing purposes.</P> 14<BLOCKQUOTE> 15<PRE><CODE>% ndrun cardedit.elf</CODE></PRE> 16</BLOCKQUOTE> 17<H2>Operation Method</H2> 18<P>To select the highlighted item, press the A Button.<br>To go back to the previous menu, press the B Button.<br>To cycle through the menu items, move the Control Stick Up/Down.<SUP>*</SUP><br>To cycle through the file list items, move the C Stick Up/Down to select the files to corrupt icons/banners.<SUP>*</SUP><br>To change the block size of the file, press Up/Down on the +Control Pad.<SUP>*</SUP><br>To select the slot, move the C Stick Left/Right or press the L/R Button.<br><br><SUP>*</SUP>If the Control Stick or +Control Pad is held Up/Down, the highlight continuously moves up/down.</P> 19<H2>Menu Items</H2> 20<H3>Region Format</H3> 21<TABLE border="1" width="650"> 22 <TBODY> 23 <TR align="center" bgcolor="#C0C0C0"> 24<TD width="200"><strong>Option</strong></TD> 25<TD width="450"><strong>Description</strong></TD> 26 </TR> 27 <TR> 28<TD width="200">FORMAT ANSI<SUP>*</SUP></TD> 29<TD width="450">Format Memory Card to ANSI format.</TD> 30 </TR> 31 <TR> 32<TD width="200">FORMAT SJIS<SUP>*</SUP></TD> 33<TD width="450">Format memory card to SJIS format.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37<P><SUP>*</SUP> You can change to a different encoding format without rebooting the development kit.</P> 38<H3>Corrupt</H3> 39<TABLE border="1" width="650"> 40 <TBODY> 41 <TR align="center" bgcolor="#C0C0C0"> 42<TD width="200"><strong>Option</strong></TD> 43<TD width="350"><strong>Description</strong></TD> 44<TD width="100"><strong>Recoverable</strong></TD> 45 </TR> 46 <TR> 47<TD width="200">Corrupt C0</TD> 48<TD width="350">Corrupt Memory Card system blocks.</TD> 49<TD align="center" width="100"><B>No</TD> 50 </TR> 51 <TR> 52<TD width="200">Corrupt C1</TD> 53<TD width="350">Corrupt Memory Card system blocks.</TD> 54<TD align="center" width="100"><B>No</TD> 55 </TR> 56 <TR> 57<TD width="200">Corrupt RC0 </TD> 58<TD width="350">Corrupt Memory Card system blocks (recoverable).</TD> 59<TD align="center" width="100">Yes<SUP>*</SUP></TD> 60 </TR> 61 <TR> 62<TD width="200">Corrupt user data blocks</TD> 63<TD width="350">Corrupt all user blocks on the Memory Card.</TD> 64<TD align="center" width="100"><B>No</TD> 65 </TR> 66 <TR> 67<TD width="200">Corrupt all</TD> 68<TD width="350">Corrupt all the blocks of the memory card (default).</TD> 69<TD align="center" width="100"><B>No</TD> 70 </TR> 71 </TBODY> 72</TABLE> 73<P><SUP>*</SUP> The <CODE>CARDCheck</CODE> function can recover the file system if it is recoverable.</P> 74<H3>Creating a File</H3> 75<TABLE border="1" width="650"> 76 <TBODY> 77 <TR align="center" bgcolor="#C0C0C0"> 78<TD width="200"><strong>Option</strong></TD> 79<TD width="450"><strong>Description</strong></TD> 80 </TR> 81 <TR> 82<TD width="200">Create a file (Max blocks)</TD> 83<TD width="450">Create a file with variable block size. (Press +Control Pad Up/Down to change the file size).</TD> 84 </TR> 85 <TR> 86<TD width="200">Create a file (16 Blocks)</TD> 87<TD width="450">Create a 16 block file.</TD> 88 </TR> 89 <TR> 90<TD width="200">Create a file (8 Blocks)</TD> 91<TD width="450">Create an 8 block file.</TD> 92 </TR> 93 <TR> 94<TD width="200">Create a file (2 Blocks)</TD> 95<TD width="450">Create a 2 block file.</TD> 96 </TR> 97 <TR> 98<TD width="200">Create a file (1 Block)</TD> 99<TD width="450">Create a 1 block file.</TD> 100 </TR> 101 <TR> 102<TD width="200">FILL with a one block file</TD> 103<TD width="450">Fill with a one block file.</TD> 104 </TR> 105 </TBODY> 106</TABLE> 107<H3>Deleting Files</H3> 108<TABLE border="1" width="650"> 109 <TBODY> 110 <TR align="center" bgcolor="#C0C0C0"> 111<TD width="200"><strong>Option</strong></TD> 112<TD width="450"><strong>Description</strong></TD> 113 </TR> 114 <TR> 115<TD width="200">Delete all files</TD> 116<TD width="450">Delete all the files in a Memory Card. <SUP>*</SUP></TD> 117 </TR> 118 </TBODY> 119</TABLE> 120<P><SUP>*</SUP>Memory Card utility program can't delete a file that doesn't have ownership.</P> 121<H3>Repairing a Memory Card</H3> 122<TABLE border="1" width="650"> 123 <TBODY> 124 <TR align="center" bgcolor="#C0C0C0"> 125<TD width="200"><strong>Option</strong></TD> 126<TD width="450"><strong>Description</strong></TD> 127 </TR> 128 <TR> 129<TD width="200">Repair Memory Card (if repairable.)</TD> 130<TD width="450">Repair the memory card, if repairable.</TD> 131 </TR> 132 </TBODY> 133</TABLE> 134<h3>Displaying List Files and Corrupting Icons and Comments</h3> 135 136<TABLE border="1" width="650"> 137 <TR align="center" bgcolor="#C0C0C0"> 138<TD width="200"><strong>Option</strong></TD> 139<TD width="450"><strong>Description</strong></TD> 140 </tr> 141 <tr> 142<TD width="200">Corrupting the region for icons and comments</TD> 143<td width="450">Corrupt the banner, icons, and comments of the selected file. <BR>Your game program must be able to detect a corrupted banner (if there is one), icons, and comments and fix the problem if corrupted data is loaded. This option allows you to corrupt a banner, icons, and comments while leaving other user data and system file data intact.</td> 144 </tr> 145</table> 146<br> 147<TABLE border="1" width="650"> 148 <TR align="center" bgcolor="#C0C0C0"> 149<TD width="200"><strong>List Items</strong></TD> 150<TD width="450"><strong>Description</strong></TD> 151 </tr> 152 <tr> 153<TD width="200">Number</TD> 154<TD width="450">File index number of the selected file.</td> 155 </tr> 156 <tr> 157<TD width="200">File Name</TD> 158<TD width="450">File name of the selected file.</td> 159 </tr> 160 <tr> 161<TD width="200">Game</TD> 162<TD width="450">Game code of the selected file (<SUP>*</SUP>see below for details).</td> 163 </tr> 164 <tr> 165<TD width="200">Company Code</TD> 166<TD width="450">Company code of the selected file (<SUP>*</SUP>see below for details).</td> 167 </tr> 168 <tr> 169<TD width="200">Size</TD> 170<TD width="450">Block size of the selected file in decimal.</td> 171 </tr> 172 <tr> 173<TD width="200">Attributes</TD> 174<TD width="450">File attribute of the selected file (<SUP>*</SUP>see below for details).</td> 175 </tr> 176 <tr> 177<TD width="200">Messages</TD> 178<TD width="450">Error or warning message (<SUP>*</SUP>see below for details).</td> 179 </tr> 180 <tr> 181<TD width="200">EXIGetTypeString 182</TD> 183<TD width="450">Returned string from the <CODE>EXIGetTypeString</CODE> function.</td> 184 </tr> 185 <tr> 186<TD width="200">EXIGetType</TD> 187<TD width="450">Returned value from the <CODE>EXIGetType</CODE> function in hexadecimal.</td> 188 </tr> 189 <tr> 190<TD width="200">Slot</TD> 191<TD width="450">Selected slot.</td> 192 </tr> 193 <tr> 194<TD width="200">Status</TD> 195<TD width="450">Status of the Memory Card.</td> 196 </tr> 197 198</table> 199<p><SUP>*</SUP>File attribute is 8 bits and comprises the following: <br>bit 1 = system reserved <br>bit 2 = system reserved <br><b>bit 3 = PUBLIC attribute (1: Public, 0: Not Public) <br>bit 4 = COPY attribute (1: No Copy, 0: Copy enable) <br>bit 5 = MOVE attribute (1: No Move, 0: Move enable) <br>bit 6 = GLOBAL attribute (1: Global, 0: Not Global)</b><br>bit 7 = system reserved <br>bit 8 = system reserved <br> default setting of the file attribute is: 200</p> 201<p>If the system reserved bit(s) of the file attribute is set, the error message is displayed.</p> 202<p>If <b>GLOBAL</b> attribute (formerly a system reserved bit) is set, it will also display the error message, and it will not display <i><b>GAME</b></i> and <i><b>CP</b></i>. Both <i><b><code>gameName</code></b></i>(<i><b>GAME</b></i>) and <code><i><b>company</b></i></code>(<i><b>CP</b></i>) are zero.</p> 203<p>If the <b>PUBLIC</b> attribute of the file is disabled, the error message will be displayed.</p> 204<p>If the <b>NO_COPY</b> or <b>NO_MOVE</b> attribute of the file is set, the warning message will be displayed.</p> 205<H3>IPL Menu Screen (Reset)</H3> 206<P>Move to the IPL menu screen (Hot Reset).</P> 207<H2>Status Information</H2> 208<TABLE border="1" width="650"> 209 <TBODY> 210 <TR align="center" bgcolor="#C0C0C0"> 211<TD width="200"><strong>Option</strong></TD> 212<TD width="450"><strong>Description</strong></TD> 213 </TR> 214 <TR> 215<TD width="200">MSG</TD> 216<TD width="450">Debug messages.</TD> 217 </TR> 218 <TR> 219<TD width="200">Slot</TD> 220<TD width="450">Selected slot.</TD> 221 </TR> 222 <TR> 223<TD width="200">Encoding</TD> 224<TD width="450">Memory Card encoding (ANSI or SJIS).</TD> 225 </TR> 226 <TR> 227<TD width="200">Sector Size</TD> 228<TD width="450">Memory Card sector size in Bytes.</TD> 229 </TR> 230 <TR> 231<TD width="200">Memory Size</TD> 232<TD width="450">Memory Card size in MB.</TD> 233 </TR> 234 <TR> 235<TD width="200">Free Files</TD> 236<TD width="450">Number of unused files.</TD> 237 </TR> 238 <TR> 239<TD width="200">Free Blocks</TD> 240<TD width="450">Number of unused blocks.</TD> 241 </TR> 242 <TR> 243<TD width="200">Serial #</TD> 244<TD width="450">Memory Card serial number (assigned at the time of format).</TD> 245 </TR> 246 <TR> 247<TD width="200">Status</TD> 248<TD width="450">Card status.</TD> 249 </TR> 250 </TBODY> 251</TABLE> 252<H2>Location</H2> 253<P><CODE>$REVOLUTION_SDK_ROOT/RVL/bin/tools/cardedit.elf</CODE></P> 254<H2>Revision History</H2> 255<P>2006/03/01 Initial version.</p> 256 257<hr> 258<P>CONFIDENTIAL</p> 259</BODY> 260</HTML>