UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

An error occured while trying to load: Root Chunk is nsta not FORM

Open UnknownSandwich opened this issue 1 year ago • 6 comments

Describe the bug

My data.win file got deleted because my father uninstalled a game, and that data.win file was inside the game's folder. Then i used recuva to restore it but when i tried to open, i got this error "An error occured while trying to load: Root Chunk is nsta not FORM"

Reproducing steps

Bulbfish i got a screenshot of the error.

Setup Details

Im using UndertaleModTool latest version.

UnknownSandwich avatar Feb 12 '24 21:02 UnknownSandwich

Sounds like the restoration failed. How big is the restored file? If you have a hex editor, what does it look like with that?

Jacky720 avatar Feb 12 '24 21:02 Jacky720

Sounds like the restoration failed. How big is the restored file? If you have a hex editor, what does it look like with that?

its 53.418KB

UnknownSandwich avatar Feb 12 '24 21:02 UnknownSandwich

Okay, but what do the actual contents look like in the hex editor?

Jacky720 avatar Feb 12 '24 21:02 Jacky720

Okay, but what do the actual contents look like in the hex editor?

image this you mean?

UnknownSandwich avatar Feb 12 '24 21:02 UnknownSandwich

Hmm, that doesn't look like a normal data.win file... But I don't see the root chunk "nsta" (root chunk is the first four bytes in a data file) either, which is weird. You'll probably have to reinstall the game and redo your changes.

Jacky720 avatar Feb 12 '24 21:02 Jacky720

thats unfortunate.

UnknownSandwich avatar Feb 12 '24 21:02 UnknownSandwich

If the file gets deleted and you're trying to recover it with external tools, theres no guarantee that the file will be exactly as before closing as UTMT is not the issue here.

Miepee avatar May 07 '24 21:05 Miepee