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=utf-8">
5		<META http-equiv="Content-Style-Type" content="text/css">
6		<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
7			<title>scanWad.exe</title>
8	</head>
9	<body>
10<H1>scanWad.exe</H1>
11<H2>Location</H2>
12<p><code> $REVOLUTION_SDK_ROOT/X86/bin/ </code>
13</p>
14<H2>Overview</H2>
15<p>
16	This tool is for displaying WAD file information.
17</p>
18<H2>How to Use</H2>
19<dl><dd><pre class="construction">
20% scanWad &lt;inputFile&gt;
21</pre></dd></dl>
22<H2>Description</H2>
23<p>
24	Displays the information about the specified WAD file. The different types of information are explained below.
25</p>
26
27<H3>Basic information: The basic information for the WAD file</H3>
28<p>
29<table border="1" cellspacing="0">
30	<tbody>
31	<tr>
32		<td bgcolor="#C0C0C0">Item</td>
33		<td bgcolor="#C0C0C0">Description</td>
34	</tr>
35	<tr>
36		<td>Wad name</td>
37		<td>The name of the WAD file when the <B><I>-n </I></B>option is specified for <CODE>makeWad</CODE>.</td>
38	</tr>
39	<tr>
40		<td>Title type</td>
41		<td>The type. The type is GAME for a normal NAND application, and DATA for a data title.</td>
42	</tr>
43	<tr>
44		<td>Title ID</td>
45		<td>The title ID. The lower 32 bits are the game code in ASCII notation.</td>
46	</tr>
47	<tr>
48		<td>Game code</td>
49		<td>The game code.</td>
50	</tr>
51	<tr>
52		<td>Company code</td>
53		<td>Company code.</td>
54	</tr>
55	<tr>
56		<td>Game version</td>
57		<td>Game version. Decimal notation is given in parentheses.</td>
58	</tr>
59	<tr>
60		<td>Max Blocks</td>
61		<td>The maximum necessary number of blocks when importing. <font color="red">Use MasterEditor to check the number-of-blocks size restriction.</font></td>
62	</tr>
63	<tr>
64		<td>Max i-nodes</td>
65		<td>The maximum necessary number of i-nodes when importing. <font color="red">Use MasterEditor to check the number-of-i-nodes size restriction.</font></td>
66	</tr>
67	<tr>
68		<td>Total contents</td>
69		<td>The number of content files in the WAD file. This also includes shared content files and content files used by the system.</td>
70	</tr>
71	</tbody>
72</table>
73</p>
74
75<H3>Contents information: The basic information for each content file</H3>
76<p>
77	The following information is displayed for each content file.
78</p>
79<p>
80<table border="1" cellspacing="0">
81	<tbody>
82	<tr>
83		<td bgcolor="#C0C0C0">Item</td>
84		<td bgcolor="#C0C0C0">Description</td>
85	</tr>
86	<tr>
87		<td>Type</td>
88		<td>Application-only content files are of the Private type. Shared content files are of the Shared type.</td>
89	</tr>
90	<tr>
91		<td>Size</td>
92		<td>The size (in bytes) of the content file. The value in parentheses is the number of FS blocks.</td>
93	</tr>
94	<tr>
95		<td>Hash</td>
96		<td>The SHA-1 hash value of the content file.</td>
97	</tr>
98	</tbody>
99</table>
100</p>
101
102<H3>Access rights: The access setting of the WAD file (only shown for Data titles)</H3>
103<p>
104<table border="1" cellspacing="0">
105	<tbody>
106	<tr>
107		<td bgcolor="#C0C0C0">Item</td>
108		<td bgcolor="#C0C0C0">Description</td>
109	</tr>
110	<tr>
111		<td>Access title</td>
112		<td>The game code for accessible titles with the <CODE>makeWad</CODE> <B><I>-E</I></B> specification</td>
113	</tr>
114	<tr>
115		<td>Access mask</td>
116		<td>The mask for setting the group of accessible titles with the <CODE>makeWad</CODE> <B><I>-e</I></B> specification.</td>
117	</tr>
118	<tr>
119		<td>Accessible game codes</td>
120		<td>Displays a list of accessible game codes as calculated from <CODE>Access title</CODE> and <CODE>Access mask</CODE> above. The asterisk symbol (*) is a wildcard.</td>
121	</tr>
122	</tbody>
123</table>
124</p>
125
126<H3>Build information: Build information for the WAD file</H3>
127<p>
128<table border="1" cellspacing="0">
129	<tbody>
130	<tr>
131		<td bgcolor="#C0C0C0">Item</td>
132		<td bgcolor="#C0C0C0">Description</td>
133	</tr>
134	<tr>
135		<td>Build date</td>
136		<td>The creation date of the WAD file as obtained by <CODE>localtime</CODE>.</td>
137	</tr>
138	<tr>
139		<td>Builder</td>
140		<td>Information about the user that created the WAD file. Displayed with a maximum of 15 characters as [user name@machine name].</td>
141	</tr>
142	<tr>
143		<td>Build tool</td>
144		<td>Shows the version of <CODE>makeWad.exe</CODE> used to create the WAD file.</td>
145	</tr>
146	</tbody>
147</table>
148</p>
149
150<H2>See Also</H2>
151	<p><a href="./makeWad.html">makeWad.exe</a></p>
152<H2>Revision History</H2>
153<p>
154	2009/06/29 Initial version.
155</p>
156<hr><p>CONFIDENTIAL</p></body>
157</html>
158