mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
pagination qa
This commit is contained in:
parent
37025228a2
commit
e1b9529d6f
|
|
@ -1 +1 @@
|
|||
Subproject commit 7001bda784112a00e15968e3d49d5a237907afd0
|
||||
Subproject commit 2aed4da1ee440cd421222526bdc501031f685be6
|
||||
|
|
@ -85,7 +85,7 @@ public partial class MainWindow
|
|||
#if DEBUG
|
||||
// await _threadWorkerView.Begin(cancellationToken =>
|
||||
// _applicationView.CUE4Parse.Extract(cancellationToken,
|
||||
// _applicationView.CUE4Parse.Provider["FortniteGame/Plugins/GameFeatures/Juno/JunoGame/Content/Environments/Landscape/GrassType/M_Juno_LS_Grass.uasset"]));
|
||||
// _applicationView.CUE4Parse.Provider["Marvel/Content/Marvel/Characters/1050/1050300/Meshes/SK_1050_1050300_Lobby.uasset"]));
|
||||
// await _threadWorkerView.Begin(cancellationToken =>
|
||||
// _applicationView.CUE4Parse.Extract(cancellationToken,
|
||||
// "RED/Content/Chara/ABA/Costume01/Animation/Charaselect/body/stand_body01.uasset"));
|
||||
|
|
|
|||
|
|
@ -133,17 +133,18 @@ public class CUE4ParseViewModel : ViewModel
|
|||
customVersions: new FCustomVersionContainer(currentDir.Versioning.CustomVersions),
|
||||
optionOverrides: currentDir.Versioning.Options,
|
||||
mapStructTypesOverrides: currentDir.Versioning.MapStructTypes);
|
||||
var pathComparer = StringComparer.OrdinalIgnoreCase;
|
||||
|
||||
switch (gameDirectory)
|
||||
{
|
||||
case Constants._FN_LIVE_TRIGGER:
|
||||
{
|
||||
Provider = new StreamedFileProvider("FortniteLive", versionContainer);
|
||||
Provider = new StreamedFileProvider("FortniteLive", versionContainer, pathComparer);
|
||||
break;
|
||||
}
|
||||
case Constants._VAL_LIVE_TRIGGER:
|
||||
{
|
||||
Provider = new StreamedFileProvider("ValorantLive", versionContainer);
|
||||
Provider = new StreamedFileProvider("ValorantLive", versionContainer, pathComparer);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
@ -155,12 +156,12 @@ public class CUE4ParseViewModel : ViewModel
|
|||
[
|
||||
new(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\StateOfDecay2\\Saved\\Paks"),
|
||||
new(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\StateOfDecay2\\Saved\\DisabledPaks")
|
||||
], SearchOption.AllDirectories, versionContainer),
|
||||
], SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
"eFootball" => new DefaultFileProvider(new DirectoryInfo(gameDirectory),
|
||||
[
|
||||
new(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\KONAMI\\eFootball\\ST\\Download")
|
||||
], SearchOption.AllDirectories, versionContainer),
|
||||
_ => new DefaultFileProvider(gameDirectory, SearchOption.AllDirectories, versionContainer)
|
||||
], SearchOption.AllDirectories, versionContainer, pathComparer),
|
||||
_ => new DefaultFileProvider(gameDirectory, SearchOption.AllDirectories, versionContainer, pathComparer)
|
||||
};
|
||||
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ public class Options
|
|||
{
|
||||
var guid = o.LightingGuid;
|
||||
if (Textures.TryGetValue(guid, out texture)) return texture != null;
|
||||
if (o.Format == EPixelFormat.PF_BC6H) return false; // BC6H is not supported by Decode thus randomly crashes the app
|
||||
|
||||
SKBitmap bitmap = o switch
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user