{"id":13765712,"url":"https://github.com/RobLoach/raylib-assetsys","last_synced_at":"2025-05-10T21:31:31.402Z","repository":{"id":193933907,"uuid":"689758810","full_name":"RobLoach/raylib-assetsys","owner":"RobLoach","description":"Use the file system abstraction library, assetsys.h, to load raylib assets from .zip files.","archived":false,"fork":false,"pushed_at":"2023-09-10T20:24:14.000Z","size":186,"stargazers_count":9,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-20T06:31:33.689Z","etag":null,"topics":["raylib"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobLoach.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}},"created_at":"2023-09-10T20:06:20.000Z","updated_at":"2024-01-16T21:56:15.000Z","dependencies_parsed_at":"2023-09-10T21:30:16.631Z","dependency_job_id":"cea87e1d-a265-4da2-b9dd-90455ae01c70","html_url":"https://github.com/RobLoach/raylib-assetsys","commit_stats":null,"previous_names":["robloach/raylib-assetsys"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-assetsys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-assetsys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-assetsys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-assetsys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobLoach","download_url":"https://codeload.github.com/RobLoach/raylib-assetsys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224989393,"owners_count":17403408,"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":["raylib"],"created_at":"2024-08-03T16:00:44.416Z","updated_at":"2024-11-17T01:31:18.460Z","avatar_url":"https://github.com/RobLoach.png","language":"C","funding_links":[],"categories":["List"],"sub_categories":["Libraries and Frameworks"],"readme":"# raylib-assetsys\n\nUse the file system abstraction library, [assetsys.h](https://github.com/mattiasgustavsson/libs/blob/main/assetsys.h), with [raylib](https://github.com/raysan5/raylib), to allow loading assets from .zip files.\n\n## Example\n\n``` c\n#include \u003craylib.h\u003e\n\n#define RAYLIB_ASSETSYS_IMPLEMENTATION\n#include \"raylib-assetsys.h\"\n\nint main(int argc, char* argv[]) {\n    // Initialize assetsys, and mount resources.zip as /data\n    InitAssetsys(\"resources.zip\", \"/data\");\n\n    // Load cat.png from the zip\n    Image cat = LoadImageFromAssetsys(\"/data/cat.png\");\n    UnloadImage(cat);\n\n    // Close the assetsys\n    CloseAssetsys();\n\n    return 0;\n}\n```\n\n## API\n\n``` c\nbool InitAssetsys(char const* path, char const* mount_as);\nbool MountAssetsys(const char* path, const char* mount_as);\nbool IsAssetsysReady();\nvoid CloseAssetsys();\nunsigned char *LoadFileDataFromAssetsys(const char *fileName, int *dataSize);\nchar *LoadFileTextFromAssetsys(const char *fileName);\nImage LoadImageFromAssetsys(const char* fileName);\n```\n\n## License\n\n*raylib-assetsys* is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRobLoach%2Fraylib-assetsys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRobLoach%2Fraylib-assetsys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRobLoach%2Fraylib-assetsys/lists"}