Skip to content

Instantly share code, notes, and snippets.

@berkayfeci
berkayfeci / installxna4.bat
Created October 29, 2023 00:06
Install Microsoft XNA 4.0 refresh without VS2010 for VS2019
#fnr.exe is from https://github.com/zzzprojects/findandreplace
#It should be put in same directory as this batch file.
#Original batch file is from https://www.naresh.se/2014/01/02/install-microsoft-xna-4-0-refresh-without-vs2010-for-vs2013/
%~dp0XNAGS40_Setup.exe /extract:%~dp0XNA
%~dp0XNA\redists.msi /passive
"%ProgramFiles(x86)%\Microsoft XNA\XNA Game Studio\v4.0\Setup\XLiveRedist.msi" /passive
"%ProgramFiles(x86)%\Microsoft XNA\XNA Game Studio\v4.0\Redist\XNA FX Redist\xnafx40_redist.msi" /passive
"%ProgramFiles(x86)%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnaliveproxy.msi" /passive
"%ProgramFiles(x86)%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnags_platform_tools.msi" /passive
@FusRoDah061
FusRoDah061 / dump-uwp-apps.md
Created April 3, 2021 01:24
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

To manually install XNA Game Studio 4.0
Download xnags40_setup.exe and save it to your hard drive
Run xnags40_setup.exe /x to extract the contents to a folder of your choosing
Go to the folder you extracted to in step 2 and run the MSI named redists.msi
Note: This MSI will only display a small progress bar while it is installing and will not tell you when it is done. When the progress bar disappears, continue to the next step.
Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\XLiveRedist.msi
Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Redist\XNA FX Redist\xnafx40_redist.msi
Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnaliveproxy.msi