> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PC GDK 游戏的模组支持

> PC GDK 游戏的模组支持

从 2022 年 3 月的 Microsoft 游戏开发工具包(GDK)与 [Gaming Runtime Services (GRTS)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/intro/gaming-runtime-glossary) 版本起,游戏资源的修改现已默认启用,不再需要任何配置步骤即可直接开启。此变更旨在减少 PC Microsoft 游戏开发工具包(GDK)游戏中涉及模组的步骤和困惑。安装你的游戏后,你的游戏文件将驻留在 `[drive]:\XboxGames` 文件夹下的子文件夹中,除游戏可执行文件之外的所有游戏资源均完全可修改。

## DRM 建议

我们强烈建议你使用 [XStoreQueryGameLicenseAsync](/reference/system/xstore/functions/xstorequerygamelicenseasync) API 来验证游戏的所有权,如 [基本 DRM 和许可证检查](https://learn.microsoft.com/build/store/commerce/pc-specific-considerations/xstore-basic-drm-and-license-checks) 页面所述。

## 参考 API 文档

* [XStore(API 内容)](/reference/system/xstore/xstore_members)
  * Functions
    * [XStoreQueryGameLicenseAsync](/reference/system/xstore/functions/xstorequerygamelicenseasync)


## Related topics

- [Flat File Install 概述](/zh-CN/build/core-features/common/packaging/packaging-flatfileinstall.md)
- [PC 和移动游戏的 XBOX 要求测试用例](/zh-CN/publishing/certification/pc-policy-tests.md)
- [面向 XBOX 与 PC 游戏的通用 GDK 功能](/zh-CN/build/core-features/common/index.md)
- [XBOX GDK 游戏的打包与部署](/zh-CN/build/core-features/common/packaging/index.md)
- [XR-003 提交游戏质量](/zh-CN/publishing/certification/xr/xr-003.md)
