Yes I know it's slow like I said on the modpage already. No I'm not going to patch out the avx2 instruction set, it's too much work and becomes unstable.
hello ,in my case is not working xeon x5660 6 core cpu, it stucks here : Launching injector helper.. Injector helper started! Attaching SDE to injector helper.. SDE successfully attached! Launching Spider-Man 2.. (wait almost 1 hour)
what i noticed is inside the SDE folder a sde-error.txt file appeared with : SDE ERROR: Illegal instruction at address = 7ffa8538eeba: 0f 01 d0 48 c1 e2 20 48 0b d0 80 e2 06 80 fa Image name: C:\WINDOWS\System32\bcryptPrimitives.dll Offset in image: 0x1eeba If you believe your application should attempt to execute this illegal instruction (and others that may be present), Then use this knob: -emit-illegal-insts 0 and this error message will be avoided.
did the other comment thread got deleted? was the thing delayed due to today's game update? you could at least upload the previous version while the update gets delayed
Please sildurfx help us out! We really needs your support for avx2 fix we will be very thankful to you as we are for alan wake and god of war ragnarok You are our last hope. We know you can do it
P.s. I noticed that (some) people bought the game (Steam), BUT their processor does not support the game, guys - what prevents you from using NVIDIA GeForce NOW? Only for license holders. Or Sony (ports) do not add there? Well, this seems stupid to me. It seems that on CloudDeck there is an opportunity to play the game (LICENSE!).
I'm wondering even if my avatar frontiers pandora is working perfectly at the average settings of 60 fps, and I don't need any avx, why is it so difficult to bypass avx2 and disable what avx2 requires?
Sorry for the bad English, I'm a brazilian. Now answering your question, I tried to bypass it and it's possible, but I found 2 BIG problems, the first is that I get so many crashes and the second, AVX2 is a instruction that your CPU tries to execute and if your CPU doesn't has compatiblity, it can't run that instruction and crashes the game, so to solve that, we have to change the AVX2 instructions for AVX or SSE 4.2, in theory, it's simple. For example, I was editing the EXE and I found an AVX2 instruction in the code, when the game run that line, it crashes.
This is an example of AVX2 instruction: VPUNPCKHWD YMM1, YMM2, YMM2 To turn it into an AVX instruction I'd have to change this line for all these lines:
And then the game can run this lines and go ahead in the code, but when it find another AVX2 instruction, you'll have to change it again, but the problem is that there is MUCH, but MUCH lines in a EXE code and MUCH AVX2 instructions, I'm trying to make it works right now, and the furthermost I could get until now is at the last loading screen before getting into the menu of the game. And there is another problem that I don't have said, some AVX2 can't be converted directly into AVX instructions and the only solution that I found for it, it just makes the game jump the line that has it, which means it probably will break the game at somepoint (or with much lucky, it won't). I'm not a specialist on this, I just discovered how to do this things 2 days ago, but I think I could give you some idea of why is so difficult to bypass AVX2.
So you are making it? someone made it for gow Ragnarok and my game never crashed and they made a patch of exe file too can't you just ask help from them if they can provide it we can play the game early
So you are making it? someone made it for gow Ragnarok and my game never crashed and they made a patch of exe file too can't you just ask help from them if they can provide it we can play the game early
the game uses AVX2 a lot, meaning you can't just "bypass" it, you'd need to go in and recode the game to use something instead of AVX2, otherwise you have to emulate AVX2
just "bypassing the check" would mean any time the game tries and executes AVX2 it will just hard crash
hey bro! i just copy-pasted your long explanation to GPT chat and asked to help, here is what he suggested (i mean maybe you could use it too for help?) gptchat: Yeah, that’s a tough challenge! Replacing AVX2 instructions with AVX or SSE4.2 is doable, but as you found out, it's a huge task, and some instructions don’t have direct equivalents. Here are a few ways you could approach it more efficiently: 1. Disassemble and Automate the Patching
Instead of manually editing the EXE, use a disassembler like IDA Pro or Ghidra to analyze the AVX2 instructions.
Write a script (Python with capstone + keystone, or use x64dbg scripting) to scan and replace AVX2 instructions with AVX/SSE versions automatically.
2. Hooking Instead of Editing
If the game allows mods or DLL injection, you could intercept the execution and replace AVX2 instructions on the fly. This avoids direct EXE patching, which is risky.
A tool like x64dbg or even Cheat Engine could help in setting breakpoints and replacing code dynamically.
3. Recompiling (If Possible)
If this game was built with a public engine like Unity or Unreal Engine, you could try recompiling it without AVX2 optimizations. Unreal, for example, has build flags to disable AVX.
4. Fixing Non-Convertible AVX2 Instructions
Instead of skipping instructions, analyze what they do. Some can be rewritten using a different approach.
For example, if the instruction is a vectorized operation that lacks an AVX equivalent, breaking it down into multiple SSE instructions may work.
Would you be open to automating the patching, or do you need help identifying the most problematic AVX2 instructions? If you share a few more examples of failing instructions, I can suggest equivalent replacements.
gtayoutubehannibal, thanks for your effort, I see you commenting and trying to help through the comments here on nexus, this shows that you really want to play the game, just like me. But I'm sorry to disappoint you, but I've been trying for several hours since launch to modify the game's EXE to make it run on CPUs without AVX2, but it always comes to a point that the game ends up breaking, as I'm not an Assembly expert, I may have broken something in the code without realizing it, and this ended up demotivating me because I ended up creating more than 40 custom EXEs to try to make this work and it didn't work, I was spending a lot of time on this, I think it's better to leave it to someone who has more knowledge solve that. In any case, if someone wants me to send the executable of the game that I modified and it runs just before entering the game's initial menu, I can send it. And before someone asks, there is no way to automate the process, even using AIs, at least as far as I know and searched.
Hello, I want to tell you what the problem is with this method. GPT chat is created for lighter codes, the same thing if you ask him to make some kind of game. GPT chat can process simple codes, but cannot process complex ones (like in Spider-Man 2). He takes knowledge about AVX2 only from the Internet. Therefore, you need to change the code yourself, I tried to do this, but for good coding you need a professional, because a developer. (Sorry for my English)
thanx for your feedback man! looks like the only way is to wait the devs patch (what is unlikely) or to upgrade the cpu "qqxgc4" this guy could do it, but he doesnt want to... :(
It's kinda working, I'm playing with 15-25 fps. But I encountered 1 problem that it doesn't let me decode the Serum for lizard since it doesn't register any input so I can't progress sadly. Maybe someone have a solution or a save file after the decode ?
GPU is around 70% but it's fine since it emulate the Avx2. Yes I waited, also wait a few minutes in game it's like u use an switch emulator like ryujinx or yuzu, first time u do anything it will load for that action the shader so that it doesn't stutter that much anymore. Only stupid thing as I mentioned above, u can't complete the decode because it doesn't register the input so no way u can play the game without a save file after that or someone find a fix for it.
Hope maybe it help u out, sry for my English isn't my native
139 comments
No I'm not going to patch out the avx2 instruction set, it's too much work and becomes unstable.
Launching injector helper..
Injector helper started!
Attaching SDE to injector helper..
SDE successfully attached!
Launching Spider-Man 2..
(wait almost 1 hour)
what i noticed is inside the SDE folder a sde-error.txt file appeared with :
SDE ERROR: Illegal instruction at address = 7ffa8538eeba: 0f 01 d0 48 c1 e2 20 48 0b d0 80 e2 06 80 fa
Image name: C:\WINDOWS\System32\bcryptPrimitives.dll
Offset in image: 0x1eeba
If you believe your application should attempt to execute
this illegal instruction (and others that may be present),
Then use this knob: -emit-illegal-insts 0
and this error message will be avoided.
We really needs your support for avx2 fix we will be very thankful to you as we are for alan wake and god of war ragnarok
You are our last hope. We know you can do it
is working perfectly at the average settings of 60 fps, and I don't need any avx, why is it so difficult to bypass avx2 and disable what avx2 requires?
This is an example of AVX2 instruction: VPUNPCKHWD YMM1, YMM2, YMM2
To turn it into an AVX instruction I'd have to change this line for all these lines:
VMOVDQU YMM3, YMM2
VPUNPCKHWD XMM1, XMM2, XMM2
VPUNPCKHWD XMM3, XMM3, XMM3
VINSERTF128 YMM1, YMM1, XMM3, 1
And then the game can run this lines and go ahead in the code, but when it find another AVX2 instruction, you'll have to change it again, but the problem is that there is MUCH, but MUCH lines in a EXE code and MUCH AVX2 instructions, I'm trying to make it works right now, and the furthermost I could get until now is at the last loading screen before getting into the menu of the game. And there is another problem that I don't have said, some AVX2 can't be converted directly into AVX instructions and the only solution that I found for it, it just makes the game jump the line that has it, which means it probably will break the game at somepoint (or with much lucky, it won't). I'm not a specialist on this, I just discovered how to do this things 2 days ago, but I think I could give you some idea of why is so difficult to bypass AVX2.
just "bypassing the check" would mean any time the game tries and executes AVX2 it will just hard crash
gptchat: Yeah, that’s a tough challenge! Replacing AVX2 instructions with AVX or SSE4.2 is doable, but as you found out, it's a huge task, and some instructions don’t have direct equivalents. Here are a few ways you could approach it more efficiently:
1. Disassemble and Automate the Patching
- Instead of manually editing the EXE, use a disassembler like IDA Pro or Ghidra to analyze the AVX2 instructions.
- Write a script (Python with capstone + keystone, or use x64dbg scripting) to scan and replace AVX2 instructions with AVX/SSE versions automatically.
2. Hooking Instead of Editing
- If the game allows mods or DLL injection, you could intercept the execution and replace AVX2 instructions on the fly. This avoids direct EXE patching, which is risky.
- A tool like x64dbg or even Cheat Engine could help in setting breakpoints and replacing code dynamically.
3. Recompiling (If Possible)
- If this game was built with a public engine like Unity or Unreal Engine, you could try recompiling it without AVX2 optimizations. Unreal, for example, has build flags to disable AVX.
4. Fixing Non-Convertible AVX2 Instructions
- Instead of skipping instructions, analyze what they do. Some can be rewritten using a different approach.
- For example, if the instruction is a vectorized operation that lacks an AVX equivalent, breaking it down into multiple SSE instructions may work.
Would you be open to automating the patching, or do you need help identifying the most problematic AVX2 instructions? If you share a few more examples of failing instructions, I can suggest equivalent replacements.it launched
so there is some hope atleast
it got to the load screen
the main menu
"qqxgc4" this guy could do it, but he doesnt want to... :(
But I encountered 1 problem that it doesn't let me decode the Serum for lizard since it doesn't register any input so I can't progress sadly.
Maybe someone have a solution or a save file after the decode ?
AMD FX-8350 8x 4.0GHz
Every setting is on low
Fsr on
GPU is around 70% but it's fine since it emulate the Avx2.
Yes I waited, also wait a few minutes in game it's like u use an switch emulator like ryujinx or yuzu, first time u do anything it will load for that action the shader so that it doesn't stutter that much anymore.
Only stupid thing as I mentioned above, u can't complete the decode because it doesn't register the input so no way u can play the game without a save file after that or someone find a fix for it.
Hope maybe it help u out, sry for my English isn't my native