• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

The Longest Journey

Scheduled Pinned Locked Moved Help and Support
residualvmlongestjourney
25 Posts 2 Posters 2.5k Views
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.
  • M
    mitu Global Moderator @GeekOB
    last edited by mitu 16 Nov 2019, 05:31

    @GeekOB A core dump is created if the game crashes. From the gdb output you posted (just like the previous time) I see the game does not crash, just exits:

    [...]
    Inferior 1 (process 817) exited with code 01
    [...]
    

    So there's no crash, hence no backtrace or core dump.

    G 1 Reply Last reply 17 Nov 2019, 17:00 Reply Quote 0
    • G
      GeekOB @mitu
      last edited by 17 Nov 2019, 17:00

      Thank you very much @mitu
      A bit more from the ResidualVM dev team:

      This can be caused by too many uniform slots used in the shader.
      The Raspberry PI GPU has a max of GL_MAX_VERTEX_UNIFORM_VECTORS = 136.
      The vertex shader for actors blows through that budget with just the bone uniforms (140 vec4 uniforms).

      As a quick test, can you try editing the stark_actor.vertex file and lowering the number to 30 in the line

      const int maxBones = 70;
      

      If that works, it will very probably glitch some actors pretty badly but the game should play.
      You can try ramping that number back up, but the real solution is to rework the bone uniform passing, I'm afraid.

      Can you help me find where this file would be located in RetroPie?

      M 1 Reply Last reply 17 Nov 2019, 17:16 Reply Quote 0
      • M
        mitu Global Moderator @GeekOB
        last edited by 17 Nov 2019, 17:16

        @GeekOB said in The Longest Journey:

        Can you help me find where this file would be located in RetroPie?

        Maybe in /opt/retropie/emulators/residualvm/share/residualvm/shaders/stark_actor.vertex ?

        G 1 Reply Last reply 18 Nov 2019, 14:15 Reply Quote 0
        • G
          GeekOB @mitu
          last edited by 18 Nov 2019, 14:15

          I tried these changes @mitu but it still doesn't work.
          Now I'm just wondering if the Raspberry Pi 3b, which is the model I'm using for this testing, is actually capable of handling this port properly. Escape from Monkey Island also has some issues when I try to run it at full screen.
          I'm not sure if you are going to test ResidualVM with the Pi 4 model.
          I'm happy to continue trying to test but, as my knowledge with compiling from source is limited I might as well be shooting in the dark here.

          What do you guys think?

          M 1 Reply Last reply 18 Nov 2019, 14:26 Reply Quote 0
          • M
            mitu Global Moderator @GeekOB
            last edited by 18 Nov 2019, 14:26

            @GeekOB said in The Longest Journey:

            I'm not sure if you are going to test ResidualVM with the Pi 4 model.

            ResidualVM works on the PI4 model, alas I don't have the game in my GOG library and didn't have the time to test this game in particular.
            Is the normal game (i.e. non-HD remake) working ?

            G 1 Reply Last reply 18 Nov 2019, 14:41 Reply Quote 0
            • G
              GeekOB @mitu
              last edited by 18 Nov 2019, 14:41

              No @mitu, it is not. If I disable the HD mod, the main menu:
              56490ebb-fe2d-433d-92cd-825046c3df7e-image.png
              will display properly but the game will not run and exit back to the ResidualVM launcher.
              If the HD mod is enabled the main menu screen is all black with only the mouse pointer, ©1999 Funcom, and the names of the options showing up when hovered over. Same behavior when trying to run the game.

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 20 Nov 2019, 17:21

                I tried TLJ on the PI4, but it exits right when initialising the game. I'll try to get more info and maybe submit an issue to the residualVM project directly.

                1 Reply Last reply Reply Quote 0
                • G
                  GeekOB
                  last edited by GeekOB 20 Nov 2019, 20:57

                  Thanks @mitu, that's probably the exact same issue I'm experiencing.
                  Let me know if there's anything I can do to help test/troubleshoot. I'll keep the game in my SD card just in case.

                  M 1 Reply Last reply 20 Nov 2019, 21:12 Reply Quote 0
                  • M
                    mitu Global Moderator @GeekOB
                    last edited by 20 Nov 2019, 21:12

                    @GeekOB said in The Longest Journey:

                    Thanks @mitu, that's probably the exact same issue I'm experiencing.

                    Not quite the same issue, but it's quite similar in that's still a shader error.
                    While scouring for information on the project's Github repository, I stumbled upon this new addition which might help to run the game on a RPi3. You might want to keep an eye on it and - when the changes are merged - to update residualvm from source.

                    G 1 Reply Last reply 16 Jan 2020, 17:35 Reply Quote 0
                    • G
                      GeekOB
                      last edited by 20 Nov 2019, 22:18

                      I'll definitely do that and let you know how it goes.
                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • G
                        GeekOB @mitu
                        last edited by 16 Jan 2020, 17:35

                        Hi @mitu,
                        I gave this a try again today as I saw the 0.4.0git version had some new commits, but now not even the main menu comes up, the game goes back to ES right after the runcommand dialog.
                        Can you see if the same is happening on your Pi4?

                        M 1 Reply Last reply 17 Jan 2020, 16:58 Reply Quote 0
                        • M
                          mitu Global Moderator @GeekOB
                          last edited by 17 Jan 2020, 16:58

                          @GeekOB said in The Longest Journey:

                          Can you see if the same is happening on your Pi4?

                          I'll give it a shot, but the GLES improvement patch is still not yet merged.

                          G 1 Reply Last reply 14 Apr 2020, 16:31 Reply Quote 0
                          • G
                            GeekOB @mitu
                            last edited by 14 Apr 2020, 16:31

                            @mitu I just wanted to put this final post here to close the loop.
                            I was able to test this game on a Raspberry Pi 4 using testing version of RetroPie, works beautifully!

                            M 1 Reply Last reply 14 Apr 2020, 16:44 Reply Quote 1
                            • M
                              mitu Global Moderator @GeekOB
                              last edited by 14 Apr 2020, 16:44

                              @GeekOB That's good news ! Thanks for the follow-up.

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

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                This community forum collects and processes your personal information.
                                consent.not_received