Fox napisał/a:Indeksy od zera są lepsze dla komputerów, niż dla ludzi. :) Masz pomysł, jak to poprawić?
Usage: asapconv [OPTIONS] INPUTFILE...
Each INPUTFILE must be in a supported format:
SAP, CMC, CM3, CMR, CMS, DMC, DLT, MPT, MPD, RMT, TMC, TM8, TM2 or FC.
Output EXT must be one of the above or XEX, WAV or RAW.
Options:
-o FILE.EXT --output=FILE.EXT Write to the specified file
-o .EXT --output=.EXT Use input file path and name
-o DIR/.EXT --output=DIR/.EXT Write to the specified directory
-o -.EXT --output=-.EXT Write to standard output
-a "TEXT" --author="TEXT" Set author name
-n "TEXT" --name="TEXT" Set music name
-d "TEXT" --date="TEXT" Set music creation date (DD/MM/YYYY format)
-h --help Display this information
-v --version Display version information
In FILE, DIR and EXT you may use the following placeholders:
%a Music author
%n Music name
%d Music creation date
%e Original extension (e.g. "cmc")
%s Subsong number (1-based), one file per subsong
Options for XEX, WAV or RAW output:
-s SONG --song=SONG Select subsong number (zero-based)
-t TIME --time=TIME Set output length (MM:SS format)
Options for XEX, WAV output:
--tag Include metadata in the output file
Options for WAV or RAW output:
-m CHANNELS --mute=CHANNELS Mute POKEY channels (1-8, comma-separated)
-b --byte-samples Output 8-bit samples
-w --word-samples Output 16-bit samples (default)
Options for SAP output:
-s SONG --song=SONG Select subsong to set length of
-t TIME --time=TIME Set subsong length (MM:SS format)
Options for native modules (output format same as input format):
--address=HEXNUM Relocate music to the given address
In FILE, DIR and EXT you may use the following placeholders:
%s Subsong number (1-based), one file per subsong
Options for XEX, WAV or RAW output:
-s SONG --song=SONG Select subsong number (zero-based)
Options for SAP output:
-s SONG --song=SONG Select subsong to set length of
Trochę bałagan panuje.
Indeksy od zera są lepsze dla komputerów, niż dla ludzi. smile Masz pomysł, jak to poprawić?
Dla 6502 miało by to oczywście sens, ale w dzisiejszych czasach dla niestety już nie.
Może to uporządkować i przyjąć 1-based (human friendly) numerację. Ten program jest dla ludzi :D