Skip to main content

Command Line Parameters

fx_main.exe can accept command line parameters, the relevant available parameters are as follows:

ParameterFillable or notDescription
OPEN_PROJECTYesThe project to be opened. Spaces in the path should be wrapped with “ ”
LANGUAGEYesCurrently support en-US or zh-CN
DISABLE_ASSET_REGISTRYNoClose the asset registry

Open projects in the Editor:

fx_main.exe game_framework_editor.ini OPEN_PROJECT=[xxx. projectinfo]

Run projects directly without the Editor:

fx_main.exe game_framework.ini OPEN_PROJECT=[xxx. projectinfo]