Debian Codegraph @

android/app/jni/doc/8-advanced/command-line.md

raw
1 # command line usage
2
3 ## NAME
4
5 Furnace - a chiptune tracker
6
7 ## SYNOPSIS
8
9 `furnace [params...] [file]`
10
11 ## DESCRIPTION
12
13 Furnace is a chiptune tracker that supports many systems and sound chips from the 8/16-bit era.
14 even though it is primarily controlled by using its graphical user interface, Furnace also offers a command line interface, which is described here.
15
16 ## USAGE
17
18 starting Furnace without arguments will start the graphical user interface (GUI), as long as Furnace has been compiled with GUI enabled.
19
20 passing the path to a file will open that file at start-up. if Furnace cannot open that file, it will report an error and quit.
21
22 the following parameters may be used:
23
24 **general**
25
26 - `-help`: display the following help.
27 - `-console`: enable command-line interface (CLI) player.
28 - see the COMMAND LINE INTERFACE section for more information
29 - `-loglevel <level>`: set the logging level to one of the following:
30 - `error`: critical errors only
31 - `warning`: errors and warnings
32 - `info`: errors, warnings, and useful information
33 - `debug`: all of the above, including debug information
34 - `trace`: like debug, but with even more details (default)
35
36 - `-info`: get information about a song.
37 - you must provide a file, otherwise Furnace will quit.
38
39 - `-version`: display version information.
40 - `-warranty`: view warranty disclaimer.
41
42 **engine**
43
44 - `-audio sdl|jack|portaudio`: override audio backend to one of the following:
45 - `sdl`: SDL (default)
46 - `jack`: JACK Audio Connection Kit
47 - `portaudio`: PortAudio
48 - `-view <type>`: set visualization of data to one of the following:
49 - `pattern`: order and pattern
50 - `commands`: engine commands
51 - `nothing`: guess (default)
52 - `-loops <count>`: set number of loops
53 - `-1` means loop forever.
54 - `-subsong <number>`: set sub-song to play.
55 - `-safemode`: enable safe mode (software rendering without audio).
56 - `-safeaudio`: enable safe mode (software rendering with audio).
57 - `-benchmark render|seek`: run performance test and output total time.
58 - `render`: measure render time
59 - `seek`: measure time to seek through the entire song
60 - you must provide a file, otherwise Furnace will quit.
61
62 **audio export**
63
64 - `-output path`: export audio in .wav format to `path`.
65 - you must provide a file, otherwise Furnace will quit.
66 - `-outmode one|persys|perchan`: set audio export output mode.
67 - `one`: single file (default)
68 - `persys`: one file per chip (`_sXX` will be appended to file name, where `XX` is the chip number)
69 - `perchan`: one file per channel (`_cXX` will be appended to file name, where `XX` is the channel number)
70
71 **VGM export**
72
73 - `-vgmout path`: output VGM data to `path`.
74 - you must provide a file, otherwise Furnace will quit.
75 - `-direct`: enable VGM export direct stream mode.
76 - this mode is useful for DualPCM export.
77 - note that this will increase file size by a huge amount!
78
79 **export (other)**
80
81 - `-cmdout path`: output command stream dump to `path`.
82 - you must provide a file, otherwise Furnace will quit.
83
84 - `-romout path`: output ROM file export to `path`.
85 - you must provide a file, otherwise Furnace will quit.
86 - there must be an available ROM export target for the system.
87
88 - `-romconf key=value`: set a configuration parameter for `-romout`.
89 - you may use this multiple times to set multiple parameters.
90 - Amiga Validation
91 - no parameters.
92 - Commander X16 ZSM
93 - `zsmrate`: tick rate (Hz), default: `60`
94 - `loop`: loop song, default: `true`
95 - `optimize`: optimize size, default: `true`
96 - Atari 2600 (TIunA)
97 - `baseLabel`: base song label name, default: `song`
98 - `firstBankSize`: max size in first bank, default: `3072`
99 - `otherBankSize`: max size in other banks, default: `4048`
100 - `sysToExport`: TIA chip index, default: `-1` (find first)
101 - Atari 8-bit SAP-R
102 - no parameters.
103
104 - `-txtout path`: output text file export to `path`.
105 - you must provide a file, otherwise Furnace will quit.
106
107 ## COMMAND LINE INTERFACE
108
109 Furnace provides a command-line interface (CLI) player which may be activated through the `-console` option.
110
111 the following controls may be used:
112
113 - `Left`/`H`: go to previous order.
114 - `Right`/`L`: go to next order.
115 - `Space`: pause/resume playback.
116
117 ## SEE ALSO
118
119 the Furnace user manual in the `manual.pdf` file.