Recalbox Forum

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

    Moonlight Exit Game

    Emulator Arcade/PC/Console
    moonlight
    4
    8
    8598
    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.
    • TheSNKNeoGeo64
      TheSNKNeoGeo64 last edited by

      The moonlight works very well, I connect with the pc play the game games normally but I have a big problem specifically when leaving the games the command I use to exit emulated games (Xbox + Start) does not work in Moonlight and when the PC game have the option "Quit game", I only get a black screen written "Nvidia Game Stream" being forced to move me to PC and press alt + F4 to the recalbox to return to the list of games, what would be the correct solution to close the game and back to Moonlight list ?

      1 Reply Last reply Reply Quote -2
      • TheSNKNeoGeo64
        TheSNKNeoGeo64 last edited by

        there are no answer to this simple question ? maybe the developers needs think in some basic things...

        Substring 1 Reply Last reply Reply Quote -2
        • Substring
          Substring @TheSNKNeoGeo64 last edited by Substring

          @TheSNKNeoGeo64 I'm so glad you're telling me what to do in such a kind way ...

          So let's debug the whole thing, ok ?

          1. You start moonlight with the expected game
          2. moonlight makes some https calls to your PC telling a few things like resolution, optimizations, inputs, sound management, some authtentication stuff
          3. GFE is aware of what it's supposed to do : start the game, encode video in H264, stream it to your Pi, creates some "virtual pads" that reproduce the pi's inputs
          4. you play

          ...

          1. you want to quit: you ask to quit the game like you'd noramlly do on the PC
          2. the game is supposed to close
          3. GFE is supposed to notice the game closed, so it should end the stream
          4. Moonlight gently closes itself right after

          Now let's say I add a HK+Start shortcut (which i already tried for testing purpose). This is how the story is rewritten :
          5. you ask to quit moonlight
          6. the GFE protocol has never been meant to handle user side quit
          7. moonlight does close, GFE can't tell the game you just quitted
          8. you're back to ES, the game still runs on your PC, you can't start any new streaming session unless you get up from your couch and close yourself the game that is still running on the PC.

          I don't find it quite "user friedly" or at least "recalbox mind". This is all a problem on the PC side, namely GFE, nothing more.

          I do agree that closing moonlight would at least unfreeze your recalbox, but this wouldn't solve the PC side of the problem (which is the origin of all).

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          1 Reply Last reply Reply Quote 1
          • TheSNKNeoGeo64
            TheSNKNeoGeo64 last edited by

            if Recalbox Team create a "alft+f4" command button when using moonligh the problem is solved.

            Voxson Substring 2 Replies Last reply Reply Quote 0
            • Voxson
              Voxson @TheSNKNeoGeo64 last edited by

              @TheSNKNeoGeo64 Hey man - I've had this issue before too - it is the PC end, not the fault of recalbox. Even if the devs put in an alt+F4 command, this would only stop your game, your issue is that your PC is not closing out of gamestream.

              Tried restarting your PC? Other things I tried were to use other versions of GFE, changing streaming settings the in the monlight.conf etc.

              1 Reply Last reply Reply Quote 0
              • Substring
                Substring @TheSNKNeoGeo64 last edited by

                @TheSNKNeoGeo64 no no no, we can't send such a key combo as far as i know.

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                1 Reply Last reply Reply Quote 0
                • Craciant
                  Craciant last edited by

                  the SSH command "moonlight quit" closes the client and any program launched by moonlight on the server, however, the keyboard or controller input combination does not quit moonlight, or close anything out on the server.

                  Why... I'm trying to figure out.

                  See my topic on moonlight embedded github
                  https://github.com/irtimmer/moonlight-embedded/issues/576

                  1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring last edited by

                    that is a moonlight bug, as stated by @Craciant

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                    Want to support us ?

                    75
                    Online

                    90.8k
                    Users

                    26.5k
                    Topics

                    182.3k
                    Posts

                    Copyright © 2021 recalbox.com