{"id":16473363,"url":"https://github.com/vikpe/quake_bspinfo","last_synced_at":"2025-02-28T06:28:27.273Z","repository":{"id":246290316,"uuid":"820608208","full_name":"vikpe/quake_bspinfo","owner":"vikpe","description":"Extract Quake related information from .bsp files.","archived":false,"fork":false,"pushed_at":"2024-07-10T08:26:35.000Z","size":1474,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T02:25:29.989Z","etag":null,"topics":["bsp","maps","quake","quakeworld"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/vikpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.YML","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},"funding":{"open_collective":"quakeworld"}},"created_at":"2024-06-26T20:18:12.000Z","updated_at":"2024-07-10T08:26:38.000Z","dependencies_parsed_at":"2024-07-10T09:35:43.554Z","dependency_job_id":"ff9de22f-a9d7-4858-86ec-82a55ee947af","html_url":"https://github.com/vikpe/quake_bspinfo","commit_stats":null,"previous_names":["vikpe/quake_bspinfo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_bspinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_bspinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_bspinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_bspinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikpe","download_url":"https://codeload.github.com/vikpe/quake_bspinfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241111862,"owners_count":19911578,"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":["bsp","maps","quake","quakeworld"],"created_at":"2024-10-11T12:26:35.397Z","updated_at":"2025-02-28T06:28:27.255Z","avatar_url":"https://github.com/vikpe.png","language":"Rust","funding_links":["https://opencollective.com/quakeworld"],"categories":[],"sub_categories":[],"readme":"# quake_bspinfo\n\n\u003e Extract Quake related information from .bsp files\n\n```rust\nlet data = fs::read(\"dm3.mvd\")?;\nlet info: BspInfo = quake_bspinfo::parse(\u0026data)?;\n\n// result\nstruct BspInfo {\n    message: String,\n    size: u32,\n    entity_count: EntityCount,\n    intermissions: Vec\u003cIntermission\u003e,\n    race_routes: Vec\u003cRaceRoute\u003e,\n}\n\nstruct EntityCount {\n    ammo: Ammo,\n    armors: Armors,\n    healthpacks: Healthpacks,\n    items: Items,\n    monsters: Monsters,\n    powerups: Powerups,\n    spawns: Spawns,\n    triggers: Triggers,\n    weapons: Weapons,\n}\n\nstruct Ammo {\n    shells_small: u32,\n    shells_large: u32,\n    nails_small: u32,\n    nails_large: u32,\n    rockets_small: u32,\n    rockets_large: u32,\n    cells_small: u32,\n    cells_large: u32,\n}\n\nstruct Armors {\n    green_armor: u32,\n    yellow_armor: u32,\n    red_armor: u32,\n}\n\nstruct Healthpacks {\n    health_small: u32,\n    health_large: u32,\n    megahealth: u32,\n}\n\nstruct Items {\n    silver_key: u32,\n    gold_key: u32,\n    red_flag: u32,\n    blue_flag: u32,\n    tf_goal: u32,\n}\n\nstruct Monsters {\n    chton: u32,\n    death_knight: u32,\n    enforcer: u32,\n    fiend: u32,\n    grunt: u32,\n    knight: u32,\n    ogre: u32,\n    rotfish: u32,\n    rottweiler: u32,\n    scrag: u32,\n    shambler: u32,\n    shub_niggurath: u32,\n    spawn: u32,\n    vore: u32,\n    zombie: u32,\n}\n\nstruct Powerups {\n    biosuit: u32,\n    quad: u32,\n    pent: u32,\n    ring: u32,\n}\n\nstruct Spawns {\n    coop: u32,\n    deathmatch: u32,\n    start: u32,\n    team1: u32,\n    team1_deathmatch: u32,\n    team2: u32,\n    team2_deathmatch: u32,\n    teamspawn: u32,\n}\n\nstruct Triggers {\n    changelevel: u32,\n    secret: u32,\n    teleport: u32,\n}\n\nstruct Weapons {\n    super_shotgun: u32,\n    nailgun: u32,\n    super_nailgun: u32,\n    grenade_launcher: u32,\n    rocket_launcher: u32,\n    ligthning_gun: u32,\n}\n\nstruct Intermission {\n    origin: String,\n    mangle: String,\n}\n\nstruct RaceRoute {\n    name: String,\n    description: String,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fquake_bspinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikpe%2Fquake_bspinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fquake_bspinfo/lists"}