Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
2024 update: I've written a new guide: https://github.com/Randomno/libTAS/blob/wsl-guide/docs/guides/wsl.md and I'm looking for feedback on it. --------------------------- The guide for installing libTAS with WSL2 could do with an update so I've put this together. I'd like some tests from people who haven't used WSL/libTAS before. Please post here if you have any issues or confusions.
  1. In Windows Command Prompt run wsl --install. If you have any issues here see Microsoft's guide (troubleshooting).
  2. Restart your computer
  3. Open Ubuntu from Start menu
  4. In Ubuntu terminal, run sudo apt update and sudo apt upgrade
  5. wget https://github.com/clementgallet/libTAS/releases/download/v1.4.4/libtas_1.4.4_amd64.deb
  6. sudo apt install ./libtas*
  7. echo 'export WAYLAND_DISPLAY=""' >> .bashrc
  8. Restart terminal
  9. libTAS
libTAS should now open. Not covered (yet): Already having WSL1 installed. Hypervisor support (covered in Microsoft guide). 32 bit systems?
Ahym
She/Her
Joined: 8/26/2023
Posts: 7
Location: Valley of the Sun
Things to note: libTAS relies on packages not present in Debian 12 (bookworm) grab the latest nightly release of libTAS if you are presented with any errors regarding broken packages https://ci.appveyor.com/project/clementgallet/libtas/build/artifacts
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
I tested the process again and found that Windows will automatically launch Ubuntu after restarting. Opening it manually as well can cause an error with the installation in some cases. Also I made a shell script to do the later steps. It also retrieves the latest libTAS version thanks to a command from negative seven. Though, I don't know the simplest way to instruct a user to get and run this script.
Language: bash

#! /usr/bin/bash cd ~ sudo apt update sudo apt upgrade curl -s https://api.github.com/repos/clementgallet/libtas/releases/latest | grep -Po "(?<=\"browser_download_url\": \").*_amd64.*(?=\")" | xargs wget sudo apt install ./libtas* export WAYLAND_DISPLAY="" echo 'export WAYLAND_DISPLAY=""' >> .bashrc libTAS
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
I'm a bit more active again and would really like to update the libTAS guide. I wanted to have something finished for 1.4.5's release but didn't. I've linked a few people to my video above and it seems well-received, but simplifying everything into a shell script might be overkill and not prepare the user for using WSL/Linux. However, teaching everything about how to use Linux is out of the scope of a libTAS tutorial. So it might help to have some feedback: What should the libTAS guide teach? Compared to the existing guide, I think vcxsrv is completely unnecessary now. WSLg works fine and requires no extra work. Windows Explorer may be easier to use than Nautilus. The guide should ideally come in text and video form, though I'm unwilling to make a commentated version at the moment. The annotated version above is not bad though I think.
CoolHandMike
He/Him
Editor, Judge, Experienced player (895)
Joined: 3/9/2019
Posts: 695
Randomno wrote:
I'm a bit more active again and would really like to update the libTAS guide. I wanted to have something finished for 1.4.5's release but didn't. I've linked a few people to my video above and it seems well-received, but simplifying everything into a shell script might be overkill and not prepare the user for using WSL/Linux. However, teaching everything about how to use Linux is out of the scope of a libTAS tutorial. So it might help to have some feedback: What should the libTAS guide teach? Compared to the existing guide, I think vcxsrv is completely unnecessary now. WSLg works fine and requires no extra work. Windows Explorer may be easier to use than Nautilus. The guide should ideally come in text and video form, though I'm unwilling to make a commentated version at the moment. The annotated version above is not bad though I think.
Having the WSL\Linux and LibTAS setup be as automated as possible would help a lot. It is not the point of a setup process to teach a user a system. Making the user jump through hoops at that point will have them run into more issues than otherwise and might make them give up. Then have separate Linux/WSL, and libTAS usage tutorials.
discord: CoolHandMike#0352
PASRC
He/Him
Player (103)
Joined: 12/9/2018
Posts: 16
Randomno wrote:
Compared to the existing guide, I think vcxsrv is completely unnecessary now. WSLg works fine and requires no extra work.
I don't use Windows so I can't easily test this, but there is still a reason someone would want to use VcXsrv. The warp mouse to center option does not work on WSLg (Issue). You could make WSLg the prominent option but keep the instructions for VcXsrv for people that need them.
Randomno wrote:
Windows Explorer may be easier to use than Nautilus.
That would be a good change. But if you still need to suggest people to install a file manager on Linux, Thunar and PCManFM are better choices than Nautilus.
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
I've made a written guide now: https://github.com/Randomno/libTAS/blob/wsl-guide/docs/guides/wsl.md I'd appreciate any feedback before suggesting it to replace the existing guide.