Giter Club home page Giter Club logo

xbox-live-developer-tools's Introduction

Welcome

Please refer to the official Xbox Live Tools documentation site for further information.

The Microsoft Xbox Live Tooling API provides a way to:

  • Reset a player's data in test sandboxes. Data includes achievements, leaderboards, stats and title history.
  • Manage a title's global storage in test sandboxes.
  • Manage a title's Xbox Live configuration.

To get access to Xbox Live services you must be a managed developer, enrolled in the ID@Xbox program or participating in the Xbox Live Creators Program. To learn more about these programs, please refer to the developer program overview.

Repo Structure

Command Line Executable Usage:

XblDevAccount.exe

This executable is used to signin/out dev accounts and to save the credentials to be used across other Xbox Live executables that require dev credentials.

Usage

signin: This command will pop up UI if needed. The last used account information will be saved for further use across all other executables.

XblDevAccount.exe signin --name xxx 

Success output example:

Developer account {Name} has successfully signed in. 
    ID: {id}
    AccountID: {accountId}
    AccountType: {accountType}
    AccountMoniker: {accountMoniker}
    AccountSource: {accountSource}

signout: This command will delete the last signed in account information, and clear up cached tokens.

XblDevAccount.exe signout

Success output example:

Developer account {Name} has successfully signed out.

XblPlayerDataReset.exe

XblPlayerDataReset is used to reset a player's data in test sandboxes. Data includes achievements, leaderboards, stats and title history. An individual or group of accounts can be reset by its email address, or to reset an account by XUID, first run XblDevAccount.exe to log in with a Partner Center account.

Usage:

XblPlayerDataReset.exe --scid xxx --sandbox xxx [--xuid xxxx] [--user [email protected]] [--file path/to/file] [--delimiter ,]

Success output example:

Player data has been reset successfully.

Error output example:

An error occurred while resetting player data:
    Leaderboard reset contains error: {errorMessage}

GlobalStorage.exe

GlobalStorage.exe is used to manage title global storage in test sandboxes, before publish to RETAIL. XblDevAccount.exe signin is required to be called at least once before first use.

Usage:

quota: Get title global storage quota information.

GlobalStorage.exe quota –scid xxx --sandbox xxx

Success output example:

Your global storage quota: used bytes {usedBytes}, total bytes {totalBytes}

list: Gets a list of blob meta-data under a given path for the title global storage.

GlobalStorage list --scid xxx --max-items 10 --path path --sandbox xxx

Success output example:

Total 12 items found, Displaying item 0 to 12
        test.txt,       Config,         2
        ...
        tool.zip,       Binary,         1874772

delete: Deletes a blob from title storage.

GlobalStorage delete --scid xxx --blob-path foo\bar\blob.txt --sandbox xxx --type Json

download: Downloads blob data from title storage.

GlobalStorage download --scid xxx --output c:\test.txt --blob-path \text.txt --sandbox xxx --type Json

upload: Uploads blob data to title storage.

GlobalStorage upload --scid xxx --file c:\test.txt --blob-path \text.txt --sandbox xxx --type Json

XblConfig.exe

XblConfig.exe is used to manage Xbox Live configuration data for games developed in Windows Dev Center, also known as Config as Source. See the documentation for usage guidelines.

Contribute Back

Is there a feature missing that you'd like to see, or found a bug that you have a fix for? Or do you have an idea or just interest in helping out in building the library? Let us know and we'd love to work with you. For a good starting point on where we are headed and feature ideas, take a look at our requested features and bugs.

Contribute guidance

Big or small we'd like to take your contributions back to help improve the Xbox Live PowerShell Module for everyone.

Having Trouble?

We'd love to get your review score, whether good or bad, but even more than that, we want to fix your problem. If you submit your issue as a Review, we won't be able to respond to your problem and ask any follow-up questions that may be necessary. The most efficient way to do that is to open a an issue in our issue tracker.

Xbox Live GitHub projects

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

xbox-live-developer-tools's People

Contributors

bradenellis avatar brianpeek avatar brianwp3000 avatar dependabot[bot] avatar i-cat avatar iancamp avatar jasonsandlin avatar jicailiu avatar jonmartinms avatar marc-young-msft avatar microsoft-github-policy-service[bot] avatar msft-heba avatar natiskan avatar philliplucas avatar rakhad avatar sccalabr avatar tculotta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xbox-live-developer-tools's Issues

Don't write status/progress information to the output stream

For example in ConnectDevAccount.cs, we have

this.WriteObject($"Developer account {devAccount.Name} has successfully signed in.");
this.WriteObject(devAccount);

This make the cmdlets much harder to use from powershell, since we have to filter noise from the real output.
Use some of the other streams for this kind of information. In that case that would probably be the Information stream, or maybe write noting at all.

But the object stream should be reserved for actual data.

Unable to use XblDevAccount.exe to signin with an @xboxtest.com account

Related to this closed issue (#69) from a little over a year ago, we have this same problem when trying to use any @xboxtest.com accounts to sign in using XblDevAccount.exe

We get the following error:

Error: signin failed
Response status code does not indicate success: 403 (Forbidden).

We can use XblDevAccount to signin with our main accounts we use to access partner center, but not with the testing accounts. We have made sure to switch to the sandbox where the @xboxtest.com accounts have permission. Is there a special tenant or options that would allow signing in with an @xboxtest.com account?
Thanks in advance!

Achievement images disappear from upload list

I am using "XblConfig.exe upload-achievement-image" to upload images, and at the end "XblConfig.exe get-achievement-images" to obtain the list of all images uploaded, and each time I do, some image disappears. Is this an hashing problem?

Use the correct streams instead of UI methods to in PrintValidationInfo

When using

            foreach (ValidationInfo validationInfo in validationList.Where(c => c.Severity == Severity.Warning))
            {
                this.Host.UI.WriteWarningLine(validationInfo.Message);
            }

            foreach (ValidationInfo validationInfo in validationList.Where(c => c.Severity == Severity.Error))
            {
                this.Host.UI.WriteErrorLine(validationInfo.Message);
            }

instead of Cmdlet.WriteWarning/Cmdlet.WriteError, we don't get capture the information. The validation info is lost (i.e. only outputted to the console.
The warning and error streams should be used instead. In that way the user can capture and act on the information using the WarningVariable and ErrorVariable parameters.

XblDevAccount.exe signin 403 Forbidden

Hello,

I want to use XblPlayerDataReset.exe to reset achievements in a sandbox. I first used XblPCSandbox.exe to switch to my sandbox, and then I ran XblDevAccount.exe signin -u %MY_ACCOUNT% to log in, which gave me the following error:

Error: signin failed
Response status code does not indicate success: 403 (Forbidden).

Would love to know how to resolve this issue. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.