Giter Site home page Giter Site logo

Comments (9)

nikitalita avatar nikitalita commented on May 28, 2024

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.

 avatar commented on May 28, 2024

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.

nikitalita avatar nikitalita commented on May 28, 2024

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.

 avatar commented on May 28, 2024

I tried using the the option under the Resources menu but it just gave me a ton of errors :(

from gdsdecomp.

 avatar commented on May 28, 2024

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.

nikitalita avatar nikitalita commented on May 28, 2024

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.

 avatar commented on May 28, 2024

Can the CLI extract an embedded pck?

from gdsdecomp.

nikitalita avatar nikitalita commented on May 28, 2024

yup! Handles both embedded and standalone PCKs.

from gdsdecomp.

 avatar commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.