Comments (9)
Godot 3.x and above references resources by source, not by import. You can't directly load resources like STEX files, you have to convert them back to PNGs and then import them.
from gdsdecomp.
I see. How do I convert them back into pngs? I thought I could do it by just removing the first couple of bytes but when I opened the stex file in a hex editor it doesn't look like a stex file (I checked the source code and a stex file should start with GST)
from gdsdecomp.
You can either use options under the RE tools menu in the editor, or you can extract it using project export via CLI. I explain how to do that in my comment here: #19 ; I'll have to write up instructions for the readme
from gdsdecomp.
I tried using the the option under the Resources menu but it just gave me a ton of errors :(
from gdsdecomp.
I decided to make an empty test project to try something. Extracting the .stex file worked fine when I didn't check the embed pck file option. But when I did, the .stex file seems to be corrupted. I'm using 7zip to get the pck that's embedded from the exe file, which gives me a checksum error. It still generates a pck file, but I'm not sure if the data there is correct.
Note that I can still get png files from the pck file that was extracted with 7zip with Dragon Unpacker, but the png files don't have the original names. I'm looking for a method that would allow me to extract png files from a Godot exe with an embedded pck with their names intact. Otherwise I have to play the world's most boring matching game.
from gdsdecomp.
I'd take a look at that PR and attempt to get full project export working via the CLI, as this extracts all the resources and convert them back to their source (i.e. stex to png). If you can't, I'll try to have something more extensive written up this weekend for the Readme.
from gdsdecomp.
Can the CLI extract an embedded pck?
from gdsdecomp.
yup! Handles both embedded and standalone PCKs.
from gdsdecomp.
Alright, the GUI editor was able to get all the files from the game successfully! Thanks for making this great tool!!! 👍🏼 😊 😍
from gdsdecomp.
Related Issues (20)
- Recursively decompile .GDC files
- Failed to recover pck in 0.5.3 and failed to decompile .gde file HOT 1
- Conversion of Resource of type AudioStreamOggVorbis not implemented HOT 10
- Can't restore ctex png files? HOT 1
- Conversion for Resource of type FontFile and format ttf not implemented
- Decompiled game cannot be compiled again HOT 2
- Extremely small UI for Mac HOT 1
- Decompression not implemented yet for texture format BPTC_RGBA (png) HOT 1
- Godot says "Load failed due to missing dependencies: <Path to code.gd>", but code can be opened in any text editor HOT 1
- @export annotations to nodes/arrays in Godot 4.1.1 game (Buckshot Roulette) export do not work correctly HOT 1
- Arrays are all empty HOT 1
- If I write with c++ in Godot engine, can that be reversed too? HOT 4
- Error: Couldn't load project data at path ".". Is the .pck file missing? HOT 1
- Deleted HOT 3
- How to compile decompiled project HOT 1
- ObjectDB instances leaked at exit HOT 2
- Error when decompiling gde files HOT 2
- godot 2.1.7 looks like not support HOT 5
- Add support for 4.x compiled scripts
- Exporting Buckshot Roulette v1.2.2, getting weird issue when exporting. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdsdecomp.