I have an idea, it's a game I think is somewhat old, from a few years ago. Patrick Parabox has fun puzzles that would be very interesting to success at high speed. The problem is that I tried to follow the instructions to run it using libTAS, but I still can't even run it.
I have Windows 10, so I used WSL to simulate Linux. But then libTAS asked me for wine64 to run the .exe. I tried to install wine in this Linux environment but nothing.
I don't know what else I need to try. Does anyone know more about how libTAS or Wine works? Should I try running Patrick Parabox on this emulator? Or maybe try a different emulator?
It's a Unity game with a Linux release, so chances of it working are fairly good, you need the Linux version of the game though. You can install Steam client on Linux, or use something like DepotDownloader or SteamCMD.
By the way, none of libTAS, Wine, nor WSL are emulators in the typical meaning of the term.
Well, I can try running a Linux virtual machine in VMWare, and all of that. Even though I'm not actually a Linux user.
But then, why does the emulator list page say that libTAS can be used for Windows using WSL2, if I need the game in Linux version anyway?
Although according to this list, Windows games can also be emulated by BizHawk, although I know nothing about that one.
WSL2 (unlike WSL1) uses a real Linux kernel, it's basically a lightweight VM.
BizHawk's Windows support is DOS-based Windows only and won't be useful here.
First, thanks for DepotDownloader. It allowed me to download the Linux version of the game demo. But now there is bad news.
I used WSL, I installed libTAS. I run game linux executable on WSL and run perfectly.
But when I try to run the game with libTAS I get this error.
Attempt 1: Connected.
Segmentation fault (core dumped)
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
recv() returns 0 -> socket closed
The connection to the game was closed. Exiting
And now I don't know exactly what I'm missing. I tried some additional settings but it's always the same error. It is evident that the error comes from libTAS, because the game runs directly on WSL.
Can anyone interpret what's missing? Because I don't understand it.
We might need some further information to help. There is a Discord server for libTAS specifically if you would like to join.
Are you seeing the game window at all? is this on the latest 1.4.7 build of libTAS? Have you tried using an older version? I know people had Patrick's Parabox working back in 2021.
GuanlongX wrote:
auuuugh my face when games are creative and cool and don't fit arbitrary rulesets
I don't know why I hadn't noticed.
When I try to run the game directly, it works fine but without audio.
I downloaded and installed libTAS 1.4.7 to test it, and yes, I can now run it; at least the game window appears. But it displays a "WARN" message, which then closes the game.
//This appears many times
[f:1 t:462M] WARN: Audio mixing will underrun, waiting for the game to send audio samples
[f:1 t:462M] WARN: Timeout
send() returns -1 with error Connection reset by peer
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
send() returns -1 with error Broken pipe
For me, this doesn't seem to be necessary, yet.
But now it's clear that it's failing because I have a problem with the audio. I'll investigate further how to fix it, but if anyone knows any details, it would be very helpful.
I just hope that all this effort leads us to create a great Patricks Parabox TAS.
Okay, I give up. I don't understand what's missing.
To fix the audio issue, I tried installing PulseAudio on both Windows and Linux. The AI suggested linking audio from Linux to Windows, and it worked for running the game. (Remember I have used WSL)
But it wasn't enough for libTAS to run the game smoothly. Occasionally, the console would tell me there were also problems with timing functions like clock_gettime() or audio-related issues. I also tried using the command suggested by keylie, but it didn't help either.
So I don't understand anything. Are we sure the this game being developed in Unity is compatible with libTAS?
Link to video
I had found a video of someone who apparently have success to run a TAS of this game using the demo version. But I don't know how he do it.