Skip to content

MrRobinOfficial/Unreal-IniParser

Repository files navigation

IniParser logo

IniParser [Unreal Engine]

Read/Write an .Ini file the unreal way!

license plugin-status maintenance-status

⚙️ Supported Platforms

This plug-in was last built against Unreal Engine 5.1. It should work on all platforms, since it made with raw c++ code and basic Unreal Engine features.

⚒️ Installation

You can install from the release section.

Alternatively, you can install this plugin via terminal with git. Here is the command for installing it.

git clone git@github.com:MrRobinOfficial/Unreal-IniParser.git IniParser

🖼️ Screenshots

Overview of Blueprint nodes from .Ini Library Creating .ini data via Blueprint Editor Write .ini data into a file Output text from .ini data that was written Parse .ini data structure from a file path

📝 Quick guide

This plugin is parsing system for file type .ini. You can read more about .ini file system.

From the IniLibrary (Blueprint Function Library class), you have a couple functions to use:

  • Mainly: ParseIniFromString(FString String), ParseIniFromFile(FString FilePath) and ParseIniToString(const FIniData& Data) for C++ users.
  • And for Blueprint users, it's: "Parse .Ini From String", "Parse .Ini From File" and "Parse .Ini To String".
  • Use ReadIniFromFile and WriteIniToFile for reading and writing to a specific file.

This .ini parsing system support:

  • Sections and properties, names are case-insensitive.
  • Data container (FIniData) support for global comments and properties. Meaning, comments/properties is defined under a section.
  • Property support values with double quote and apostrophe.

🆘 Support

If you have any questions or issue, just write either to my YouTube channel, Email or Twitter DM.

🔗 References