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

# 僅透過回溯相容性進行跨世代遊戲

> 僅透過回溯相容性進行跨世代遊戲

如果您有現有或新的 Microsoft Game Development Kit (GDK) 遊戲，且不打算為 XBOX Series 主機推出獨立的 XBOX Series X|S 原生版本，該遊戲仍可透過回溯相容性在 XBOX Series X|S 上遊玩。在回溯相容性模式下，遊戲會在 XBOX Series 主機上以與 XBOX One 硬體同等的效能執行，且無法利用較新主機的任何進階功能。

<Note>
  當 Microsoft Game Development Kit (GDK) 遊戲在其 [MicrosoftGame.Config](/zh-TW/build/core-features/common/game-config/MicrosoftGameConfig-Overview) 中設定了 `TargetDeviceFamily="XboxOne"`，並在 XBOX Series 主機裝置上執行時，會忽略 `SMTEnabled` 旗標，且一律在停用 SMT 的情況下執行。
</Note>

您也可以另外推出獨立的原生 XBOX Series X|S 版本遊戲，以充分利用 XBOX Series 主機的進階功能。請參閱[雙 SKU 跨世代遊戲](/zh-TW/build/console-features/cross-gen/cross-gen-dual-sku)。

## 開發步驟

請確定您使用的是 2020 年 6 月版或更新版本的 GDK。

將專案設定為以 XBOX One 裝置系列為目標。在 MicrosoftGame.config 檔案中，設定 `TargetDeviceFamily="XboxOne"`。請參閱 [MicrosoftGame.Config 概觀](/zh-TW/build/core-features/common/game-config/MicrosoftGameConfig-Overview)。

在 MicrosoftGame.config 中設定其他選用設定：XboxCompatibility

## 驗證步驟

測試您的 XBOX One 遊戲，並確保玩家在 XBOX Series X|S 主機上遊玩時能有良好的效能，這一點非常重要。

### 部署至 XBOX Series 主機開發套件

使用任何部署方法，將您的遊戲部署至 XBOX Series 主機開發套件，以進行反覆開發、測試和偵錯。請參閱[將遊戲部署至 XBOX 開發套件](/zh-TW/home/setup-install/concepts/deployment)。

### 記憶體設定與測試遊戲

您可以在 XBOX Series X|S 開發套件上設定多種主機模式和記憶體設定檔，以在主機上測試您的遊戲。例如，主機模式可讓您模擬各種主機系列裝置及其對應的記憶體使用量。預設的主機模式設定 (Scarlett 反覆開發模式) 適用於日常開發工作，您可以變更為 Anaconda 或 Lockhart 模式，以模擬遊戲在對應零售主機上執行的情況。如需詳細資料，請參閱[為遊戲和開發套件設定記憶體](/zh-TW/build/console-features/memory/system-memory-tooling)。

## 封裝

依照與平常相同的指示封裝您的 XBOX One 遊戲。請參閱[封裝概觀](/zh-TW/build/core-features/common/packaging/overviews/packaging)。

## ERA 遊戲另請參閱

[適用於 XBOX One 的 Microsoft Game Development Kit 移植指南](/zh-TW/build/console-features/porting-from-xbox-one-era/porting-guide-for-existing-era) [在 XBOX Series 裝置上升級您的 XBOX One XDK 遊戲](/zh-TW/build/console-features/console-workflows/upgrading-xbox-one-xdk-titles-on-scarlett)

## 另請參閱

[雙 SKU 概觀](/zh-TW/build/console-features/cross-gen/cross-gen-dual-sku) [Microsoft Game Development Kit 主機模式](https://learn.microsoft.com/archive/console-modes-toc) [為遊戲和開發套件設定記憶體](/zh-TW/build/console-features/memory/system-memory-tooling) [設定 (xbconfig.exe)](/zh-TW/tools/tools-console/commandlinetools/xbconfig) [重新開機 (xbreboot.exe)](/zh-TW/tools/tools-console/commandlinetools/xbreboot)


## Related topics

- [使用 XBOX GDK 開發跨世代遊戲](/zh-TW/build/console-features/cross-gen/index.md)
- [跨世代遊戲開發](/zh-TW/build/console-features/cross-gen/gc-cross-gen-toc.md)
- [雙 SKU 跨世代遊戲](/zh-TW/build/console-features/cross-gen/cross-gen-dual-sku.md)
- [跨世代遊戲](/zh-TW/build/console-features/cross-gen/cross-gen-overview.md)
- [回溯相容性和玩家代號轉換](/zh-TW/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-modern-backwards-compatibility.md)
