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

Game crashed when I start it with fs_game OpenJK #751

Closed Paullik74 closed 8 years ago

Paullik74 commented 8 years ago

Hi, I've got Steam version + latest build OpenJK (Windows), and when I try run the game from shortcut openjk.x86.exe with argument +set fs_game OpenJK, it crashed.

image image image

crashlog here: crashlog-2015-11-13_16-09-59.txt

„Mismatched UI_API_VERSION: expected 1, got 2” - Huh? :D

When I run openjk.x86.exe everything is OK, but no OpenJK features.

OS: Windows 10 Pro 64bit

Razish commented 8 years ago

Delete any DLLs in fs_homepath and fs_basepath i.e. Documents/My Games/OpenJK and GameData/OpenJK

It means it's loading an old version of the OpenJK uix86.dll

Paullik74 commented 8 years ago

Delete the whole folder Documents/My Games/OpenJK and from GameData/OpenJK move jagamex86.dll to another place and nothing changed. :/

Razish commented 8 years ago

Ah, you have D:\Hry\OpenJK\OpenJK\openjk.pk3 and D:\Hry\OpenJK\OpenJK\openjk-x86.pk3 Try deleting the oldest one (or both and reinstall openjk)

Paullik74 commented 8 years ago

Nice :). I delete openjk.pk3 file and it works. Thank you. image Maybe it would be good delete oldest file openjk.pk3 from latest Windows build ZIP, because it contain both openjk.pk3 files (oldest and newest).

dionrhys commented 8 years ago

@deepy It looks like buildbot doesn't clean the install directory when it's packaging up the zip for distribution. Could you have a look?

ensiform commented 8 years ago

Hmm I would think openjk-x86.pk3 would still be the preferred file being used though. Strange.

Although, I don't know if - is sorted first internally even if windows doesn't do it that way. It would seem that - is not used because it comes before letters.

sudge commented 8 years ago

About the same problem, but using +set fs_game japlus (ja++). Error says: GetGameAPI failed on uix86.dll and link to crashlog. There is:

--- ambient sound initialization --- Sound memory manager started VM_Create: uix86.dll succeeded Mismatched UI_API_VERSION: expected 1, got 2 Closing SDL audio device... SDL audio device shut down. GetGameAPI failed on uix86.dll

in the end.

Razish commented 8 years ago

Updating JA++ (and clearing out old files if necessary) works.

Leaving this open until the buildbot is fixed.

xycaleth commented 8 years ago

I'm guessing this has been fixed now. Closing.