Command Line

OpenCPN has a minimal command line interface (CLI)

The options:

[/unit_test_1] This command test cycles through all possible charts in the currently loaded chart database, adjusting the viewport to show the loaded chart automatically. The value of this test is clear: it provide an unattended stress test of OpenCPN, It is most fun to watch in quilt mode….. The test runs until all charts in the database have been visited once. A side-effect of this switch is that it can be used to process a set of ENC charts into SENC files. The first, time consuming processing of ENC charts, can this way be done unattended.

[/p ] The portable option is explained here → Portable OpenCPN

[/no_opengl] A total switch-off of OpenGL, in a more thorough way than in “Options”. Read more in OpenGL .

[/fullscreen ] Starts OpenCPN in FullScreen mode.

[/rebuild_gl_raster_cache] Read more in Options Setting

For Windows

When using a .bat file to launch OpenCPN, you may type this MSDOS line :

START /REALTIME C:"\Program Files"\OpenCPN/opencpn

Where:

START : MSDOS Command
/REALTIME : gives the highest priority to the program
C:"\program Files"\OpenCPN/opencpn : pathway where OpenCPN's Executable is downloaded
(specific to each windows version)