AkiniKites / AloysAdjustments

Mods for Horizon Zero Dawn
MIT License
100 stars 13 forks source link

App won't launch #9

Closed drickerby closed 3 years ago

drickerby commented 3 years ago

I've downloaded the latest release and extracted it from the .zip, but when double clicking the .exe nothing happens. The app doesn't launch.

I have .Net Core 3.1.11 installed, but still nothing. Any advice?

Thanks!

AkiniKites commented 3 years ago

Did it generate an error.log file?

drickerby commented 3 years ago

It did, I'm so sorry. Should have thought to include that. Duh. Output below:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\******\AppData\Roaming\Aloy's Adjustments'. at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerator1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options) at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.Directory.GetFiles(String path) at AloysAdjustments.Utility.FileBackup.GetMatchingFiles(String path)+MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at AloysAdjustments.Utility.FileBackup.RunWithBackup(String path, Func1 action) at AloysAdjustments.Configuration.SettingsManager.Load() at AloysAdjustments.Main.LoadConfigs() at AloysAdjustments.Main..ctor() at AloysAdjustments.Program.Main()

drickerby commented 3 years ago

OK I just manually made a folder at that path and now it opens, at least. Do you think it's a permissions thing that the app can't write to my user profile? I even tried running it as administrator just in case it couldn't get access, but I never thought to just make the path itself.

Something to look at maybe? Unless I'm just an outlier.

Cheers for the mod!

drickerby commented 3 years ago

Now I seem to have another issue, which is again probably only affecting a few people.

I run my PC on a 4k TV so naturally my resolution is 3840x2160. As it's nearly impossible to use Windows at this resolution on a 57" TV from a distance, I have Windows scaling set to 300%. Unfortunately, the program doesn't play nice with Windows scaling and is basically unusable at 300% scaling because none of the GUI elements are visible. See attached screenshot for what I mean: aloysadjustments_scaling

I've tried fiddling with the high-DPI settings on the compatibility tab in properties for the .exe, but it doesn't make any difference. The only way I was able to view the program normally was to turn scaling back to 100%, and now my eyes hurt.

AkiniKites commented 3 years ago

Latest version fixes that settings crash on startup. (1.6.6) I'll take a look at the dpi scaling, I was able to reproduce the problem. It fails at very high DPIs, anything below 225% seems to work okay-ish.

AkiniKites commented 3 years ago

High DPI support has been implemented in 1.7