- Edited
Workaround for missing mesh data?
When I import the skeleton file from Darkest Dungeon, the meshes get shrunk, is there any good way to scale them up again? Image removed due to the lack of support for HTTPS. | Show Anyway
The nonessential data is missing.
Version 2.1.27
Texture Packer:
Max width/height 4096
Power of two unchecked
EDIT: is there any way in the newer versions?
Hello FoxInABox, so if I understand correctly:
- you are using Editor Version 2.1.27 and this project has data from this version
- you probably lost the original source file because you are trying to retrieve data from a json and an atlas
- you are trying to import json data into a new project
- when you exported this data you didn't check nonessential data
- now weird things happen just on the meshes, right?
Can you confirm what I'm assuming is true?
Also, were the original textures bigger than the ones in the atlas file, that maybe got exported for use in game?
If you could be more descriptive it would be of great help to understand (:
link removed~ - The 3 files
NOTE BOTTOM EDIT
- Yes, using 2.1.27 and data from that version (the creators of the game have confirmed that it is this version)
- I was hoping to modify one of the characters from the game mentioned, it only comes with the skeleton and atlas files and game graphics (which the skeleton file also includes)
- I first started on the latest version because it have the option to unpack atlas files, after doing that I changed it down to 2.1.27 again and imported it there, then I got all the errors mentioned, but it finds all the images.
- the game came with the data exported already, so I guess they didn't check nonessential data
- yes, happens just with the meshes.
So I do not know what the original textures looked like, but I assume they are the same size since the skeleton file contain a image that is the same size
Hm, exporting it out as a json with nonessential data checked could make it easier for me to write a program to scale up the values from the json file using the image sizes as the max values. Pretty sure json files are readable. (I'll have to check this out)
In the worst case I will take my time to re-position them one by one, I was just hoping there was some easier way ..
EDIT: Currently working on a possible solution
Oh, updating the post puts it on top, that was not intentional..
Don't worry (: I discovered later you're trying to mod, can you ask the devs for the source Spine file? wouldn't that make things easier? Or at least to re-export the json so you can open it s: I'd understand if they didn't want to share the sources but since they're allowing modding it would be the best thing (:
If they can't supply the Spine project files, maybe they could export with nonessential data to help modders.
@Erikari mentioning the JSON files was enough to get the cogs spinning for me, so thanks for that ^^
Yeah, I guess I could ask them, but I ended up treating this as a coding challenge Image removed due to the lack of support for HTTPS. | Show Anyway
Made an editor that lists all the meshes that got any points.
The red shows how the original data is and the blue is it scaled up automatically to match the image width
So I just need to select the one I want to edit from the list, if the blue mask isn't okay then I can do small scale adjustment with some buttons, or just press enter and the changes is stored to the JSON file.
It was very interesting to look up how spine build up its JSON structure.
Still think it is a bit funny I had to make this because I couldn't scale up a group of points in spine but so be it.
So tomorrow I'll use 5 min to fix all the files .. then I need to hit the tutorials and start using the program ^^