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

Crash on startup caused by a failure to rename d3d11.dll to d3d11_old.dll #158

Open
Bottswana opened this issue Jul 29, 2024 · 0 comments
Open

Comments

@Bottswana
Copy link

Hello.

Odd one here. Was getting a crash starting the game since the launch of Dawntrail via XIVonMac. Inspecting the logs, noticed this:

2024-07-29 12:22:29.718 +01:00 [INF] Waiting for Dalamud to be ready...
2024-07-29 12:22:29.718 +01:00 [INF] [HOOKS] DalamudLauncher::HoldForUpdate(gp:/Users/james/Library/Application Support/XIV on Mac/ffxiv)
2024-07-29 12:22:29.718 +01:00 [INF] Starting game...
2024-07-29 12:22:37.164 +01:00 [INF] SqexLauncher::LaunchGame(args: UserPath=Z:\Users\james\Library\Application Support\XIV on Mac\ffxivConfig)
2024-07-29 12:22:37.165 +01:00 [INF] ArgumentBuilder::DeriveKey() fixing up rawTickCount from 696519137 to 2142628016 on macOS
2024-07-29 12:22:37.165 +01:00 [INF] ArgumentBuilder::DeriveKey() rawTickCount:2142628016 ticks:2142628016 key:2142568448
2024-07-29 12:22:37.165 +01:00 [INF] ArgumentBuilder::BuildEncrypted() checksum:"t"
2024-07-29 12:22:37.165 +01:00 [INF] [HOOKS] DalamudLauncher::Run(gp:/Users/james/Library/Application Support/XIV on Mac/ffxiv, cl:"English")
2024-07-29 12:22:37.306 +01:00 [ERR] [GraphicsInstaller] error renaming wine dx dll /Users/james/Library/Application Support/XIV on Mac/wineprefix/drive_c/windows/system32/d3d11.dll
Error Domain=NSCocoaErrorDomain Code=4 "“d3d11.dll” couldn’t be moved to “system32” because either the former doesn’t exist, or the folder containing the latter doesn’t exist." UserInfo={NSSourceFilePathErrorKey=/Users/james/Library/Application Support/XIV on Mac/wineprefix/drive_c/windows/system32/d3d11.dll, NSUserStringVariant=(
    Move
), NSDestinationFilePath=/Users/james/Library/Application Support/XIV on Mac/wineprefix/drive_c/windows/system32/d3d11.dll.old, NSFilePath=/Users/james/Library/Application Support/XIV on Mac/wineprefix/drive_c/windows/system32/d3d11.dll, NSUnderlyingError=0x600003545cb0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}
2024-07-29 12:22:37.306 +01:00 [ERR] [GraphicsInstaller] error copying dx dll Error Domain=NSCocoaErrorDomain Code=516 "“d3d11.dll” couldn’t be copied to “system32” because an item with the same name already exists." UserInfo={NSSourceFilePathErrorKey=/Applications/XIV on Mac.app/Contents/Resources/dxvk/d3d11.dll, NSUserStringVariant=(
    Copy
), NSDestinationFilePath=/Users/james/Library/Application Support/XIV on Mac/wineprefix/drive_c/windows/system32/d3d11.dll, NSFilePath=/Applications/XIV on Mac.app/Contents/Resources/dxvk/d3d11.dll, NSUnderlyingError=0x6000035b0c60 {Error Domain=NSPOSIXErrorDomain Code=17 "File exists"}
2024-07-29 12:22:37.391 +01:00 [WRN] [DXVK] Corrupt base cache
2024-07-29 12:22:37.395 +01:00 [WRN] [DXVK] Corrupt base cache
2024-07-29 12:22:54.263 +01:00 [ERR] An error during game startup has occured
XIVLauncher.Common.Dalamud.DalamudRunnerException: An internal Dalamud error has occured
   at XIVLauncher.Common.Unix.UnixDalamudRunner.Run(FileInfo, Boolean, Boolean, Boolean, FileInfo, String, IDictionary`2, DalamudLoadMethod, DalamudStartInfo) + 0xcbc
   at XIVLauncher.Common.Dalamud.DalamudLauncher.Run(FileInfo, String, IDictionary`2) + 0x3ac
   at XIVLauncher.Common.Game.Launcher.SqexLauncher.LaunchGame(IGameRunner, String, Int32, Int32, String, DirectoryInfo, ClientLanguage, Boolean, DpiAwareness) + 0x7c8
   at XIVLauncher.NativeAOT.LaunchServices.StartGameAndAddon(LoginResult, Boolean) + 0x23c
   at XIVLauncher.NativeAOT.Program.StartGame(IntPtr, Boolean) + 0x78

Inspecting the wineprefix, noticed there was already a d3d11.dll.old and d3d11.dll. Deleted d3d11.dll and restarted and the game launched.

Note this was with a fresh wineprefix. First diagnostic step was to clear all directories in the install folder except ffxiv and relaunch to rebuild wine.

Issue now fixed from my side but raising this in case logs are helpful.

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

1 participant