bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.34k stars 134 forks source link

Godot says "Load failed due to missing dependencies: <Path to code.gd>", but code can be opened in any text editor #157

Closed Dzhake closed 5 months ago

Dzhake commented 6 months ago

System information

Windows 10, Godot 3.5.3

Issue description

I decompiled game, which had encrypted code, by getting key with external tools. i thought that GDRE worked perfect, but when i open any scene it says that "Load failed due to missing dependencies: ". I tried to open that file in notepad, and it worked fine. I even opened whole project in vscode without any problems. I even can see file in godot, but godot still says that file is not found.

Steps to reproduce

I wanted to reproduce it, but looks like i need to compile godot to make project with encryption, which looks hard and long. If you want to get the project, send friend invite on discord to dzhake, and ask for it. I don't want to upload at here, because that's piracy, because project is not mine and it's not free. (it's not small)

Recovery log

gdre_export.log

Minimal reproduction project

No response

Dzhake commented 6 months ago

In vscode i saw Code.gd.remap, which remaped to .gde. I just used replace .gde with .gd and now everything opens fine! yay! Not closing cuz this counts as bug report, but now thanks god i know why it happens!