CmdLine

From DaphneWiki

(Difference between revisions)
Jump to: navigation, search
(Game Options)
(Game Options)
Line 129: Line 129:
| -altaudio <suffix string>
| -altaudio <suffix string>
|Specifies a suffix to be added to the audio filenames that Daphne would normally try to use.  The purpose is so you can use alternate audio for games like Esh's Aurunmilla which had both English and Japanese audio. ''VLDP only.''
|Specifies a suffix to be added to the audio filenames that Daphne would normally try to use.  The purpose is so you can use alternate audio for games like Esh's Aurunmilla which had both English and Japanese audio. ''VLDP only.''
 +
|-
 +
| -bank <which bank> <base2 value>
 +
|Used to modify dip switch settings.  The 'which bank' argument specifies which dip switch bank to modify, where 0 is the first bank.  The 'base2 value' argument is in 8-bit binary form that is composed of 1's and 0's, where the right-most bit corresponds to the first dip switch.  For example, if you wanted to enable dip switch 0 in bank 0, but disable switches 1-7, then you'd do "-bank 0 00000001".  '''Tip: it's much easier to let DaphneLoader figure this out for you!'''
 +
|-
 +
| -baud <baud rate>
 +
|Specifies the baud rate to use when controlling a real laserdisc player.  Valid values are 9600 or 4800.
|-
|-
| -blank_searches
| -blank_searches
Line 135: Line 141:
| -blank_skips
| -blank_skips
|Forces the screen to go blank during skips. ''VLDP only.''
|Forces the screen to go blank during skips. ''VLDP only.''
 +
|-
| -blocking
| -blocking
|Forces all searches to be blocking, which means that the CPU emulation and everything else will be paused until a search completes.  This is only here for historical reasons and we do not recommend that you use it.
|Forces all searches to be blocking, which means that the CPU emulation and everything else will be paused until a search completes.  This is only here for historical reasons and we do not recommend that you use it.
Line 158: Line 165:
| -nosound
| -nosound
|Disables all sound.
|Disables all sound.
 +
|-
 +
| -port <port number>
 +
|Sets which serial port to plug a real laserdisc player into.  0 corresponds to COM1.
|-
|-
| -seek_frames_per_ms <number of frames>
| -seek_frames_per_ms <number of frames>
Line 166: Line 176:
| -scoreboard
| -scoreboard
|Enables external [[Scoreboard]].
|Enables external [[Scoreboard]].
 +
|-
 +
| -scoreport <port number>
 +
|Sets which parallel port to use with the scoreboard.  0 correspond to LPT1.
|-
|-
| -sound_buffer <number of samples>
| -sound_buffer <number of samples>

Revision as of 22:47, 3 May 2007

Warning.png Running Daphne from the command-line is advanced usage. For regular Daphne usage, we recommend that you run Daphne using DaphneLoader.

Contents

Quick Start

You may find it much easier to edit a working command line than trying to create one from scratch.

DaphneLoader can display the command line it will use before launching a game. To enable this functionality, select a game, click Configure, go to the Advanced tab, and enable "Display command line".

Command Line Format

The command line format is:

daphne <game type> <laserdisc player type> <options>

The game type and laserdisc player type are required, while the options are not.

Game Types

Game Type Description
ace, ace_a, ace_a2 Space Ace NTSC
ace91, ace91_euro Space Ace '91
aceeuro Space Ace PAL
astron, astronp Astron Belt
badlands, badlandp Badlands
bega, begar1 Bega's Battle
blazer Star Blazer
cliff, cliffalt, cliffalt2 Cliff Hanger
cobra, cobraab, cobraconv, cobram3 Cobra Command
dle11 Dragon's Lair Enhanced v1.1
dle21 Dragon's Lair Enhanced v2.1
esh, eshalt, eshalt2 Esh's Aurunmilla
galaxy, galaxyp Galaxy Ranger
gpworld GP World
interstellar Interstellar
lair, lair_f, lair_e, lair_d, lair_c, lair_b, lair_a, lair_x Dragon's Lair NTSC
lair_n1 Dragon's Lair NTSC (prototype)
laireuro, lair_d2 Dragon's Lair PAL
lair_ita Dragon's Lair PAL (Italian)
lair2, lair2_* Dragon's Lair 2
mach3 M.A.C.H. 3
roadblaster Road Blaster
sae Space Ace Enhanced
sdq, sdq* Super Don Quix-ote
tq, tq* Thayer's Quest
uvt Us vs Them

Laserdisc Player Types

Laserdisc Type Description
hitachi Hitachi VIP-9550
noldp No Laserdisc Player (testing only)
philips Philips Player
pioneer Pioneer Common Players
sony Sony Players
v6000 Pioneer LD-V6000 Players
vldp Virtual LaserDisc Player (most people will use this one)

Game Options

-altaudio <suffix string> Specifies a suffix to be added to the audio filenames that Daphne would normally try to use. The purpose is so you can use alternate audio for games like Esh's Aurunmilla which had both English and Japanese audio. VLDP only.
-bank <which bank> <base2 value> Used to modify dip switch settings. The 'which bank' argument specifies which dip switch bank to modify, where 0 is the first bank. The 'base2 value' argument is in 8-bit binary form that is composed of 1's and 0's, where the right-most bit corresponds to the first dip switch. For example, if you wanted to enable dip switch 0 in bank 0, but disable switches 1-7, then you'd do "-bank 0 00000001". Tip: it's much easier to let DaphneLoader figure this out for you!
-baud <baud rate> Specifies the baud rate to use when controlling a real laserdisc player. Valid values are 9600 or 4800.
-blank_searches Forces the screen to go blank during searches. VLDP only.
-blank_skips Forces the screen to go blank during skips. VLDP only.
-blocking Forces all searches to be blocking, which means that the CPU emulation and everything else will be paused until a search completes. This is only here for historical reasons and we do not recommend that you use it.
-framefile <framefile location> Points to the Framefile used by VLDP. VLDP only.
-homedir <dirname> Sets the Home Directory that Daphne will use.
-min_seek_delay <milliseconds> The minimum amount of milliseconds to force a seek to take (artificial delay). 0 = disabled. VLDP only.
-nocrc Disables CRC32 checking (not recommended).
-nojoystick Disables any joysticks that may be plugged in. Joysticks will normally be used if available.
-noserversend Tells Daphne not to send any usage statistics to the central Daphne server. Use this if you have no internet connection or don't want to share your usage information.
-nosound Disables all sound.
-port <port number> Sets which serial port to plug a real laserdisc player into. 0 corresponds to COM1.
-seek_frames_per_ms <number of frames> The # of frames that we can seek per millisecond (to simulate seek delay). Typical values for real laserdisc players are about 30.0 for 29.97fps discs and 20.0 for 23.976fps discs (dragon's lair and space ace). FLOATING POINT VALUES ARE ALLOWED HERE.

Minimum value is 12.0 (5 seconds for 60,000 frames), maximum value is 600.0 (100 milliseconds for 60,000 frames). If you want a value higher than the max, you should just use 0 (as fast as possible). 0 = disabled. VLDP only; this option may be replaced by something more accurate in the future.

-scoreboard Enables external Scoreboard.
-scoreport <port number> Sets which parallel port to use with the scoreboard. 0 correspond to LPT1.
-sound_buffer <number of samples> Sets the number of samples in the sound buffer. Daphne runs at 44,100 kHz which means 44,100 samples per second. The sound buffer size is typically 2048 samples. Lower values make the sound more responsive but choppier, while higher values make the sound smoother but more sluggish.
-volume_nonvldp <volume> Sets the volume of all audio besides the laserdisc audio when using VLDP (max value is 64, 0 means muted). VLDP only.
-volume_vldp <volume> Sets the volume of the laserdisc audio when using VLDP (max value is 64, 0 means muted). VLDP only.
Personal tools