Changes between Initial Version and Version 1 of UserGuide/CommandLine


Ignore:
Timestamp:
Oct 8, 2016, 4:50:30 PM (8 years ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/CommandLine

    v1 v1  
     1= Introduction =
     2
     3You can launch Grafx2 with some command line arguments to open a file directly or get a specific option. Note that on Windows, drag-and-dropping a file on a Grafx2 shortcut will pass the file name as the only command-line argument, so it will start Grafx2 with this file loaded.
     4
     5= List =
     6
     7 * */?* displays help, along with a list of the availables videomodes. Ex:
     8{{{
     9Syntax: grafx2 [<arguments>] [<picture1>] [<picture2>]
     10
     11<arguments> can be:]
     12        -? -h -H -help    for this help screen
     13        -wide             to emulate a video mode with wide pixels (2x1)
     14        -tall             to emulate a video mode with tall pixels (1x2)
     15        -double           to emulate a video mode with double pixels (2x2)
     16        -wide2            to emulate a video mode with double wide pixels (4x2)
     17        -tall2            to emulate a video mode with double tall pixels (2x4)
     18        -triple           to emulate a video mode with triple pixels (3x3)
     19        -quadruple        to emulate a video mode with quadruple pixels (4x4)
     20        -rgb n            to reduce RGB precision from 256 to n levels
     21        -skin <filename>  to use an alternate file with the menu graphics
     22        -mode <videomode> to set a video mode
     23Arguments can be prefixed either by / - or --
     24They can also be abbreviated.
     25
     26Available video modes:
     27
     28      window     320x200     320x240     320x256     320x400     320x480
     29     512x264     512x288     576x240     592x240     608x240     632x264
     30     704x288     736x240     768x240     768x288     784x240     800x288
     31    1280x960   1280x1024    1360x768    1600x900   1600x1024   1600x1200
     32}}}
     33 * */mode 320x200* starts grafx2 in 320x200 fullscreen video mode. All modes are fullscreen except for the special name "window".
     34
     35 * */double* emulates 2x2 pixels, */triple* emulates 3x3 pixels, */quadruple* 4x4 pixels. These are useful when the intended display resolution of your picture (eg for 320x240) is much greater than the actual resolution of the display you are editing it on (eg 1280x960), and/or the GUI of Grafx2 is becoming too small / unreadable.
     36 * */wide* and */tall* allow to use rectangle pixels (horizontal and vertical). This is useful to edit Amstrad CPC pictures, for example.
     37 * */wide2* and */tall2* are doubled versions of /wide and /tall. That is, /wide2 uses 4x2 pixels, and /tall2 uses 2x4 pixels.
     38 * */rgb n* sets the color depth to n. For example, /rgb 2 will give you a spectrum-style 16-colors palette, /rgb 3 will give the Amstrad CPC 27 colors, /rgb 16 will give a classical Amiga palette, and /rgb 64 will give you a VGA palette, like the DOS version of grafx2 had.
     39 * *picture1* and *picture2* are the names of files to open immediately.
     40
     41For example :
     42{{{ grafx2 /mode 320x200 My_drawing.png}}}