[Tiptoi] tttool --help
Joachim Breitner
mail at joachim-breitner.de
Fr Dez 25 21:23:41 CET 2015
Hi,
ich hab mal angefangen, dem tttool einen ordentlichen Optionen-Parser
zu verpassen. Das heißt, dass sich manche Aufrufe geändert haben, und
insbesondere dass man mit "--help" arbeiten kann:
$ ./tttool --help
Usage: tttool [-t|--transscript FILE] [--dpi DPI] [--pixel-size N] COMMAND
tttool -- The swiss army knife for the Tiptoi hacker
Available options:
-h,--help Show this help text
-t,--transscript FILE Mapping from media file indices to plaintext. This
should be a ';'-separated file, with OID codes in the
first column and plain text in the second
--dpi DPI Use this resolution in dpi when creating
OID-Codes (default: 1200)
--pixel-size N Use this many pixels per dot in when creating
OID-Codes. (default: 1)
Available commands:
info Print general information about a GME file
media dumps all audio samples
scripts prints the decoded scripts for each OID
script prints the decoded scripts for a specific OID
binaries dumps all binaries
games prints the decoded games
lint checks for errors in the file or in this program
segments lists all known parts of the file, with description.
segment prints the decoded scripts for a specific OID
holes lists all unknown parts of the file.
explain print a hexdump of a GME file with descriptions
play interactively play a GME file
rewrite parses the file and reads it again (for debugging)
export dumps the file in the human-readable yaml format
assemble creates a gme file from the given source
oid-table creates a PDF file with all codes in the yaml file
oid-codes creates PNG files for every OID in the yaml file.
oid-code creates PNG files for each given code(s)
und z.B.
$ ./tttool export --help
Usage: tttool export GME [OUT]
dumps the file in the human-readable yaml format
Available options:
-h,--help Show this help text
GME GME file to read
OUT YAML file to write
Insbesondere muss man jetzt
$ ./tttool oid-codes foo.yaml
statt
$ ./tttool oid-code foo.yaml
schreiben.
Die globalen DPI-Optionen werden bei oid-table noch nicht verwendet, aber das kommt noch.
Gruß,
Joachim
--
Joachim “nomeata” Breitner
mail at joachim-breitner.de • http://www.joachim-breitner.de/
Jabber: nomeata at joachim-breitner.de • GPG-Key: 0xF0FBF51F
Debian Developer: nomeata at debian.org
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 819 bytes
Beschreibung: This is a digitally signed message part
URL : <https://lists.nomeata.de/pipermail/tiptoi/attachments/20151225/735507ff/attachment.asc>
Mehr Informationen über die Mailingliste tiptoi