Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Star Wars - Jedi Knight II: Jedi Outcast (6030) #1732

Open
2 tasks done
legluondunet opened this issue Oct 13, 2018 · 14 comments
Open
2 tasks done

Star Wars - Jedi Knight II: Jedi Outcast (6030) #1732

legluondunet opened this issue Oct 13, 2018 · 14 comments
Labels
cw Game compatibility - Unofficial Games not expected to work without issues

Comments

@legluondunet
Copy link

legluondunet commented Oct 13, 2018

Compatibility Report

  • Name of the game with compatibility issues: Star Wars - Jedi Knight II: Jedi Outcast
  • Steam AppID of the game: 6030

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-6030.log

Symptoms

The single player game crashes at start, even with the necessary option for Nvidia users:
__GL_ExtensionStringVersion=17700 %command%

Reproduction

If you have a Nvidia GPU, put this option in the Steam launch option:
__GL_ExtensionStringVersion=17700 %command%
launch the single player game: it crashes.

Strange but...multiplayer game launches ok

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Oct 13, 2018
@dreamer
Copy link

dreamer commented Oct 13, 2018

@legluondunet do you experience the same "grey screen filter" issue, that I do?
For example, this is how menu is supposed to look: 1, this is how it looks to me: 2 (everything is darker - in menu and in game).

It can be removed by adding commandline parameter +r_ignorehwgamma 1 (after single run game will save it in config and it will be applied on subsequent runs as well).

[edit] BTW, I tested using MESA_EXTENSION_MAX_YEAR=2003 %command% on 3.16-1 Beta and experienced no crash (I loaded existing save, played for few minutes). my system; can't re-test on system with NVIDIA graphics at the moment.

@ghost
Copy link

ghost commented Oct 13, 2018

You can also fix the "grey screen filter" by changing to windowed mode

But the game starts fine for me right to in-game using 3.16-1 (use this tool for all games is checked and "__GL_ExtensionStringVersion=17700 %command%" used. This is all)

I do see you have:

Backtrace:
=>0 0x7c6d0b9a dump_DIEFFECT+0x3a() in dinput (0x01e7e6d8)
  1 0x7c6da7bd **Joystick**WImpl_CreateEffect+0x4c() in dinput (0x01e7e718)
  2 0x7c6dc1dc JoystickAImpl_CreateEffect+0x4b() in dinput (0x01e7e778)
  3 0x0024a8a4 in ifc22 (+0xa8a3) (0x80000000)
0x7c6d0b9a dump_DIEFFECT+0x3a in dinput: movl	0x0(%edi),%edx

which is odd. You have a controller plugged in? I don't know why that would show up if you didn't. Try unplugging it.

@legluondunet
Copy link
Author

legluondunet commented Oct 14, 2018

@byte1024 effectively, with my x360 connected: the game crashes at start (only single player, multiplayer is not affected by this issue).
If I replace my x360 by my Steam controller, it doesn't crash, but the Steam controller is not usable in this game with its default configuration.

@dreamer thank you, your tip for gamma works very well.

@legluondunet
Copy link
Author

legluondunet commented Oct 14, 2018

I think I didn't have x360 crash with Proton 3.7-7

@ghost
Copy link

ghost commented Oct 14, 2018

I think I didn't have x360 crash with Proton 3.7-7

It looks like its a [ ]regression [x]bug in Wine [ ]especially if it doesn't do it with 3.7 right now as well.

Could file a bug with Wine maybe https://bugs.winehq.org/ or just leave it filed here with Proton since I think Valve puts in patches to Wine as well. I don't know where it would make the most difference with getting fixed.

@dreamer
Copy link

dreamer commented Oct 14, 2018

I can reproduce the issue after connecting my DS4 controller. It happens both in 3.16-1 Beta and in 3.7-8, only in singleplayer. Log excerpt is from 3.7:

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x78dcc82a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:78dcc82a ESP:01e7e6a0 EBP:01e7e6d8 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000003 EBX:78df1ff4 ECX:ffffffff EDX:f7f542a2
 ESI:78df9d08 EDI:00000000
Stack dump:
0x01e7e6a0:  00000000 00000000 7bce0ff4 f7f8b678
0x01e7e6b0:  7bce0ff4 78de0d8c 00000000 00000003
0x01e7e6c0:  0000001e 0230d930 78dcc7fb 78df1ff4
0x01e7e6d0:  00186854 00000000 01e7e718 78dd644d
0x01e7e6e0:  00000000 020ac104 00000000 7bc97b7c
0x01e7e6f0:  4351efde 020ac188 020ac104 00000000
Backtrace:
=>0 0x78dcc82a dump_DIEFFECT+0x3a() in dinput (0x01e7e6d8)
  1 0x78dd644d JoystickWImpl_CreateEffect+0x4c() in dinput (0x01e7e718)
  2 0x78dd7e6c JoystickAImpl_CreateEffect+0x4b() in dinput (0x01e7e778)
  3 0x0023a8a4 in ifc22 (+0xa8a3) (0x80000000)
0x78dcc82a dump_DIEFFECT+0x3a in dinput: movl   0x0(%edi),%edx

@legluondunet
Copy link
Author

The gamepad bug is corrected in Proton 3.16-4, thank you Valve Team!

@legluondunet
Copy link
Author

legluondunet commented Nov 1, 2018

Now, if Valve integrates the needed environment launch option (MESA_EXTENSION_MAX_YEAR=2003 %command% for AMD users and __GL_ExtensionStringVersion=17700 %command% for Nvidia users) the game could be whitelisted.

@aeikum
Copy link
Collaborator

aeikum commented Nov 1, 2018

@legluondunet Glad to hear the fix worked, thank you for reporting!

@aeikum aeikum removed this from the Next Release milestone Dec 12, 2018
@aeikum
Copy link
Collaborator

aeikum commented Feb 18, 2019

Hello. With Proton 3.16-7, you can now use the PROTON_OLD_GL_STRING runtime option instead of the Mesa- or Nvidia-specific environment variables.

@dreamer
Copy link

dreamer commented Mar 19, 2019

Tested with 3.16-8 Beta with PROTON_OLD_GL_STRING=1, no other tweaks/variables and clean installation using two systems: 1, 2 - game itself works fine.

I experienced following problems though:

  • "grey screen" (can be fixed with PROTON_OLD_GL_STRING=1 %command% +r_ignorehwgamma 1)
  • Broken sound during "Lucasarts" intro. Real game intro works ok (I didn't test other movies). It happens only in singleplayer - same movie in multiplayer version works ok. I don't consider it a serious issue.
  • Multiplayer version does not download server list - behaviour seems to be exactly the same as in Jedi Academy. I consider it either network or server issue (most likely server, because ROTCW downloads servers list just fine).

Overall when ignorehwgamma fix is implemented, game works better through Proton than using Windows 10 (because fullscreen keeps adequate aspect ratio instead of artificially stretching it to 16:9).

@Override0911
Copy link

Override0911 commented Oct 17, 2024

I have the same issue: Multiplayer launches just fine but single player won’t start. When i launch single player I only get a console telling me:

JK2: v1.03 win-x86 May 3 2002
Initialising zone memory .….
----- FS_Startup -----
Com_sprintf: overflow of 132 in 128 current search path:
Z:\userdata\saves\flatpak\data\.var\app\com.valvesoftware.Steam\.local\share\Steam\steamapps\common\Jedi Outcast\GameData/base
0 files in pk3 files
Com_sprintf: overflow of 140 in 128
Running in restricted demo mode.
----- FS_Startup
Com_sprintf: overflow of 132 in 128 current search path:
Z:\userdata\saves\flatpak\data\.var\app\com.valvesoftware.Steam\.local\share\Steam\steamapps\common\Jedi Outcast\GameData/demo
0 files in pk3 files
Com_sprintf: overflow of 138 in 128 couldn't load default.cfg

I am using steam via flatpak on batocera linux and have an intel UHD 630 graphics chip.

Oddly enough i installed this game on another linux machine (mate 24.04) with steam via snap and it works out of the box after forcing proton experimental. Forcing experimental does not help on the flatpak installation though. What i already tried:

  • Force different Proton versions (Experimental, 7…, 3…)
  • Delete proton files
  • Uninstall the game and reinstall (multiple times)
  • Check installation files for integrity (no problems found)
  • Manually checked the game files path: userdata/saves/flatpak/data/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Jedi Outcast/GameData/base
  • Checked if pk3 files do exist in base folder (they do)
  • added opengl32.dll from a Windows installation into GameData folder
  • Tried multiple different start parameters:
MESA_EXTENSION_MAX_YEAR=2003 %command%

__GL_ExtensionStringVersion=17700 %command%

PROTON_OLD_STRING=1 %command%

PROTON_USE_WINED3D=1 %command%

Nothing works. It always results in the same console output.

I also installed the game’s predecessor Jedi Academy. This game works out of the box with flatpak steam. Which means here the pk3 files can be found without a problem. The game folders are right next to eachother:

userdata/saves/flatpak/data/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Jedi Academy/GameData/base

userdata/saves/flatpak/data/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Jedi Outcast/GameData/base

I asume that steam or proton via flatpak has some kind of problem accessing the game path for Jedi Outcast single player. Unfortunately i am not experienced enough to find out what exactly this problem is or how i can point it to the right path.

edit: typos

@kisak-valve
Copy link
Member

Hello @Override0911, your symptom hints that the game is having a hard time with the total length of the folder path to game assets. Give PROTON_SET_GAME_DRIVE=1 %command% a try.

@Override0911
Copy link

@kisak-valve you are the GOAT!

That worked! Can’t thank you enough 🙏 Been struggling with this for days!

Strange that Jedi Academy works without this command since it’s folder path is equally long. But main thing is it’s working now 💪

Now i only have to figure out how to run the game in 1920x1080 fullscreen mode. Simply adding those values to the config results in an odd screen with some zoomed in detailed metal parts when i load a saved game or start a new one. But already able to play with the default resolution options 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cw Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

5 participants