Media Tool

The Media Tool is a command line tool to handle several media project and raw formats.

The Media Tool is entirely controlled by arguments passed to it:


    mediatool.exe [-spriteproject <sprite project file>]
                  [-sprites <raw/binary sprite file>]
                  [-charsetproject <charset project file>]
                  [-chars <raw/binary charset file>]
                  [-type <export format>]
                  [-export <file name>]
                  [-offset <first unit to affect, default 0>]
                  [-count <count of units to affect, default all>]
    

-spriteproject <sprite project file>

Opens a C64 Studio sprite project file for its operations.

-sprites <raw/binary sprite file>

Opens a raw/binary file for its operations.
Sprite data is expected to be 63 bytes of sprite data plus one filler byte.


-charsetproject <charset project file>

Opens a C64 Studio charset project file for its operations.

-chars <raw/binary charset file>

Opens a raw/binary file for its operations.
Charset data is expected to be a multiple of 8 bytes per character.


-export <file name>

Exports the selected units to this file.

-type <export typename>

The supported export type depends on the file used to fetch data from. These types are currently supported:
Import Type Export Type exports
-SPRITEPROJECT
-SPRITES
SPRITES A number of sprites, 64 bytes each
-CHARSETPROJECT
-CHARS
CHARS A number of characters, 8 bytes each


-offset <Unit Index>

Offset of first unit to export. Defaults to zero.

-count <Unit Count>

Number of units to export. Defaults to all.