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

# 从 Steam 移植

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

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

## 有何不同

<Card title="概念差异：GDK 与 Steamworks" icon="scale-balanced" href="/build/console-features/porting-from-xbox-one-era/porting-guide-for-existing-era">
  XBOX Services、身份、权利与打包与 Steam 模型的区别。
</Card>

## 逐特性映射

<CardGroup cols={2}>
  <Card title="初始化 GDK" icon="power-off" href="/home/build-first-title/first-console-title-walkthrough">
    使用 GDK 初始化和用户登录替换 `SteamAPI_Init`。
  </Card>

  <Card title="用户认证与所有权" icon="user-shield" href="/reference/system/xuser/xuser_members">
    Steam session ticket → XUser + 权利检查。
  </Card>

  <Card title="云存储" icon="cloud" href="/build/core-features/common/game-save/game-saves-developer-guide">
    Steam Cloud → XBOX Connected Storage。
  </Card>

  <Card title="统计与成就" icon="trophy" href="/services/xbox-services/player-data/achievements/index">
    `ISteamUserStats` → 由游戏管理的成就。
  </Card>

  <Card title="排行榜" icon="ranking-star" href="/services/xbox-services/player-data/stats-leaderboards/event-based/index">
    Steam 排行榜 → 基于事件的统计 + 查询驱动的排行榜。
  </Card>

  <Card title="Steamworks 中没有的 GDK 特性" icon="plus" href="/home/build-first-title/porting-guides">
    Quick Resume、Smart Delivery、DirectStorage 等。
  </Card>
</CardGroup>

## 由 PlayFab 覆盖的 Steam 特性

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

* **Steam Workshop**（用户生成内容）→ [PlayFab UGC](/services/playfab/economy-monetization/economy-v2/ugc/overview)
* **Steam P2P 联机** → [PlayFab Party](/services/playfab/multiplayer/networking/index)

## 然后继续通用工作流

<CardGroup cols={2}>
  <Card title="通用移植工作流" icon="arrows-turn-right" href="/paths/porting/guides">
    工具、清单、打包。
  </Card>

  <Card title="你的引擎" icon="puzzle-piece" href="/build/gdk-and-engines/gdk-and-engines">
    Unreal、Unity、Godot 等。
  </Card>

  <Card title="发布你的移植版本" icon="store" href="/paths/porting/publishing">
    认证、XR 与商店提交。
  </Card>
</CardGroup>


## Related topics

- [面向 XBOX GDK 的移植指南](/zh-CN/home/build-first-title/porting-guides.md)
- [从 PC 移植（非 Steam）](/zh-CN/paths/porting/from-pc.md)
- [从 XInput 移植到 GameInput](/zh-CN/build/core-features/common/input/porting/input-porting-xinput.md)
- [从 Windows.XBOX.Input 移植到 GameInput](/zh-CN/build/core-features/common/input/porting/input-porting-wxi.md)
- [Steam 移植指南概览](/zh-CN/build/steam-porting-guide/overview.md)
