XBox One

From GiderosMobile
Revision as of 01:45, 5 June 2020 by Anthony (talk | contribs) (Created page with "You will also need to set up a 'Partner Center app developer account', the 'Developer Mode App' installed on your XBox One and the ID of the XBox One console entered into the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You will also need to set up a 'Partner Center app developer account', the 'Developer Mode App' installed on your XBox One and the ID of the XBox One console entered into the Partner Center. For all this, see: https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/devkit-activation

To set up a partner dev account you can join id@xbox.

To activate, the link didn't work from the XBox One, I had to enter the code by pressing + here: https://partner.microsoft.com/en-us/xboxconfig/devices/index

Install Visual Studio 2019 (the latest Community free edition will do fine).

Make sure your XBox One is in Developer Mode by starting the 'Developer Mode App', this can take a long time - you may think it's broken, it isn't!

On the XBox One in dev mode, you will have to add an 'XBox Live' test account. It has to be an existing 'XBox Live' account (it doesn't need to have a Gold subscription). It needs to be 'logged in'.

Add controller support to your game (see the "Controllers" plugin), you can test on the Gideros player before the export.

Export to UWP. Open the 'exported to' folder when asked at the end of the export.

Double-click the 'giderosgame.sin' file, if asked set the default program to Visual Studio 2019.

Once Visual Studio has finished loading your game, change the Debug dropdown item in Visual Studio to 'Release', and the output to 'x64'.

Click on the 'Debug' menu item at the top of the screen, select the project properties (bottom item) for your game.

Select the 'Debugging' property. Change the setting from 'Local Machine' to 'Remote Machine'.

Set 'Machine Name' to the hostname or IP of your XBox One (in developer mode).

Set 'Authentication Type' to 'Universal (Unencrypted Protocol)', normally this is already the default.

Click 'ok' to exit Properties.

Now click the 'Play' button in the toolbar to send the game to the Xbox One. The game will be built and installed on the console.

Sometimes Visual Studio will prompt for a pin, on the XBox One in 'Dev Home', click 'Show Visual Studio Pin' to see this pin.