https://github.com/nicholemattera/simple-ini-parser
A very simple INI parser written in C++.
https://github.com/nicholemattera/simple-ini-parser
ini-parser library nintendo-switch
Last synced: 8 months ago
JSON representation
A very simple INI parser written in C++.
- Host: GitHub
- URL: https://github.com/nicholemattera/simple-ini-parser
- Owner: nicholemattera
- License: isc
- Created: 2023-06-15T12:03:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T12:05:20.000Z (about 3 years ago)
- Last Synced: 2025-10-07T17:56:47.738Z (9 months ago)
- Topics: ini-parser, library, nintendo-switch
- Language: C++
- Homepage:
- Size: 69.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple INI Parser
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](https://github.com/AtlasNX/Kosmos-Updater), and [ReiNX Spoofer](https://github.com/NicholeMattera/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.