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	<TITLE>NWC24Editor</TITLE>
7<LINK rel="stylesheet" type="text/css" href="NWC24Editor/NWC24Editor.css">
8</HEAD>
9<BODY>
10
11<h1>NWC24Editor</h1>
12
13<h2>Introduction</h2>
14
15<P>
16NWC24Editor is a tool for referencing and editing the data managed by the NWC24 library in the Wii system memory. The following can be edited and referenced.
17</P>
18
19<ul>
20<li>Friend Roster
21<li>Message box
22<li>Download tasks
23</ul>
24
25<P>
26(To send and receive messages, you need to <a href="ncdconfigtool.html">configure network settings</a> separately.))
27</P>
28
29<H2>Running the Tool</H2>
30
31<h3>elf</h3>
32<p>
33Change to the <code>$REVOLUTION_EXT_ROOT/RVL/bin/tools</code> directory and run the <code>ndrun</code> script with the <code>NWC24Editor.elf</code> file as an argument.
34</p>
35
36<p>
37By creating the directories described below (<CODE>/template</CODE>, <CODE>/misc</CODE>) directly under <CODE>DVDROOT</CODE> and placing the appropriate files, you can reference them at execution time.
38</p>
39
40<p>
41When running with <CODE>.elf</CODE>, note that <CODE>NWC24Editor</CODE> creates files and directories in the Wii system memory's home directory. Specifically, the following files and directories are created.
42</p>
43<pre>
44Always created at startup time.
45    /title/00010000/30303030/data/hst           Directory
46    /title/00010000/30303030/data/hst/app.hst   File
47    /title/00010000/30303030/data/hst/grp.hst   File
48    /title/00010000/30303030/data/hst/hex.hst   File
49    /title/00010000/30303030/data/hst/num.hst   File
50    /title/00010000/30303030/data/hst/txt.hst   File
51
52Created when saving to Home at the Data View screen.
53    /title/00010000/30303030/data/misc          Directory
54    /title/00010000/30303030/data/misc/A_*.bin  File ('*' is a number)
55</pre>
56
57
58<h3>wad</h3>
59<p>
60Use Nmenu.elf to import and execute <code>$REVOLUTION_EXT_ROOT/RVL/bin/tools/NWC24Editor.wad</code>.
61</p>
62<p>
63You can also create an original wad file from NWC24Editor.elf using makeWad.exe. If this is done, place the archived files that include the appropriate files as content2 in the directories described below (/template, /misc) to reference the data at execution time. <br>For details on how to handle <CODE>.wad</CODE> files and content, see NADK.
64</p>
65
66<p>
67A save banner is created in the home directory when <CODE>NWC24Editor</CODE> is run as a NAND application.
68</p>
69
70
71<H2>Using the Tool</H2>
72
73<P>
74The tool is operated using either the Wii Remote or a USB keyboard.
75</P>
76
77
78<h3>Basic Controller Operations</h3>
79
80<table class="table">
81<thead>
82<tr><th><B>Button</B><th>Operation
83</thead>
84<tbody>
85<tr><th>DPD<td>DPD Cursor Movement.
86<tr><th>A Button<td>Decide / Select
87<tr><th>HOME<td>The same effect as the &quot;close&quot; and &quot;CANCEL&quot; buttons on each screen.
88<tr><th>B Button drag<td>Scrolls the screen (up and down only)
89</tbody>
90</table>
91
92<p>
93The <CODE>NWC24Editor</CODE> screen has white text on a black background, but there are regions with grey border and background. These regions can be manipulated by pointing at them with the Wii Remote's DPD and then pressing the A Button. There are a number of varieties: a button, a character and number input box, a value selection box, and others.
94</p>
95<p>
96<img src="NWC24Editor/ui.png"/>
97</p>
98
99
100<h3>Controller Operation for Character and Number Input Boxes</h3>
101
102<table class="table">
103<thead>
104<tr><th><B>Button</B><th>Operation
105</thead>
106<tbody>
107<tr><th>+Control Pad Up/Down<td>Changes the character at the position of the character input cursor.
108<tr><th>+Control Pad Left/Right<td>Moves the character input cursor.
109<tr><th>- Button<td>Deletes the character before the position of the character input cursor.
110<tr><th>+ Button<td>Inserts a space.
111</tbody>
112</table>
113
114
115<h3>Keyboard Operation</h3>
116
117<table class="table">
118<thead>
119<tr><th><B>Button</B><th>Operation
120</thead>
121<tbody>
122<tr><th>Arrow keys<td>Moves between items; moves the character input cursor.
123<tr><th>Enter<td>Decide / Select
124<tr><th>Shift+Enter<td>Inserts a linefeed in text input.
125<tr><th>ESC<td>The same effect as the &quot;close&quot; and &quot;CANCEL&quot; buttons on each screen.
126<tr><th>Page Up<td>Scrolls up by half a screen.
127<tr><th>Page Down<td>Scrolls down by half a screen.
128<tr><th>CapsLock<td>Switch between the uppercase and lowercase alphabet.
129<tr><th>Half-width / Full-width key<td>Switch between alphanumeric input and the Japanese kana letter input.
130<tr><th>Katakana-Hiragana key<td>Switch between katakana and hiragana in the Japanese kana letter input.
131</tbody>
132</table>
133
134<p>
135You can input ASCII characters and the following full-width items: numbers, hiragana, and katakana. You cannot perform kanji conversion.
136</p>
137
138<H2>Template Feature</H2>
139
140<P>
141There is a template feature to save time and effort for repeated input.
142</P>
143
144<P>
145Create a <CODE>/template</CODE> directory directly below either <CODE>DVDROOT</CODE>, SD card, or the content2 root directory for a <CODE>.wad</CODE> file. By placing in this directory the files that have the names listed below, you can select and input the file's content in the corresponding input item.
146</P>
147
148<table class="table">
149  <thead>
150    <tr>
151<th>File Name</th>
152<th>Corresponding Items</th>
153    </tr>
154  </thead>
155  <tbody>
156    <tr>
157<th>txt.txt</td>
158<td>Character String Input Items</td>
159    </tr>
160    <tr>
161<th>num.txt</td>
162<td>Decimal Number Input Items</td>
163    </tr>
164    <tr>
165<th>hex.txt</td>
166<td>Hexadecimal Input Items</td>
167    </tr>
168    <tr>
169<th>app.txt</td>
170<td>Application ID Input Items</td>
171    </tr>
172    <tr>
173<th>grp.txt</td>
174<td>Group ID Input Items</td>
175    </tr>
176  </tbody>
177</table>
178
179<P>
180Except for <CODE>txt.txt</CODE>, the files follow a common format: one line describes one item in ASCII. Each line is recognized through the following conditions.
181</P>
182
183<ul>
184<li>Numeric characters only<br> -&gt; Recognized as a decimal number.
185<li>Hexadecimal number characters beginning with <CODE>0x</CODE>.<br> -&gt; Recognized as a hexadecimal number.
186<li>Other<br> -&gt; Recognized as a binary value for the character string being described.
187</ul>
188
189<P>
190The <CODE>txt.txt</CODE> text file format is encoded in UTF16BE; lines that include only the '<CODE>-</CODE>' character are treated as delimiters between items.
191</P>
192
193<h4>Examples of Each File</h4>
194
195<ul>
196<li>num.txt
197<pre class="text">
198100
199256
2000x20
201</pre>
202<li>hex.txt
203<pre class="text">
2040x1000
2050x1234
206123
207</pre>
208<li>app.txt
209<pre class="text">
210RSPJ
211RHAJ
2120x5253504A
213</pre>
214<li>txt.txt
215<pre class="text">
216Message Subject Template
217-
218https://wc24.nintendo.co.jp/rspj/hoge.zip
219-
220Since delimiting is done on hyphens,
221messages that include linefeeds
222can be also used.
223</pre>
224</ul>
225
226<P>
227Each of these files is loaded when <CODE>NWC24Editor</CODE> starts up. They can also be reloaded by selecting <STRONG>Tool</STRONG> from the top menu, then <STRONG>NWC24Editor</STRONG>, and finally <STRONG>Reload Template</STRONG>.
228</P>
229
230
231<H2>History Feature</H2>
232
233<P>
234There is one more feature to save time and effort for repeated input: the history feature.
235</P>
236
237<P>
238Up to six input values are automatically saved for each input item type, and by choosing between these values you can save time for later input.
239</P>
240<P>
241The history is saved in the Wii console NAND memory's home directory, and it persists across restart. To delete the history, select <STRONG>Tool</STRONG> from the top menu, then <STRONG>NWC24Editor</STRONG>, and finally <STRONG>Clear History</STRONG>.
242</P>
243
244
245<h2>Console</h2>
246<p>
247When <CODE>NWC24Editor</CODE> is run on the NDEV, debugging output is performed from the NDEV's serial port. Debugging output is stored internally. When the API returns an error for a reason such as a mistake in the input values, the console is shown on the bottom half of the screen for a fixed period of time, using orange characters.
248</p>
249
250<p>
251    <img src="NWC24Editor/Console.png"/>
252</p>
253
254<p>
255The most recent five lines of debugging output are shown in the console.
256</p>
257
258<p>
259You can check the console at any time on the NWC24Editor Information screen where the console is always displayed.
260</p>
261
262
263<H2>Screenshot</H2>
264
265<h3>Top Screen</h3>
266<p>
267This is the screen immediately after NWC24 is started. The operational status of the WiiConnect24 system is displayed.
268</p>
269
270<p>
271    <img src="NWC24Editor/Top.png"/>
272</p>
273
274
275<h4>Controller Operations</h4>
276
277<table class="table">
278<thead>
279<tr><th><B>Button</B><th>Operation
280</thead>
281<tbody>
282<tr><th>B Button and - Button<td>Immediately sends a message.
283<tr><th>B Button and + Button<td>Immediately receives a message.
284</tbody>
285</table>
286
287<h4><B>Button</B></h4>
288
289<table class="table">
290<thead>
291<tr><th><B>Button</B><th>Description
292</thead>
293<tbody>
294<tr><th>tool
295	<td>Opens a menu. The contents of the menu follow.
296		<table class="table">
297		<thead>
298		<tr><th colspan="2">Menu Items<th>Description
299        </thead>
300        <tbody>
301		<tr><th colspan="2">friend list editor
302			<td>Opens the Friend Roster screen. Friend Roster can be edited, and friend relationships can be established.
303		<tr><th colspan="2">select network
304			<td>Connection Settings to use can be switched. The three Connection Settings registered with the system are each displayed in the sub menu in the following manner.
305<pre class="menu">
306<span class="menu">* x No.3 wireless AP-SSID DHCP</span>
307- - ---- -------- ------- ----
3081 2 3    4        5       6
309</pre>
310                <ol>
311<li>This mark indicates a setting that is currently being used. It is not shown for settings other than those in use.
312<li>Shows the flag that indicates whether or not the Connection Test passed. An 'o' is displayed if the test passed; otherwise, an 'x' is displayed.
313<li>The connection settings number.
314<li>For wireless connections, &quot;wireless&quot; is displayed. For wired connections, &quot;wired&quot; is displayed.
315<li>This is only used for wireless connections and shows the SSID of the wireless AP.
316<li>The specified IP address is displayed. If DHCP is used, &quot;DHCP&quot; is displayed.
317                </ol>
318
319			Select the sub menu to switch the Connection Settings. This switch is not temporary and will overwrite the system settings. That is, it will be reflected in other applications, too.
320		<tr><th colspan="2">NWC24
321			<td>Displays the sub-menu of features related to the NWC24 library.
322		<tr><th rowspan="2">&nbsp;&nbsp;&nbsp;
323		    <th nowrap>register WiiID
324			<td>Creates a WiiID and registers it with the server. To send and receive messages over a network, a Wii number must be generated and registered with the server. This processing is done as a part of the Connection Test on commercially available Wii consoles.
325		<tr><th nowrap>initialize NWC24
326			<td>Initializes all NWC24 settings. All friends, messages, download tasks, and the Wii number are deleted. To send and receive messages over a network following initialization, you must perform &quot;register WiiID&quot;, mentioned above.
327		<tr><th colspan="2">NWC24Editor
328			<td>Displays the sub-menu of features specific to the NWC24Editor.
329		<tr><th rowspan="2">
330		    <th nowrap>reload template
331			<td>Clears all template information that has already been loaded, and reloads the templates.
332		<tr><th nowrap>clear history
333			<td>Deletes all history.
334		<tr><th colspan="2">information
335			<td>Opens the NWC24Editor Information screen.
336		<tbody>
337		</table>
338<tr><th>create new message
339	<td>Opens the Message Creation screen. This lets you create a new message.
340<tr><th>message box
341	<td>Opens the Message Box screen. You can access a message in the message box and create a new message based on the existing message.
342<tr><th>DL
343	<td>Opens the Download Task List screen. Download tasks can be referenced and edited.
344<tr><th>WiiMenu
345	<td><CODE>OSReturnToMenu</CODE> is called. Returns to the Wii Menu if it is installed. If it is not installed, the NWC24Editor is restarted.
346</tbody>
347</table>
348
349
350<h4>View</h4>
351<table class="table">
352<thead>
353<tr><th>View<th>Description
354</thead>
355<tbody>
356<tr><th>ID<td>Displays the local Wii number.
357<tr><th>[NEW]<td>Displayed in green when there are new messages and in gray otherwise.
358<tr><th>[MENU]<td>Displayed in green when there are new messages on the Wii Message Board, and in gray otherwise.
359<tr><th>[1,2:SUSPEND]<td>Displayed in green when the scheduler is suspended, and in gray otherwise.
360<tr><th>local<td>Displays the current time set for Wii.
361<tr><th>uptime<td>Displays the amount of time that has passed since NWC24Editor was started.
362<tr><th>SendBox msg<td>Displays the number of messages in the outbox.
363<tr><th>RecvBox msg<td>Displays the number of messages in the inbox.
364<tr><th>status<td>The operational status of the WiiConnect24 system is displayed.
365<tr><th>latest error<td>Displays the error code of the last error that occurred in the WiiConnect24 system's automatic processing since NWC24Editor was started.
366<tr><th>error count<td>Displays the number of errors that occurred in the WiiConnect24 system's automatic processing since NWC24Editor was started.
367<tr><th>message count<td>Displays the message count for each of the following since NWC24Editor was started.
368<tr><th>|--send<td>The number of sent messages.
369<tr><th>|--recv<td>The number of received messages.
370<tr><th>|--save<td>The number of messages that have been analyzed.
371<tr><th>|--reject<td>The number of deleted messages.
372<tr><th>|--filter<td>The number of messages that have been filtered by the Friend Roster. This indicates messages from someone with whom a friend relationship has not been established.
373<tr><th>|--established<td>The number of friends with whom new friend relationships have been established.
374<tr><th>permission<td>Displays the usage permission status of NWC24 features.
375<tr><th>|--send msg<td>Displays whether sending of messages is permitted.
376<tr><th>|--recv msg<td>Displays whether receiving of messages is permitted.
377<tr><th>|--download<td>Displays whether download task operation is permitted.
378<tr><th>task count<td>Displays the number of the following automatic processing operations for the WiiConnect24 system since NWC24Editor was started.
379<tr><th>|--check<td>Check process count for new messages.
380<tr><th>|--send<td>Send process count.
381<tr><th>|--recv<td>Receive process count.
382<tr><th>|--save<td>Analysis process count.
383<tr><th>|--interval recv<td>Interval receive process count.
384<tr><th>|--download<td>Download task process count.
385<tr><th>ERROR LOG<td>Displays up to 32 recent items from the error codes that have occurred in the WiiConnect24 system's automatic processing.
386</tbody>
387</table>
388
389
390
391<h3>Friend Roster Screen</h3>
392<p>
393Displays a list of registered friends.
394</p>
395
396<p>
397    <img src="NWC24Editor/FriendList.png"/>
398</p>
399
400<p>
401The &quot;close&quot; button, &quot;friends&quot;, and &quot;established&quot; are displayed on the first line. A single friend is displayed on each line thereafter in index order. <br>The number of registered friends is shown by &quot;friends&quot;. The number of registered friends for whom a friend relationship has been established is shown by &quot;established&quot;. The <B>close</B> button closes this screen.
402</p>
403<p>
404For all lines starting with the second, if a friend relationship has been established, the line will be displayed in a brighter font; otherwise, the line will be displayed in a darker font. In addition, the &quot;del&quot; button will be displayed at the beginning of the lines for which a friend relationship has been registered. If this button is pressed, the friend will be unregistered. In the index with a registered Friend, if it is a Wii Friend, &quot;W&quot;, nickname, and a Wii number are displayed after the index number. If it is a Public Friend, &quot;P&quot;, nickname, and e-mail address are displayed. Indices that do not have a registered friend will display &quot;(empty)&quot; appended to the index number.
405</p>
406<p>
407The button displayed by each line's index number will open the Edit Friend screen, whether or not a friend has been registered for that index. Also, the button can be grabbed and moved by pressing the A Button and B Button together above it; this allows you to change the ordering of friends.
408</p>
409
410
411
412
413<h3>Edit Friend Screen</h3>
414<p>
415A friend's details can be displayed and edited.
416</p>
417
418<p>
419    <img src="NWC24Editor/FriendWii.png"/>
420</p>
421
422<table class="table">
423<thead>
424<tr><th>View<th>Description
425</thead>
426<tbody>
427<tr><th>Index<td>Shows a friend's index number.
428<tr><th>Type<td>Shows a friend's type.
429    <table class="table">
430    <thead>
431<tr><th>Value<th>Description
432    </thead>
433    <tbody>
434<tr><th>NWC24_FI_TYPE_WII<td>The friend is a Wii Friend.
435<tr><th>NWC24_FI_TYPE_PUBLIC<td>The friend is a public e-mail friend.
436    <tbody>
437    </table>
438<tr><th>Status<td>Shows the establishment status of a friend relationship.
439    <table class="table">
440    <thead>
441<tr><th>Value<th>Description
442    </thead>
443    <tbody>
444<tr><th>NWC24_FI_STATE_PENDING<td>The friend relationship is not established.
445<tr><th>NWC24_FI_STATE_ESTABLISHED<td>The friend relationship is established.
446    <tbody>
447    </table>
448<tr><th>Name<td>Shows friend's nickname.
449<tr><th>MiiID<td>Shows ID of the Mii associated with friend. Mii ID cannot be edited in NWC24Editor.
450<tr><th>Addr<td>Shows a friend's address. This specifies a Wii number if &quot;Type&quot; is <CODE>NWC24_FI_TYPE_WII</CODE> and an e-mail address if &quot;Type&quot; is <CODE>NWC24_FI_TYPE_PUBLIC</CODE>.
451</tbody>
452</table>
453
454<p>
455The <B>OK</B> button sets the edited value in Friend Roster and closes the screen.<br>The <B>CANCEL</B> button discards the edited values and closes the screen without changing Friend Roster.
456</p>
457
458<h3>NWC24Editor Information Screen</h3>
459<p>
460Displays information related to NWC24Editor's execution environment. The console is always shown on this screen.
461</p>
462
463<p>
464    <img src="NWC24Editor/Information.png"/>
465</p>
466
467<table class="table">
468<thead>
469<tr><th>View<th>Description
470</thead>
471<tbody>
472<tr><th>firmware<td>Displays firmware version used by NWC24Editor.
473<tr><th>build info<td>Displays NWC24Editor's build time.
474<tr><th>launch time<td>Displays NWC24Editor's startup time.
475<tr><th>DVD available<td>Displays whether or not DVD can be used in NWC24Editor.
476<tr><th>development HW<td>Displays whether or not the console is a development console. This is &quot;yes&quot; for NDEV and &quot;no&quot; for RVT-R and RVT-H.
477<tr><th>MEM2 size<td>Displays the MEM2 size.
478<tr><th>NANDGetHomeDir<td>Displays the value that could be obtained by <CODE>NANDGetHomeDir</CODE>.
479<tr><th>OSGetConsoleType<td>Displays the value that could be obtained by <CODE>OSGetConsoleType</CODE>.
480<tr><th>OSGetAppGamename<td>Displays the value that could be obtained by <CODE>OSGetAppGamename</CODE>.
481<tr><th>OSGetAppType<td>Displays the value that could be obtained by the <CODE>OSGetAppType</CODE> function.
482</tbody>
483</table>
484
485
486
487<h3>Create Message Screen</h3>
488<p>
489A new message can be created.
490</p>
491
492<p>
493    <img src="NWC24Editor/MakeMsg.png"/>
494</p>
495
496<p>
497The <B>Commit to SendBox</B> button stores messages in the outbox.<br>The <B>Commit to RecvBox</B> button stores messages in the inbox.<br>The <B>CANCEL</B> button closes this screen without doing anything.
498</p>
499
500
501<table class="table">
502<thead>
503<tr><th>Item<th>Relevant NWC24 Functions<th>Description
504</thead>
505<tbody>
506<tr><th>Type<td><a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a><td>Specifies message type.
507<tr><th>SendTime<td><a href="../Message/NWC24SetMsgDesignatedTime.html">NWC24SetMsgDesignatedTime</a><td><span class="ver3">[Ver.3]</span> Specifies the time to send the message. Actual transmission will be delayed because it occurs at the first automatic transmission process after the specified time.
508<tr><th class="category" colspan="3">for WII_MENU &amp; WII_APP
509<tr><th>AppID<td>((automatically set by <CODE><a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a></CODE>)<td>Specifies the message's application ID. This cannot be specified in the application; it is automatically set to one's own application ID.
510<tr><th>GrpID<td>((automatically set by <CODE><a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a></CODE>)<td>Specifies the message's group ID. This cannot be specified in the application; it is automatically set to one's own group ID.
511<tr><th>Tag<td><a href="../Message/NWC24SetMsgTag.html">NWC24SetMsgTag</a><td>When set to anything other than 0000, if a message that has the same values in <CODE>AppID</CODE>, <CODE>From</CODE>, and <CODE>Tag</CODE> already exists in the inbox, the message already stored is deleted.
512<tr><th>AltName<td><a href="../MsgBoard/NWC24SetMsgAltName.html">NWC24SetMsgAltName</a><td>Specifies the sender's name to be displayed on the envelope on Wii Message Board.
513<tr><th class="category" colspan="3">for WII_MENU
514<tr><th nowrap>LED Pattern<td><a href="../Message/NWC24SetMsgLedPattern.html">NWC24SetMsgLedPattern</a><td>Turns on the slot illumination when a message is received.
515<tr><th>MBDelay<td><a href="../MsgBoard/NWC24SetMsgMBDelay.html">NWC24SetMsgMBDelay</a><td>Delays display to Wii Message Board by the specified period of time. The number is specified in hours.
516<tr><th>MBRegDate<td><a href="../MsgBoard/NWC24SetMsgMBRegDate.html">NWC24SetMsgMBRegDate</a><td>Specifies the calendar date when the message is posted on Wii Message Board. This does not mean that it will not be displayed on Wii Message Board until the specified date.
517<tr><th>MBNoReply<td><a href="../MsgBoard/NWC24SetMsgMBNoReply.html">NWC24SetMsgMBNoReply</a><td>Makes it impossible to reply to this message on Wii Message Board.
518<tr><th>OptOut<td>-<td><span class="ver3">[Ver.3]</span> Displays the <B>Stop Delivery</B> button on Wii Message Board.
519<tr><th class="category" colspan="3">for WII_APP
520<tr><th>NewSign<td><a href="../Message/NWC24SetMsgIconNewSign.html">NWC24SetMsgIconNewSign</a><td><span class="ver3">[Ver.3]</span> Specifies the display of 'New' in icons and banners in the Wii Menu.
521<tr><th class="category" colspan="3">common
522<tr><th>From<td>((automatically set by <CODE><a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a></CODE>)<td>Specifies the address of the message's sender. This cannot be specified in the application; it is automatically set to one's own Wii number.
523<tr><th>To<td><a href="../Message/NWC24SetMsgToId.html">NWC24SetMsgToId</a><br><a href="../Message/NWC24SetMsgToAddr.html">NWC24SetMsgToAddr</a><td>Specifies addresses to which the message will be sent. A maximum of 8 addresses can be specified.
524<tr><th>Attached<td><a href="../Message/NWC24SetMsgAttached.html">NWC24SetMsgAttached</a><td>Specifies attached files. To open the File Selection screen, click on the <B>attach</B> button. When an attached file is specified, click the <B>replace</B> button to change the attached file, <B>view</B> button to view that file, and <B>delete</B> button to remove the attachment. A maximum of 2 files can be attached.
525<tr><th>Subject<td><a href="../Message/NWC24SetMsgSubject.html"><CODE>NWC24SetMsgSubject</CODE></a><br><a href="../Message/NWC24SetMsgSubjectPublic.html">NWC24SetMsgSubjectPublic</a><td>Specifies the subject of the message.
526<tr><th>Body<td><a href="../Message/NWC24SetMsgText.html">NWC24SetMsgText</a><br><a href="../Message/NWC24SetMsgTextPublic.html">NWC24SetMsgTextPublic</a><td>Specifies the body text of the message.
527</tbody>
528</table>
529<p>
530(Items with <span class="ver3">[Ver.3]</span> are features that require Wii Menu Version 3 or later)
531</p>
532
533
534
535<h3>File Selection Screen</h3>
536
537<p>
538On this screen, you can select files to attach to a message.
539</p>
540
541<p>
542    <img src="NWC24Editor/Attach.png"/>
543</p>
544
545<p>
546Files directly under the <CODE>/misc</CODE> directory for all media are displayed in a list. A single line corresponds to a single file. The following items are displayed left to right on each line: the <B>D</B> button, <B>Select</B> button, file size, and a button that shows the file name. If files do not exist for a media, &quot;(empty)&quot; is displayed.
547</p>
548
549<p>
550<B>D</B> button only deletes files on media that allow deletions.<br><B>Select</B> button selects a file and closes the screen.<br>The button that shows file name will display the file in the Data View screen.
551</p>
552
553
554
555<h3>Data View Screen</h3>
556
557<p>
558The content of items, such as attached files, can be viewed.
559</p>
560
561<p>
562    <img src="NWC24Editor/DataView.png"/>
563</p>
564
565<p>
566The <B>close</B> button, <B>Home</B> button, <B>SD</B> button, file name, file size, and display mode are all displayed on the first line, in that order.<br>The <B>close</B> button closes the screen.<br>The <B>Home</B> and <B>SD</B> buttons save the currently displayed data to the home directory in the Wii console NAND memory and the <CODE>misc</CODE> directory on the SD card, respectively.<br>If the target data is determined to be UTF16-BE text, &quot;UTF16BE&quot; is shown in the display mode; otherwise, &quot;ascii&quot; is shown.
567</p>
568
569<p>
570Beginning at the second line, up to 10KB of the data's content is displayed as text. It will be displayed as UTF16-BE if the display mode is &quot;UTF16BE&quot;, and as ASCII if the display mode is &quot;ascii&quot;. Wrapping is done as appropriate.
571</p>
572
573
574
575
576<h3>Message Box Screen</h3>
577<p>
578Displays a list of messages stored in the message box.
579</p>
580
581<p>
582    <img src="NWC24Editor/MsgBox.png"/>
583</p>
584<p>
585The <B>create new message</B> button and <B>close</B> button are displayed on the first line. From the second line on, messages in the outbox are displayed first, and then messages in the inbox are displayed.<br>Click on the <B>create new message</B> button to open the Message Create screen.<br>The <B>close</B> button closes the screen.
586</p>
587
588<p>
589Beginning at the second line, a single message is displayed for each line. For each message box, &quot;(empty)&quot; is displayed if there is not even a single message. The <B>del</B> button is displayed at the beginning of each line, followed by the button displaying the message ID, sender's address, receiver's address, and subject.<br>The <B>del</B> button deletes the corresponding message. The button that includes the message ID displays the Message View screen for the corresponding message.
590</p>
591
592
593
594<h3>Message View Screen</h3>
595<p>
596Displays message details.
597</p>
598
599<p>
600    <img src="NWC24Editor/ViewMsg.png"/>
601</p>
602
603<p>
604The <B>copy &amp; create</B> button opens the Message Create screen, with the same contents as the currently displayed message already input.<br>The <B>close</B> button closes this screen.
605</p>
606<p>
607For details on the Message Create screen and the common display items, see the Message Create screen description. Parts that differ from the Message Create screen are described here.
608</p>
609<table class="table">
610<thead>
611<tr><th>Item<th>Relevant NWC24 Functions<th>Description
612</thead>
613<tbody>
614<tr><th>Date<td>NWC24GetMsgDate<td>Displays the date that the message was sent.
615<tr><th>Size<td>NWC24GetMsgSize<td>Displays the message size.
616</tbody>
617</table>
618
619<p>
620Detailed parameters are not displayed for items that are set as &quot;no&quot;. For example, when &quot;MBDelay&quot; is &quot;no&quot;, the value of delay time parameter is not displayed.
621</p>
622
623
624<h3>Download Task List Screen</h3>
625<p>
626Displays a list of registered download tasks.
627</p>
628
629<p>
630    <img src="NWC24Editor/DlTaskList.png"/>
631</p>
632
633<p>
634The eight tasks for IDs 0-7 are reserved by the system and therefore not displayed.
635</p>
636
637<p>
638Each of the following buttons are placed on the first line.
639</p>
640
641<table class="table">
642<thead>
643<tr><th><B>Button</B><th>Description
644</thead>
645<tbody>
646<tr><th>close<td>Closes this screen.
647<tr><th>update<td>Updates the download task list.
648<tr><th>copy<td>Opens the Download Task Copy screen.
649<tr><th>optout<td>Performs opt-out processing for self in Wii Menu.
650<tr><th nowrap>optout all<td>Performs opt-out processing for all applications in the Wii Menu.
651<tr><th nowrap>delete all<td>Deletes all download tasks. Note that if Wii Menu is installed, system download tasks set by Wii Menu will be deleted as well.
652</tbody>
653</table>
654
655
656<p>
657Numbers to the right of the <B>optout all</B> button show the number of tasks that have already been registered and the number of tasks that can be registered, respectively. The task count shown here includes system-reserved tasks. The number of tasks that can be registered is 32 (24 excluding system-reserved tasks) for version 2 of Wii Menu, and 120 (112 excluding system-reserved tasks) for version 3 of Wii Menu.
658</p>
659<p>
660Beginning on the second line, the registration status for a single task is displayed on each line in the order of task ID. Each line is a button whose contents change depending on whether or not the task is registered. If a task is not registered, &quot;empty&quot; is displayed following the task ID. If a task is registered, the task ID, ID of the application that registered the task, and URL of the task are displayed, respectively. Additionally, the <B>del</B> button is displayed to the left of buttons that display a task ID.
661</p>
662<p>
663A button that displays a task ID opens the Edit Download Task screen for that download task.<br>Click on the <B>del</B> button to delete the task.
664</p>
665
666
667
668<h3>Download Task Copy Screen</h3>
669<p>
670Download tasks can be copied.
671</p>
672
673<p>
674    <img src="NWC24Editor/DlTaskCopy1.png"/>
675    <img src="NWC24Editor/DlTaskCopy2.png"/>
676</p>
677
678<p>
679First, select the copy source. Only the task ID with a registered task is displayed as a button. Select the task ID of the copy source and click on the button.
680</p>
681<p>
682The task that has been selected as the copy source will turn into orange text, and all other tasks will turn into buttons. To copy a task from the copy source, click on the button for task ID of the copy destination. If you press the A Button anywhere other than on a button, you will return to the copy source selection.
683</p>
684<p>
685The <B>close</B> button closes the screen.
686</p>
687
688
689
690<h3>Edit Download Task Screen</h3>
691<p>
692Details of a download task can be edited.
693</p>
694
695<p>
696    <img src="NWC24Editor/DlTask.png"/>
697</p>
698
699<p>
700The <B>CANCEL</B> button discards edited values and closes the screen without changing the download task.<br>The <B>OK</B> button sets the edited value in the download task and closes the screen.<br>The <B>do download</B> button actually executes the download task.
701</p>
702
703
704
705
706
707<table class="table">
708<thead>
709<tr><th>Item<th>Description
710</thead>
711<tbody>
712<tr><th>error code<td>Displays the error code of the last error that occurred.
713<tr><th>error count<td>Displays the number of times an error has occurred.
714<tr><th>LastAccess<td>Displays the last time a download was performed.
715<tr><th>NextTime<td>Displays the next time a download task will run.
716<tr><th>LastUpdate<td>Displays the last time contents were updated.
717</tbody>
718</table>
719
720<table class="table">
721<thead>
722<tr><th>Item<th>Relevant NWC24 Functions<th>Description
723</thead>
724<tbody>
725<tr><th>AppID<td>(automatically set by <a href="../Download/NWC24InitDlTask.html">NWC24InitDlTask</a>)<td>Specifies ID of the task owner application.
726<tr><th>Type<td><a href="../Download/NWC24InitDlTask.html">NWC24InitDlTask</a><td>Specifies the type of download process.
727<tr><th>Count<td><a href="../Download/NWC24SetDlCount.html">NWC24SetDlCount</a><td>Specifies the number of times download is performed.
728<tr><th>Priority<td><a href="../Download/NWC24SetDlPriority.html">NWC24SetDlPriority</a><td>Specifies task priority.
729<tr><th>Interval<td><a href="../Download/NWC24SetDlInterval.html">NWC24SetDlInterval</a><td>Specifies download interval.
730<tr><th>ServerInterval<td><a href="../Download/NWC24SetDlServerInterval.html">NWC24SetDlServerInterval</a><td>Specifies the server-side content update interval.
731<tr><th>RetryMargin<td><a href="../Download/NWC24SetDlRetryMargin.html">NWC24SetDlRetryMargin</a><td>Specifies the allowable delay from the original download time.
732<tr><th>Filename<td><a href="../Download/NWC24SetDlFilename.html">NWC24SetDlFilename</a><td>Specifies the name of the file in which downloaded content will be stored.
733<tr><th>URL<td><a href="../Download/NWC24SetDlUrl.html">NWC24SetDlUrl</a><td>Specifies URL for download.
734<tr><th>OptOut<td><a href="../Download/NWC24SetDlOptOutFlags.html">NWC24SetDlOptOutFlags</a><td><span class="ver3">[Ver.3]</span> Indicates that this is an opt-out target.
735<tr><th>Flags<td><a href="../Download/NWC24SetDlFlags.html">NWC24SetDlFlags</a><td>Specifies task flags.
736</tbody>
737</table>
738<p>
739(Items with <span class="ver3">[Ver.3]</span> are features that require Wii Menu Version 3 or later)
740</p>
741
742<H2>Revision History</H2>
743<P>
7442008/08/01 Made updates in line with the addition of the wad file to the package.<br>2007/09/03 Added the previously missing text about SD and controller operation.<br>2007/08/27 Initial version.
745</P>
746
747<hr><p>CONFIDENTIAL</p></body>
748</HTML>
749