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

Battlefield 3 crashes at startup #1

Open
Svyatpro opened this issue May 28, 2024 · 4 comments
Open

Battlefield 3 crashes at startup #1

Svyatpro opened this issue May 28, 2024 · 4 comments

Comments

@Svyatpro
Copy link

When using this BCrypt implementation Battlefiled 3 crashes with error message "The game data is corrupt"

@Blaukovitch
Copy link
Owner

Hello!

More details, please.
Windows XP?
Do you have a screenshot of this message?

@Svyatpro
Copy link
Author

It is WinXP with One-Core-API installed but the crash is most likely due to BCrypt library. This is what I get when running on Dependency walker:

First chance exception 0x406D1388 (Thread was named) occurred in "KERNEL32.DLL" at address 0x7C80BF93 by thread 3 "GameLoop".
<P;<P; <P;<P;
GetProcAddress(0x7C920000 [NTDLL.DLL], "RtlDllShutdownInProgress") called from "MSCTF.DLL" at address 0x4B3CD6F8 and returned 0x7C939FFD by thread 3 "GameLoop".
p <P;<P;
First chance exception 0xC0000005 (Access Violation) occurred in "NTDLL.DLL" at address 0x7C93A1C1 by thread 3 "GameLoop".
Second chance exception 0xC0000005 (Access Violation) occurred in "NTDLL.DLL" at address 0x7C93A1C1 by thread 3 "GameLoop".

@Blaukovitch
Copy link
Owner

Can you attach own MSCTF.DLL and NTDLL.DLL libs?
WinAPI "RtlDllShutdownInProgress" is absent on default Windows XP.

@Svyatpro
Copy link
Author

Svyatpro commented May 31, 2024

I use One-Core-API Canary binaries.
It has a complete ported from Vista Crypto stack (ksecdd, bcrypt, ncrypt etc), WineD3D11 etc. And it allows to run Battlefield 3 without much problems.
When I replace ported Vista's bcrypt.dll with your implementation Battlefield 3 fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants