bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.47k stars 147 forks source link

GUI Error? (Mac) #101

Closed ItzKeneh closed 1 year ago

ItzKeneh commented 1 year ago

Hey there, I have a 2011 mac mini, version 10.13.6, not the best thing in the world but it's what I got for now. I downloaded the latest Godot re tools for mac. When it opens I am met with this (First Screenshot). So obviously I ran the command through the terminal and it does open. However, I am just stuck on a gray window (Screenshot 2). I assume it's because of my shitty mac, but I hope that's not the case and I can get this working! I would appreciate any help or confirmation that it's because of my mac. Let me know if you need more info!

Screen Shot 2022-12-09 at 12 46 33 PM

Screen Shot 2022-12-09 at 12 48 26 PM

nikitalita commented 1 year ago

Unfortunately, your GPU is old enough that it doesn't run Vulkan, which is the default renderer for Godot 4. I think you might be able to run with the GLES renderer, but I am not sure if that's still an option for macOS. In a terminal, can you run "Godot RE Tools.app\Contents\MacOS\Godot RE Tools" --help --verbose and post the output here?

nikitalita commented 1 year ago

derp, it has the command line option to do that right there in the message box. Just try that.

ItzKeneh commented 1 year ago

derp, it has the command line option to do that right there in the message box. Just try that.

I did do the command line option from the message box. As stated before, I am met with the gray box. As for the other command you sent this is what it returned.

Screen Shot 2022-12-09 at 1 06 56 PM

[EDIT]

When adding just the verbose argument instead of help, it returns this.

Screen Shot 2022-12-09 at 1 09 45 PM

nikitalita commented 1 year ago

try "Godot RE Tools.app\Contents\MacOS\Godot RE Tools" --headless --help.

ItzKeneh commented 1 year ago

Screen Shot 2022-12-09 at 1 22 04 PM

nikitalita commented 1 year ago

Talking with one of the Godot devs, it appears that while Godot 4.x retains the opengl3 renderer, it's not guaranteed to work on macOS for all hardware (chalk it up to Apple's crappy OpenGL support). Unfortunately, it looks like that's the case here.

You can still run this as a CLI tool though, and it does everything that the GUI does: "Godot RE Tools.app\Contents\MacOS\Godot RE Tools" --headless --recover=<game>.pck --output-dir=<output-dir>

(make sure to include the = for the parameter values, this is a limitation of the godot cli parser)

ItzKeneh commented 1 year ago

THANKS! That was all I needed! You're a godsend!

nikitalita commented 1 year ago

Yo, I just released 0.5.0, which uses the GL renderer by default. They’ve apparently made some improvements to old Mac support; Can you give this a test to see if this works for you in GUI mode? https://github.com/bruvzg/gdsdecomp/releases/tag/v0.5.0

ItzKeneh commented 1 year ago

Plot twist: I have a new pc and no longer use mac. Sorry.

nikitalita commented 1 year ago

Ah, well at least you've upgraded and can use the new Godot 4 vulkan features :)