RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New Installer Jedi Academy

    Scheduled Pinned Locked Moved Ideas and Development
    ports
    50 Posts 10 Posters 8.0k 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.
    • ?
      A Former User
      last edited by

      I've written an installer for OpenJK: Jedi Academy (SP + MP)

      https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/openjk_ja/scriptmodules/ports/openjk_ja.sh

      Looking for feedback for improvements.

      1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver
        last edited by

        Building via your script now, will report back if success or any issues.

        1 Reply Last reply Reply Quote 0
        • quicksilverQ
          quicksilver
          last edited by

          Game installed properly and single player script boots successfully! However multiplayer launch script fails. See here: https://pastebin.com/0PyqFC32

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @quicksilver

            Thank you!

            It also seems weird that only MP would be looking for that file and not SP.

            I've modified the startup scripts. I was trying to fix the resolution/mouse drift issue from the get go without having to rely on the user to set their individual game cfg files correctly. I may have introduced a different bug in the process.

            I'd still like to try and prevent the resolution/mouse drift problem if I can.

            I've uploaded the changes to github.

            quicksilverQ 1 Reply Last reply Reply Quote 0
            • quicksilverQ
              quicksilver @A Former User
              last edited by quicksilver

              @gderber said in New Installer Jedi Academy:

              mouse drift problem

              Not sure that this affected me, what do you mean by mouse drift exactly?

              Also the solution for resolution you used gives me a fullscreen 1080p image but it is stretched to fill the screen (the wrong aspect ratio). However I am able to change it in game to a different resolution and match it to a corresponding video mode in runcommand so this part works pretty well and gives users some options so im not sure if you need to do too much else with it.

              Also I updated again but Im still getting the same error for multiplayer as before https://pastebin.com/nT7Ua8Ju

              ? 2 Replies Last reply Reply Quote 0
              • ?
                A Former User @quicksilver
                last edited by

                @quicksilver I'm not certain that I can explain it well. The problem I encountered may only apply to retropie on a desktop environment.

                I am trying to explain this the best I understand it (which isn't that well).

                X windows has 2 resolution pieces, usually set to the same value.

                First there is the desktop resolution This is the max desktop size. It can be large.

                Second there is the viewing resolution. This ths the portion of the desktop currently being displayed on your monitor.

                So for example, you can have a 1920x1080 desktop size, and a 640x480 view size.

                ----------------------------------
                | Desktop.                        |
                |     -------------               |
                |    |   View.     |              |
                |    |             |              |
                |     -------------               |
                ----------------------------------
                

                When a game launches with a smaller resolution than the desktop, it starts with its focus on the same portion of the desktop as the game. Now, frequently, if you move your mouse too quickly, the view window may no longer be focused on the same portion of the desktop as where the game is being rendered.

                 -------------------------------------
                |                      -----------    |
                |                     |  View.    |   |
                |           ----------+---        |   |
                |          |  Game.   |   |       |   |
                |          |           ---+-------    |
                |          |              |           |
                |           --------------            |
                 -------------------------------------
                

                Where possible, at least with the quake3 engine games the simplest solution is to set the games resolution to the same as the desktop. There might be a better way.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @quicksilver
                  last edited by

                  @quicksilver I'm a little stumped by your error. I don't have a file /opt/retropie/ports/openjk_ja/base/ui${arch}.so at all, and the game runs. Do you have a file /opt/retropie/ports/openjk_ja/uiarm.so?

                  quicksilverQ 1 Reply Last reply Reply Quote 0
                  • quicksilverQ
                    quicksilver @A Former User
                    last edited by quicksilver

                    @gderber said in New Installer Jedi Academy:

                    @quicksilver I'm a little stumped by your error. I don't have a file /opt/retropie/ports/openjk_ja/base/ui${arch}.so at all, and the game runs. Do you have a file /opt/retropie/ports/openjk_ja/uiarm.so?

                    Yes uiarm.so is located there. However I found the solution. https://github.com/JACoders/OpenJK/issues/631. Copying the .so files to the base directory solved the issue. I find it a bit puzzling though because the error log doesnt show that it was expecting it to be there. But nonetheless it worked...perhaps we should symlink the .so files to the build folder? What do you think is the best solution?

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @quicksilver
                      last edited by

                      @quicksilver I'm not sure, a symlink does seem easy. But is it necessary. Like I said, I don't have that file in my base folder, and both SP and MP run without problems. And why does SP work for you and not MP.

                      I think the error is the symptom and not the actual problem. I'd like to identify the actual problem if possible.

                      quicksilverQ 1 Reply Last reply Reply Quote 0
                      • quicksilverQ
                        quicksilver @A Former User
                        last edited by

                        @gderber Im not sure. All I know is that it doesnt work as-is. But if I follow the advice from that github issue I posted and I copy the .so files to the build directory then it works.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by

                          True, I've updated the script so that it'll work for people. This may be the best solution.

                          I wish I could find an answer to my questions because I'd feel better about the solution.

                          quicksilverQ 2 Replies Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver @A Former User
                            last edited by quicksilver

                            @gderber I wonder if the .so files are replacements for the original games .dll files (it would then make sense why openjk expects them to be in the same folder as the game files). Since the original windows .dll files will not be compatable with a ARM Linux system they might need to be replaced. This is just a hunch, as it's something I have encountered before with other game engines. I'm not near my computer right now but will look into this.

                            1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver
                              last edited by

                              So removing the .so files from /opt/retropie/ports/openjk_ja/ and moving them to the base folder causes the single player to stop working. I guess just symlinking the .so files is the best way to get around this that way the single player and multiplayer launch scripts will work. Why they are needed in both directories im not sure. Or perhaps only some of them are needed in the base directory? I cant find anything in the openjk documentation that sheds any light on this unfortunately.

                              1 Reply Last reply Reply Quote 0
                              • quicksilverQ
                                quicksilver @A Former User
                                last edited by

                                @gderber said in New Installer Jedi Academy:

                                True, I've updated the script so that it'll work for people. This may be the best solution.

                                I tried the script out again but I dont see where it made the symbolic links.

                                ? 2 Replies Last reply Reply Quote 0
                                • ?
                                  A Former User @quicksilver
                                  last edited by

                                  @quicksilver It should have made a link $romdir/ports/uiarm -> /opt/retropie/ports/openjk_ja/uiarm.so

                                  I did notice a typo in the script it should be $romdir/ports/uiarm.so

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by

                                    I am new to RetroPie, so how would I get this downloader running?

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @A Former User
                                      last edited by

                                      @Luddo183 The easiest way will be inside the RetroPie-Setup/scriptmodules/ports folder run the command wget https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/openjk_ja/scriptmodules/ports/openjk_ja.sh

                                      Then run retropie_setup.sh, it will be under the experimental section. Right now Singleplayer works, Multiplayer depending on your setup may be a little buggy.

                                      ? 2 Replies Last reply Reply Quote 0
                                      • ?
                                        A Former User @A Former User
                                        last edited by

                                        @gderber
                                        Thanks, will try ASAP

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @A Former User
                                          last edited by

                                          @gderber
                                          When booting in, cannot find default.cfg

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @A Former User
                                            last edited by

                                            @Luddo183 I don't have a file by that name. It's probably inside the datafiles.

                                            Did you copy assets0.pk3 assets1.pk3 assets2.pk3 assets3.pk3 from the original game into RetroPie/roms/ports/jediacademy?

                                            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.