Description

This extension offers functions for working with INI files that exceed the built-in ones:

  • Allows to open multiple INI files at once (as many as you want).
  • Supports escape characters in keys/values/section names (can write any string).
  • Preserves comments, order, and original formatting of the file.
  • Error-proof: Even if the file is not a valid INI at all, extension will not error.
  • Writes values in most-optimal, readable format. Quotes only if necessary.
  • Allows to work with encrypted INI files (akin to ds_map_secure_* functions).
  • Allows to load INI from string and save to string (great for HTTP/networking).
  • Allows to flush INI to disk without having to reopen it.
  • Allows to get key names and section names for iterating over them.
  • Supports all target platforms, optimized both for native platforms and JavaScript-based ones.

Check out the blog post for a detailed breakdown!

If you'd like to test it yourself, an interactive web demo is available: https://yal.cc/r/17/file_ini/

If you are having trouble buying via Marketplace, you can also get the extension via itch.io.

Note: Due to GMS 1.x limitations, the extension is added as an "included file". You will need to pick "Import an extension" and pick the file to add it as an actual extension.

End User Licence Agreement (EULA).

Changes in 1.0.2

  • Fixed a compatibility issue with GMS <= 1763 related to a bug in ds_list_find_index ( http://bugs.yoyogames.com/view.php?id=17678 ). The issue does not occur in EA or later versions.

Version 1.0.2. Published March 21, 2017

Created with GameMaker: Studio v7.7.1411

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Gravatar

Jeff J 16 March 2017

Great extension by a great developer

This extension does exactly what it says, and it's much, much better than the built-in INI file system. Why this isn't standard in GMS, I have no idea - it really should be.

It's also as easy as it can possibly be to replace with your existing INI functionality (bear in mind that since this supports multiple files, you will need to store each opened file in its own variable and then use that going forward)

YellowAfterlife has shown fantastic support - when I conctacted him with a small bug relating to UTF-8 encoding he fixed it right away, and he also added a feature at my request that was quite frankly unnecessary and just a personal preference of mine (adding a flag to choose whether or not to add quotes to keys and values) - but he did it, and fast.

Great value for the money, and by a great developer. Worth every penny. Should be standard in GMS!

This review was left for a previous version of this asset.

Package contents

Total size 11.5 KB

What is the issue?

Back to Top