> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequerygamelicenseasync.md) API 来验证游戏的所有权,如 [基本 DRM 和许可证检查](https://learn.microsoft.com/build/store/commerce/pc-specific-considerations/xstore-basic-drm-and-license-checks) 页面所述。

## 参考 API 文档

* [XStore(API 内容)](https://docs.xbox.com/zh-CN/reference/system/xstore/xstore_members.md)
  * Functions
    * [XStoreQueryGameLicenseAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequerygamelicenseasync.md)


## Related topics

- [Flat File Install 概述](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/packaging-flatfileinstall.md)
- [面向 XBOX 与 PC 游戏的通用 GDK 功能](https://docs.xbox.com/zh-CN/build/core-features/common/index.md)
- [XR-018：用户生成内容](https://docs.xbox.com/zh-CN/publishing/certification/xr/xr-018.md)
- [XBOX 游戏的 XBOX 要求](https://docs.xbox.com/zh-CN/publishing/certification/xbox-requirements.md)
- [XBOX GDK 游戏的打包与部署](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/index.md)
