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>
60Convert into a <CODE>.wad</CODE> file with <CODE>makeWad.exe</CODE>, then import and run in <CODE>Nmenu.elf</CODE>. When converting data to a <CODE>.wad</CODE> file with <CODE>makeWad.exe</CODE>, place the archived files that include the appropriate files as content2 in the directories described below (<CODE>/template</CODE>, <CODE>/misc</CODE>) to reference the data at execution time. <br>For details on how to handle <CODE>.wad</CODE> files and content, see NADK.
61</p>
62
63<p>
64A save banner is created in the home directory when <CODE>NWC24Editor</CODE> is run as a NAND application.
65</p>
66
67
68<H2>Using the Tool</H2>
69
70<P>
71The tool is operated using either the Wii Remote or a USB keyboard.
72</P>
73
74
75<h3>Basic Controller Operations</h3>
76
77<table class="table">
78<thead>
79<tr><th><B>Button</B><th>Operation
80</thead>
81<tbody>
82<tr><th>DPD<td>DPD Cursor Movement.
83<tr><th>A Button<td>Decide / Select
84<tr><th>HOME<td>The same effect as the &quot;close&quot; and &quot;CANCEL&quot; buttons on each screen.
85<tr><th>B Button drag<td>Scrolls the screen (up and down only)
86</tbody>
87</table>
88
89<p>
90The <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.
91</p>
92<p>
93<img src="NWC24Editor/ui.png"/>
94</p>
95
96
97<h3>Controller Operation for Character and Number Input Boxes</h3>
98
99<table class="table">
100<thead>
101<tr><th><B>Button</B><th>Operation
102</thead>
103<tbody>
104<tr><th>+Control Pad Up/Down<td>Changes the character at the position of the character input cursor.
105<tr><th>+Control Pad Left/Right<td>Moves the character input cursor.
106<tr><th>- Button<td>Deletes the character before the position of the character input cursor.
107<tr><th>+ Button<td>Inserts a space.
108</tbody>
109</table>
110
111
112<h3>Keyboard Operation</h3>
113
114<table class="table">
115<thead>
116<tr><th><B>Button</B><th>Operation
117</thead>
118<tbody>
119<tr><th>Arrow keys<td>Moves between items; moves the character input cursor.
120<tr><th>Enter<td>Decide / Select
121<tr><th>Shift+Enter<td>Inserts a linefeed in text input.
122<tr><th>ESC<td>The same effect as the &quot;close&quot; and &quot;CANCEL&quot; buttons on each screen.
123<tr><th>Page Up<td>Scrolls up by half a screen.
124<tr><th>Page Down<td>Scrolls down by half a screen.
125<tr><th>CapsLock<td>Switch between the uppercase and lowercase alphabet.
126<tr><th>Half-width / Full-width key<td>Switch between alphanumeric input and the Japanese kana letter input.
127<tr><th>Katakana-Hiragana key<td>Switch between katakana and hiragana in the Japanese kana letter input.
128</tbody>
129</table>
130
131<p>
132You can input ASCII characters and the following full-width items: numbers, hiragana, and katakana. You cannot perform kanji conversion.
133</p>
134
135<H2>Template Feature</H2>
136
137<P>
138There is a template feature to save time and effort for repeated input.
139</P>
140
141<P>
142Create 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.
143</P>
144
145<table class="table">
146  <thead>
147    <tr>
148<th>File Name</th>
149<th>Corresponding Items</th>
150    </tr>
151  </thead>
152  <tbody>
153    <tr>
154<th>txt.txt</td>
155<td>Character String Input Items</td>
156    </tr>
157    <tr>
158<th>num.txt</td>
159<td>Decimal Number Input Items</td>
160    </tr>
161    <tr>
162<th>hex.txt</td>
163<td>Hexadecimal Input Items</td>
164    </tr>
165    <tr>
166<th>app.txt</td>
167<td>Application ID Input Items</td>
168    </tr>
169    <tr>
170<th>grp.txt</td>
171<td>Group ID Input Items</td>
172    </tr>
173  </tbody>
174</table>
175
176<P>
177Except 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.
178</P>
179
180<ul>
181<li>Numeric characters only<br> -&gt; Recognized as a decimal number.
182<li>Hexadecimal number characters beginning with <CODE>0x</CODE>.<br> -&gt; Recognized as a hexadecimal number.
183<li>Other<br> -&gt; Recognized as a binary value for the character string being described.
184</ul>
185
186<P>
187The <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.
188</P>
189
190<h4>Examples of Each File</h4>
191
192<ul>
193<li>num.txt
194<pre class="text">
195100
196256
1970x20
198</pre>
199<li>hex.txt
200<pre class="text">
2010x1000
2020x1234
203123
204</pre>
205<li>app.txt
206<pre class="text">
207RSPJ
208RHAJ
2090x5253504A
210</pre>
211<li>txt.txt
212<pre class="text">
213Message Subject Template
214-
215https://wc24.nintendo.co.jp/rspj/hoge.zip
216-
217Since delimiting is done on hyphens,
218messages that include linefeeds
219can be also used.
220</pre>
221</ul>
222
223<P>
224Each 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>.
225</P>
226
227
228<H2>History Feature</H2>
229
230<P>
231There is one more feature to save time and effort for repeated input: the history feature.
232</P>
233
234<P>
235Up 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.
236</P>
237<P>
238The 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>.
239</P>
240
241
242<h2>Console</h2>
243<p>
244When <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.
245</p>
246
247<p>
248    <img src="NWC24Editor/Console.png"/>
249</p>
250
251<p>
252The most recent five lines of debugging output are shown in the console.
253</p>
254
255<p>
256You can check the console at any time on the NWC24Editor Information screen where the console is always displayed.
257</p>
258
259
260<H2>Screenshot</H2>
261
262<h3>Top Screen</h3>
263<p>
264This is the screen immediately after NWC24 is started. The operational status of the WiiConnect24 system is displayed.
265</p>
266
267<p>
268    <img src="NWC24Editor/Top.png"/>
269</p>
270
271
272<h4>Controller Operations</h4>
273
274<table class="table">
275<thead>
276<tr><th><B>Button</B><th>Operation
277</thead>
278<tbody>
279<tr><th>B Button and - Button<td>Immediately sends a message.
280<tr><th>B Button and + Button<td>Immediately receives a message.
281</tbody>
282</table>
283
284<h4><B>Button</B></h4>
285
286<table class="table">
287<thead>
288<tr><th><B>Button</B><th>Description
289</thead>
290<tbody>
291<tr><th>tool
292	<td>Opens a menu. The contents of the menu follow.
293		<table class="table">
294		<thead>
295		<tr><th colspan="2">Menu Items<th>Description
296        </thead>
297        <tbody>
298		<tr><th colspan="2">friend list editor
299			<td>Opens the Friend Roster screen. Friend Roster can be edited, and friend relationships can be established.
300		<tr><th colspan="2">select network
301			<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.
302<pre class="menu">
303<span class="menu">* x No.3 wireless AP-SSID DHCP</span>
304- - ---- -------- ------- ----
3051 2 3    4        5       6
306</pre>
307                <ol>
308<li>This mark indicates a setting that is currently being used. It is not shown for settings other than those in use.
309<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.
310<li>The connection settings number.
311<li>For wireless connections, &quot;wireless&quot; is displayed. For wired connections, &quot;wired&quot; is displayed.
312<li>This is only used for wireless connections and shows the SSID of the wireless AP.
313<li>The specified IP address is displayed. If DHCP is used, &quot;DHCP&quot; is displayed.
314                </ol>
315
316			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.
317		<tr><th colspan="2">NWC24
318			<td>Displays the sub-menu of features related to the NWC24 library.
319		<tr><th rowspan="2">&nbsp;&nbsp;&nbsp;
320		    <th nowrap>register WiiID
321			<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.
322		<tr><th nowrap>initialize NWC24
323			<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.
324		<tr><th colspan="2">NWC24Editor
325			<td>Displays the sub-menu of features specific to the NWC24Editor.
326		<tr><th rowspan="2">
327		    <th nowrap>reload template
328			<td>Clears all template information that has already been loaded, and reloads the templates.
329		<tr><th nowrap>clear history
330			<td>Deletes all history.
331		<tr><th colspan="2">information
332			<td>Opens the NWC24Editor Information screen.
333		<tbody>
334		</table>
335<tr><th>create new message
336	<td>Opens the Message Creation screen. This lets you create a new message.
337<tr><th>message box
338	<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.
339<tr><th>DL
340	<td>Opens the Download Task List screen. Download tasks can be referenced and edited.
341<tr><th>WiiMenu
342	<td><CODE>OSReturnToMenu</CODE> is called. Returns to the Wii Menu if it is installed. If it is not installed, the NWC24Editor is restarted.
343</tbody>
344</table>
345
346
347<h4>View</h4>
348<table class="table">
349<thead>
350<tr><th>View<th>Description
351</thead>
352<tbody>
353<tr><th>ID<td>Displays the local Wii number.
354<tr><th>[NEW]<td>Displayed in green when there are new messages and in gray otherwise.
355<tr><th>[MENU]<td>Displayed in green when there are new messages on the Wii Message Board, and in gray otherwise.
356<tr><th>[1,2:SUSPEND]<td>Displayed in green when the scheduler is suspended, and in gray otherwise.
357<tr><th>local<td>Displays the current time set for Wii.
358<tr><th>uptime<td>Displays the amount of time that has passed since NWC24Editor was started.
359<tr><th>SendBox msg<td>Displays the number of messages in the outbox.
360<tr><th>RecvBox msg<td>Displays the number of messages in the inbox.
361<tr><th>status<td>The operational status of the WiiConnect24 system is displayed.
362<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.
363<tr><th>error count<td>Displays the number of errors that occurred in the WiiConnect24 system's automatic processing since NWC24Editor was started.
364<tr><th>message count<td>Displays the message count for each of the following since NWC24Editor was started.
365<tr><th>|--send<td>The number of sent messages.
366<tr><th>|--recv<td>The number of received messages.
367<tr><th>|--save<td>The number of messages that have been analyzed.
368<tr><th>|--reject<td>The number of deleted messages.
369<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.
370<tr><th>|--established<td>The number of friends with whom new friend relationships have been established.
371<tr><th>permission<td>Displays the usage permission status of NWC24 features.
372<tr><th>|--send msg<td>Displays whether sending of messages is permitted.
373<tr><th>|--recv msg<td>Displays whether receiving of messages is permitted.
374<tr><th>|--download<td>Displays whether download task operation is permitted.
375<tr><th>task count<td>Displays the number of the following automatic processing operations for the WiiConnect24 system since NWC24Editor was started.
376<tr><th>|--check<td>Check process count for new messages.
377<tr><th>|--send<td>Send process count.
378<tr><th>|--recv<td>Receive process count.
379<tr><th>|--save<td>Analysis process count.
380<tr><th>|--interval recv<td>Interval receive process count.
381<tr><th>|--download<td>Download task process count.
382<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.
383</tbody>
384</table>
385
386
387
388<h3>Friend Roster Screen</h3>
389<p>
390Displays a list of registered friends.
391</p>
392
393<p>
394    <img src="NWC24Editor/FriendList.png"/>
395</p>
396
397<p>
398The &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 &quot;close&quot; button closes this screen.
399</p>
400<p>
401For 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.
402</p>
403<p>
404The 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.
405</p>
406
407
408
409
410<h3>Edit Friend Screen</h3>
411<p>
412A friend's details can be displayed and edited.
413</p>
414
415<p>
416    <img src="NWC24Editor/FriendWii.png"/>
417</p>
418
419<table class="table">
420<thead>
421<tr><th>View<th>Description
422</thead>
423<tbody>
424<tr><th>Index<td>Shows a friend's index number.
425<tr><th>Type<td>Shows a friend's type.
426    <table class="table">
427    <thead>
428<tr><th>Value<th>Description
429    </thead>
430    <tbody>
431<tr><th>NWC24_FI_TYPE_WII<td>The friend is a Wii Friend.
432<tr><th>NWC24_FI_TYPE_PUBLIC<td>The friend is a public e-mail friend.
433    <tbody>
434    </table>
435<tr><th>Status<td>Shows the establishment status of a friend relationship.
436    <table class="table">
437    <thead>
438<tr><th>Value<th>Description
439    </thead>
440    <tbody>
441<tr><th>NWC24_FI_STATE_PENDING<td>The friend relationship is not established.
442<tr><th>NWC24_FI_STATE_ESTABLISHED<td>The friend relationship is established.
443    <tbody>
444    </table>
445<tr><th>Name<td>Shows friend's nickname.
446<tr><th>MiiID<td>Shows ID of the Mii associated with friend. Mii ID cannot be edited in NWC24Editor.
447<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>.
448</tbody>
449</table>
450
451<p>
452The <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.
453</p>
454
455<h3>NWC24Editor Information Screen</h3>
456<p>
457Displays information related to NWC24Editor's execution environment. The console is always shown on this screen.
458</p>
459
460<p>
461    <img src="NWC24Editor/Information.png"/>
462</p>
463
464<table class="table">
465<thead>
466<tr><th>View<th>Description
467</thead>
468<tbody>
469<tr><th>firmware<td>Displays firmware version used by NWC24Editor.
470<tr><th>build info<td>Displays NWC24Editor's build time.
471<tr><th>launch time<td>Displays NWC24Editor's startup time.
472<tr><th>DVD available<td>Displays whether or not DVD can be used in NWC24Editor.
473<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.
474<tr><th>MEM2 size<td>Displays the MEM2 size.
475<tr><th>NANDGetHomeDir<td>Displays the value that could be obtained by <CODE>NANDGetHomeDir</CODE>.
476<tr><th>OSGetConsoleType<td>Displays the value that could be obtained by <CODE>OSGetConsoleType</CODE>.
477<tr><th>OSGetAppGamename<td>Displays the value that could be obtained by <CODE>OSGetAppGamename</CODE>.
478<tr><th>OSGetAppType<td>Displays the value that could be obtained by the <CODE>OSGetAppType</CODE> function.
479</tbody>
480</table>
481
482
483
484<h3>Create Message Screen</h3>
485<p>
486A new message can be created.
487</p>
488
489<p>
490    <img src="NWC24Editor/MakeMsg.png"/>
491</p>
492
493<p>
494The <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.
495</p>
496
497
498<table class="table">
499<thead>
500<tr><th>Item<th>Relevant NWC24 Functions<th>Description
501</thead>
502<tbody>
503<tr><th>Type<td><a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a><td>Specifies message type.
504<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.
505<tr><th class="category" colspan="3">for WII_MENU &amp; WII_APP
506<tr><th>AppID<td>((automatically set by <a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a>)<td>Specifies the message's application ID. This cannot be specified in the application; it is automatically set to one's own application ID.
507<tr><th>GrpID<td>(automatically set by <a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a>)<td>Specifies the message's group ID. This cannot be specified in the application; it is automatically set to one's own group ID.
508<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.
509<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.
510<tr><th class="category" colspan="3">for WII_MENU
511<tr><th nowrap>LED Pattern<td><a href="../Message/NWC24SetMsgLedPattern.html">NWC24SetMsgLedPattern</a><td>Turns on the slot illumination when a message is received.
512<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.
513<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.
514<tr><th>MBNoReply<td><a href="../MsgBoard/NWC24SetMsgMBNoReply.html">NWC24SetMsgMBNoReply</a><td>Makes it impossible to reply to this message on Wii Message Board.
515<tr><th>OptOut<td>-<td><span class="ver3">[Ver.3]</span> Displays the <B>Stop Delivery</B> button on Wii Message Board.
516<tr><th class="category" colspan="3">for WII_APP
517<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.
518<tr><th class="category" colspan="3">common
519<tr><th>From<td>(automatically set by <a href="../Message/NWC24InitMsgObj.html">NWC24InitMsgObj</a>)<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.
520<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.
521<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.
522<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.
523<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.
524</tbody>
525</table>
526<p>
527(Items with <span class="ver3">[Ver.3]</span> are features that require Wii Menu Version 3 or later)
528</p>
529
530
531
532<h3>File Selection Screen</h3>
533
534<p>
535On this screen, you can select files to attach to a message.
536</p>
537
538<p>
539    <img src="NWC24Editor/Attach.png"/>
540</p>
541
542<p>
543Files 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.
544</p>
545
546<p>
547<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.
548</p>
549
550
551
552<h3>Data View Screen</h3>
553
554<p>
555The content of items, such as attached files, can be viewed.
556</p>
557
558<p>
559    <img src="NWC24Editor/DataView.png"/>
560</p>
561
562<p>
563The <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.
564</p>
565
566<p>
567Beginning 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.
568</p>
569
570
571
572
573<h3>Message Box Screen</h3>
574<p>
575Displays a list of messages stored in the message box.
576</p>
577
578<p>
579    <img src="NWC24Editor/MsgBox.png"/>
580</p>
581<p>
582The <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.
583</p>
584
585<p>
586Beginning 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.
587</p>
588
589
590
591<h3>Message View Screen</h3>
592<p>
593Displays message details.
594</p>
595
596<p>
597    <img src="NWC24Editor/ViewMsg.png"/>
598</p>
599
600<p>
601The <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.
602</p>
603<p>
604For 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.
605</p>
606<table class="table">
607<thead>
608<tr><th>Item<th>Relevant NWC24 Functions<th>Description
609</thead>
610<tbody>
611<tr><th>Date<td>NWC24GetMsgDate<td>Displays the date that the message was sent.
612<tr><th>Size<td>NWC24GetMsgSize<td>Displays the message size.
613</tbody>
614</table>
615
616<p>
617Detailed 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.
618</p>
619
620
621<h3>Download Task List Screen</h3>
622<p>
623Displays a list of registered download tasks.
624</p>
625
626<p>
627    <img src="NWC24Editor/DlTaskList.png"/>
628</p>
629
630<p>
631The eight tasks for IDs 0-7 are reserved by the system and therefore not displayed.
632</p>
633
634<p>
635Each of the following buttons are placed on the first line.
636</p>
637
638<table class="table">
639<thead>
640<tr><th><B>Button</B><th>Description
641</thead>
642<tbody>
643<tr><th>close<td>Closes this screen.
644<tr><th>update<td>Updates the download task list.
645<tr><th>copy<td>Opens the Download Task Copy screen.
646<tr><th>optout<td>Performs opt-out processing for self in Wii Menu.
647<tr><th nowrap>optout all<td>Performs opt-out processing for all applications in the Wii Menu.
648<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.
649</tbody>
650</table>
651
652
653<p>
654Numbers 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.
655</p>
656<p>
657Beginning 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.
658</p>
659<p>
660A 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.
661</p>
662
663
664
665<h3>Download Task Copy Screen</h3>
666<p>
667Download tasks can be copied.
668</p>
669
670<p>
671    <img src="NWC24Editor/DlTaskCopy1.png"/> <img src="NWC24Editor/DlTaskCopy2.png"/>
672</p>
673
674<p>
675First, 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.
676</p>
677<p>
678The 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.
679</p>
680<p>
681The <B>close</B> button closes the screen.
682</p>
683
684
685
686<h3>Edit Download Task Screen</h3>
687<p>
688Details of a download task can be edited.
689</p>
690
691<p>
692    <img src="NWC24Editor/DlTask.png"/>
693</p>
694
695<p>
696The <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.
697</p>
698
699
700
701
702
703<table class="table">
704<thead>
705<tr><th>Item<th>Description
706</thead>
707<tbody>
708<tr><th>error code<td>Displays the error code of the last error that occurred.
709<tr><th>error count<td>Displays the number of times an error has occurred.
710<tr><th>LastAccess<td>Displays the last time a download was performed.
711<tr><th>NextTime<td>Displays the next time a download task will run.
712<tr><th>LastUpdate<td>Displays the last time contents were updated.
713</tbody>
714</table>
715
716<table class="table">
717<thead>
718<tr><th>Item<th>Relevant NWC24 Functions<th>Description
719</thead>
720<tbody>
721<tr><th>AppID<td>(automatically set by <a href="../Download/NWC24InitDlTask.html">NWC24InitDlTask</a>)<td>Specifies ID of the task owner application.
722<tr><th>Type<td><a href="../Download/NWC24InitDlTask.html">NWC24InitDlTask</a><td>Specifies the type of download process.
723<tr><th>Count<td><a href="../Download/NWC24SetDlCount.html">NWC24SetDlCount</a><td>Specifies the number of times download is performed.
724<tr><th>Priority<td><a href="../Download/NWC24SetDlPriority.html">NWC24SetDlPriority</a><td>Specifies task priority.
725<tr><th>Interval<td><a href="../Download/NWC24SetDlInterval.html">NWC24SetDlInterval</a><td>Specifies download interval.
726<tr><th>ServerInterval<td><a href="../Download/NWC24SetDlServerInterval.html">NWC24SetDlServerInterval</a><td>Specifies the server-side content update interval.
727<tr><th>RetryMargin<td><a href="../Download/NWC24SetDlRetryMargin.html">NWC24SetDlRetryMargin</a><td>Specifies the allowable delay from the original download time.
728<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.
729<tr><th>URL<td><a href="../Download/NWC24SetDlUrl.html">NWC24SetDlUrl</a><td>Specifies URL for download.
730<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.
731<tr><th>Flags<td><a href="../Download/NWC24SetDlFlags.html">NWC24SetDlFlags</a><td>Specifies task flags.
732</tbody>
733</table>
734<p>
735(Items with <span class="ver3">[Ver.3]</span> are features that require Wii Menu Version 3 or later)
736</p>
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761<H2>Revision History</H2>
762<P>
7632007/09/03 Added the previously missing text about SD and controller operation.<br>2007/08/27 Initial version.
764</P>
765
766<hr><p>CONFIDENTIAL</p></body>
767</HTML>
768