Others How do i extract spine files from goddot?

boredman110

Member
Jan 19, 2019
108
200
208
Using GDREtools, i’ve been trying to extract spine files in order to create and add custom animations as a mod. However, it seems GDREtool is currently unable “convert” the atlas and spine files, usually leaving them as imports. I don’t know if there’s another tool or a way to reverse engineer the files in the goddot engine itself
 

osanaiko

Engaged Member
Modder
Jul 4, 2017
3,357
6,447
707
Using GDREtools, i’ve been trying to extract spine files in order to create and add custom animations as a mod. However, it seems GDREtool is currently unable “convert” the atlas and spine files, usually leaving them as imports. I don’t know if there’s another tool or a way to reverse engineer the files in the goddot engine itself
There's not many devs that are actively using Godot. papel is one of them - I summon thee, Papel!
 

papel

Active Member
Game Developer
Sep 2, 2018
565
762
152
There's not many devs that are actively using Godot. papel is one of them - I summon thee, Papel!



Alright, what the fuck is going on in this thread?

Spine? You mean ?

Anyway, I never fucked around with reverse-engineering any Godot game, so I'm assuming the .PCK is unencrypted? What game are we talking about?
 
  • Haha
Reactions: osanaiko

boredman110

Member
Jan 19, 2019
108
200
208
Anyway, I never fucked around with reverse-engineering any Godot game, so I'm assuming the .PCK is unencrypted? What game are we talking about?
Doesn't have an official name yet but its . It also uses the GDExtension you linked. I did some more testing and I believe I can still create animations with the spine files already imported through the engine, but the dev's notes seems to hint that goddot is inferior compared to spine itself, hence why I was wondering if it was possible to extract those files back to their original spine ones,
 

papel

Active Member
Game Developer
Sep 2, 2018
565
762
152
One thing you can try is extracting the entire contents of the .PCK, then renaming the file, that should make the executable try to load the contents from the folder it's in. If this works, opening the .import file with a text editor will point to the correct directory/name of the spine animation it'll look for, so you can at least leave something there for the game to attempt to load.

Getting the existing spine off the PCK is a different thing altogether, as even a search for "gdretools "spine"" doesn't return anything. You may want to open an issue on their github
 

boredman110

Member
Jan 19, 2019
108
200
208
One thing you can try is extracting the entire contents of the .PCK, then renaming the file, that should make the executable try to load the contents from the folder it's in. If this works, opening the .import file with a text editor will point to the correct directory/name of the spine animation it'll look for, so you can at least leave something there for the game to attempt to load.

Getting the existing spine off the PCK is a different thing altogether, as even a search for "gdretools "spine"" doesn't return anything. You may want to open an issue on their github
I already asked the GDREtools dev about compatibility regarding spine files, in which he replied that wasn't going to add compatibility himself. I can't use the engine itself to make animations as it seems you can only preload animations already built in from the import files.

Between this and not knowing anything about file extractions, I think I hit a brickwall with this.