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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>maketad</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9<STYLE type="text/css"> 10<!-- 11.sample_source{ 12 background-color : #e8e8e8; 13} 14H3{ 15 color : teal; 16} 17.command_list{ 18 margin-bottom : 16pt; 19} 20.command_desc{ 21 } 22.command_item{ 23 margin-top : 16pt; 24 background-color : #e8e8e8; 25} 26.blockquoted_table { 27 border : 1px; 28 width : 80%; 29} 30TD,TH{ 31 border-color : #c0d8d8; 32 padding : 1pt 4pt 1pt 4pt; 33 border-width : 1px; 34 border-style : solid; 35} 36--> 37</STYLE> 38</HEAD> 39<BODY> 40<H1 align="left">maketad</H1> 41<H2>Description</H2> 42 43<P> <CODE>maketad</CODE> is a tool for generating TAD files (<code>.tad</code>) from the specified SRL file. TAD files are used to import applications into the system memory.</P> 44<P> 45TAD files for TWL that are created with this tool can only be imported into TWL development kits. The TWL-SDK environment cannot be used to create TAD files that can run on retail TWL hardware. 46</P> 47<P> 48<CODE>openssl</CODE> for cygwin version 0.9.8b-1 or later is required in order to use <CODE>maketad</CODE>. 49</P> 50 51<H2>Using the Tool</H2> 52<H3>Start Command</H3> 53<P><CODE>% maketad [OPTION]... SRLFILE [-o outputFile]</CODE></P> 54<P><CODE>SRLFILE</CODE> is the ROM file to import into NAND Flash. Specify an <CODE>.srl</CODE> file.</P> 55<P>Use the <CODE><B>-n</B></CODE> option to output an SRL with an encapsulated TAD file rather than just a TAD file. Once the DS card to which this SRL has been written is inserted in the DS card slot of the TWL unit, you can import from the encapsulated TAD file by starting the TwlNmenu imported into system save memory.</P> 56<P>With the <CODE><B>-o</B></CODE> option, the file name of the output file can be designated. If nothing is specified and the <CODE><B>-n</B></CODE> option is <I>not</I> specified, the title name saved in the SRL file with a TAD extension is created. If the <CODE><B>-n</B></CODE> option is specified, the title name saved in the SRL file with a TAD.SRL extension is created.</P> 57<P>The <CODE><B>-h</B></CODE> option displays simple instructions.</P> 58<H2>Return Values</H2> 59<P> 60Returns 0 when execution completes normally.<BR> The following are possible reasons for the function to fail. 61</P> 62<ul> 63<li>OpenSSL for Cygwin version 0.9.8b-1 or later is not installed 64<li>Nothing is specified with the -o option 65<li>An unknown option was found 66<li>Characters other than those from ASCII code 0x21 through 0x7e are included for the game code 67<li>A code reserved by the system is being used in the game code 68<li>The file is not of the type *.srl 69<li>The SRL file cannot be opened or read 70<li>An SRL file has not been specified 71<li>A TAD file cannot be output 72<li>The SRL filename is too long 73</ul> 74 75<H2>Location</H2> 76<P><CODE>$TwlSDK/tools/bin/maketad.exe</CODE></P> 77<H2>See Also</H2> 78<P>None.</P> 79<H2>Revision History</H2> 80<P> 812009/11/10 Added <B>Return Values</B>.<br>2008/10/16 Added the -n option. Added information about <CODE>openssl</CODE>.<br>2008/09/16 Added information about ROM operations on development hardware/mass production hardware.<br> 2008/04/25 Standardized terminology related to the NAND application version.<br>2008/03/19 Made descriptions compliant with the terminology.<br>2007/12/07 Initial version. 82</P> 83<hr><p>CONFIDENTIAL</p></body> 84</HTML>