Closed qsniyg closed 5 years ago
PROFILE_Open in the wine source code strongly suggests doing this would help (and also suggests this issue might not actually appear under Windows). If the .ini file is successfully opened, it seems like it will not try to open it again.
I'll try test this code tomorrow, and get some timings on it, and if I'm happy it doesn't break anything and adds value I'll merge it.
Oh wait, this is an issue, not a PR yet. So nothing to test yet.
Sorry, my bad.
No worries, I'm just waiting until I manage to finish winevfs before working on this :)
This appears to cause issues when running FNIS. Running it with pure Skyrim seems to work however.
Perhaps a better solution would be to actually create blank files
An actual solution is to use this mod: https://www.nexusmods.com/skyrim/mods/92725?tab=files
This could potentially significantly improve the initial loading time, by reducing the amount of lookups required.
1) Create the in-memory mod VFS 2) Check for each ESM/ESP, and see if a .ini of the same name exists (e.g. RaceMenu.esp -> RaceMenu.ini) 3) If not, symlink to /dev/null
I haven't tried this, but in theory, it should work.