New Installer Jedi Academy
-
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.
-
@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.
-
So removing the .so files from
/opt/retropie/ports/openjk_ja/
and moving them to thebase
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. -
@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.
-
@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
-
I am new to RetroPie, so how would I get this downloader running?
-
@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.
-
@gderber
Thanks, will try ASAP -
@gderber
When booting in, cannot find default.cfg -
@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
? -
@quicksilver I've updated the script. For me it creates the symbolic link inside the
RetroPie/roms/ports/jediacademy
directory pointing to/opt/retropie/ports/openjk_ja/uix86_64.so
For you it should point to/opt/retropie/ports/openjk_ja/uiarm.so
-
@gderber Just tried again and still no symbolic link. Im not sure why it isnt working.
-
@quicksilver does the install log show anything?
-
@gderber Im assuming this is the relevant part of the log
ln: failed to create symbolic link '/home/pi/RetroPie/roms/ports/jediacademy/uiarm.so': Function not implemented /home/pi
I should note that my
/home/pi/RetroPie/roms/ports/jediacademy
is on an external flash drive. I wonder if thats what is causing the issue. However I have not run into issues with symbolic links before so Im not sure what would be different about this one. -
@quicksilver FAT32 doesn't support symbolic links - if that is the current USB stick filesystem format.
-
@mitu I believe it's ExFAT. Doing a little googling shows that symbolic links can go to an ExFAT partition but not from. This is probably why I haven't had any issues before because all of the symlinks have been located on the sdcard until now. Should I be using a different format? I chose ExFAT so that I could still access the data on my windows computer.
@gderber should we just copy the .so files instead? Or am I just an edge-case scenario? Also, I believe it requires some (all?) of the .so files to be in the base folder for multiplayer to work, not just uiarm.so. I can get the MP launcher to work if uiarm.so is located in the base folder but it will fail to join any game. When I place all the .so files into the base folder I can then join online games.
-
@quicksilver I've looked at some other installers to try and determine what they do, see if there is a precedent in the RetroPie ecosystem. I didn't see anything.
Because running roms from a USB stick is officially supported I am thinking about either copying or moving.
Copying creates in my mind the fewest opportunities for problems. I'd also like to identify exactly which ones are needed to copy and copy only those (rather than a mass copy everything). Which leads into moving, it's cleaner (only have the files required and without duplication). It required checking each and every file to determine which folder it needs to be in, but that's a one time process.
@mitu Do you have any guidance on this? What to do when a port looks for it's library inside the rom data folder? I'd eventually like to get these approved and added to the main repo, and whatever I can do on the front end to make that process easier I'd like to do.
-
@gderber said in New Installer Jedi Academy:
@mitu Do you have any guidance on this? What to do when a port looks for it's library inside the rom data folder?
Normally, if that would really be necessary, the files should be copied from
$md_inst
to that location during the configuration phase.
Having said that, I don't think that should be necessary for this game. Look at how the game binaries are distributed in Debian (openjk-academy, openjk-common) and see if you could arrange a similar structure for them in the/opt/retropie/ports/openjk_ja
folder. -
@mitu Thank you. The Debian package was very helpful. I'm copying everything they do to the data folder ("base") for this game.
@quicksilver All changes have been uploaded, let me know if the .so files install for you. Thank you for your help with this.
-
@gderber said in New Installer Jedi Academy:
All changes have been uploaded, let me know if the .so files install for you.
I will update it now and report back.
Thank you for your help with this.
Definitely! Im glad I am able to help in some way. I have been able to get a lot new ports running on my pi 4, I just dont have the bash scripting knowledge to set up installers for them (Im trying to teach myself as much as possible before I bug someone with a million questions). So if you have the energy for it, Im sure there are a bunch more we can collaborate on (and I get to learn as I go too).
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.