PhotoChecker

概要

PhotoChecker は、TWL 本体内の photo 領域をチェックする TWL アプリケーションです。
TCL ライブラリ経由で書き込まれていない不正なファイルが存在していないかどうかをチェックすることが可能です。

実行

以下のいずれかの方法で実行することができます。

実行を開始すると、photo: 以下に存在する画像が上画面に、ファイル名が下画面に次々と表示されていきます。
photo: 以下が不正な状態であった場合、上画面が赤色になります。
正常な状態であった場合は、上画面が緑色になります。

以下のような場合、不正な状態とみなされます。

具体的には以下のエラーメッセージが表示されます。

None of the files in the management file could be found. 管理ファイルに登録されているファイルが見つからなかった場合。
No management file was found, but other files are present. 管理ファイルが存在しないにも関わらず、その他のファイル、ディレクトリが見つかった場合。
One or more files were detected that aren't in the management file. 管理ファイルに登録されていないファイルが見つかった場合。
There are one or more files with illegal path names. DSiカメラの命名規則に則っていない名前のファイルが見つかった場合。
There are one or more directories with illegal path names. DSiカメラの命名規則に則っていない名前のディレクトリが見つかった場合。
There is a problem with the contents of this management file. 管理ファイルの内容が正常でなかった場合。
This picture's dimensions are invalid. デコードに成功した画像のサイズがDSiカメラが定めるサイズ(640x480)ではなかった場合。
This JPEG file has not been signed. 電子署名が付加されていなかった場合、もしくは電子署名は付加されているがデコードできない画像だった場合。
Memory allocation error. 通常発生しないエラー。
Could not open JPEG file. 通常発生しないエラー。
Could not read JPEG file. 通常発生しないエラー。
Could not read management file. 通常発生しないエラー。
Could not open directory. 通常発生しないエラー。
There was an error returning information for a file system entry. 通常発生しないエラー。
Could not fully verify the photo region in memory. 通常発生しないエラー。

場所

$TwlSDK/bin/ARM9-TS/Release/PhotoChecker.srl

履歴

2009/09/01 エラーメッセージの修正
2009/05/18 エラーメッセージについての説明追加
2009/03/16 初版