Jump to content

[SOLVED] Unigine::Engine::init - project parameter


photo

Recommended Posts

Posted

Hello,

 

We want to be able to use the project parameter of Unigine::Engine::init to change where the log file is saved but we are currently confused on what to pass in for the parameter.

 

const char * project - Project name (NULL to ignore); if set, it forces the engine to store all changing data (log file, cache files, config file) in user profile rather than in a directory with binaries.

 

We tried passing in a path (i.e. "C:/Users/<user_name>/<our_project>") but then log/cache/config files don't seem to get saved there. So what format should I be passing in a user profile?

Posted

you don't need a path, just pass the C:/Users/<user_name>/<our_project> bold part, that's project name, unigine will create this path for you.

×
×
  • Create New...