Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    How to use scummvm via SSH?

    Recalbox General
    scummvm ssh
    3
    3
    507
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Unktehila
      Unktehila last edited by Unktehila

      Document about command line interface shown here doesn't seem to apply to the Recalbox scummvm emulator: ScummVM

      Any/all syntax documented on this page results in "scummvm" via SSH always terminating with the same message: "Could not initialize SDL: No available video device!"

      It's indeed a mystery how it works as the scummvm emulator documentation page just offers no insights. I'd study how Recalbox invokes scummvm to play a ROM, but my best grep efforts from root on down haven't found any relevant information...

      Zing recalboxfan1 2 Replies Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @Unktehila last edited by

        @unktehila Read the official Recalbox documentation:

        • https://wiki.recalbox.com/en/tutorials/games/guides/scummvm/faq
        • https://wiki.recalbox.com/en/emulators/computers/scummvm/scummvm
        • https://github.com/scummvm/scummvm/

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        1 Reply Last reply Reply Quote 0
        • recalboxfan1
          recalboxfan1 @Unktehila last edited by recalboxfan1

          @unktehila said in How to use scummvm via SSH?:

          "scummvm" via SSH always terminating with the same message: "Could not initialize SDL: No available video device!"

          I'd study how Recalbox invokes scummvm to play a ROM…

          Hi there, I’m replying without my Recalbox handy to check exact file names/paths but, to help with your questions….

          The SDL error from trying to start SCUMMVM over SSH is due to the fact that, within the ssh session, there is no graphical “display” available and therefore the scummvm “window”/interface can’t be displayed. This is pretty normal when using ssh because it’s designed for command line work and not graphical programs. There’s a lot more detail and nuance here but essentially “running in ssh session” means no graphics.

          To see how Recalbox launches scummvm, check the file “es_systems.cfg”. It’s somewhere in the default folder you login to upon connecting via ssh. In there you will see a reference to I believe it’s called “configgen.py” which is the script that ultimately runs the emulators and therefore has the full command line parameters used to launch scummvm with a particular game. My guess offhand is that the SDL video device (from the error) is one of the parameters supplied by the .py Python script.

          Happy hunting!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          90
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com