1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>THPConv - Replacing Audio Data</title>
9</head>
10
11<BODY>
12
13<H1 align="left">Changing THP Audio Data in THP Movie Data</H1>
14<H2>Description</H2>
15<P>Below are the instructions for using the THPConv tool to change the THP audio data in <A href="THPFormat.html">THP Movie Data</A>.</P>
16
17<BLOCKQUOTE>
18<HR>
19<PRE><CODE><B>  THPConv.exe -c</B> &lt;inputfile&gt; <B>-s</B>&lt;wavefile&gt; &lt;wavefile&gt;... <B>-d</B> &lt;outputfile&gt;[-&lt;option&gt; &lt;argument&gt;]</CODE></PRE>
20<HR>
21</BLOCKQUOTE>
22
23
24
25<P>Description of Options</P>
26<BLOCKQUOTE>
27<table border="1" cellpadding="3" cellspacing="0">
28  <tbody>
29    <tr ALIGN="center">
30<th width=50 bgcolor="#C0C0C0">option</th>
31<th width=100 bgcolor="#C0C0C0">argument</th>
32<th bgcolor="#C0C0C0">Description</th>
33    </tr>
34    <tr>
35<th ALIGN="center" width=50 bgcolor="#FFFFCC">-c</th>
36<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;inputfile&gt;</td>
37<td>Specifies the input file (THP file). This argument must <strong>always be specified</strong>.</td>
38    </tr>
39
40    <tr>
41<th ALIGN="center" width=50 bgcolor="#FFFFCC">-s</th>
42<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;wavefile&gt;<BR>&lt;wavefile&gt;<BR>......</td>
43<td>Specifies the replacing sound file (<A href="WavFormat.html">WAV file</A>). <BR>When specifying more than one file for the argument, data is allocated to audio tracks in the order it is specified. If a THP file format that does not support multitracks is input, the output file will be in a format that supports multitracks.</td>
44    </tr>
45
46    <tr>
47<th ALIGN="center" width=50 bgcolor="#FFFFCC">-d</th>
48<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;outputfile&gt;</td>
49<td>Specifies the output file (THP file). If this argument is not given, the THPConv tool will <strong>overwrite the input file.</strong></td>
50    </tr>
51
52  </tbody>
53</table>
54<BR>
55<table border="1" cellpadding="3" cellspacing="0">
56  <tbody>
57
58    <tr>
59<th ALIGN="center" width=50 bgcolor="#FFFFCC">-r</th>
60<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;framerate&gt;</td>
61<td>Specifies the movie's frame rate. Frame rates from 1.0 to 59.94 can be specified. If nothing is specified, the default value (29.97) is used.</td>
62    </tr>
63
64    <tr>
65<th ALIGN="center" width=50 bgcolor="#FFFFCC">-o</th>
66      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
67<td>THP movie data can internally store offsets to each frame data as a table. If this argument is specified, the THPConv tool will create an offset table in the THP data. If this argument is not specified, the THP movie data, no offset table will be created in the THP movie data.</td>
68    </tr>
69
70    <tr>
71<th ALIGN="center" width=50 bgcolor="#FFFFCC">-non</th>
72      <td ALIGN="center" width=100 bgcolor="#E6E6FA" rowspan="3">-</td>
73<td rowspan="3">Specifies the THP video data format. When interlace starts the video data from an odd numbered field, specify <B>-odd</B>. When interlace starts from an even numbered field, specify <B>-even</B>. If this argument is not specified, the THP video data format will be automatically set to non-interlaced (<B>-non</B>).</td>
74    </tr>
75    <tr>
76<th ALIGN="center" width=50 bgcolor="#FFFFCC">-odd</th>
77    </tr>
78    <tr>
79<th ALIGN="center" width=50 bgcolor="#FFFFCC">-even</th>
80    </tr>
81
82    <tr>
83<th ALIGN="center" width=50 bgcolor="#FFFFCC">-trk</th>
84<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;track No.&gt;<BR>&lt;wavefile&gt;</td>
85<td>If you only want to replace a single audio track dataset, use this option instead of <B>-s</B>. The first argument is the audio track number to replace (0-), the second argument is the sound file (WAV file) that will make the replacement. Using this option invalidates the <B>-r</B>, <B>-o</B>, <B>-non</B>, <B>-odd</B>, and <B>-even</B> options. This option can only be used with the THP file formats that support multitracks.</td>
86    </tr>
87
88    <tr>
89<th ALIGN="center" width=50 bgcolor="#FFFFCC">-v</th>
90      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
91<td>Turns on Verbose mode.</td>
92    </tr>
93
94    <tr>
95<th ALIGN="center" width=50 bgcolor="#FFFFCC">-h</th>
96      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
97<td>Displays the option list.</td>
98    </tr>
99
100  </tbody>
101</table>
102</BLOCKQUOTE>
103<h2><font color="#FF0000">Notes for Using THPConv</FONT></h2>
104<P>When the THPConv tool replaces audio data in existing THP movie data, the old THP audio data is deleted. Once the THP audio data is deleted, it cannot be restored. If no output file is specified when the audio data is replaced, the THPConv tool will overwrite the THP movie data. When replacing the audio data, be sure to create a backup file or to specify an output file; this will prevent accidental deletion of your data.</P>
105
106<P>If the replacement <CODE>wav</CODE> file has a longer playback time than the THP movie data, the section of the replacement <CODE>wav</CODE> file that is longer than the THP movie data will not be converted. If the playback time of the THP movie data is longer than the wave file, the remaining section will be silent.</P>
107
108<P>If the THP movie data specified as the input data does not contain audio data, this operation will add THP audio data to the specified file.</P>
109
110<P>If you want the THP movie data to contain more than one audio track dataset, make sure that the channel counts and playback frequencies for all audio track datasets are the same.</P>
111
112<P><STRONG> </STRONG> Unlike the Nintendo GameCube, audio data on the Wii is output at a set playback frequency (48,000 Hz or 32,000 Hz).</P>
113
114<H2>See Also</H2>
115<P>
116<A href="THPConv.html">THPConv.exe</A>,
117<A href="FileFormat.html">File formats compatible with THPConv</A>
118</P>
119
120<H2>Revision History</H2>
121<P>
1222006/12/21 Deleted the <CODE>-on</CODE> option. Corrected a note related to the playback frequency such that it is intended for Wii.<br>2006/03/01 Initial version.<br>
123</P>
124
125<hr><p>CONFIDENTIAL</p></body>
126</HTML>