Jump to content
  • 0

GRF Editor (Failed to decompress data.)


Technoken

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

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
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  261
  • Reputation:   53
  • Joined:  11/11/16
  • Last Seen:  

Well since you have a copy,  make a back up while you can.   You can always try using a different version of grf editor to see if your results change.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  07/01/12
  • Last Seen:  

Solutions? Update the post please, i have the same problem

 

image.png.fca22d4eeaa872350c4b0912bdeb8ffb.png

Edited by FelipeMartins
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  03/08/21
  • Last Seen:  

@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."

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  657
  • Reputation:   662
  • Joined:  11/12/12
  • Last Seen:  

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.

Link to comment
Share on other sites

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.

×
×
  • Create New...