Command line args and ini file

Command line arguments and ini file.

command line arguments

Command line arguments provides some minor settings of TWELITE Stage.

an ini file.

The ini file is used to set some fundamental settings of TWELITE STAGE (like reference MWSDK folder).

The ini file name is {basename of TWELITE STAGE app executable} + .ini, which is normally TWELITE_Stage.ini.

;;; change MWSDK reference.
; MWSDK=MWSDK
MWSDK=MWSDK2020_10

;;; Interface language
LANG=en

;;; Window geometry
;GEOM_X=200
;GEOM_Y=100

Syntax

  • The ini file is described as a plain text file.

  • A key and value is stored in a single line separated with = character (e.g. KEY=value).

  • A key value string shall begin with line head. (No spaces or other character allowed before a key string.)

  • No space allowed between the = character.

  • Comment line is started from ; or # characacter.

Settings

different settings of TWELITE STAGE App.

If you need to different setting type of TWELITE STAGE App, just copy an executable at same folder of the original TWELITE_Stage executable.

e.g. if you needs English interface vesion, you just copy TWELITE_Stage.exe(Note: .exe is suffix of Windows executable) to TWELITE_Stage_en.exe and create .ini file with LANG=en setting.

  TWELITE_Stage.exe 
  TWELITE_Stage.ini     | no special settings

  TWELITE_Stage_en.exe  | copy of TWELITE_Stage.exe
  TWELITE_Stage_en.ini  | LANG=en is set

最終更新