/      日本語

Detailed Settings with Command-line Arguments and ini Files

Detailed settings for TWELITE STAGE APP using command-line arguments and ini files

Command-line Arguments

Command-line arguments configure some detailed settings of the TWELITE STAGE APP.

Command-line ArgumentDescription
-E 0Disables graphical effects such as fade-out.
-R {type}Sets the rendering type with the {type} value.
0: Default
1: OpenGL
2: DirectX (Windows) Metal (macOS)
3: Software
-JEnables the game controller.
-x {x_pos},
-y {y_pos}
Sets the position of the TWELITE STAGE App graphical window at startup.
{x_pos} and {y_pos} are the screen coordinates of the top-left corner of the window.

ini Files

ini files are used to configure basic settings of the TWELITE STAGE APP (such as referencing the MWSDK folder).

The ini file name is {base name of the TWELITE STAGE APP executable} + .ini. Usually, it is TWELITE_Stage.ini.

;;; Change the MWSDK reference.
; MWSDK=MWSDK
mwsdk=mwsdk2020_10

;;; Interface language
; LANG=en

;;; Window geometry
GEOM_X=200
GEOM_Y=100

Syntax

  • ini files are written as plain text files.
  • Keys and values are stored on a single line separated by = (e.g., KEY=value).
  • The key and value strings start at the beginning of the line (no spaces or other characters allowed before the key).
  • Spaces are not allowed between the key and the value.
  • Comment lines start with ; or # at the beginning of the line.

Settings

KeyValue
MWSDKChanges the MWSDK folder. The default folder is MWSDK located in the same folder as the TWELITE STAGE APP executable. If you need to use an older or custom MWSDK, you can specify the folder name here.
LANGLANG=en changes the user interface language from the default (Japanese) to English. This setting is carried over to the make parameter (TWE_LANG_PREF) and is reflected in the interactive mode display language setting of some firmware (apps) such as TWELITE_Apps.
GEOM_X, GEOM_YChanges the location where the TWELITE STAGE App window appears.

Running TWELITE STAGE APP with Different Settings

If you need different settings for the TWELITE STAGE APP, copy the executable to the same folder as the TWELITE STAGE APP and create an .ini file with the same name.

For example, to use the English interface, copy TWELITE_Stage.exe (note: .exe is the Windows executable extension) to TWELITE_Stage_en.exe and write the setting LANG=en in TWELITE_Stage_en.ini to create an executable with the English interface enabled.

  TWELITE_Stage.exe
  TWELITE_Stage.ini | No special settings

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