Command Line Parameters
fx_main.exe can accept command line parameters, the relevant available parameters are as follows:
Parameter | Fillable or not | Description |
---|---|---|
OPEN_PROJECT | Yes | The project to be opened. Spaces in the path should be wrapped with “ ” |
LANGUAGE | Yes | Currently support en-US or zh-CN |
DISABLE_ASSET_REGISTRY | No | Close 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]