JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.03k stars 615 forks source link

[Warning] OpenJO - Folder path #1233

Closed SilentMRG closed 4 months ago

SilentMRG commented 4 months ago

Hello everybody!

According to the error log below, OpenJO will look for a "base" folder, however, in the last binary provided in the repository, there is no folder with that name, instead, there is a folder called "OpenJK". Obviously, renaming the "OpenJK" folder to "base" will resolve the issue.

"OpenJK: v1.0.1.1 win_msvc-x86_64 May 1 2024 Initializing zone memory..... -----FS_Startup----- Current search path: C:\Users\Documents\My Games\OpenJO\base C:\Users\Downloads\OpenJO-windows-x86_64\base


0 files in pk3 files Couldn't load default.cfg"

Yes, all the "pk3" files were in the directory before I started "openjo_sp.x86_64.exe". Just to make it clear.

By the way, the latest version provided is working very well, all elevators work and I'm already in Bespin without having caught any softlock. I noticed that some missing effects, such as the “energy” effect that appears on the floor (grid) of the ion cannon was restored. In another version I tested a few months ago it was absent. Thanks for the good work, guys! =D

Cheers!

SilentMRG commented 4 months ago

I forgot to say, I don't know if the latest OpenJK binary has this same naming mistake. I haven't tested it yet. But here's a warning for him too. ;)

ensiform commented 4 months ago

There is no naming mistake, you must still have the pk3s installed into the base folder

SilentMRG commented 4 months ago

There is no naming mistake, you must still have the pk3s installed into the base folder

But there is no "base" folder in the binary, only "OpenJK", so, as I said earlier, renaming folder to "base" solves the issue.

This is the root folder...

0

And this is the "base"...

1

Is there any problem leaving that dll there in the base folder along with the pk3 files? In practice, I don't think so because I haven't seen any errors of any kind so far, hehe. Well, but you are the ones who understand these things after all. =)

I don't have Jedi Outcast installed, I just extracted the GOG offline installer with innoextract and got the "pk3" files.

ensiform commented 4 months ago

Yeah openjk/OpenJO do not include base folder with PK3s all ready to go, you were missing the installation of the assets prior it seems, whether that is via gog extractor or an actual install doesn't matter.

SilentMRG commented 4 months ago

Well, I just downloaded OpenJK and I saw that there is a "base" folder inside the root directory along with an "OpenJK" folder, and both folders have the same dlls, so I suggest the same: create a base folder by default in OpenJO, along with the existing folder OpenJK. This will help people like me not to get confused with nomenclatures, hehe. XD

SilentMRG commented 4 months ago

This may seem silly, anyway, it's just a suggestion of a directory tree on the source port, leaving both aligned. =)

ensiform commented 4 months ago

This may seem silly, anyway, it's just a suggestion of a directory tree on the source port, leaving both aligned. =)

I believe the only reason OpenJK makes a base folder is because of the MP dlls are also included there since the other platforms not supported by windows jamp need something to launch. You still need to copy the base folder over as it is.