Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How to read values from ini file?

Author
Message
Darkhog
11
Years of Service
User Offline
Joined: 25th Nov 2012
Location: Mushroom Kingdom
Posted: 2nd Dec 2012 12:16
How can I read values from ini file? We got functions to access registry, but not for ini files. Can you suggest some method to read them? Some (free) plugin or something else?

Registry is fine, but I want my game to be thumbstick-ready so I need to read/save things into ini files instead as they're more portable.
Brendy boy
19
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 2nd Dec 2012 13:20
Darkhog
11
Years of Service
User Offline
Joined: 25th Nov 2012
Location: Mushroom Kingdom
Posted: 2nd Dec 2012 14:42
Hehe... Very powerful thing indeed and I will probably end up using it anyway (for networking capabilities and ability to make meshes procedurally), but it doesn't have INI handling routines, checked it with uploaded help file. It can handle binary datafiles so it is good, but no INI handling.
Brendy boy
19
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 2nd Dec 2012 15:00
Quote: "but it doesn't have INI handling routines"

yes they do, look here

Darkhog
11
Years of Service
User Offline
Joined: 25th Nov 2012
Location: Mushroom Kingdom
Posted: 2nd Dec 2012 15:30
Uh... didn't see that, then again I've looked for "INI Handling", not "Key->Value pairs". Thanks! Downloading right away!

Login to post a reply

Server time is: 2024-11-23 17:36:03
Your offset time is: 2024-11-23 17:36:03