-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
742eaf2
commit 053ad0f
Showing
7 changed files
with
391 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Win32", | ||
"includePath": [ | ||
"${workspaceFolder}/modules/gdsdecomp/**", | ||
// set an includes to your platform directory (windows, linuxbsd, etc.) | ||
"${workspaceFolder}/platform/windows", | ||
"${workspaceFolder}/**" | ||
], | ||
"defines": [ | ||
"_DEBUG", | ||
"UNICODE", | ||
"_UNICODE", | ||
"WINDOWS_ENABLED", // Set the platform enabled for your platform | ||
"MINIZIP_ENABLED", | ||
"TOOLS_ENABLED", | ||
"MODULE_REGEX_ENABLED", | ||
"NO_EDITOR_SPLASH", | ||
"GLES3_ENABLED" | ||
], | ||
"windowsSdkVersion": "10.0.19041.0", | ||
"compilerPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe", | ||
"cStandard": "c17", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "windows-msvc-x64" | ||
// It is recommended you don't enable compile_commands.json, as it seems to screw up the includes for gdsdecomp | ||
//"compileCommands": "compile_commands.json" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
// Recommended extensions for developing gdsdecomp | ||
"recommendations": [ | ||
"ms-python.black-formatter", | ||
"ms-vscode.cpptools" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
// This is to test decompiling Game PCKs, this uses the debug editor binary | ||
{ | ||
"name": "(Windows) Launch CLI recovery (editor dev)", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/godot.windows.editor.dev.x86_64.exe", | ||
"args": [ | ||
"--headless", | ||
"--path", | ||
"${workspaceFolder}/modules/gdsdecomp/standalone", | ||
// Put the pck you want to test here | ||
"--recover=${workspaceFolder}/../wherever_the_pck_you_want_to_test_is", | ||
"--output-dir=${workspaceFolder}/../wherever_you_want_the_output_to_be" | ||
], | ||
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"console": "externalTerminal" | ||
}, | ||
// Use this to launch the GDRE standalone GUI, this uses the debug editor binary | ||
{ | ||
"name": "(Windows) Launch GDRE Standalone (editor dev)", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/godot.windows.editor.dev.x86_64.exe", | ||
"args": [ | ||
"--path", | ||
"${workspaceFolder}/modules/gdsdecomp/standalone" | ||
], | ||
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"console": "internalConsole" | ||
}, | ||
// Use this to launch the standalone editor with the template_release binary | ||
{ | ||
"name": "(Windows) Launch GDRE Standalone (template_release)", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/godot.windows.template_release.x86_64.exe", | ||
"args": [ | ||
"--path", | ||
"${workspaceFolder}/modules/gdsdecomp/standalone" | ||
], | ||
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"console": "internalConsole" | ||
}, | ||
// This launches the editor to edit the standalone Godot project | ||
{ | ||
"name": "(Windows) Launch Editor (gdre standalone) (editor Debug)", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/godot.windows.editor.dev.x86_64.exe", | ||
"args": [ | ||
"-e", | ||
"--path", | ||
"${workspaceFolder}/modules/gdsdecomp/standalone" | ||
], | ||
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"console": "externalTerminal" | ||
}, | ||
{ | ||
"name": "(Windows) Launch Editor (test project) (editor Optimized)", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/godot.windows.editor.x86_64.exe", | ||
"args": [ | ||
"-e", | ||
"--path", | ||
//"${workspaceFolder}/modules/gdsdecomp/standalone" | ||
"${workspaceFolder}/../godot-projects/godot-4.x-test-project" | ||
], | ||
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"console": "internalConsole" | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
{ | ||
"files.associations": { | ||
"*.rpy": "renpy", | ||
"*.INF": "ini", | ||
"*.h": "cpp", | ||
"algorithm": "cpp", | ||
"fstream": "cpp", | ||
"sstream": "cpp", | ||
"xiosbase": "cpp", | ||
"xlocmes": "cpp", | ||
"locale": "cpp", | ||
"memory": "cpp", | ||
"mutex": "cpp", | ||
"thread": "cpp", | ||
"xlocale": "cpp", | ||
"xlocmon": "cpp", | ||
"xlocnum": "cpp", | ||
"xloctime": "cpp", | ||
"*.inc": "cpp", | ||
"array": "cpp", | ||
"bitset": "cpp", | ||
"deque": "cpp", | ||
"initializer_list": "cpp", | ||
"list": "cpp", | ||
"queue": "cpp", | ||
"random": "cpp", | ||
"span": "cpp", | ||
"stack": "cpp", | ||
"type_traits": "cpp", | ||
"vector": "cpp", | ||
"xhash": "cpp", | ||
"xstring": "cpp", | ||
"xtree": "cpp", | ||
"xutility": "cpp", | ||
"atomic": "cpp", | ||
"forward_list": "cpp", | ||
"iterator": "cpp", | ||
"chrono": "cpp", | ||
"streambuf": "cpp", | ||
"map": "cpp", | ||
"set": "cpp", | ||
"condition_variable": "cpp", | ||
"iomanip": "cpp", | ||
"ostream": "cpp", | ||
"system_error": "cpp", | ||
"tuple": "cpp", | ||
"unordered_map": "cpp", | ||
"unordered_set": "cpp", | ||
"utility": "cpp", | ||
"xfacet": "cpp", | ||
"xlocbuf": "cpp", | ||
"xmemory": "cpp", | ||
"functional": "cpp", | ||
"complex": "cpp", | ||
"xtr1common": "cpp", | ||
"charconv": "cpp", | ||
"cmath": "cpp", | ||
"compare": "cpp", | ||
"cstddef": "cpp", | ||
"format": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"new": "cpp", | ||
"numeric": "cpp", | ||
"optional": "cpp", | ||
"ratio": "cpp", | ||
"shared_mutex": "cpp", | ||
"stop_token": "cpp", | ||
"*.rh": "cpp", | ||
"filesystem": "cpp", | ||
"string": "cpp", | ||
"ZIP.C": "cpp", | ||
"UNZIP.C": "cpp", | ||
"exception": "cpp", | ||
"xlocinfo": "cpp", | ||
"bit": "cpp", | ||
"cctype": "cpp", | ||
"cinttypes": "cpp", | ||
"clocale": "cpp", | ||
"concepts": "cpp", | ||
"csignal": "cpp", | ||
"cstdarg": "cpp", | ||
"cstdint": "cpp", | ||
"cstdio": "cpp", | ||
"cstdlib": "cpp", | ||
"cstring": "cpp", | ||
"ctime": "cpp", | ||
"cwchar": "cpp", | ||
"ios": "cpp", | ||
"iosfwd": "cpp", | ||
"iostream": "cpp", | ||
"stdexcept": "cpp", | ||
"typeinfo": "cpp", | ||
"xstddef": "cpp" | ||
}, | ||
"editor.formatOnSave": true, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true, | ||
}, | ||
"git.scanRepositories": [ | ||
"${workspaceFolder}", | ||
"${workspaceFolder}/modules/gdsdecomp" | ||
], | ||
"git.repositoryScanMaxDepth": 4, | ||
"gitlens.detectNestedRepositories": true, | ||
"gitlens.advanced.repositorySearchDepth": 4, | ||
"C_Cpp.errorSquiggles": "enabled", | ||
"search.useIgnoreFiles": false, | ||
"search.useGlobalIgnoreFiles": true, | ||
"search.useParentIgnoreFiles": true, | ||
"black-formatter.args": [ | ||
"-l 120" | ||
] | ||
} |
Oops, something went wrong.