{"id":19712971,"url":"https://github.com/connorsweeneydev/resourcegenerator","last_synced_at":"2025-08-13T07:08:26.933Z","repository":{"id":249136233,"uuid":"830595499","full_name":"ConnorSweeneyDev/ResourceGenerator","owner":"ConnorSweeneyDev","description":"A small executable that reads all the files supplied to it into a C++ compilation unit in a format accepted by my SimpleGameEngine.","archived":false,"fork":false,"pushed_at":"2025-05-25T07:20:53.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T07:38:59.498Z","etag":null,"topics":["cpp","developer-tools","utility"],"latest_commit_sha":null,"homepage":"","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/ConnorSweeneyDev.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,"zenodo":null}},"created_at":"2024-07-18T15:15:39.000Z","updated_at":"2025-05-25T07:19:18.000Z","dependencies_parsed_at":"2024-07-28T18:47:31.652Z","dependency_job_id":"b88d4b37-4188-45d5-8de9-2efe8087106e","html_url":"https://github.com/ConnorSweeneyDev/ResourceGenerator","commit_stats":null,"previous_names":["connorsweeneydev/resourceloader"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/ConnorSweeneyDev/ResourceGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorSweeneyDev%2FResourceGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorSweeneyDev%2FResourceGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorSweeneyDev%2FResourceGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorSweeneyDev%2FResourceGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnorSweeneyDev","download_url":"https://codeload.github.com/ConnorSweeneyDev/ResourceGenerator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorSweeneyDev%2FResourceGenerator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270199823,"owners_count":24543731,"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-13T02:00:09.904Z","response_time":66,"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":["cpp","developer-tools","utility"],"created_at":"2024-11-11T22:19:08.439Z","updated_at":"2025-08-13T07:08:26.871Z","avatar_url":"https://github.com/ConnorSweeneyDev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage\nThis program is specifically designed as a helper to my\n[SimpleGameEngine](https://github.com/ConnorSweeneyDev/SimpleGameEngine), and is not intended to be portable for other\nprojects.\n\n`./ResourceGenerator.[exe|out] \u003ctext_postfix\u003e \u003cpng_postfix\u003e \u003cresource1\u003e \u003cresource2\u003e ... \u003cresourceN\u003e \u003coutfile\u003e`\n\n- `\u003ctext_postfix\u003e`: The postfix to append to each text resource name, e.g. `\"_text\"`.\n- `\u003cpng_postfix\u003e`: The postfix to append to each png resource name, e.g. `\"_png\"`.\n- `\u003cresource1\u003e \u003cresource2\u003e ... \u003cresourceN\u003e`: The files to be read, glsl files or png files.\n- `\u003coutfile\u003e`: The `.hpp` or `.cpp` file to write the output to, can be a path to a file or just a filename.\n\nRun it once with the desired header file path and once with the desired source file path, keeping all the other\narguments the same.\n\n# Building and Executing\nThis project is optimized to be built with the following targets in mind:\n- Windows 11 MinGW 64-bit GCC 14.2.0\n- Ubuntu 18.04 GLIBC Version 2.27\n\nVersion information for dependencies can be found in `external/version_info.txt`.\n\nOn both Windows and Linux any libraries used are all statically linked.\n\nAfter following the platform specific instructions below you can execute `script/build.sh` followed by `script/run.sh`\nfrom the root of the project to build and run the project.\n\n### Windows\nDo the following to ensure your environment is set up correctly:\n- Download a 64-bit [MinGW](https://winlibs.com/) distribution with Clang/LLVM support and put the `[DISTRIBUTION]/bin`\n  directory in your path.\n- Install GNUMake by running `winget install ezwinports.make`.\n- Ensure that you have `[GIT_INSTALLATION]/bin` in your path.\n\n### Linux\n- Only run `sudo apt update \u0026\u0026 sudo apt upgrade` if you haven't already.\n- Run `sudo apt install git g++ make`.\n\n# Updating stb_image\nGo to the stb_image.h [file](https://github.com/nothings/stb/blob/master/stb_image.h) and download it as a raw file,\nthen replace the file in `external/include/stb` directory with that file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorsweeneydev%2Fresourcegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorsweeneydev%2Fresourcegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorsweeneydev%2Fresourcegenerator/lists"}