Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Need capability to be able to skip over object/file when having issue loading folder or show the file giving issue. #1079

Open
SteamedBunX opened this issue Nov 29, 2022 · 0 comments

Comments

@SteamedBunX
Copy link

I'm current trying to unpack "Nikke - Goddess of victory" Files, and there has been some issue i've came accross.
I'm not sure if this is because of file corruption or something but some of the file within their asset packs are not loadable.
When the file is included it will crash the asset studio. And this is the error.

   at AssetStudio.AssetsManager.ProcessAssets() in C:\projects\assetstudio\AssetStudio\AssetsManager.cs:line 554
   at AssetStudio.AssetsManager.Load(String[] files) in C:\projects\assetstudio\AssetStudio\AssetsManager.cs:line 62
   at AssetStudio.AssetsManager.LoadFolder(String path) in C:\projects\assetstudio\AssetStudio\AssetsManager.cs:line 37
   at AssetStudioGUI.AssetStudioGUIForm.<>c__DisplayClass52_0.<loadFolder_Click>b__0() in C:\projects\assetstudio\AssetStudioGUI\AssetStudioGUIForm.cs:line 163
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at AssetStudioGUI.AssetStudioGUIForm.loadFolder_Click(Object sender, EventArgs e) in C:\projects\assetstudio\AssetStudioGUI\AssetStudioGUIForm.cs:line 163
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

The error does not state which file is the issue. It also will crash the assetstudio as a whole instead of loading non-encrypted/corrupted files.
This is causing me unable to load the folder as a whole, instead i'm seperating the files into small chunks so i can check where the failed file is.
Would like have one of the following features added to asset studio:

  • Skip over file/object that's causing issue and continue to load anything that's loadable.
  • Display the path to the file that's causing issue within the folder on crash report.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant