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

Windows 11 ARM Visual C++ Error #51

Open
La-Banane-Bleue opened this issue Oct 11, 2024 · 9 comments
Open

Windows 11 ARM Visual C++ Error #51

La-Banane-Bleue opened this issue Oct 11, 2024 · 9 comments

Comments

@La-Banane-Bleue
Copy link

IMG_20241011_065733
I aerly install visual C++ 2005 3 times (I have literraly 3 visual C++ 2005 install).

@ccomrade
Copy link
Owner

Hello, the runtime library fails to initialize something. Game.log content is needed.

@La-Banane-Bleue
Copy link
Author

The problem is just that the game won't start without a keyboard.

@ccomrade
Copy link
Owner

So it works with keyboard plugged-in?

@dasnullman
Copy link

From what it looks like, using a proper USB 3.0 to C converter should allow you to have a keyboard which might solve your problems. Consider also adding a mouse in the mix with a USB hub

@La-Banane-Bleue
Copy link
Author

La-Banane-Bleue commented Oct 28, 2024 via email

@x-Frames
Copy link

x-Frames commented Nov 3, 2024

similar issue with Cryinput.dll on my 2017 MacBook Air with a custom precision touchpad driver, I have to switch to the default Apple drivers then back to open Crysis or the Editor (same result unpatched)

@m-carlock
Copy link

Similar issue on Windows 11 PC.

Game.log

@ccomrade
Copy link
Owner

ccomrade commented Feb 2, 2025

Similar issue on Windows 11 PC.

Game.log

Well, this is something else.

Engine crashes because it cannot save Documents/My Games/Crysis/Profiles/default/profile.xml due to an invalid path. The problem is also visible at the beginning of the log:

User directory: c:\users\maxtr\onedrive\?????????\my games/crysis

Crysis is an old application and it doesn't handle paths with non-ASCII characters well.

I think in your case, you need to either fix the name of your Documents folder, so it doesn't contain special characters, or change the user directory that Crysis uses. Luckily, c1-launcher has -userpath for that. Create an empty directory that is writable without admin rights ("Program Files" where the game is installed is not). For example, C:\Crysis and then run the game with -userpath C:\Crysis.

By the way, thanks for the report. This is something that definitely needs to be fixed as well. It seems modern Windows puts Documents into OneDrive under some weird directory name. I suspect localization is the problem here. English version of Windows 11 works fine:

User directory: C:\Users\dhryz\OneDrive\Documents\My Games\Crysis

@m-carlock
Copy link

Appreciate the quick response!
Renaming the OneDrive folder to "Documents" did the trick and the game was able to create the folder C:\Users\maxtr\OneDrive\Documents\My Games\Crysis

Weirdly, this non-ASCII folder name in OneDrive is some throwback to having the Microsoft account first created while overseas a couple decades ago. The actual Windows 11 install is US/English.

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

5 participants