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 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>packnlf, packtlf</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">packnlf, packtlf <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></H1> 41<H2>Description</H2> 42<P> <CODE>packnlf</CODE> and <CODE>packtlf</CODE> are tools to collect all specified files referenced by a <CODE>.nlf</CODE> or <CODE>.tlf</CODE> file as relative paths and output them as a ZIP file. 43</P> 44<P> <CODE>packtlf</CODE> just calls <CODE>packnlf</CODE> internally, so these two tools are basically the same. 45</P> 46<H2>Using the Tool</H2> 47<H3>Start Command</H3> 48<PRE><CODE>% packnlf sample.nlf</CODE></PRE> 49<P>Reads the contents of the nlf file specified by <CODE>sample.nlf</CODE>. Outputs the referenced files and a sample.nlf file with relative paths for all referenced files to the <CODE>package</CODE> directory.<br>Also, the contents of the <CODE>package</CODE> directory are compressed in ZIP format and created as <CODE>package-yymmdd-hhmm.zip</CODE>.<br> Be aware that all referenced files will be copied to the <CODE>package</CODE> directory regardless of whether they have absolute or relative paths. 50</P> 51 52<BR> 53<P><B>Example of nlf file conversion</B></P> 54<BR> 55<P>nlf file data before conversion.</P> 56<BLOCKQUOTE><CODE>#NLF --- NitroROM List File<BR> T,"d:/home/TwlSDK/build/demos/os/heap-1"<BR> V,1.1<BR> H,"bin/ARM9-TS/Debug/main_header.sbin","bin/ARM9-TS/Debug/main_files.sbin",0<BR> 9,"bin/ARM9-TS/Debug/main.nef","bin/ARM9-TS/Debug/main.sbin","*","bin/ARM9-TS/Debug/main_defs.sbin","*"<BR> 7,"D:/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.nef","D:/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.sbin","*","D:/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub_defs.sbin","*"<BR> <BR> # File Images<BR> F,00000000,00004000,00,ffff,ffff,"bin/ARM9-TS/Debug/main_header.sbin","*",43ccc89b,512,1<BR> F,00004000,00013324,00,ffff,0008,"bin/ARM9-TS/Debug/main.sbin","*",43ccc89b,512,1<BR> F,00013400,0003d748,00,ffff,000c,"D:/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.sbin","*",43c36b6a,512,1<BR> F,0003d800,0003d809,00,ffff,0010,"bin/ARM9-TS/Debug/main_files.sbin","*",43ccc89b,512,1<BR> F,0003da00,0003da00,00,ffff,0012,"*FILEALLOC","*",00000000,512,1<BR> F,0003da00,0003e240,00,ffff,001a,"D:/home/TwlSDK/include/Twl/specfiles/default.bnr","*",43c5bca2,512,1<BR> #</CODE></BLOCKQUOTE> 57<BR> 58<P>nlf file data after conversion.</P> 59<BLOCKQUOTE><CODE>#NLF --- NitroROM List File<BR> T,"."<BR> V,1.1<BR> H,"./bin/ARM9-TS/Debug/main_header.sbin","./bin/ARM9-TS/Debug/main_files.sbin",0<BR> 9,"./bin/ARM9-TS/Debug/main.nef","./bin/ARM9-TS/Debug/main.sbin","*","./bin/ARM9-TS/Debug/main_defs.sbin","*"<BR> 7,"./D_/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.nef","./D_/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.sbin","*","./D_/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub_defs.sbin","*"<BR> <BR> # File Images<BR> F,00000000,00004000,00,ffff,ffff,"./bin/ARM9-TS/Debug/main_header.sbin","*",43ccc89b,512,1<BR> F,00004000,00013324,00,ffff,0008,"./bin/ARM9-TS/Debug/main.sbin","*",43ccc89b,512,1<BR> F,00013400,0003d748,00,ffff,000c,"./D_/home/TwlSDK/components/mongoose/ARM7-TS/Debug/mongoose_sub.sbin","*",43c36b6a,512,1<BR> F,0003d800,0003d809,00,ffff,0010,"./bin/ARM9-TS/Debug/main_files.sbin","*",43ccc89b,512,1<BR> F,0003da00,0003da00,00,ffff,0012,"*FILEALLOC","*",00000000,512,1<BR> F,0003da00,0003e240,00,ffff,001a,"./D_/home/TwlSDK/include/Twl/specfiles/default.bnr","*",43c5bca2,512,1<BR> #</CODE></BLOCKQUOTE> 60 61<H2>Location</H2> 62<P> 63<CODE>$TwlSDK/tools/bin/packnlf</CODE><br> <CODE>$TwlSDK/tools/bin/packtlf</CODE> 64</P> 65<H2>See Also</H2> 66<H2>Revision History</H2> 67<P> 682008/09/16 Added a description of packtlf.<br>2006/01/17 Initial version. 69</P> 70<hr><p>CONFIDENTIAL</p></body> 71</HTML>