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>PhotoChecker</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} 17pre 18{ 19 display: compact; 20 font-family : "Courier New", monospace; 21 font-weight : normal; 22 font-size : normal; 23 24/* margin : 0pt 0pt 6pt 50pt;*/ 25 padding : 2pt 8pt 2pt 8pt; 26 background-color : #eee; 27 28 border-style : solid; 29 border-width : 1px; 30} 31.command_list{ 32 margin-bottom : 16pt; 33} 34.command_desc{ 35 } 36.command_item{ 37 margin-top : 16pt; 38 background-color : #e8e8e8; 39} 40.blockquoted_table { 41 border : 1px; 42 width : 80%; 43} 44TD,TH{ 45 border-color : #c0d8d8; 46 padding : 1pt 4pt 1pt 4pt; 47 border-width : 1px; 48 border-style : solid; 49} 50div.screen 51{ 52 float: left; 53 padding: 2px; 54 background-color: black; 55 margin: 0 0.5em 1em 1em; 56} 57ol, ul 58{ 59 padding-left: 4em; 60 margin-left: 0pt; 61} 62 63div.screen img.main 64{ 65 margin-bottom: 10px; 66} 67.warning 68{ 69 color: red; 70} 71table 72{ 73 left: 0; 74} 75table.plain td 76{ 77 border: none; 78 background-color: transparent; 79} 80--> 81</STYLE> 82</HEAD> 83<BODY> 84 85<H1 align="left">PhotoChecker</H1> 86 87 88<H2>Overview</H2> 89<P> 90<CODE>PhotoChecker</CODE> is a TWL application that checks the photo region in the TWL system.<br>Using this tool, you can check whether any illegal files exist that were not written via the TCL library. 91</P> 92 93 94<H2>Execution</H2> 95<H3></H3> 96<P> 97Run it in one of the following ways. 98</P> 99<ul> 100<li>Use the IS-TWL-DEBUGGER software to run <CODE>PhotoChecker.srl</CODE> 101<li>Write <CODE>PhotoChecker.srl</CODE> to a TWL Game Card and then run it 102</ul> 103<P> 104When it runs, the images that exist in and below <CODE>photo:</CODE> appear on the upper screen, and the filenames appear one after the other on the lower screen. If any item in or under <CODE>photo:</CODE> is in an illegal state, the upper screen turns red. If everything is in normal state, the upper screen turns green. <br>The following are considered illegal states. 105</P> 106<ul> 107<li>When the management file does not exist (perhaps because the Nintendo DSi Cameras have never been activated) but the other files exist 108<li>When the management file is invalid 109<li>When the written file existed without going through the Nintendo DSi Camera and TCL 110<li>When the file written via the Nintendo DSi Camera and TCL was deleted without going through the Nintendo DSi Camera 111</ul> 112<P> 113Specifically, the following error messages are displayed.<br> <br> 114<table border="1" width="100%"> 115<tr><td width="350"><em>None of the files in the management file could be found.</em></td> 116<td width="650">The file(s) registered with the management file could not be found.</td></tr> 117<tr><td width="350"><em>No management file was found, but other files are present.</em></td> 118<td width="650">Files and/or directories other than the management file were found, even though the management file does not exist.</td></tr> 119<tr><td width="350"><em>One or more files were detected that aren't in the management file.</em></td> 120<td width="650">File(s) not registered with the management file were found.</td></tr> 121<tr><td width="350"><em>There are one or more files with illegal path names.</em></td> 122<td width="650">A filename was found that does not conform to the Nintendo DSi Camera naming restrictions.</td></tr> 123<tr><td width="350"><em>There are one or more directories with illegal path names.</em></td> 124<td width="650">A directory name was found that does not conform to the Nintendo DSi Camera naming restrictions.</td></tr> 125<tr><td width="350"><em>There is a problem with the contents of this management file.</em></td> 126<td width="650">The contents of the management file were invalid.</td></tr> 127<tr><td width="350"><em>This picture's dimensions are invalid.</em></td> 128<td width="650">The size of a successfully decoded image was different from the size fixed by the Nintendo DSi Cameras (640x480).</td></tr> 129<tr><td width="350"><em>This JPEG file has not been signed.</em></td> 130<td width="650">Either the image did not have a digital signature, or the image had a digital signature but could not be decoded.</td></tr> 131<tr><td width="350"><em>Memory allocation error.</em></td> 132<td width="650">This error does not normally occur.</td></tr> 133<tr><td width="350"><em>Could not open JPEG file.</em></td> 134<td width="650">This error does not normally occur.</td></tr> 135<tr><td width="350"><em>Could not read JPEG file.</em></td> 136<td width="650">This error does not normally occur.</td></tr> 137<tr><td width="350"><em>Could not read management file.</em></td> 138<td width="650">This error does not normally occur.</td></tr> 139<tr><td width="350"><em>Could not open directory.</em></td> 140<td width="650">This error does not normally occur.</td></tr> 141<tr><td width="350"><em>There was an error returning information for a file system entry.</em></td> 142<td width="650">This error does not normally occur.</td></tr> 143<tr><td width="350"><em>Could not fully verify the photo region in memory.</em></td> 144<td width="650">This error does not normally occur.</td></tr> 145</table> 146 147<H2>Location</H2> 148<P> 149<CODE>$TwlSDK/bin/ARM9-TS/Release/PhotoChecker.srl</CODE><br> 150</P> 151 152<H2>Revision History</H2> 153<P> 1542009/09/01 Revised error messages.<br>2009/05/18 Added a description of error messages.<br>2009/03/13 Initial version. 155</P> 156 157 158<hr><p>CONFIDENTIAL</p></body> 159</HTML> 160