SpecialKO / SpecialK

Lovingly referred to as the Swiss Army Knife of PC gaming, Special K does a bit of everything.
https://www.special-k.info/
GNU General Public License v3.0
917 stars 52 forks source link

Call of Duty: Infinite Warfare [iw7-mod] stuck at loading screen #73

Open stanlu1013 opened 1 year ago

stanlu1013 commented 1 year ago

Hey, im use Special K with COD : Infinite Warfare [iw7-mod] This game is stuck at loading screen, it seems it comes to infinite loop...

Screen: https://imgur.com/6ASUEtD

I try to set compatiability mode, however this game still stuck into infinite loading screen. Any tips what parameter can i try? Many thanks.

Kaldaien commented 1 year ago

Probably disable SteamAPI.

[Steam.Log]
Silent=true
stanlu1013 commented 1 year ago

Probably disable SteamAPI.

[Steam.Log]
Silent=true

Edit: Correct my answer, need to use DXVK to combine with Special K to switch Windows mode/Borderless mode.

Hello Sir, thanks for your reply, i disable it, however it still not work. But i find another way to make it worked and HDR is great.

  1. enable COD:IW.
  2. Loading into game.
  3. Set game to Windows mode
  4. enable Special K (enable Service)
  5. Set game to Windows Borderless mode
  6. HDR Worked!

Thanks!

JeeNumber1 commented 1 year ago

Probably disable SteamAPI.

[Steam.Log]
Silent=true

Edit: Correct my answer, need to use DXVK to combine with Special K to switch Windows mode/Borderless mode.

Hello Sir, thanks for your reply, i disable it, however it still not work. But i find another way to make it worked and HDR is great.

  1. enable COD:IW.
  2. Loading into game.
  3. Set game to Windows mode
  4. enable Special K (enable Service)
  5. Set game to Windows Borderless mode
  6. HDR Worked!

Thanks!

Hi can you explain to me how did u fix it I have no idea what you did wrote up there

stanlu1013 commented 1 year ago

Probably disable SteamAPI.

[Steam.Log]
Silent=true

Edit: Correct my answer, need to use DXVK to combine with Special K to switch Windows mode/Borderless mode. Hello Sir, thanks for your reply, i disable it, however it still not work. But i find another way to make it worked and HDR is great.

  1. enable COD:IW.
  2. Loading into game.
  3. Set game to Windows mode
  4. enable Special K (enable Service)
  5. Set game to Windows Borderless mode
  6. HDR Worked!

Thanks!

Hi can you explain to me how did u fix it I have no idea what you did wrote up there

Hi, you need to use DXVK and loading into game (campaign) at first and then inject special K, otherwise you will still stuck at infinite loading screen.

Use DXVK is to avoid switch windows borderless/window mode issue otherwise you will get directX error.

JeeNumber1 commented 1 year ago

Hi, thanks for the explain but tbh i dont know what to do since i dont know DXVK and the special K but i hope im not bothering you, if you could direct me to a yt vid or smt so i can do it

stanlu1013 commented 1 year ago

Hi, thanks for the explain but tbh i dont know what to do since i dont know DXVK and the special K but i hope im not bothering you, if you could direct me to a yt vid or smt so i can do it

Hi, you can reference:

dxvk is another tool to transfer dirextX to vulkan.

https://github.com/doitsujin/dxvk

https://www.youtube.com/watch?v=wktbj1dBPFY&ab_channel=RandomGaminginHD

Aemony commented 1 year ago

I can at least confirm that the Steam copy of CoD: Infinite Warfare requires disabling Steam enhancements to even boot up.

[Steam.Log]
Silent=true

If the enhancements aren't disabled, as of v23.9.16.1 the game crashes on startup with the following error message:

---------------------------
Fatal Error
---------------------------
GetMessage failed with result 0x5
---------------------------
OK   
---------------------------

Logs from a failed startup: game_output.log modules.log SpecialK.log steam_api.log

Aemony commented 1 year ago

I haven't been able to figure out how to solve the infinite loading screens when using SK in this game yet, but I noticed that the loading characteristics are entirely different when using SK than when not using it.

When not using SK, the game actually takes awhile to load its first couple of percentages, and occasionally stops at various points during the loading. That doesn't occur when using SK -- instead it's seemingly full throttle for the loading from start to ~95% where it suddenly stops and never finishes loading.

That final part also takes awhile when not using SK, but otherwise the loading animation is far less "smooth" when not using SK.

So something in SK seems to mess with the game's loading or something or another.

P.S:

Also, DontHookWndProc=true is required to solve a crash that otherwise occurs during the loading screens.