{"id":17685445,"url":"https://github.com/xortroll/arc","last_synced_at":"2025-10-08T03:34:53.102Z","repository":{"id":50417611,"uuid":"519011754","full_name":"XorTroll/arc","owner":"XorTroll","description":"Atmosphère (and custom) Nintendo Switch result code database","archived":false,"fork":false,"pushed_at":"2025-05-08T13:53:28.000Z","size":51,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T14:44:39.534Z","etag":null,"topics":["database","nintendo","result","switch"],"latest_commit_sha":null,"homepage":"https://xortroll.github.io/arc/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XorTroll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-07-28T22:35:00.000Z","updated_at":"2025-05-08T13:53:31.000Z","dependencies_parsed_at":"2024-01-15T00:26:30.149Z","dependency_job_id":"3f23b68f-20d7-45f0-b754-3241602c4644","html_url":"https://github.com/XorTroll/arc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XorTroll%2Farc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XorTroll%2Farc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XorTroll%2Farc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XorTroll%2Farc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XorTroll","download_url":"https://codeload.github.com/XorTroll/arc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843196,"owners_count":21972872,"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","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":["database","nintendo","result","switch"],"created_at":"2024-10-24T10:27:46.932Z","updated_at":"2025-10-08T03:34:48.069Z","avatar_url":"https://github.com/XorTroll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arc\n\n`arc` (short for \"Atmosphère\" and \"result\" combined) is a Python Atmosphère/custom Nintendo Switch result utility\n\n\u003e Check [here](https://xortroll.github.io/arc/) for the generated results list!\n\n## Table of contents\n\n- [arc](#arc)\n  - [Table of contents](#table-of-contents)\n  - [Databases](#databases)\n  - [C++ headers](#c-headers)\n  - [Usage](#usage)\n    - [Generating the databases](#generating-the-databases)\n    - [Result lookup (databases must already be generated)](#result-lookup-databases-must-already-be-generated)\n    - [C++ generation (databases must already be generated)](#c-generation-databases-must-already-be-generated)\n    - [Markdown list generation (databases must already be generated)](#markdown-list-generation-databases-must-already-be-generated)\n  - [Result list](#result-list)\n  - [Credits](#credits)\n\n## Databases\n\n`arc_db_gen.py` parses both [Atmosphère](https://github.com/Atmosphere-NX/Atmosphere)'s C++ headers and custom (default or user-provided) result headers to generate two JSON databases: `arc_rc_db.json` and `arc_range_db.json` (of results and result ranges respectively).\n\nSome useful/template result headers are provided [here](default_rc_hpps). Note that they are not valid C++ headers by themselves, since they just follow a simple format (similar to Atmosphère's result headers but without any includes or extra stuff).\n\nPull requests can be used to add default result definitions of relevant homebrew projects using custom results.\n\n## C++ headers\n\n`arc_cpp_gen.py` generates a standalone C++ header containing result definitions and utilities from the generated database results and result ranges.\n\n## Usage\n\n### Generating the databases\n\nExamples:\n\n`python arc.py gen_db default`\n\n`python arc.py gen_db ams+goldleaf+emuiibo`\n\n`python arc.py gen_db default+../dummy/rc_defs.hpp`\n\n\u003e 'ams' is a special token for Atmosphère results, while 'default' is a special token for including all Atmosphère and default results\n\n\u003e User-provided (non-default) result headers can be supplied (with or without their extension in case it's `.rc.hpp`) or even as an absolute/relative path (always keep in mind that `+` is a reserved symbol here) or URL\n\n### Result lookup (databases must already be generated)\n\nExamples: \n\n`python arc.py rc 0x202`\n\n`python arc.py rc 2168-0002`\n\n\u003e This will print all the result or result range matches found in the databases\n\n### C++ generation (databases must already be generated)\n\nExample: `python arc.py gen_cpp testmod TESTMACRO test.hpp`\n\n\u003e This will generate everything inside `testmod::` namespace, and all macro names will be prefixed as `TESTMACRO_\u003c...\u003e`\n\n### Markdown list generation (databases must already be generated)\n\nExample: `python arc.py gen_md out_list.md`\n\n\u003e This will generate a neatly formatted Markdown list with all the results\n\n## Result list\n\nThis repository itself maintains a generated list of all default (Atmosphère + libnx + hbloader) results [here](https://xortroll.github.io/arc/).\n\n## Credits\n\n[Atmosphère](https://github.com/Atmosphere-NX/Atmosphere) for containing simple definitions of a wide range of official results (and basically the best official result+name collection out there)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxortroll%2Farc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxortroll%2Farc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxortroll%2Farc/lists"}