Source 2 Viewer:Source 2 资源查看工具
浏览 VPK 归档,查看、导出并反编译 Source 2 游戏资源的一体化工具。
- 浏览
- 6
- 访问
- 0
- 下载
- 0
- Stars
- 2,606
- 版本
- v21.2
- 平台
- Windows、macOS、Linux
详细介绍
项目简介
Source 2 Viewer 是一款针对 Valve Source 2 引擎资源格式的一体化工具,集解析、渲染、反编译与导出功能于一身。Source 2 游戏把模型、材质、贴图、地图、声音、粒子等资源都以编译后的资源文件形式打包发布,这个工具可以打开它们、预览内容,并导出成其他工具能够读取的格式。
项目同时提供三个部分:图形界面的查看器应用、命令行反编译工具,以及 ValveResourceFormat 库。库已发布到 NuGet,其中 ValveResourceFormat 用于解析和导出,ValveResourceFormat.Renderer 提供 OpenGL 渲染器。
![]()
主要功能
- 浏览 VPK 归档文件,查看其中的资源条目
- 查看与预览地图、模型、材质、贴图、声音、粒子等资源
- 将资源导出为其他工具可用的格式
- 反编译资源,例如把编译后的模型还原为可编辑的
vmdl - 地图可实际游玩,门、按钮与触发器均可工作
- 模型查看器中支持动画图(animation graph)播放
- 物理与碰撞视图:形状以半透明加边缘线绘制,触发器与工具材质按类名或材质名贴图,新增 Collision tree 按 interact-as 标签对形状分组,Auto Vis Groups 可像 Hammer 一样隐藏工具笔刷
- 应用内更新:可在 About 对话框中从稳定或 dev 渠道下载并安装更新,安装前会校验构建来源
安装与使用
可从官网下载:https://s2v.app/。
格式支持情况可参考格式支持说明,其中列出了哪些内容可以查看、反编译和导出,以及导出过程中会丢失哪些数据。
注意事项
本工具完全基于逆向工程实现,Valve 并未公开 Source 2 的文档或代码,因此并非所有格式都得到完整支持。
仓库内容采用 MIT 许可证,但 Tests/Files 目录中的文件可能来自 Valve 的游戏。分发本项目的二进制文件或使用部分代码时,许可证要求保留版权声明。
本作品整理自 GitHub 开源项目 ValveResourceFormat/ValveResourceFormat,原作者 @ValveResourceFormat,许可证 MIT。中文介绍由 AI 根据项目 README 整理,以原仓库为准。
更新记录
- v21.2当前版本
The viewer can now install itself, Pulse logic graphs and model configs can be decompiled, and CS2 maps show snow with sparkling glints. ### Install App The viewer can now install itself for the current user, without admin rights. The new Install app button adds a Start menu shortcut, makes the viewer open `.vpk` files and `vpk:` links, and lists it in Installed apps so it can be uninstalled. The welcome screen is redesigned with Install app front and center. Source 2 Viewer will also be published to winget soon. ### Pulse Graph Decompiling Compiled Pulse graphs, the visual scripting behind map and game logic, now decompile to `.vpulse` files that can be compiled again. - Covers entry points, branches, loops, switches, expressions, method calls, variables, arrays, blackboard variables and outputs - Works for the graphs shipped with CS2, Deadlock and Dota 2 - The graph viewer now shows the same nodes as the decompiled file ### CS2 Snow CS2 maps now show snow on
- v21.1
新增可游玩地图,门、按钮与触发器均可工作;支持应用内更新(稳定/dev 渠道并校验构建来源);模型查看器可播放动画图;支持布料反编译,将编译后的布料数据重建并写回 vmdl(实验性)。
评论