Jump to content
  • 0

GRF Editor (Failed to decompress data.)


Question

Posted (edited)

Can anyone help me about GRF editor? I'm having this error when I'm using GRF editor. I successfully decrypt my grf, but whenever I try to extract the files or even click to view the files it's always throwing up an error

--------------          Message          --------------
Failed to decompress data.
--------------        Stack trace        --------------
   at GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
   at GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
   at GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry)
   at GRFEditor.WPF.PreviewTabs.FilePreviewTab.<Update>b__2()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

--------------         Exception         --------------
GRF.ContainerFormat.GrfException: Failed to decompress data.
   at GRF.ContainerFormat.GrfExceptions.ThrowFailedToDecompressData()
   at GRF.Core.GrfCompression.CustomCompression.Decompress(Byte[] compressed, Int64 uncompressedLength)
   at GRF.Core.FileEntry._getDecompressedData()
   at GRF.ContainerFormat.ContainerEntry.GetDecompressedData()
   at GRFEditor.WPF.PreviewTabs.PreviewText._load(FileEntry entry)
   at GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry)

Btw i'm using GRF editor 1.8.0. I also used this to encrypt this GRF. Decrypting the grf works well before and I can change the datafiles in it. But now IDK what actually happened why this error started showing.

Is there anyway to save my data files? I'm actually frustrated right now coz I don't have any backup of this GRF data files. :(:( 

EDIT:

IDK what happened but it seems  working now. But still there are times that the grf editor is saying the same error. What I did is grab another copy of my grf and try to decrypt it again and somehow it works. 

Edited by Technoken

4 answers to this question

Recommended Posts

  • 0
Posted
10 hours ago, tibbersx said:

@Tokei having same problem. also cannot extract a certain Act/Spr file then something will pop up 
"An  unhandled exception has been thrown

Generic failure: a task in the thread pool has failed to finish properly. The current operation will be cancelled."

You should open a new thread/question, as this is from 2017. Anyway, it simply means the entry is corrupted or encrypted, most likely encrypted.

  • 0
Posted

@Tokei having same problem. also cannot extract a certain Act/Spr file then something will pop up 
"An  unhandled exception has been thrown

Generic failure: a task in the thread pool has failed to finish properly. The current operation will be cancelled."

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...