Skip to content

Instantly share code, notes, and snippets.

@cualquiercosa327
Forked from FusRoDah061/dump-uwp-apps.md
Created January 31, 2023 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cualquiercosa327/9cfa8a23327a9065f451c8071b55b6cc to your computer and use it in GitHub Desktop.
Save cualquiercosa327/9cfa8a23327a9065f451c8071b55b6cc to your computer and use it in GitHub Desktop.
Dump UWP apps files

Overview

Most apps and games downloaded from Microsoft Store on Windows 10 are placed on a special folder (WindowsApps), which the user probably won't have access.

That said, in case you want to use mods in a game, you'll likely need access to the it's files. Even though Microsoft introduced the option to enable mods, not all developers have adopted this yet (if some ever will). This document presents an alternative to get access to the files you may need.

This is basically a copy-paste of u/WiredRawdy's reddit post.

Requirements

Dumping the game

  1. Launch the game through the start menu.

  2. Open UWPInjector.exe from the UWPDumper download.

  3. Enter the Process Id that is displayed from the injector and then hit enter. (It will appear next to the name: HelloGames.NoMansSky_bs190hzg1sesy, or whatever game you launched)

  4. Wait until the game is dumped (this might take a while).

  5. Go to the directory : C:\Users\[YOUR USERNAME]\AppData\Local\Packages\[GAME NAME]\TempState\DUMP

    1. The name of the game folder will be the same seen on step 3 (eg. HelloGames.NoMansSky_bs190hzg1sesy)
  6. Copy these files into a new folder somewhere else of your choosing. If you are unable to copy everything at once, then try recreating the folder structure in the new destination and then copy the files into their respective folders.

  7. Uninstall the game you dumped by clicking on Start Menu and right clicking on its icon and uninstall.

  8. Go to your directory with your new dumped files (the ones you copied over) and shift + right click in the directory and "Open Powershell window here".

  9. Run the following: Add-AppxPackage -Register AppxManifest.xml. This will register the application as if you installed it from Microsoft Store. If you don't this, some games might not work properly.

  10. Click on the start menu and launch!

Having issues? These might help you

  • If you are receiving any errors when registering in Powershell try replacing the AppxManifest with the following: https://pastebin.com/raw/vpMEyNNT

  • If you are unable to copy files due to an "encryption" dialog appearing then try and copy each file one by one into their respective folders (Step 6).

  • Some config files are located here instead: C:\Users\[YOUR USERNAME]\AppData\Local\Packages\HelloGames.NoMansSky_bs190hzg1sesy\LocalCache\Local\Microsoft\WritablePackageRoot\Binaries\SETTINGS

Good luck and have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment