{"id":7550387,"url":"https://github.com/bjt0/rs_wad","last_synced_at":"2025-05-13T02:32:42.209Z","repository":{"id":232106803,"uuid":"151020394","full_name":"bjt0/rs_wad","owner":"bjt0","description":"A Rust library for loading .WAD files (Doom, Quake, etc)","archived":false,"fork":false,"pushed_at":"2022-06-06T23:19:05.000Z","size":1107,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T11:41:57.157Z","etag":null,"topics":["doom","quake","rust","rust-library","wad"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjt0.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":"2018-10-01T00:44:03.000Z","updated_at":"2023-09-17T04:35:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"d636a172-f6d9-49ce-945f-22f4768a7770","html_url":"https://github.com/bjt0/rs_wad","commit_stats":null,"previous_names":["bjt0/rs_wad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjt0%2Frs_wad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjt0%2Frs_wad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjt0%2Frs_wad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjt0%2Frs_wad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjt0","download_url":"https://codeload.github.com/bjt0/rs_wad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253859902,"owners_count":21975191,"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":["doom","quake","rust","rust-library","wad"],"created_at":"2024-04-08T01:04:22.144Z","updated_at":"2025-05-13T02:32:42.200Z","avatar_url":"https://github.com/bjt0.png","language":"Rust","funding_links":[],"categories":["Miscellaneous"],"sub_categories":["QuakeWorld"],"readme":"# Introduction\nA Rust library for loading .WAD files (Doom, Quake, etc)\n\n## Features\n* Load a WAD archive from a filepath or Rust File \n* Access the archive entries by index or name \n* All raw data in the archive is loaded internally\n\n## Quick Start\n### Load WAD file from a path and then get the first lump in the wad\n    let w: Wad = Wad::from_path(\"./wads/MYWAD.wad\");\n    // this returns an option depending on whether there is a lump at index 0 \n    let first_entry = w.get_at_index(0).unwrap();\n\n#### Get a WAD entry by name or index\n    // same as get_at_index method, but depends on whether a lump with the given name exists\n    let e1m1_entry = w.get_by_name(\"E1M1\").unwrap();\n\n#### Get raw lump data \n    let e1m1_entry = w.get_by_name(\"E1M1\").unwrap();\n\n    // the E1M1 lump is what is known as a marker \n    // it signifies the start of the Doom map E1M1 (Hangar in DOOM.WAD)\n    // all the map data is contained in subsequent lumps, such as the THINGS lump\n    // as such, this lump will be 0 length\n    assert_eq!(e1m1_entry.lump().name(), \"E1M1\");\n    assert_eq!(e1m1_entry.lump().data().len(), 0);","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjt0%2Frs_wad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjt0%2Frs_wad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjt0%2Frs_wad/lists"}