microsoft / GDK

Microsoft Public GDK
http://aka.ms/gamedevdocs
Other
1.48k stars 99 forks source link

GameOS file does not exist - Error code: 0x80070002 #69

Open MarceloGh05t opened 1 month ago

MarceloGh05t commented 1 month ago

We follow the gdk packaging steps for xbox from this link: https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/packaging/overviews/packaging-getting-started-for-console

However, the following error appeared in the last step of "Package creation: Run makepkg pack /lk SECRET_KEY.lekb /f layout.xml /d /pd ":

No GameOS file specified with /gameos switch. Defaulting to C:\BREAKING BRICKS\gameos.xvd Games file 'C:\BREAKING BRICKS\gameos.xvd' does not exist.

Package creation failed and validation step was skipped, to get more details, try running "makepkg validate". GameOS file does not exist - Error code: 0x80070002

At no point in the tutorial does it teach you how to create the xvd file. How can we resolve the error?

WilliamsJason commented 1 month ago

Are you intending to package for console or the Microsoft Store in Windows? For PC you should use this page: https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/packaging/overviews/packaging-getting-started-for-pc

For console, make sure you have the version of the GDK with the Xbox Extensions (GDKX), which is available to licensed partners in a managed program (https://aka.ms/gdkdl). That installation contains the associated gameos.xvd file.