{"id":22762302,"url":"https://github.com/computermouth/c1k3","last_synced_at":"2025-04-14T20:42:43.484Z","repository":{"id":177429099,"uuid":"640666385","full_name":"computermouth/c1k3","owner":"computermouth","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-09T02:34:41.000Z","size":1490,"stargazers_count":21,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T08:51:18.007Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/computermouth.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}},"created_at":"2023-05-14T20:39:17.000Z","updated_at":"2024-10-29T16:15:49.000Z","dependencies_parsed_at":"2023-11-25T23:23:55.867Z","dependency_job_id":"456e2904-6f55-4891-8583-f4e4cfc43ef1","html_url":"https://github.com/computermouth/c1k3","commit_stats":null,"previous_names":["computermouth/c1k3"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computermouth%2Fc1k3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computermouth%2Fc1k3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computermouth%2Fc1k3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computermouth%2Fc1k3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/computermouth","download_url":"https://codeload.github.com/computermouth/c1k3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248960005,"owners_count":21189975,"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":[],"created_at":"2024-12-11T10:07:22.440Z","updated_at":"2025-04-14T20:42:43.460Z","avatar_url":"https://github.com/computermouth.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C1K3\n\n![title](https://raw.githubusercontent.com/computermouth/c1k3-assets/master/gifs/title.gif)\n\nC1K3 is a clone of [PhobosLab](https://phoboslab.org/)'s incredible [JS13K](https://js13kgames.com/) entry: [Q1K3](https://js13kgames.com/entries/q1k3). This version is written in C on top of SDL2 + GLES2.\n\nWhile Q1K3 strives to fit inside a 13KB package, C1K3 does not. The binary weighs in at ~3MB, and links in quite a bit more in dependencies. Textures, models, and maps are included directly into the binary in their raw file formats where possible.\n\n![action](https://raw.githubusercontent.com/computermouth/c1k3-assets/master/gifs/action.gif)\n\n## build\n\n```\n# in your cloned directory\n$ git submodule update --init\n$ make release\n```\n\n### linux dependencies (debian-family)\n\n```\n$ sudo apt-get install -y gcc make xxd pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev\n```\n\n### windows dependencies (msys2)\n\nI build and link c1k3 against ANGLE on Windows, using the ucrt64 env of [msys2](https://www.msys2.org/).\n\n```\n$ pacman -Sy make vim mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-pkg-config mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-SDL2_ttf mingw-w64-ucrt-x86_64-SDL2_mixer mingw-w64-ucrt-x86_64-angleproject\n```\n\n### mac dependencies (brew)\n\n```\n$ brew install pkg-config sdl2 sdl2_ttf sdl2_mixer\n```\n\n## asset sources?\n\nC1K3 uses xxd to include the binary representations of the assets built for [Q1K3](https://github.com/phoboslab/q1k3).\n\nIn that repository are tools that bake the models and maps into smaller files. Those files were committed to [c1k3-assets](https://github.com/computermouth/c1k3-assets), rather than including the tools and rebuilding the assets on every build. This was done because it's my hope to switch to parsing [glTF files](https://en.wikipedia.org/wiki/GlTF) which are created in Blender to replace the Quake maps and the original author's model format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputermouth%2Fc1k3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomputermouth%2Fc1k3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputermouth%2Fc1k3/lists"}