{"id":16726276,"url":"https://github.com/cmd-johnson/inidbi2-linux","last_synced_at":"2026-02-13T15:44:54.128Z","repository":{"id":94947024,"uuid":"181286060","full_name":"cmd-johnson/inidbi2-linux","owner":"cmd-johnson","description":"Linux port of the inidbi2 extension for Arma","archived":false,"fork":false,"pushed_at":"2024-11-20T22:07:15.000Z","size":548,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T09:05:47.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmd-johnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-14T09:24:33.000Z","updated_at":"2020-05-04T05:46:36.000Z","dependencies_parsed_at":"2023-06-11T05:15:16.906Z","dependency_job_id":null,"html_url":"https://github.com/cmd-johnson/inidbi2-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmd-johnson/inidbi2-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmd-johnson%2Finidbi2-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmd-johnson%2Finidbi2-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmd-johnson%2Finidbi2-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmd-johnson%2Finidbi2-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmd-johnson","download_url":"https://codeload.github.com/cmd-johnson/inidbi2-linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmd-johnson%2Finidbi2-linux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268315945,"owners_count":24231059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T22:52:42.278Z","updated_at":"2026-02-13T15:44:49.083Z","avatar_url":"https://github.com/cmd-johnson.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inidbi2 for Linux Servers\n[inidbi2](https://github.com/code34/inidbi2/) is an extension for Arma 3 that allows to save data to .ini files that later can be read again.\nThis allows to persist data and allows for state that survives across server restarts, while not requiring a full-blown (SQL) database.\n\nUnfortunately, inidbi2 (as opposed to inidbi) is written in C# and only provides a dll file for INI handling, so it does not work on Linux servers.\n\nThis implementation of inidbi2 aims to address this by re-implementing all C# code of inidbi2 in C++, allowing us to generate a Shared Object file, making the extension usable on Linux servers.\n\n## Disclaimer\nThis is a quick \u0026 dirty re-implementation of the C# code of inidbi2 in C++.\nIt is not designed with efficiency in mind.\n\nI replaced all Windows-specific function calls with stuff I found in the [boost](https://www.boost.org/) library.\nOn my server, this 'just works', but you might need to install additional dependencies that I am not (yet) aware of.\nOpen an issue if you find you were missing a dependency, then I'll add them here.\n\nAlso note that the `inidbi2.so` file is *huge* compared to the `inidbi2.dll`.\nThis is because the boost library is statically linked.\nDynamic linking might work just as well, but my aim was to get this done fast and to do the bare minimum to get it to work.\n\n## Installation\nTo install the extension, first [download the inidbi2 extension](https://forums.bohemia.net/forums/topic/186131-inidbi2-save-and-load-data-to-the-server-or-your-local-computer-without-databases).\nPut it into your server directory, e.g. `/usr/games/arma3/@inidbi2`.\nRename the `Addons` folder inside the `@inidbi2` folder to `addons` (The Arma server for Linux doesn't like the capitalized name).\nDownload the [`inidbi2.so` file](https://github.com/cmd-johnson/inidbi2-linux/raw/master/inidbi2.so) built from this project and place it inside the `@inidbi2` folder (e.g. `/usr/games/arma3/@inidbi2/inidbi2.so`).\n\nMake sure you add `@inidbi2` to your server's startup command line (e.g. `-serverMod=@inidbi2`).\n\nThat's it!\nYou should now be able to use the extension on your Linux server.\n\nYou can try it by loading up a mission, enabling the admin debug console in the mission's properties, logging in as admin, entering the following snippet into your Arma console and running it on your server:\n```sqf\n_inidbi = [\"new\", \"test\"] call OO_INIDBI;\n_version = \"getVersion\" call _inidbi;\ndiag_log format [\"Inidbi version: %1\", _version];\n```\n\nLook into your server's output, there should be a line reading \"Inidbi version: Inidbi: 2.05 Dll: 2.05 (linux)\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmd-johnson%2Finidbi2-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmd-johnson%2Finidbi2-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmd-johnson%2Finidbi2-linux/lists"}