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 614 forks source link

Wonky JK2 loading issue... #445

Closed aFoxNamedMorris closed 10 years ago

aFoxNamedMorris commented 10 years ago

I had to make the following script to avoid JK2 Autoloading JK3 assets when OpenJK goes into JK2 Mode:

mv base base-old

./openjk_sp.x86_64 +set com_jk2 1 +set fs_game basejk2

mv base-old base

The script basically renames the JK3 base folder so that it is not autoloaded after the JK2 assets, then renames it back so I can play JK3 again. Please Fix this for the Linux version. :/

64-bit Ubuntu Linux, Intel hardware, Ivybridge Mobile GFX.

ensiform commented 10 years ago

Whats the issue? Changing fs_game means you wouldn't be loading base anymore. (But "base" is still loaded before fs_game) It is not intended for you to run both games from the same root directory.

The JK2 mode is very unsupported and unstable as it is, and someone was going to split them into separate exes anyway.

Best to have openjk in a ja directory and a jk2 directory, even that jk2 mode enabled at all messes with save compatibility of both, so I wouldn't even bother.

aFoxNamedMorris commented 10 years ago

I thought that the game would disable the base folder for loading jk2 assets. I didn't realize that they were supposed to be run in seperate folders. My bad.

I ended up changing it so that the base-jk2 gets renamed to base and back, so as to sidestep this for now. I look forward to the split. Thanks for your time.

ensiform commented 10 years ago

Are you sure it actually built with JK2Mode enabled in the CMake? It'll say somewhere semi-early in the console Running Jedi Outcast Mode if it did indeed load as outcast.

You will also need to do +set com_homepath on the JK2 launcher, so that you have separate homepath with configs/saves/screenshots.

aFoxNamedMorris commented 10 years ago

Thanks for the tip. :3