Engine.ini vs Game.ini

What is the core difference between of these ini files?
To be more specific, what kind of data should go to Engine.ini or Game.ini?

Hello ilya.83,

I guess you’re talking about the Engine.ini and Game.ini files inside the [Project]/Saved/Config/[Platform] directory. I wouldn’t recommend messing with the Engine.ini, as it is needed for the engine platform-specific startup. The Game.ini however can contain data you need for the actual game. With emphasis on the ‘can’, you can create your own configuration files. Bear in mind though these are only platform-specific differences to the base files. If you want any settings to be project wide, they should go into the [Project]/Config/Default[Config file].ini file.
For example the DefaultGame.ini stores data such as your project settings (project id, company name, etc.), and the DefaultEngine.ini stores the render, engine and target settings.
But back to the game config files, you could tell an actor for example that they should load a variable from the game config file to influence their behavior, a difficulty setting comes to my mind. And if you want to, this can be platform specific, say you want a base difficulty of 1 and mobile users get a base difficulty of 0.5.

Hope that helps. Just let me know, if this answer wasn’t what you were looking for.

Regards,

Vecherka.

Thank you for the answer. I was talking about *Engine.ini and *Game.ini files in general, but your explanation makes it much more clear to me now. So the *Engine.ini files is for engine features configuration (like rendering, etc…), while the *Game.ini files is for gameplay configuration (like actor parameters, etc…)

Don’t forget about the project settings, which get saved, at least in part, into the BaseGame.ini.