mirror of https://github.com/BrianLima/UWPHook
Compare commits
No commits in common. 'master' and '2.1.2' have entirely different histories.
@ -1,83 +1,48 @@
|
||||
# UWPHook
|
||||
|
||||
[![](http://imgur.com/gWwR02D.png)](https://briano.dev/UWPHook/)
|
||||
![](http://imgur.com/gWwR02D.png)
|
||||
|
||||
Small project to link UWP games and XboxGamePass to Steam
|
||||
Small project to link UWP games to Steam
|
||||
|
||||
If you want to add Windows Store or Xbox Game Pass Games to Steam, you need to do a bit of a workaround because Steam can't see UWP apps, and there's a chance Steam won't show it on your "Currently playing" status. This app aims to simplify a little bit the process where it is possible by automating the scripting and launching of Windows Store apps and Xbox Game Pass games.
|
||||
If you want to add Windows Store Games to Steamyou need to do a bit of a warkaround because Steam can't see UWP apps, and there's a chance Steam won't show it on your "Currently playing" status. This app aims to simplify a little bit the process where it is possible by automating the scripting and launching of Windows Store apps and games.
|
||||
|
||||
# To add UWP or XGP games to Steam #
|
||||
# To add UWP games to Steam #
|
||||
|
||||
[Download the latest version of UWPHook](https://github.com/BrianLima/UWPHook/releases) and store it somewhere on your PC.
|
||||
|
||||
Click on the 🔄 to load installed UWP Apps, we will find every UWP app and Xbox Game Pass game installed on your PC.
|
||||
![](http://i.imgur.com/wOV8QwD.png)
|
||||
|
||||
![](https://i.imgur.com/pjGfGHe.png)
|
||||
Click "load installed UWP Apps", we will find every UWP app installed on your PC.
|
||||
|
||||
Select every app you want to add to Steam, you can change the name by double clicking the "name" collumn, press "Export selected apps to Steam" and 🎉, every app you selected will be added to Steam.
|
||||
![](http://i.imgur.com/ppivtS5.png)
|
||||
|
||||
![](https://i.imgur.com/on46CMQ.png)
|
||||
Select every app you want to add to Steam, change the name by doubleclicking the "name" collumn, press "Export selected apps to Steam" and boom, every app you selected will be added to Steam.
|
||||
|
||||
Close UWPHook, restart Steam if prompted, click play on your UWP game, and Steam will show your current game on your status as long as you are playing it!
|
||||
Close UWPHook, restart Steam, click play on your UWP game, and Steam will show your current game on your status as long as you are playing it!
|
||||
|
||||
----------
|
||||
|
||||
# SteamGridDB #
|
||||
|
||||
Since v2.8, UWPHook can automatically import grid, icons and hero images from [SteamGridDB](https://www.steamgriddb.com)
|
||||
|
||||
On your first usage, the app will ask you if you want it to download images, redirecting you to the settings page.
|
||||
|
||||
![](https://i.imgur.com/K0Cm4IL.png)
|
||||
|
||||
By adding a API Key obtained in the SteamGridDB preferences, UWPHook will try to find matching images for any exported games, giving you the following result:
|
||||
|
||||
![](https://i.imgur.com/mlvVdwb.png)
|
||||
|
||||
You can refine the images by using filters for animated images, blurred, no logo or memes for example, but it will always pick the first it finds for the filters automatically.
|
||||
|
||||
Special thanks to @FusRoDah061 for implementing the base feature!
|
||||
|
||||
# Troubleshooting #
|
||||
|
||||
- **Steam's Overlay isn't working!**
|
||||
- Unfortunately, it's a Steam limitation, Valve has to update it in order to work properly with UWP, DXTory is a recommended overlay for UWP games.
|
||||
- **Using Steam Link**
|
||||
- Check the option "Streaming" mode inside the settings screen
|
||||
- **Steam Deck?**
|
||||
- This app is not compatible with the Steam Deck in any way.
|
||||
|
||||
If you are facing an error of any kind, please check the contents of the file
|
||||
- **I have shortcuts from other application that broke when i used UWPHook**
|
||||
- You can find a backup of your `shortcuts.vdf` file in `%appdata%\Roaming\Briano\UWPHook\backups`, each file in this directory is a backup of the original `shortcuts.vdf` before manipulation by UWPHook, the files are renamed `{userid}_{timestamp}_shortcut.vdf`, you can restore these files to their original location for usage.
|
||||
- **My question isn't listed here!**
|
||||
- Drop by our subreddit and ask a question over there, maybe someone will help you, i surely will as soon as i can:
|
||||
**[https://www.reddit.com/r/uwphook](https://www.reddit.com/r/uwphook)**
|
||||
- Please also paste the contents of the file `%appdata%Roaming\Briano\UWPHook\application.log` so i can try to understand better the problem.
|
||||
----------
|
||||
|
||||
# Building
|
||||
- Unfortunately, it's a Steam limitation, Valve has to update it in order to work properly with UWP, DXTory is a recommended overlay for UWP games.
|
||||
|
||||
- Clone project or forked project.
|
||||
- Install Visual Studio 2022 with .NET Framework 4.8.
|
||||
- Install [SharpSteam by BrianLima](https://github.com/BrianLima/SharpSteam/releases/) and [VDFParser](https://github.com/brianlima/VDFParser) and build.
|
||||
- If the project asks for the references for VDFParser and Sharpsteam, point it to the most recent build.
|
||||
- Press run!
|
||||
- **Steam Link launches the game but input doesn't work!**
|
||||
- Unfortunately, another limitation by Steam, i have some ideas as to why it isn't working, but i can't give an ETA for when i can fix this, or even if it's fixable on my end, since Valve didn't released the Link in Brazil and i can't get one to test.
|
||||
|
||||
## Installer
|
||||
- **Steam Controller isn't working**
|
||||
- Another limitation by Steam, some people reported it works with "Desktop Mode" configuration, but i can't verify this.
|
||||
|
||||
The installer is built with [NSIS](https://nsis.sourceforge.io/Download), just run the script `UWPHook.nsi` and things **should** work. Modify any hardcoded paths to suit your setup.
|
||||
The installation consists of zipping the application and creating some of the paths for the user, since the application is mostly static/dynamic and does not depend a lot on where it is installed, the installer is made for convenience.
|
||||
- **My question isn't listed here!**
|
||||
- Drop by our subreddit and ask a question over there, maybe someone will help you, i surely will as soon as i can
|
||||
**[https://www.reddit.com/r/uwphook](https://www.reddit.com/r/uwphook)**
|
||||
|
||||
----------
|
||||
|
||||
# About
|
||||
# About #
|
||||
|
||||
This software is open-source under the MIT License.
|
||||
It will mostly likely break withouth any heads up, since any API, file format, script and many other things used by it may be changed by Valve or Microsoft withouth prior notice.
|
||||
|
||||
I am not responsible if anything breaks.
|
||||
|
||||
If you like what i did with it and want to suport me, you can cheer me up at my [Twitter](http://www.twitter.com/brianostorm "Twitter") or [pay me a coffee via Paypal, it will help me to continue to build amazing open source tools for you!"](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9YPV3FHEFRAUQ)
|
||||
If you like what i did with it and want to suport me, you can cheer me up at my [Twitter](http://www.twitter.com/brianostorm "Twitter") or [pay me a coffee via Paypal, it will help me to continue to build amazing open source tools for you!"](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9YPV3FHEFRAUQ")
|
||||
|
||||
Thanks for your support, and game on!
|
||||
Thanks for your support, and game on!
|
@ -1,45 +0,0 @@
|
||||
<Window x:Class="UWPHook.FullScreenLauncher"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:local="clr-namespace:UWPHook"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
Background="{DynamicResource MaterialDesignPaper}"
|
||||
TextElement.FontWeight="Medium"
|
||||
TextElement.FontSize="14"
|
||||
FontFamily="Segoe UI Light"
|
||||
mc:Ignorable="d"
|
||||
WindowStyle="None"
|
||||
WindowState="Maximized"
|
||||
Title="UWPHook" Height="600" Width="800" Icon="/Resources/hook2.ico">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="29*"/>
|
||||
<RowDefinition Height="147*"/>
|
||||
<RowDefinition Height="65.6"/>
|
||||
</Grid.RowDefinitions>
|
||||
<materialDesign:ColorZone Padding="16" materialDesign:ShadowAssist.Darken="True" Mode="PrimaryMid" Height="80" Margin="0,0,-0.4,0">
|
||||
<Label x:Name="label1" Content="Welcome to UWPHook, the easier way to add UWP games and apps to Steam!" HorizontalAlignment="Left" Margin="172,-14,0,0" VerticalAlignment="Top" Foreground="#DDFFFFFF"/>
|
||||
</materialDesign:ColorZone>
|
||||
<Image x:Name="image" HorizontalAlignment="Left" Width="178" Height="80" VerticalAlignment="Top" Source="Resources/WhiteTransparent.png" Stretch="UniformToFill" ToolTip="Welcome to UWPHook, add your UWP apps and games to Steam!"/>
|
||||
<Grid Margin="10,9.8,9.6,0" Grid.Row="1" Height="421" VerticalAlignment="Top">
|
||||
<ProgressBar
|
||||
IsIndeterminate="True"
|
||||
Style="{StaticResource MaterialDesignCircularProgressBar}"
|
||||
Value="50" Height="100" Width="100"/>
|
||||
</Grid>
|
||||
<TextBlock x:Name="textLaunch" Margin="10,72.8,9.6,0" Grid.Row="1" TextWrapping="Wrap" Text="" VerticalAlignment="Top" TextAlignment="Center" FontSize="24" Height="32"/>
|
||||
<TextBlock HorizontalAlignment="Left" Margin="10,9,0,0" Grid.Row="2" TextWrapping="Wrap" Text="Made for you with <3, code and coffee by Brian Lima @brianostorm, do you like my work? Support me by downloading my other projects or by paying me a coffee via paypal!" VerticalAlignment="Top" Width="633" Height="47" TextAlignment="Justify"/>
|
||||
<materialDesign:Chip Content="Paypal donate"
|
||||
IconBackground="{DynamicResource PrimaryHueDarkBrush}"
|
||||
IconForeground="{DynamicResource PrimaryHueDarkForegroundBrush}"
|
||||
Margin="0,12,9.6,18.6" Click="Chip2_Click" HorizontalAlignment="Right" Height="Auto" Grid.Row="2" Width="136">
|
||||
<materialDesign:Chip.Icon>
|
||||
<materialDesign:PackIcon Kind="Coffee"></materialDesign:PackIcon>
|
||||
</materialDesign:Chip.Icon>
|
||||
</materialDesign:Chip>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
@ -0,0 +1,20 @@
|
||||
$installedapps = get-AppxPackage
|
||||
|
||||
$aumidList = @()
|
||||
foreach ($app in $installedapps)
|
||||
{
|
||||
try {
|
||||
foreach ($appx in (Get-AppxPackageManifest $app))
|
||||
{
|
||||
|
||||
$aumidList += $appx.Package.Applications.Application.VisualElements.DisplayName + " | "+
|
||||
$app.packagefamilyname + "!" + $appx.package.applications.application.id + ";"
|
||||
|
||||
}
|
||||
} catch {
|
||||
$ErrorMessage = $_.Exception.Message
|
||||
$FailedItem = $_.Exception.ItemName
|
||||
}
|
||||
}
|
||||
|
||||
$aumidList;
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"Microsoft.SeaofThieves": "Sea of Thieves",
|
||||
"Microsoft.DeltaPC": "Gears of War: Ultimate Edition",
|
||||
"MotionTwin.DeadCellsWin10": "Dead Cells",
|
||||
"SystemEraSoftworks.29415440E1269": "ASTRONEER",
|
||||
"NAMCOBANDAIGamesInc.TTablet": "Taiko no Tatsujin: The Drum Master!"
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 614 KiB |
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MaterialDesignColors" version="1.1.3" targetFramework="net461" />
|
||||
<package id="MaterialDesignThemes" version="2.1.0.657" targetFramework="net461" />
|
||||
<package id="System.Management.Automation" version="6.1.7601.17515" targetFramework="net461" />
|
||||
</packages>
|
Loading…
Reference in New Issue