> ## 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.

# 从 Steam 移植

> 在从 Steam 移植到 XBOX 时，将 Steamworks 特性映射到 GDK：用户认证、Steam Cloud 存档、成就与排行榜到 XBOX Services。

如果你的游戏已经通过 Steamworks API 在 Steam 上发行，本路径会把你所用的每个 Steam 特性都映射到其 GDK 等价物 —— 无需围绕新的平台模型进行重构。

## 有何不同

> [card] [概念差异：GDK 与 Steamworks](https://docs.xbox.com/zh-CN/build/console-features/porting-from-xbox-one-era/porting-guide-for-existing-era.md)
>
> XBOX Services、身份、权利与打包与 Steam 模型的区别。

## 逐特性映射

> [card] [初始化 GDK](https://docs.xbox.com/zh-CN/home/build-first-title/first-console-title-walkthrough.md)
>
> 使用 GDK 初始化和用户登录替换 `SteamAPI_Init`。

> [card] [用户认证与所有权](https://docs.xbox.com/zh-CN/reference/system/xuser/xuser_members.md)
>
> Steam session ticket → XUser + 权利检查。

> [card] [云存储](https://docs.xbox.com/zh-CN/build/core-features/common/game-save/game-saves-developer-guide.md)
>
> Steam Cloud → XBOX Connected Storage。

> [card] [统计与成就](https://docs.xbox.com/zh-CN/services/xbox-services/player-data/achievements/index.md)
>
> `ISteamUserStats` → 由游戏管理的成就。

> [card] [排行榜](https://docs.xbox.com/zh-CN/services/xbox-services/player-data/stats-leaderboards/event-based/index.md)
>
> Steam 排行榜 → 基于事件的统计 + 查询驱动的排行榜。

> [card] [Steamworks 中没有的 GDK 特性](https://docs.xbox.com/zh-CN/home/build-first-title/porting-guides.md)
>
> Quick Resume、Smart Delivery、DirectStorage 等。

## 由 PlayFab 覆盖的 Steam 特性

某些 Steam 特性没有直接的 GDK 对应，而是通过 [Azure PlayFab](https://playfab.com/) 来实现：

* **Steam Workshop**（用户生成内容）→ [PlayFab UGC](https://docs.xbox.com/zh-CN/services/playfab/economy-monetization/economy-v2/ugc/overview.md)
* **Steam P2P 联机** → [PlayFab Party](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/index.md)

## 然后继续通用工作流

> [card] [通用移植工作流](https://docs.xbox.com/zh-CN/paths/porting/guides.md)
>
> 工具、清单、打包。

> [card] [你的引擎](https://docs.xbox.com/zh-CN/build/gdk-and-engines/gdk-and-engines.md)
>
> Unreal、Unity、Godot 等。

> [card] [发布你的移植版本](https://docs.xbox.com/zh-CN/paths/porting/publishing.md)
>
> 认证、XR 与商店提交。


## Related topics

- [Microsoft 游戏开发工具包 (GDK) 移植指南](https://docs.xbox.com/zh-CN/home/build-first-title/porting-guides.md)
- [从 PC 移植（非 Steam）](https://docs.xbox.com/zh-CN/paths/porting/from-pc.md)
- [从 XInput 移植到 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-xinput.md)
- [从 Windows.XBOX.Input 移植到 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-wxi.md)
- [Steam 移植指南概览](https://docs.xbox.com/zh-CN/build/steam-porting-guide/overview.md)
