RomTools/fatinfo.pl

来自WordPress中文文档
跳转至: 导航搜索

source can be found here|


Usage: perl fatinfo.pl [options] fatfilesystemimage

  -f DIRECTORY  : save files to DIRECTORY
  -d            : save deleted files
  -c            : save unused clusters
  -l            : save data from unused cluster space
  -o OFFSET     : offset to FAT bootsector
  -v            : be verbose
  -q            : be extra quiet
  -r            : output commands to repair corrupted fat disk

for example to print info on the xda-ii extended rom image:

   perl fatinfo.pl -o 0x70040 ms_.nbf

note: the latest version of fatinfo.pl discovers the offset by itself.

     so just typing
   perl fatinfo.pl  ms_.nbf -f files

will extract all the files from the extended rom file to a subdirectory named 'files'.


   psdread -2 0 0xb800 dsk2
   fatinfo -q -r dsk2 || tail -2 || cmd

will read the \storage disk from an xda2, and repair any broken files. ( like for instance the atdbg log files, which tend to get truncated.