Home/Blog /Feature

Xbox PC: package your game for the Microsoft Store and PC Game Pass

Godot and GANDER games now export an Xbox PC kit: the Windows build, the Store config and logos, and a script that makes the package for Partner Center on your own Windows PC, under your own GDK licence.

Godot and GANDER games made in vbgnt can now be exported as an Xbox PC kit: the game's Windows build, already laid out the way Microsoft's packaging tools want it, plus a script that turns it into the package you upload to Partner Center for the Microsoft Store, the Xbox app on Windows and PC Game Pass. You run that script once on your own Windows PC. It takes two to five minutes.

This post covers what's in the kit, the steps from export to a finished package, why the last step happens on your machine and not ours, what we tested and the parts we haven't yet.

What is the Xbox PC kit?

It's a zip from the Publish pane, next to the other exports. Inside:

  • The game's Windows build, in the folder layout Microsoft's packager reads.
  • MicrosoftGame.config, the file that tells Windows and the Store what the game is: its name, publisher, ids and the logos in every size the Store asks for. We make the logos from the game's icon.
  • pack-xbox.ps1, a PowerShell script that does the rest on your PC.
  • The Xbox connection for the game. A Godot game gets Microsoft's own open-source Godot addon. A GANDER game gets a small bridge we wrote, which the engine loads only when the game runs as an Xbox PC build.
  • README-XBOX.md, with the steps below and what to do when one fails.

Through that connection a game can see whether the player is signed in to Xbox, ask them to sign in and show their gamertag. A GANDER game does this with three calls (xbox_state, xbox_gamertag and xbox_sign_in); everywhere else, in the browser or a plain Windows build, they report that this isn't an Xbox build and the game carries on.

How do you make an Xbox PC package from a vbgnt game?

  1. Export. In the game's Publish pane, tick Xbox PC kit and export. If you've already set the game up in Partner Center, paste its ids into the boxes that appear (title id, MSA app id, Store id, package identity name and publisher). They're optional and the game remembers them. Agents using the vbgnt MCP server can do the same with start_export.
  2. Unzip it on a Windows PC with Visual Studio 2022 installed. The script needs CMake too, and uses the copy that comes with Visual Studio if there isn't another.
  3. Run pack-xbox.ps1. It shows you Microsoft's licence for the Game Development Kit (the GDK) and, once you accept it, downloads the GDK, builds the Xbox connection, checks the package with Microsoft's current Submission Validator and makes the .msixvc file.
  4. Upload that file in Partner Center, the same way as any other PC game for the Store.

Nothing in the first three steps asks for an Xbox or Microsoft login. Without Partner Center ids the kit still packs, with placeholder ids, so you can see the whole thing work before you've reserved a name. Xbox sign-in only works with the real ids.

Why doesn't vbgnt make the package for you?

Because the GDK's licence doesn't allow it. Microsoft's public GDK is licensed to each developer for their own use. It can't be passed to anyone else, every contractor needs their own copy, and its files may only ship as part of your own game. A service that packed games for its users with one copy of the GDK would be doing all three.

So vbgnt never downloads, runs or ships any GDK file for you. The kit contains only the game, our own code and Microsoft's open-source Godot addon. The GDK arrives on your PC when you accept its licence there, under your name, which is how Microsoft means it to be used. The cost to you is one script run on a Windows machine.

What did we test?

We exported a GANDER game and a Godot game and packed both kits on a fresh Windows machine, following the README and nothing else:

  • The GANDER kit packed in about 2 minutes into a 28 MB package.
  • The Godot kit packed in a little over 4 minutes, most of it building Microsoft's addon.
  • Microsoft's Submission Validator reported 0 failures and 0 warnings for both.
  • The Godot game started with the Xbox addon loaded, and the GANDER bridge loaded with all its functions in place.

Two problems came up on that machine and the script now handles both: it finds Visual Studio's own CMake, and it uses Microsoft's latest Submission Validator, without which packing fails.

What doesn't it do yet?

  • Sign-in hasn't been tested end to end. It needs a real Partner Center title, a test account and a Windows 10 or 11 PC with Xbox services installed; our test machine was a Windows server, which has none. The code is in place and the packages validate, but treat sign-in as unproven until you've tried it on your own title.
  • Achievements, cloud saves and presence aren't connected yet.
  • Uploading is up to you. The script makes the package; Partner Center takes it from there.
  • Godot 4.5 or newer only, because Microsoft's addon needs it. Unreal games aren't included.
  • This is the PC side of Xbox. Series X|S consoles are a separate developer programme run by Microsoft, and this kit doesn't cover them.

Getting a game into PC Game Pass is Microsoft's decision, not something an export can do. What the kit does is get you to a validated package without having to learn the GDK first.

Frequently asked questions

Can I put a game made with AI on Xbox for PC?

Yes, if it's a Godot 4.5+ or GANDER game made in vbgnt. Export the Xbox PC kit from the Publish pane, run pack-xbox.ps1 on a Windows PC with Visual Studio 2022, and upload the package it makes in Partner Center for the Microsoft Store, the Xbox app on Windows and PC Game Pass. Whether the game is accepted, and whether it joins PC Game Pass, is Microsoft's decision.

Do I need the Microsoft GDK to use the Xbox PC kit?

Yes, but you don't install it yourself. pack-xbox.ps1 shows you Microsoft's GDK licence and, once you accept it, downloads the GDK to your PC and uses it there. vbgnt never ships GDK files, because the licence is personal to each developer.

Do I need a Partner Center account to build the kit?

Not to build it. Without Partner Center ids the kit packs with placeholders so you can check it works. To upload and sell the game, and for Xbox sign-in to work, you need a Partner Center account and the game's ids from there, which you paste into the Publish pane once.

Does the Xbox PC kit work for Xbox Series X|S consoles?

No. It covers the PC side of Xbox. Console releases go through a separate Microsoft developer programme.

Can Unreal games made in vbgnt be exported for Xbox PC?

Not with this kit, which is for Godot 4.5+ and GANDER games.

Keep reading

Related articles

Shipping

How to export a vbgnt game for Windows, Mac, Linux, Android and iOS

The arcade plays the web build. Everything else starts in the Publish pane: tick the platforms, press Export, and a build machine does the rest while you keep working on the game.

10 min read
Engine

GANDER: our own game engine, and no human will write a line of code for it

We built a game engine for one reader: the agent. It runs in the browser and on desktops, builds in seconds, tests its own games, and loads a fraction of the size of the same game in Godot.

10 min read
Shipping

How to publish a Godot game on Steam

Steam will not take the web build, so the job starts with a desktop export. Then a $100 fee, a 30-day wait, and a store page that matters more than the game does.

13 min read