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<link rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7 8<style type="text/css"> 9 dt {text-indent: 1em; font-weight: bold;} 10 dt.opt {font-weight: bold; font-size: small; text-decoration: underline;} 11 thead {background-color:silver} 12</style> 13 14<title>rvlnetconf</title> 15</head> 16<body> 17 18 19<h1>rvlnetconf</h1> 20 21<h2>Introduction</h2> 22<p> 23The <CODE>rvlnetconf</CODE> tool runs a portion of the <a href="../nwc24/tools/nwc24init.html"><CODE>nwc24init</CODE></a> and <a href="../ncd/tools/ncdconfigtool.html"><CODE>ncdconfigtool</CODE></a> functionality on the command line. By incorporating this into scripts and batch files, network settings and similar work performed during debugging can be automated. <br> Output is not on the monitor, but completely on the terminal.<br> 24</p> 25 26 27<h2>Running the Demo</h2> 28<p> 29Go to the <code>$(REVOLUTION_EXT_ROOT)/RVL/bin/tools</code> directory and run as shown using the <code>ndrun</code> script.<br> <br> <code style="padding-left:3em">ndrun rvlnetconf[D].elf -a <i>argument list</i></code><br> <br> The <i><CODE>argument list</CODE></i> is passed to <code>rvlnetconf[D].elf</code> as an argument. <br> 30</p> 31 32 33<h2>Using the Tool</h2> 34<p> 35There are no controller operations. 36</p> 37 38 39<h2>Format</h2> 40<p> 41<code>rvlnetconf [option1] [option2] ...<br></code> 42</p> 43<dl> 44<dt>Options:</dt> 45<dd><code>[-v <i>param1</i> <i>param2</i> ...] [-p {0-2}] [-i <i>param1=DIR</i> <i>param2=DIR</i> ...] [-e <i>param1=DIR</i> <i>param2=DIR</i> ...] [-n <i>param1=value</i> <i>param1=value</i> ...] [-s <i>param1=value</i> <i>param1=value</i> ...] [-u {0-31}] [-f [c][m][f][d]] [-h]</code></dd> 46</dl> 47 48 49<h2>Options</h2> 50 51<dl> 52<dt class="opt">-v option</dt> 53<p><dd> 54Displays all settings information. 55</dd></p> 56<table border="1"> 57 <thead> 58 <tr> 59 <td width="120">Parameters</td> 60 <td width="400">Description</td> 61 </tr> 62 </thead> 63 <tbody> 64 <tr> 65 <td><code>p0 p1 p2</code></td> 66 <td>Displays information for each profile.</td> 67 </tr> 68 <tr> 69 <td><code>ncd</code></td> 70 <td>Displays the network setting information. Mainly, the setting information specific to the NCD library is displayed. </td> 71 </tr> 72 <tr> 73 <td><code>sc</code></td> 74 <td>Displays console setting information specific to the network. Mainly, setting information specific to the SC library is displayed. </td> 75 </tr> 76 <tr> 77 <td><code>id</code></td> 78 <td>Displays the Wii number.</td> 79 </tr> 80 </tbody> 81</table> 82</dl> 83 84<dl> 85<dt class="opt">-p option </dt> 86<p><dd> 87Changes the current profile. 88</dd></p> 89<table border="1"> 90 <thead> 91 <tr> 92 <td width="120">Parameters</td> 93 <td width="400">Description</td> 94 </tr> 95 </thead> 96 <tbody> 97 <tr> 98 <td><code>0-2</code></td> 99 <td>The profile of the corresponding number is selected.</td> 100 </tr> 101 </tbody> 102</table> 103</dl> 104 105<dl> 106<dt class="opt">-i option</dt> 107<p><dd> 108Imports settings information and related files from the SD card. 109</dd></p> 110<table border="1"> 111 <thead> 112 <tr> 113 <td width="120">Parameters</td> 114 <td width="400">Description</td> 115 </tr> 116 </thead> 117 <tbody> 118 <tr> 119 <td><code>ncd=<i>DIR</i></code></td> 120 <td>Imports the network setting information.<code>Specify the directory of the <code>ncdconf.dat</code> file in <i>DIR</i>.<br> Imports from the root directory if a directory is not specified. <br> Files exported by the <CODE>ncdconfigtool</CODE> can be used as they are.</td> 121 </tr> 122 <tr> 123 <td><code>nwc24=<i>DIR</i></code></td> 124 <td>Imports WiiConnect 24 setting information and related files. Specify the directory of the file in <i>DIR</i>.<br> Imports from the root directory if a directory is not specified. <br> Files exported by <CODE>nwc24init</CODE> can be used as they are. </td> 125 </tr> 126 </tbody> 127</table> 128</dl> 129 130<dl> 131<dt class="opt">-e option </dt> 132<p><dd> 133Exports settings information and related files to the SD card. 134</dd></p> 135<table border="1"> 136 <thead> 137 <tr> 138 <td width="120">Parameters</td> 139 <td width="400">Description</td> 140 </tr> 141 </thead> 142 <tbody> 143 <tr> 144 <td><code>ncd=<i>DIR</i></code></td> 145 <td>Exports the network setting information. Specify the output destination directory in <i>DIR</i>.<br> Exports to the root directory if a directory is not specified. <br> Output files can be used even by the <CODE>ncdconfigtool</CODE>. </td> 146 </tr> 147 <tr> 148 <td><code>nwc24=<i>DIR</i></code></td> 149 <td>Exports WiiConnect 24 setting information and related files. Specify the output destination directory in <i>DIR</i>.<br> Exports to the root directory if a directory is not specified. <br> Output files can be used even by <CODE>nwc24init</CODE>. </td> 150 </tr> 151 </tbody> 152</table> 153</dl> 154 155<dl> 156<dt class="opt">-n option </dt> 157<p><dd> 158Configures the network settings. Mainly configures items related to the NCD library. <br> This is the same functionality as settings that can be performed in the NCD menu items of <a href="../nwc24/tools/nwc24init.html"><CODE>nwc24init</CODE></a>. See that for more information. 159</dd></p> 160<table border="1"> 161 <thead> 162 <tr> 163 <td width="120">Parameters</td> 164 <td width="400">Description</td> 165 </tr> 166 </thead> 167 <tbody> 168 <tr> 169 <td><code>timeout=<i>sec</i></code></td> 170 <td>Specifies the timeout in seconds.</td> 171 </tr> 172 <tr> 173 <td><code>permission=[s][r][d]</code></td> 174 <td>Makes the WiiConnect24 permission settings. The meanings of the values are described below.<br> <code style="padding-left:2em">s: </code>Allow message transmission <br> <code style="padding-left:2em">r: </code>Allow message reception<br> <code style="padding-left:2em">d: </code>Download allowed.</td> 175 </tr> 176 </tbody> 177</table> 178</dl> 179 180<dl> 181<dt class="opt">-s option</dt> 182<p><dd> 183Configures console settings specific to WiiConnect24. Mainly sets items specific to the SC library. <br> This is the same feature as settings that can be configured in the SC menu items of <a href="../nwc24/tools/nwc24init.html"><CODE>nwc24init</CODE></a>. See that for more information.<br> <br>NOTE: If this option is specified, the settings are always flushed, which is different from <CODE>nwc24init</CODE>. 184</dd></p> 185<table border="1"> 186 <thead> 187 <tr> 188 <td width="120">Parameters</td> 189 <td width="400">Description</td> 190 <td width="100">Normal Settings</td> 191 </tr> 192 </thead> 193 <tbody> 194 <tr> 195 <td><code>wc=<i>{true,false}</i></code></td> 196 <td>Toggles the settings to use for WiiConnect24. </td> 197 <td>ON</td> 198 </tr> 199 <tr> 200 <td><code>eula=<i>{true,false}</i></code></td> 201 <td>Toggles the EULA on and off.</td> 202 <td>ON</td> 203 </tr> 204 <tr> 205 <td><code>parental=<i>{true,false}</i></code></td> 206 <td>Toggles Parental Controls to be valid/invalid. </td> 207 <td>OFF</td> 208 </tr> 209 <tr> 210 <td><code>restrict=[m][n][s]</code></td> 211 <td>Toggles the restrictions for each content when Parental Control is valid. <br> <code style="padding-left:2em">m: </code>Message sending and receiving is restricted.<br> <code style="padding-left:2em">n: </code>News content is restricted.<br> <code style="padding-left:2em">s: </code>Shopping content is restricted.<br> 212 </td> 213 <td>OFF</td> 214 </tr> 215 <tr> 216 <td><code>idle=<i>{true,false}</i></code></td> 217 <td>Toggles the setting to use/not use WiiConnect24 even in standby mode. </td> 218 <td>Options</td> 219 </tr> 220 <tr> 221 <td><code>led=<i>{off,dark,bright}</i></code></td> 222 <td>Toggles the setting to light the console slot LED using WiiConnect24.<br> If a value is not specified, the value will be <code><i>dark</i></code>.</td> 223 <td>Options</td> 224 </tr> 225 </tbody> 226</table> 227</dl> 228 229<dl> 230<dt class="opt">-u option </dt> 231<p><dd> 232Generates Wii numbers. After running the <code>-f c</code> option, always run this option. <br> 233</dd></p> 234<table border="1"> 235 <thead> 236 <tr> 237 <td width="120">Parameters</td> 238 <td width="400">Description</td> 239 </tr> 240 </thead> 241 <tbody> 242 <tr> 243 <td><code>0-31</code></td> 244 <td>A different Wii number is generated according to the specified parameter. This does not need to be specified. </td> 245 </tr> 246 </tbody> 247</table> 248</dl> 249 250<dl> 251<dt class="opt">-f option </dt> 252<p><dd> 253Initializes the WiiConnect24 settings file and the like.<br> This is the same functionality as Initialize, in the NWC24 menu of <a href="../nwc24/tools/nwc24init.html"><CODE>nwc24init</CODE></a>. See that for more information.<br> <br>NOTE: A Wii number is not automatically generated, so after running, use the <code>-u</code> option. 254</dd></p> 255<table border="1"> 256 <thead> 257 <tr> 258 <td width="120">Parameters</td> 259 <td width="400">Description</td> 260 </tr> 261 </thead> 262 <tbody> 263 <tr> 264 <td><code>[c][m][f][d]</code></td> 265 <td>Initializes the specified file.<br> <code style="padding-left:2em">c: </code>Initializes the settings information.<br> <code style="padding-left:2em">m: </code>Initializes the message box.<br> <code style="padding-left:2em">f: </code>Initializes the friend roster.<br> <code style="padding-left:2em">d: </code>Initializes a download task.<br> 266 </td> 267 </tr> 268 </tbody> 269</table> 270</dl> 271 272<dl> 273<dt class="opt">-h option </dt> 274<p><dd> 275Displays Help.<br> 276</dd></p> 277</dl> 278 279 280<h2>Example</h2> 281<p> 282Options and parameters passed to arguments are processed in order from the left. The next example changes the current profile after the network settings are changed. 283</p> 284<code style="padding-left:3em">ndrun rvlnetconf[D].elf -a -n permission=srd -p 0</code> 285<p> 286Also, the same options and parameters are processed sequentially even if they are specified multiple times. The next example displays information for each import. 287</p> 288<code style="padding-left:3em">ndrun rvlnetconf[D].elf -a -i ncd -v ncd -i nwc24 -v id</code> 289 290 291<h2>Revision History</h2> 292<p>2008/11/27 Initial version.</p> 293<br> <br> 294 295 296<hr><p>CONFIDENTIAL</p></body> 297</html> 298