1.     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

Technical Issue What happened to... OpenJK?

Discussion in 'Support' started by Ahsoka Tano, Jun 1, 2018.

  1. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    I was always playing with OpenJK, because on JAMP engine i have low FPS, the game is unplayable. But from few days ago, every time i launch the game on OpenJK, it gives me this error (image). How can i fix it? This error started appearing after some Windows update. (Also, was trying to launch game from Play_MBII.bat. When doing so it gives "VM_CreateLegacy on cgame failed" every time when i try to connect to any server.)


    What i have tried already:

    Reinstallation MBII (few times)
    Reparing Installation
    Deleting .sab files
    Installing and running MBII on both JKA 1.0 and 1.01
    System restoring, to the time before that Windows update (I have Windows 10) and reinstalling the game

    Things changed: During all that actions ^ i have met "VM_CreateLegacy on ui failed" error. Now, after full reinstallation - first error again (image).

    *Crashlog attached

    upload_2018-6-1_17-30-22.png
     

    Attached Files:

    Last edited: Jun 1, 2018
  2. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    Is Intel your only video, or you have something like ATI or NVIDIA?

    MBII Launcher => Settings => check "Enable logging" => Repair installation.
    Post latest log from "Jedi Academy\GameData\MBII_Launcher\logs" here.
     
  3. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    I have also NVIDIA GeForce 820M
    Pressed "Repair Installation". Gave me some unhandled exception (and created log (1st)), after which i was unable to press any button in launcher. Restarted launcher, it asked for some update (???), i accepted it. Looks like some small file dowloaded. Tried to launch game, gave same error as usual, pressed "Repair Installation" again, done successfully (created log (2nd)). Found nothing to update.

    *Changed extensions to .txt
    1st log - 6-49
    2nd - 6-53
     

    Attached Files:

  4. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    Switch to NVIDIA (it must be somewhere in NVIDIA control panel or in display settings) and try running OpenJK again.
     
  5. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    I simply switched off Intel, and tried to launch. Same error, about .sab files. Maybe I should exactly switch to NVIDIA without switching off Intel?
     
  6. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    No idea what options you exactly have. Try them all, focus on preferring NVIDIA over Intel.
     
  7. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    Same error...
     
  8. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    Move both these files to some completely unrelated location and try again:
    Jedi Academy\GameData\MBII\openjk.cfg
    Мои документы\My Games\OpenJK\MBII\openjk.cfg
     
  9. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    There is no openjk.cfg in …\OpenJK\MBII\
    More then that, there is no MBII folder in OpenJK
    But there is 'base' folder with openjk.cfg and openjk_server.cfg file. Moved them away together with that one from …\GameData\MBII\
    Same error. (А на русском можно? о.О)
     
    Last edited: Jun 1, 2018
  10. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    Strange, if you used OpenJK before, you're supposed to have that file...

    Try this:
    Start MBII Launcher, but don't hit Play.
    Execute file "C:\Apps\Games (English)\Jedi Knight - Jedi Academy (MBII)\GameData\Play_MBII_CustomOJK.bat" instead.
    While we can use Russian, it's international forums though, therefore English is preferable.
     
  11. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    Will do after... ↓
    Is redownloading MBII using launcher worth a try?
     
  12. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    I don't think so.
    Repairing installation is the same as redownloading, and you've already done that.
     
  13. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    *Okay, replaced files with already updated ones...

    Launched by Play_MBII_CustomOJK.bat
    Something weird this time, maybe connected to partly completed redownload...
    Both launching by .bat and by launcher gives me an ability to entern main menu (JKA interface, but starting screen still shows "Moviebattles II") and choose server. When trying to connect getting "VM_CreateLegacy on cgame failed"

    --- Oh wait, i didn't replace 'base' folder, a minute...

    --- No difference, nevermind....
     
  14. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    If you did download and replace anything, perform repair once again and post a new log.
    You mean base JA menu or Movie Battles menu?
    Please post screenshot.
     
  15. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    First time i tried to repair it gave me exception. Here is text of it:
    Подробная информация об использовании оперативной
    (JIT) отладки вместо данного диалогового
    окна содержится в конце этого сообщения.

    ************** Текст исключения **************
    System.IO.DirectoryNotFoundException: Не удалось найти часть пути "C:\Apps\Games (English)\Jedi Knight - Jedi Academy (MBII)\GameData\MBII_Launcher\logs\log_2-6-18_1-35.log".
    в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
    в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
    в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
    в System.IO.File.AppendAllText(String path, String contents, Encoding encoding)
    в ‎‬‪‮‍‫‪‭‍‬‌‪‏‪‪‬‎‫‭‎‏‏‮.AddToLog(String input)
    в MBII_Patcher.Patcher..ctor(Uri , String , Int32 , IMBIIPatchUI , IMBIILogger )
    в xf4CvRyW{i2jDtDQ#TYPe3r1.‌‬‌‭‭‎‍‏‎‮‎‫‏‏‌‌‮‬‫‮‪‪‮‮()
    в xf4CvRyW{i2jDtDQ#TYPe3r1.‬‪‭‫‮‪‍‏‭‪‮‬‬‮‎‫‪‭‫‌‍‮(Object , EventArgs )
    в System.Windows.Forms.Control.OnClick(EventArgs e)
    в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    в System.Windows.Forms.Control.WndProc(Message& m)
    в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Загруженные сборки **************
    mscorlib
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MBIILauncher
    Версия сборки: 2.1.0.0
    Версия Win32: 2.1.0.0
    CodeBase: file:///C:/Apps/Games%20(English)/Jedi%20Knight%20-%20Jedi%20Academy%20(MBII)/GameData/MBIILauncher.exe
    ----------------------------------------
    nSSgcSMgvJXskIRtUZNIaihOFmIE
    Версия сборки: 0.0.0.0
    Версия Win32: 2.1.0.0
    CodeBase: file:///C:/Apps/Games%20(English)/Jedi%20Knight%20-%20Jedi%20Academy%20(MBII)/GameData/MBIILauncher.exe
    ----------------------------------------
    System
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    MBII_Patcher
    Версия сборки: 1.0.0.0
    Версия Win32: 1.0.0.0
    CodeBase: file:///C:/Apps/Games%20(English)/Jedi%20Knight%20-%20Jedi%20Academy%20(MBII)/GameData/MBII_Patcher.DLL
    ----------------------------------------
    System.Configuration
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Management
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    System.Core
    Версия сборки: 3.5.0.0
    Версия Win32: 3.5.30729.8931 built by: WinRelRS4
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------
    mscorlib.resources
    Версия сборки: 2.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    pNuYHVFrYydCbRAWnucIlLuyoEcS
    Версия сборки: 0.0.0.0
    Версия Win32: 1.0.0.0
    CodeBase: file:///C:/Apps/Games%20(English)/Jedi%20Knight%20-%20Jedi%20Academy%20(MBII)/GameData/MBII_Patcher.dll
    ----------------------------------------
    9n_kei4c
    Версия сборки: 1.0.0.0
    Версия Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------

    ************** Оперативная отладка (JIT) **************
    Для подключения оперативной (JIT) отладки файл .config данного
    приложения или компьютера (machine.config) должен иметь
    значение jitDebugging, установленное в секции system.windows.forms.
    Приложение также должно быть скомпилировано с включенной
    отладкой.

    Например:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    При включенной отладке JIT любое необрабатываемое исключение
    пересылается отладчику JIT, зарегистрированному на данном компьютере,
    вместо того чтобы обрабатываться данным диалоговым окном.


    Second repair (after launcher restart) went as usual (log attached).
    I noticed, every time i start launcher it starts files validation. Is that okay?


    Yes, base JA menu.



    After this:
    bandicam 2018-06-02 14-07-33-846.jpg
    Getting this:
    bandicam 2018-06-02 14-07-51-718.jpg
    Also, tried loading MBII from game's "Mods" menu. Changed nothing, just restarted game.

    *** Trying to start solo game gives "VM_CreateLegacy on game failed"
     

    Attached Files:

    Last edited: Jun 2, 2018
  16. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    This is very frustrating.
    For some unknown reason, MBII Client is broken for you now.
    I suggest you to try vanilla OpenJK instead -- maybe it will work?

    1. Download this: https://builds.openjk.org/openjk-2018-05-28-c3d2a806-windows.zip
    2. Extract "openjk.x86.exe" and "rd-vanilla_x86.dll" to "C:\Apps\Games (English)\Jedi Knight - Jedi Academy (MBII)\GameData"
    3. Move "rd-vanilla-mbii_x86.dll" (from ...GameData) to some unrelated folder
    4. Right-click on "openjk.x86.exe" => Create Shortcut
    5. Right-click on newly created shortcut => Properties => Target => add
      Code:
      +set fs_game mbii
      to end of text => OK
    6. Execute the shortcut for openjk.x86.exe.
    [​IMG]
     
  17. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    Same base JA menu... Same "VM_CreateLegacy on cgame failed" when trying to connect....
     
  18. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    [​IMG]
    1. Start openjk.x86.exe as I said in my previous post once again
    2. Get "VM_CreateLegacy on cgame failed" error
    3. Open a console by pressing Shift + ~ (aka Shift + `)
    4. Type and press Enter:
      Code:
      condump a.txt
    5. Upload a file "Jedi Academy\GameData\MBII\a.txt" to this thread.
     
  19. Ahsoka Tano

    Ahsoka Tano

    Posts:
    24
    Likes Received:
    0
    Here. But this file was there: C:\Users\****\Documents\My Games\OpenJK\MBII
     

    Attached Files:

    • a.txt
      File size:
      38.1 KB
      Views:
      2
  20. Puppytine

    Puppytine Slayed dreamer

    Posts:
    1,922
    Likes Received:
    1,238
    hm hm hm... Can you please explain where "C:\Vanya (english games and programes)\Games (English)\Jedi Knight - Jedi Academy (MBII)" path came from? Do you have double JA installation or something?
     

Share This Page