My character movement got deleted and i didn’t realize it until after id saved and closed the engine. It will take too long to rewrite it so i need a way to bring an earlier exported copy of my game into the engine.
Thanks for the info, gertkeno. Just to clarify, if the exported game wasn’t embedded with the .pck file, does that mean there’s no way to recover the original GDScript or scenes from it? Also, has anyone here actually had success using GDRETools to restore parts of their project, like scripts or scenes, from a .pck? Curious about what’s realistically possible.
I actually figured it would be much harder to extract from an embedded export than a pack file; the linked program states it can extract from either.
I haven’t used this tool, but I know that Godot only exports the compressed files so it will not totally recover most resources. Textures for example are all in .ctex format. I could see GDScript when packed to binary tokens removing all comments and maybe (but unlikely) variable/function names, this also happens when de-compiling traditional programs.
I just tried it out and I was able to see all the scripts - minus all comments. (Which is to be expected.) Also in the .godot/imported folder I found all the images and sound files I had in the game. Plus I could preview them in the decompiler. This is a really nice tool. Thanks for pointing it out @gertkeno.