mirror of
https://github.com/4sval/FModel.git
synced 2026-08-06 19:22:58 -05:00
Fortnite fixes, NFS Mobile support, Lord of the Fallen support, DBD dynamic content
Some checks failed
FModel QA Builder / build (push) Has been cancelled
Some checks failed
FModel QA Builder / build (push) Has been cancelled
Co-Authored-By: LongerWarrior <37636768+LongerWarrior@users.noreply.github.com> Co-Authored-By: Garrett Koleda <garrett@genxsoftware.net>
This commit is contained in:
parent
2fefbfebb6
commit
0af2e0b704
|
|
@ -1 +1 @@
|
|||
Subproject commit e218a3bbd67e4dfc198350179aa25bcdaedb4077
|
||||
Subproject commit c43d6707cbde0305e2970d7c527e2ccd26f393c7
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -229,11 +230,17 @@ public class AssetsFolderViewModel
|
|||
return null;
|
||||
}
|
||||
|
||||
var localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
|
||||
foreach (var entry in entries)
|
||||
{
|
||||
TreeItem lastNode = null;
|
||||
TreeItem parentItem = null;
|
||||
var folders = entry.Path.Split('/', StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
var path = entry.Path;
|
||||
if (path.StartsWith(localAppData, StringComparison.OrdinalIgnoreCase))
|
||||
path = path[localAppData.Length..].TrimStart(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
|
||||
|
||||
var folders = path.Split('/', StringSplitOptions.RemoveEmptyEntries);
|
||||
var builder = new StringBuilder(64);
|
||||
var parentNode = treeItems;
|
||||
|
||||
|
|
|
|||
|
|
@ -201,6 +201,10 @@ public class CUE4ParseViewModel : ViewModel
|
|||
[
|
||||
new(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\KONAMI\\eFootball\\ST\\Download")
|
||||
], SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
"DeadByDaylight" => new DefaultFileProvider(new DirectoryInfo(gameDirectory),
|
||||
[
|
||||
new(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\DeadByDaylight\\Saved\\PersistentDownloadDir\\DynamicContent")
|
||||
], SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
_ when versionContainer.Game is EGame.GAME_AshEchoes => new AEDefaultFileProvider(gameDirectory, SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
_ when versionContainer.Game is EGame.GAME_BlackStigma => new DefaultFileProvider(gameDirectory, SearchOption.AllDirectories, versionContainer, StringComparer.Ordinal),
|
||||
_ when versionContainer.Game is EGame.GAME_HonorofKingsWorld => new HoKWDefaultFileProvider(gameDirectory, SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user