Users browsing this thread: 1 Guest(s)
Genshin Impact web event, getting spine json/skel and atlas
#4
(02-24-2023, 03:36 PM)RingOfFury Wrote:
(02-24-2023, 12:46 PM)RiffOsci Wrote: This took me a while, but I managed to find Dehya's .json and .atlas files.

[Image: Spine-g1-N9m-VHr4-W.png]
How? Going to "vendors_0d58d93961ffe11e6f83.js", we can see that the .json and .atlas files are loaded like this:
[Image: vivaldi-a4mbpwg-Att.png]
[Image: vivaldi-b-W6e-Kf-Xvsc.png]
And so, I had to find her title files by copying the lines, remove the unnecessary bits, format them and imported them to Spine.

Dehya's hair flowing animation? That's not included in the .json, it may be procedurally animated.

Sadly, I'm not motivated enough to give you a full tutorial, but hopefully, this should help you out.

Thanks for the info. Couple of questions, I'm not well versed in this js pilfering stuff so bear with me

What program are you using to view the js? I'm just viewing it in browser, and the Chinese characters aren't encoded properly.

How did you identify the start/end of the corresponding json for the spine animation data? Since it's loading in a whole bunch of them. The formatting for this part also seems intact, if I'm looking at it correctly?

And the formatting for the atlas is primarily just adding linebreaks where denoted? 

And uh, I don't suppose it'd be too much to ask for the files? Planning to do it on my own for the learning, but a working reference would be great lol
1. The inspect tool in Vivaldi. That could be because you didn't turn on Unicode support for programs. If you are on Windows, go here.

2. Any lines that starts with "{"skeleton":" is a .json file.

3. Yeah, you need Visual Studio Code, in order to replace the "\n" with newlines. Go to Visual Studio Code, create a new text file (New -> New Text File), search "\nsize", double-click on the line that contains the "nsize" property, copy and paste to VSCode, and then remove any unneccesary Javascript code bits. Press Control+H, click on the little star button on the top right corner, and enter this:
[Image: Code-d-DZK9-UH27-M.png]
Press on enter until there's no more \n's. Save the file as a .atlas file, are you're done!

4. Sure! You need Spine 4.1.19 in order to properly load the files. I'll send it to you via private message.
"Hey, hey, hey! Light the lamp, NOT THE RAT, LIGHT THE LAMP, NOTDARAT!!!!" - Rizzo: The Muppet Christmas Carol

Currently tinkering a few game engines around.

PFP from The Epic Tales of Captain Underpants.
Reply
Thanked by:


Messages In This Thread
RE: Genshin Impact web event, getting spine json/skel and atlas - by RiffOsci - 02-24-2023, 04:48 PM

Forum Jump: