-
Notifications
You must be signed in to change notification settings - Fork 79
[BUG] Failed to setup VFS #471
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Upon creation of a project, giving it a directory, selecting only param editor, and then supplying the data directory with where the game lives, loading the project causes this error. The box will show up about 5 times before loading into SmithBox, where it shows no data. Clicking on any fields are completely empty.
The log is supplied with the following.
[17:19:17] [StudioCore.Application.ProjectEntry] Failed to setup VFS
A positive capacity must be specified for a Memory Mapped File backed by an empty file.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, HandleInheritability inheritability, Boolean leaveOpen)
at Andre.Formats.BinderArchive..ctor(String bhdPath, String bdtPath, Game game) in ./src/Andre/Andre.Formats/BinderArchive.cs:line 195
at Andre.IO.VFS.ArchiveBinderVirtualFileSystem.<>c__DisplayClass12_0.<FromGameFolder>b__0(String s) in ./src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs:line 115
at System.Linq.Enumerable.IEnumerableWhereSelectIterator`2.ToArray()
at Andre.IO.VFS.ArchiveBinderVirtualFileSystem.FromGameFolder(String folder, Game game) in ./src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs:line 114
at StudioCore.Application.ProjectVFS.Initialize() in ./src/Smithbox.Program/Project/ProjectVFS.cs:line 64
at StudioCore.Application.ProjectEntry.Init(Action`1 reportProgress, Boolean silent, ProjectInitType initType) in ./src/Smithbox.Program/Project/ProjectEntry.cs:line 164
[17:19:18] [x4] [StudioCore.Editors.TextureViewer.ShoeboxLayoutContainer] Failed to load Shoebox Layout: 01_common
Nullable object must have a value.
at System.Nullable`1.get_Value()
at StudioCore.Editors.TextureViewer.ShoeboxLayoutContainer.Setup() in ./src/Smithbox.Program/Renderer/Texture Manager/Shoebox/ShoeboxLayoutContainer.cs:line 38
[17:19:18] [StudioCore.Editors.MaterialEditor.MTDWrapper] [Material Editor] Failed to read /mtd/allmaterialbnd.mtdbnd.dcx
Could not find file /mtd/allmaterialbnd.mtdbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MTDWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 132
[17:19:18] [StudioCore.Editors.MaterialEditor.MTDWrapper] [Material Editor] Failed to read /mtd/speedtree.mtdbnd.dcx
Could not find file /mtd/speedtree.mtdbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MTDWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 132
[17:19:18] [StudioCore.Editors.MaterialEditor.MATBINWrapper] [Material Editor] Failed to read /material/allmaterial_dlc01.matbinbnd.dcx
Could not find file /material/allmaterial_dlc01.matbinbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MATBINWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 298
[17:19:18] [StudioCore.Editors.MaterialEditor.MATBINWrapper] [Material Editor] Failed to read /material/allmaterial_dlc02.matbinbnd.dcx
Could not find file /material/allmaterial_dlc02.matbinbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MATBINWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 298
[17:19:18] [StudioCore.Editors.MaterialEditor.MATBINWrapper] [Material Editor] Failed to read /material/allmaterial.matbinbnd.dcx
Could not find file /material/allmaterial.matbinbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MATBINWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 298
[17:19:18] [StudioCore.Editors.MaterialEditor.MATBINWrapper] [Material Editor] Failed to read /material/speedtree.matbinbnd.dcx
Could not find file /material/speedtree.matbinbnd.dcx
at Andre.IO.VFS.VirtualFileSystem.ReadFileOrThrow(String path) in ./src/Andre/Andre.IO/VFS/VirtualFileSystem.cs:line 77
at StudioCore.Editors.MaterialEditor.MATBINWrapper.Load() in ./src/Smithbox.Program/Editors/Material Editor/Data/MaterialBank.cs:line 298
[17:19:18] [StudioCore.Editors.ParamEditor.ParamBank] Param Editor] Failed to find regulation.bin in Primary
[17:19:18] [StudioCore.Editors.ParamEditor.ParamBank] [Param Editor] Failed to find param\systemparam\systemparam.parambnd.dcx in Primary
[17:19:18] [StudioCore.Editors.ParamEditor.ParamData] [Param Editor] Failed to fully setup Primary Bank.
[17:19:18] [StudioCore.Editors.ParamEditor.ParamBank] Param Editor] Failed to find regulation.bin in Vanilla
[17:19:18] [StudioCore.Editors.ParamEditor.ParamBank] [Param Editor] Failed to find param\systemparam\systemparam.parambnd.dcx in Vanilla
[17:19:18] [StudioCore.Editors.ParamEditor.ParamData] [Param Editor] Failed to fully setup Vanilla Bank.
Additonal Context
If it helps, my game is on an external NVME.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
