{"id":25304874,"url":"https://github.com/leops/dmxparser","last_synced_at":"2025-10-06T10:10:43.712Z","repository":{"id":79172359,"uuid":"318825562","full_name":"leops/dmxparser","owner":"leops","description":"Reading the Valve Data Model eXchange (DMX) format in Rust","archived":false,"fork":false,"pushed_at":"2020-12-05T15:50:32.000Z","size":126,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T10:52:08.684Z","etag":null,"topics":["dota-2","half-life-alyx","parser","source-engine"],"latest_commit_sha":null,"homepage":"https://docs.rs/dmxparser/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-12-05T15:44:46.000Z","updated_at":"2025-07-04T09:58:40.000Z","dependencies_parsed_at":"2023-05-18T17:45:19.340Z","dependency_job_id":null,"html_url":"https://github.com/leops/dmxparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leops/dmxparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leops%2Fdmxparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leops%2Fdmxparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leops%2Fdmxparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leops%2Fdmxparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leops","download_url":"https://codeload.github.com/leops/dmxparser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leops%2Fdmxparser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278591302,"owners_count":26012032,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dota-2","half-life-alyx","parser","source-engine"],"created_at":"2025-02-13T08:34:11.340Z","updated_at":"2025-10-06T10:10:43.668Z","avatar_url":"https://github.com/leops.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"dmxparser\n==============\n\nReading the Valve Data Model eXchange (DMX) format in Rust\n\n## Features\n\nThis library is split into 3 parts:\n\n- A low-level reader that returns a `File` structure following closely the in-memory layout of the data. This API exists in two versions, the streaming `dmxparser::from_reader(impl BufRead) -\u003e File` returning an owned version of the data, and the non-streaming `dmxparser::from_slice(\u0026[u8]) -\u003e File` returning a borrowed version of the data from the original buffer\n- A high-level `serde::Deserializer` implementation in `dmxparser::serde::from_file\u003cT: Deserialize\u003e(File) -\u003e T` that reads any deserializable data structure from a `File` returned by the low-level reader\n- A library of predefined data structures for deserializing a VMAP file, accessible through `dmxparser::formats::vmap::read_vmap(File) -\u003e CMapRootElement` \n\n## Limitations\n\nAt the moment this library:\n\n- Can only read the binary DMX format, specifically in version 9\n- Cannot write back a file to binary form\n- Has missing parts in its `Deserializer` implementation, it's been tested on the VMAP structure but other formats might not work properly\n- Has missing fields or invalid typings in the VMAP implementation, since the format isn't documented the type definitions were written to work on the vmap files found in the HL:Alyx SDK but other maps found in the wild may use structures with different shapes\n\nAll of this may eventually get fixed in a future (valve) time, but feel free to open a pull request if you want to help\n\n## Tests\n\nThe crate has a dynamic test suite that generates test cases dynamically based on a `fixtures` directory containing map files to be loaded. It defaults to using the `tests/fixtures` directory but can be pointed at the map directory of a game whose maps can obviously not be included here for copyright reasons to test the library on real data with `cargo test --test reader -- --fixtures \"D:/SteamLibrary/steamapps/common/Half-Life Alyx/content\"`. Note that map files from retail games can be huge, and it can be necessary to disable the parallel execution of tests with `--test-threads 1` to prevent too many maps being loaded at the same time and running out of memory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleops%2Fdmxparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleops%2Fdmxparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleops%2Fdmxparser/lists"}