A very simple INI parser written in C++.
Go to file
2020-02-07 13:12:02 -05:00
example Added ability to find all options. 2020-01-24 06:39:05 -05:00
include Added ability to find all options and sections. 2020-01-24 07:03:56 -05:00
source/SimpleIniParser 🐛 Fixed bug where this would not link correctly. 2020-02-07 13:12:02 -05:00
.gitignore Add PKGBUILD script to build pacman package. 2019-04-18 19:12:40 -04:00
LICENSE 📄 Update copyright. 2020-01-24 06:32:38 -05:00
Makefile Added support for global options, and comments within a section. 2019-08-29 19:13:38 -04:00
README.md Fix URL in README.md 2019-09-10 18:32:47 -04:00

SimpleIniParser

A library for the Nintendo Switch to be able to easily parse, modify, and create INI files. The main reason this library was written was due to the special needs of the hekate ini file. The hekate ini file can have the same key used multiple times within the same section, and its captions surrounded by curly braces. As these are outside the ini standard, other ini parsers would remove the duplicate keys and strip out the captions.

Installation

I recommend adding this as a git submodule to your and then modifying your makefile to look in this directory for libs. For examples on how to do this please look at Kosmos Updater, and ReiNX Spoofer.

Usage

I've included multiple examples for editing, creating, and reading ini files. You can find them under the example folder. Remember to add -lSimpleIniParser to LIBS in your makefile.