Post subject: Running libTAS inside Microsoft WSL2
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
What is WSL2: https://docs.microsoft.com/en-gb/windows/wsl/wsl2-about How to install WSL2: https://docs.microsoft.com/en-gb/windows/wsl/wsl2-install How to install a GUI inside WSL2: https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/ The goal would be to play Windows-only games using libTAS. WSL automatically mounts the disks in /mnt, where each folder's name is a Windows drive letter (C:\ will be mounted on /mnt/c/, D:\ on /mnt/d/, etc.). You can run Windows apps inside WSL the same way you would run a Linux program, the GUI will run on your Windows, but console output goes inside WSL. --- So I downloaded the lastest libTAS 32 bit and tried to run the Windows version of the Undertale demo with libTAS, but (of course) it didn't worked. When trying to run the game, this is the error I get: (Game path is D:\Jeux\UndertaleDemo\UndertaleDemo.exe) So I'm wondering 2 things: - What would happen if we remove the 'file' command check when running the game (we need an option to manually select the game version, 32 or 64 bits) - Would it be possible to make libTAS work here, and if yes, what are the requirements to have libTAS working here?
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Joined: 1/21/2006
Posts: 117
This will likely never work. The processes you launch are not part of the Linux VM nor handled by the Linux userspace.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
You'll need to use WINE in order for this to work, and then only for games which are compatible with WINE.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Joined: 9/12/2014
Posts: 543
Location: Waterford, MI
You will actually need Undertale linux version. Even if wine does work, it has desync problems. So just find the linux verion of undertale and it should work.