Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libTAS does not hook ruffle properly #321

Closed
Futurama39 opened this issue Apr 30, 2020 · 5 comments
Closed

libTAS does not hook ruffle properly #321

Futurama39 opened this issue Apr 30, 2020 · 5 comments

Comments

@Futurama39
Copy link

Running on VM 64-bit linux any flash files launched using ruffle and libTAS do not appear to have any control in libTAS like pausing or frame advance

@qixils
Copy link
Contributor

qixils commented Apr 30, 2020

clarification from DMs:

when i launch the file and all throughout
libTAS says it's still on frame 0
and frame advance, pause and such do not seem to be working

@clementgallet
Copy link
Owner

ruffle main thread is softlocking on epoll_wait(). It is possible that this function is used for sleeping (and timeout is 33 ms, which is possible the frame length).

@clementgallet
Copy link
Owner

I could run a game after commits d6cbdcd and ca12341, with Runtime > time tracking > clock_gettime.

Still a few issues to look at:

  • no HUD
  • Doesn't work with software opengl rendering: Received multiple errors. Errors: [NoAvailablePixelFormat, NoAvailablePixelFormat]
  • audio still not working: ERROR ruffle_desktop] Unable to create audio device: Unable to create audio stream

@Futurama39
Copy link
Author

I have managed to make openGL work via ruffle's issue #384 that instructed to comment out a line and compile from there

the audio not working is an ongoing thing with ruffle on it's own

@vadosnaprimer
Copy link
Contributor

Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants