Skip to content

flaith-nycd/dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dump a file in Python3

Version 0.22

Usage: python dumpf.py [options] file

Options:
  -h, --help              show this help
  -v, --version           show version

  -d, --dump=             dump file in hexa every 'n' bytes
                          (default value set to 16)
  -o, --org=              set origin address (default: 0)
  -s, --show=             Show all info (0:all, 1:hex, 2:text) - default: 0
  -x, --export=file       Export the result to a file


Examples:
  python dumpf.py <file>
  python dumpf.py -d16 <file>
  python dumpf.py --dump=16 <file>
  python dumpf.py --o8192 <file>
  python dumpf.py --org=8129 <file>

  --Special for Sherwood Forest ;)
  python dumpf.py --org=40677 --export=PIC.INDEX#059EE5.DMP PIC.INDEX#050000

Screenshot

TODO

  • use the org option
  • use the show option
  • export (save) file
  • save it as a binary, or special text files for other languages (ex: .h)
  • dump with choice of total of bytes
  • extract part of a file, from address to address (using [from:to] ?)

About

Dump a file in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages