{"id":20661655,"url":"https://github.com/valveresourceformat/valvepak","last_synced_at":"2025-04-05T08:07:11.166Z","repository":{"id":140671982,"uuid":"68501384","full_name":"ValveResourceFormat/ValvePak","owner":"ValveResourceFormat","description":"📦 Fully fledged library to work with Valve's Pak archives in .NET","archived":false,"fork":false,"pushed_at":"2024-11-18T12:49:13.000Z","size":233,"stargazers_count":126,"open_issues_count":1,"forks_count":19,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T07:09:24.138Z","etag":null,"topics":["csharp","dotnet","source2","steam","valve","vpk"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/ValvePak/","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/ValveResourceFormat.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":"2016-09-18T06:30:55.000Z","updated_at":"2025-02-10T20:54:22.000Z","dependencies_parsed_at":"2023-08-15T11:29:55.566Z","dependency_job_id":"bf689e2f-ccb5-4db2-b0e2-c1ea5179de81","html_url":"https://github.com/ValveResourceFormat/ValvePak","commit_stats":null,"previous_names":["valveresourceformat/valvepak","steamdatabase/valvepak"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValveResourceFormat%2FValvePak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValveResourceFormat%2FValvePak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValveResourceFormat%2FValvePak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValveResourceFormat%2FValvePak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValveResourceFormat","download_url":"https://codeload.github.com/ValveResourceFormat/ValvePak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"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":["csharp","dotnet","source2","steam","valve","vpk"],"created_at":"2024-11-16T19:10:46.529Z","updated_at":"2025-04-05T08:07:11.145Z","avatar_url":"https://github.com/ValveResourceFormat.png","language":"C#","readme":"\u003ch1\u003e\u003cimg src=\"./Misc/logo.png\" width=\"64\" align=\"center\"\u003e Valve Pak (vpk) for .NET\u003c/h1\u003e\n\n[![Build Status (GitHub)](https://img.shields.io/github/actions/workflow/status/ValveResourceFormat/ValvePak/ci.yml?label=Build\u0026style=flat-square\u0026branch=master)](https://github.com/ValveResourceFormat/ValvePak/actions)\n[![NuGet](https://img.shields.io/nuget/v/ValvePak.svg?label=NuGet\u0026style=flat-square)](https://www.nuget.org/packages/ValvePak/)\n[![Coverage Status](https://img.shields.io/codecov/c/github/ValveResourceFormat/ValvePak/master?label=Coverage\u0026style=flat-square)](https://app.codecov.io/gh/ValveResourceFormat/ValvePak)\n\nVPK (Valve Pak) files are uncompressed archives used to package game content.\nThis library allows you to read and extract files out of these paks.\n\nUsage:\n\n```csharp\nusing var package = new Package();\n\n// Open a vpk file\npackage.Read(\"pak01_dir.vpk\");\n\n// Can also pass in a stream\npackage.Read(File.OpenRead(\"pak01_dir.vpk\"));\n\n// Optionally verify hashes and signatures of the file if there are any\npackage.VerifyHashes();\n\n// Find a file, this returns a PackageEntry\nvar file = package.FindEntry(\"path/to/file.txt\");\n\nif (file != null) {\n\t// Read a file to a byte array\n\tpackage.ReadEntry(file, out byte[] fileContents);\n}\n```\n\nDo note that files such as `pak01_001.vpk` are just data files, you have to open `pak01_dir.vpk`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalveresourceformat%2Fvalvepak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalveresourceformat%2Fvalvepak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalveresourceformat%2Fvalvepak/lists"}