Steam在Windows上的功能之一是它允许您手动添加游戏,但仅限于不是从Microsoft Store下载的基于 EXE 的游戏。既然Microsoft Store是游戏的主要来源之一,那么将这些游戏也添加到(Games)Steam应该是有意义的。但是,没有直接支持从商店安装的游戏。
将 Microsoft Store 游戏(Add Microsoft Store Game)应用添加到 Steam
在这篇文章中,我将分享一个可以让你做到这一点的技巧。在我们开始之前,请确保您已经在Windows PC 上安装了游戏——(Windows PC –)这里我以帝国(Empires)时代(Age)为例。请记住(Remember),您需要管理员权限才能执行此操作。
找到 Windows UWP 游戏
从商店安装的游戏和应用程序可作为一个包提供。(Apps)我们首先需要找到它。路径应如下所示:
C:\Users\<USERNAME>\AppData\Local\Packages
您也可以在运行提示符下输入(Run)%appdata%,然后返回上一步找到Local文件夹,然后进入Packages。
现在寻找游戏包。如果它很难,但你可以按游戏名称搜索。
对于帝国时代,(Age of Empires)该文件夹被命名为Microsoft.MSDallas_8wexxxxxxx。
找到游戏的 App Manifest
接下来,我们将访问一个包含所有游戏和应用程序的隐藏文件夹。
它通常位于C:\Program Files\WindowsApps或<DISK>:\WindowsApps。
当您为应用程序和游戏选择了不同的驱动器时适用。
您需要拥有管理员权限,如果不允许您访问它,您必须将App 文件夹的所有权(change the ownership)从Trusted Installer更改为您的帐户。
进入后,查找与我们在上面找到的同名文件夹。在这种情况下,它将是“ Microsoft.MSDallas_8wexxxxxxx ”。
接下来,在文件夹中找到AppxManifest.xml文件。用文本编辑器打开它。我建议使用记事本(Notepad)。不要在那里编辑任何东西 - 并保存为 .txt 文件。
“<Application Id=”中找到这个标签
复制在本例中仅为App的应用程序 ID 。在单独的记事本(Notepad)上记下它或记住它。
现在在记事本(Notepad)中遵循这个模板:
shell:AppsFolder\PACKAGE!APPID
对于Age of Empires,包将是 ' Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe'并且 AppID 将是 ' App' 。
所以帝国(Empires)时代(Age)的字符串将变为:
shell:AppsFolder\Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe!App
请检查您的计算机上的内容。
添加到 Steam
这就是我们要欺骗Steam的地方。将(Add)任何EXE程序(如Windows Explorer或Chrome)添加到游戏库。一旦它在列表中,右键单击该应用程序,然后选择属性。
从Start in 部分中删除所有内容,并用我们在 Target 部分中创建的文本覆盖(overwrite with the text we created in the Target section)。
在我们的例子中,它将是:
shell:AppsFolder\Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe!App
您也可以将名称重命名为游戏名称。
发布这个;您将能够直接从Steam启动(Steam)Windows Store游戏。但是,您必须为每场比赛重复此过程。
虽然有一些缺点。您无法在此处获得与 Steam 相关的完整Steam功能(Steam),例如 VR 支持。因此,您不会像从那里下载的其他游戏那样看到来自Steam的任何信息——但(Steam)Steam仍会设法为您启动游戏,并且在大多数情况下,游戏内覆盖将可用。
如何将Microsoft Store游戏从 Steam 添加到Windows?
要将Microsoft Store游戏添加到Windows Windows 11/10Steam,您需要先找到该游戏。在大多数情况下,您可以在AppData文件夹中找到它。然后,您需要找到游戏的清单。要访问它,您需要拥有正确的权限。之后,您必须复制应用程序 ID(Application ID)并编辑清单文件,如下所示: shell:AppsFolder\PACKAGE!APPID。完成后,您需要在 PC 上打开Steam并添加游戏。
Microsoft Store可以与Steam一起玩吗?
不,目前还不可能。如果您在Steam上有一款游戏,而其他人从Microsoft Store获得了该游戏,则您无法链接它们。换言之,无法从Steam或Microsoft Store获得跨平台支持。
提示(TIP):您还可以使用UWPHook 通过单击将 Microsoft Store 游戏添加到 Steam。
How to add Microsoft Store Game apps to Steam in Windows 11/10
One of the features of Steam on Windows is that іt allows you to add games manuallу, but it is limited to EXE-based games which аre not downloаded from the Microsoft Store. Now that Microsoft Store is one of the major sоυrces for Games, it should make sense to add those gameѕ to Steam as well. However, there is no direct support for the games installed from the store.
Add Microsoft Store Game apps to Steam
In this post, I am sharing a trick that allows you to do this. Before we start, make sure you have installed the game on Windows PC – and here I am using Age of Empires as an example. Remember, you will need admin privileges to do this.
Locate the Windows UWP Game
Games and Apps installed from the store are available as a package. We will need first to locate it. The path should like as below:
C:\Users\<USERNAME>\AppData\Local\Packages
You can also type %appdata% in the Run prompt, and then go back one step to find the Local folder, and then enter into Packages.
Now look for the game package. If it’s difficult, but you can search by the name of the game.
For Age of Empires the folder is named as Microsoft.MSDallas_8wexxxxxxx.
Locate App Manifest for the Game
Next, we will access a hidden folder that includes all the games, and apps.
It is usually located at C:\Program Files\WindowsApps OR <DISK>:\WindowsApps.
<Disk> is applicable when you have selected a different drive for apps, and games.
You will need to have admin privileges, and if you are not allowed to access it, you will have to change the ownership of the App folder from Trusted Installer to your account.
Once inside, look for the folder which the same name which we found above. In this case, it will be “Microsoft.MSDallas_8wexxxxxxx.”
Next, locate the AppxManifest.xml file in the folder. Open it with a text editor. I would suggest using Notepad. Do not edit anything there – and save is as a .txt file.
Now, find this tag in the file “<Application Id=”
Copy the application ID which in this case is only App. Note it down on a separate Notepad or remember it.
Now in Notepad follow this template:
shell:AppsFolder\PACKAGE!APPID
For Age of Empires, the package will be ‘Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe’ and the AppID will be ‘App’.
So the string for Age of Empires will become:
shell:AppsFolder\Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe!App
Please check what it is on your computer.
Add to Steam
This is where we will trick Steam. Add any EXE program like Windows Explorer or Chrome to the game library. Once it’s in the list, right-click on that application, and select Properties.
Remove everything from the Start in section, and overwrite with the text we created in the Target section.
In our case, it will be:
shell:AppsFolder\Microsoft.MSDallas_1.3.5292.2_x64__8wekyb3d8bbwe!App
You can also rename the name to the name of the game.
Post this; you will be able to launch Windows Store games from Steam directly. However, you will have to repeat this process for every game.
There are few drawbacks though. You don’t get full Steam features related to Steam here such as VR support. So you will not see any info from Steam like you see for other games which you had downloaded from there – but Steam will still manage to launch the game for you, and in most cases, the in-game overlay will be available.
How do I add Microsoft Store games from Steam to Windows?
To add Microsoft Store games to Steam in Windows 11/10 PC, you need to locate the game first. IN most cases, you can find it in the AppData folder. Then, you need to find the manifest of the game. To access it, you need to have the correct permission. Following that, you must copy the Application ID and edit the manifest file like this: shell:AppsFolder\PACKAGE!APPID. Once done, you need to open Steam on your PC and add the game.
Can Microsoft Store play with Steam?
No, it is not possible as of now. If you have a game on Steam and someone else has it from Microsoft Store, you cannot link them. In other words, it is not possible to get cross-platform support from Steam or Microsoft Store.
TIP: You can also use UWPHook to add Microsoft Store games to Steam with a single click.