To allow games to be played via Windows Sandbox, do the following. The below configuration will allow Virtual Gpu in Windows sandbox and map a folder from your system to the sandbox system so you can copy or view from one to other. By default virtual gpu is not enable and hence most of the directx apps wont run and give errors
- Open notepad
- Paste the below in notepad
- <Configuration>
<VGpu>Enable</VGpu>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Games</HostFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration> - Copy your game files/folders in C:\Games
- In notepad, select in menu File -> Save As
- Change "Save as type" to All Files (*.*)
- Enter the file name as Sandbox.wsb
- Save in a location that you remember (Example in Desktop)
- Close notepad
- Double click Sandbox.wsb (in Desktop assuming this is where the file is saved)
- Once Sandbox loads, in the sandbox Desktop, there should be a folder called "Games"
- Double click this folder and run the game executable
This is how my config looks
In case you do not have Windows Sandbox enabled (ie; Getting error How do you want to open this file while clicking to open)
- Start -> Turn Windows features on or off
- Check "Windows Sandbox"
- Press OK
Some of the errors while vgpu was not enabled:
Failed to create Direct3D Device. Please check that your drivers are up-to-date. Alternatively try switching your computer to a lower resolution to reduce graphics memory requirements.
Faulting module name: d3d10warp.dll, version: 10.0.19041.546, time stamp: 0x2bbb3470
Exception code: 0xc0000409
Fault offset: 0x002d6b32
Faulting module path: C:\Windows\SYSTEM32\d3d10warp.dll
No comments:
Post a Comment