Soreepeong / XivAlexander

Double weave on high latency, and mishmash of modding tools - especially for fonts and internationalization for Final Fantasy XIV.
Apache License 2.0
720 stars 65 forks source link

Unexpected Error: Cannot find path specified while trying to install #259

Closed farronheichou closed 2 years ago

farronheichou commented 2 years ago

I noticed xivalexander didn't open today with XIVLauncher so I decided to uninstall it and reinstall. When trying to reinstall I get this error. No mods installed other than XIVLauncher and its corresponding plugins.

farronheichou commented 2 years ago

image

Oglaf commented 2 years ago

I thought this was a corrupted installation problem and did a fresh installation without XIVLauncher and GShader because I was getting many DirectX fatal errors.

It looks like SquareEnix has changed their folder structure: image

farronheichou commented 2 years ago

It seems to have worked for me after doing a fresh installation of everything. This is how the folder looks to me

image

Oglaf commented 2 years ago

I did another fresh install through Steam and repaired files through FFXIV Launcher, launched the game "normally" and using XIVLauncher. Still no DirectX DLL.

I opened the game on my notebook and I noticed after an update the DLLs were gone.

Could you zip d3d11.dll and share with me?

Soreepeong commented 2 years ago

Pressing "Install" button from loader will copy the files to game folder. Make sure to install when the game is not running.

Oglaf commented 2 years ago

Selecting "Install XivAlexander as d3d9 and d3d11" gives me the error above.

Soreepeong commented 2 years ago

Are you using any antivirus software? Try adding to exceptions, then restart, then try again.

Oglaf commented 2 years ago

No anti-virus, using Windows 11 v22000.376, disabled real-time protection. Same problem.

Soreepeong commented 2 years ago
  1. Does your Windows username contain any non-ASCII character? I think I fixed it, but it might still be tripping, so just in case. ASCII Table
  2. Did you extract all files first from the zip download from Release page, and then ran Loader?
    • You cannot have reached that messagebox to begin with if this was the case, but still.
  3. Did your latest install error message happen when you haven't even installed GShade yet?
    • That error message does not make sense if you did extract all files from release zip first and the game installation does exist at that path (minus d3d11.dll). GShade placing a file link on GShade install might be a culprit, especially if you removed GShade but for some reason it did not remove the file link automatically.
    • If d3d11.dll remains after removing GShade, remove it manually, and try installing XivAlexander again.

For d3d11.dll placed by XivAlexander install, it's simply nothing more than a copy of XivAlexander64.dll. You can refer to Installation and Load Once if you'd like to try setting it up yourself.

Oglaf commented 2 years ago
  1. No, my windows username is chris, that shouldn't be a problem.
  2. Yes, I downloaded the lasted release and unzipped using 7zip and ran load as administrator.
  3. I haven't touched GShade since I have deleted and re-downloaded the game to confirm if game crash is related to XIVAlexander or any other mod/gshade.

I do have FF14 installed on a custom path, but the loader is able to detected it: image

To be honest, I am testing NoClippy as an alternative and I am not in a rush to solve it manually. I have seen another Issue was raised about the same problem (#222). I will not touch modding or GShade right now to keep the "Bug Scenario" untouched if you desire to keep investigating.

Is it possible to add an exception if renaming and pasting XivAlexander64.dll fails?

Edit: It looks like the exception changed from copy_file to rename: image