CRI ADX  Last Updated: 2025-05-07 13:34 p
In-game preview

Sample directory

/cri/pc/samples/criatomex/acb_info_with_in_game_preview

Data used in the sample

/cri/common/smpdata/criatomex/inGamePreview/
  • InGame.acf
  • InGame.acb

Sample description

In-game preview To do this, use the CriAtomExMonitor API function.
When performing an in-game preview, the game links to the AtomMonitor library, which includes a communication function with the tool, instead of the normal Atom library.
To start the in-game preview, call the initialization function of the Atom library, then call the criAtomExMonitor_Initialize function to initialize the function.
There is currently no periodic execution function for the in-game preview function.
After initialization, the module will wait for a connection from the tool.
The code to start the in-game preview is shown below.
/* Set the initial value for the initialization config */
/* Initialize the monitor function */
criAtomExMonitor_Initialize(&config, work, work_size);
#define criAtomExMonitor_SetDefaultConfig(p_config)
Assign the default values to the configuration structure of the Monitor library.
Definition: cri_le_atom_ex_monitor.h:102
void criAtomExMonitor_Initialize(const CriAtomExMonitorConfig *config, void *work, CriSint32 work_size)
Initialize the monitoring feature.
Configuration structure used to initialize the Monitor library.
Definition: cri_le_atom_ex_monitor.h:122


AtomCraft project directory of data used in the sample

/cri/tools/ADX2/ver.3/examples/in_game_preview