{"id":15429546,"url":"https://github.com/natecraddock/open-reckless-drivin","last_synced_at":"2025-04-19T16:53:47.385Z","repository":{"id":37266011,"uuid":"341984904","full_name":"natecraddock/open-reckless-drivin","owner":"natecraddock","description":"A work-in-progress open source reimplementation of the classic Macintosh shareware game Reckless Drivin'","archived":false,"fork":false,"pushed_at":"2024-01-24T03:19:42.000Z","size":13929,"stargazers_count":45,"open_issues_count":4,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-03-29T10:33:39.420Z","etag":null,"topics":["game","macintosh","macintosh-arcade-games","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/natecraddock.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":"2021-02-24T17:46:02.000Z","updated_at":"2025-01-11T16:04:37.000Z","dependencies_parsed_at":"2024-10-20T20:37:08.936Z","dependency_job_id":null,"html_url":"https://github.com/natecraddock/open-reckless-drivin","commit_stats":{"total_commits":165,"total_committers":3,"mean_commits":55.0,"dds":"0.030303030303030276","last_synced_commit":"d7c1b76ccb213ff34e51fc2c9e39e1e0c69c27f2"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecraddock%2Fopen-reckless-drivin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecraddock%2Fopen-reckless-drivin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecraddock%2Fopen-reckless-drivin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natecraddock%2Fopen-reckless-drivin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natecraddock","download_url":"https://codeload.github.com/natecraddock/open-reckless-drivin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249743025,"owners_count":21319036,"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":["game","macintosh","macintosh-arcade-games","zig"],"created_at":"2024-10-01T18:11:26.319Z","updated_at":"2025-04-19T16:53:47.368Z","avatar_url":"https://github.com/natecraddock.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Reckless Drivin'\n\nThis project is an attempt to reimplement the classic Macintosh shareware game\nReckless Drivin' as a cross-platform game. The source code of the original game\nwas released by the author Jonas Echterhoff in 2019, but relies heavily on\ndeprecated Macintosh system calls for most aspects of the game. Additionally,\nthe game data (sprites, sounds, level data, etc.) are all LZRW3 compressed\ninside the resource fork of the original game, which is an additional barrier to\nreimplementation.\n\nThe original source may be found at https://github.com/jechter/RecklessDrivin.\n\n## Current Status\n\n**Update:** I am finished porting all my work in C to Zig. Overall I am very\npleased with the rewrite, and I appreciate all of the little improvements to the\ncode that were lacking in C, like knowing the length of a slice without\nresorting to offsets and weird fat pointer tricks I was using previously.\n\nAt this stage, the game is not playable. But at startup all of the data is\ndecompressed and loaded into memory, and then promptly freed before exiting. The\nnext step is to start the game loop! I have chosen to ignore the main menu for\nnow so we can get a playable game as soon as possible.\n\n## Details\n\nThe original source contained a file called `Data` containing the resource fork.\nThis has been converted into a header file (`src/include/data`) to be embedded\nin the executable directly. This file contains various \"Packs\" of data including\nApple QuickDraw images, sounds, sprites, and fonts. Work has been done to\nreliably read, decompress, decrypt, and interpret the data from this resource\nfork.\n\nAs an indicator of progress, PPic Packs 1000 through 1008 (the Apple QuickDraw\nimages) have been read from the resource fork. This verifies that the lzrw-3a\ndecompression is working, and is a exciting marker of progress! See the images\non the\n[wiki](https://github.com/natecraddock/open-reckless-drivin/wiki/QuickDraw-Pictures-(PPic)).\n\n## Building\n\nSo far I have only built Open Reckless Drivin' on Arch Linux, but I see no\nreason why it wouldn't work elsewhere. Using the latest stable version of Zig:\n\n```text\nzig build\n```\n\nThe binary will be placed in `zig-out/bin/reckless-drivin`. Run with the\n`register [name]` option to generate a new activation code.\n\nTo run tests\n\n```\nzig build test\n```\n\n## Registration Keys\n\nJonas released the game for free after it was no longer viable to update it for\nmodern systems. More information can be found on the [game's\nwebsite](http://jonasechterhoff.com/Reckless_Drivin.html). The free registration\ninformation is:\n\nName: Free\u003cbr\u003e\nCode: B3FB09B1EB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatecraddock%2Fopen-reckless-drivin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatecraddock%2Fopen-reckless-drivin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatecraddock%2Fopen-reckless-drivin/lists"}