Run > Export for Xbox (Dev Mode) (Beta)… makes your game into a signed .msix that installs on an Xbox Series X|S or Xbox One in Developer Mode and plays on Studio Runtime. Nothing is compiled: Studio carries a ready-made Xbox player.
- Built on Windows: the package is packed and signed with the Windows SDK's MakeAppx and SignTool, which only run on Windows, so for now the export is in Studio for Windows. On the Mac the menu item says so: open the project in Studio for Windows (the same project folder, through Git or a shared folder) and use Run > Export for Xbox (Dev Mode) (Beta)… there. The Mac's Export list (Run > Export) has Run > Export > Xbox (Dev Mode) (Beta)… under Studio Runtime (Beta), which says the same.
- What Developer Mode is: a mode for testing your own apps and games on your own console. It's not how games are sold: a game on the Xbox store goes through Microsoft's ID@Xbox program and its Game Development Kit (GDK), which this export doesn't use.
- Turning it on: install the Xbox Dev Mode Activation app from the Xbox store, sign in with a Microsoft Partner Center developer account (a one-time fee), and follow it. The console restarts into Dev Home.
- Remote Access: in Dev Home, open Remote Access settings, turn on Enable Xbox Device Portal, and set a user name and password. Dev Home shows the console's address (like
https://192.168.1.50:11443). - The export (in Studio for Windows): choose the game's name, where to save it, a version (empty: the project's Windows version), and whether to show the frame-time overlay (frame, step and sound figures, handy while testing).
- It needs the Windows SDK on that PC (Visual Studio Installer > Individual components, or the standalone SDK).
- The package is signed with your own test certificate, which Studio for Windows makes once and keeps in Windows' certificate store for your user. Save the certificate (.cer)… gives you its public half.
- Install on Xbox… (in Studio for Windows, after an export) sends the package to the console through its Device Portal: enter the console's address and the Device Portal user name and password you set in Dev Home.
- The first time, Studio shows the console's own certificate thumbprint: check it's your Xbox, then Trust and install.
- Remember them keeps the user name and password only in Windows Credential Manager; they're never written into your project, Studio's settings or the log.
- When the console's developer storage is full, Studio lists what's installed so you can Remove something, then Install again. Launch starts the game once it's installed.
- You can also install the
.msixyourself from the Device Portal page in a browser (Add, then choose the file).
- Game or app: set the installed game to run as a Game (Dev Home, select it, View details, App type): a game gets the console's full share of the CPU and GPU, an app only a small slice.
- What works: 2D and 3D games, the controller (and keyboards), sound, saves (kept in the app's own folder on the console), full screen at the console's resolution, and Quit closing the app. It's a beta: not every GameMaker function is in Studio Runtime yet.
- The export is free; it doesn't need Studio Pro.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.