The VG Resource
Shovel Knight .ANB File Format - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Project Organization (https://www.vg-resource.com/forum-118.html)
+---- Thread: Shovel Knight .ANB File Format (/thread-27196.html)

Pages: 1 2 3


Shovel Knight .ANB File Format - Daxar - 05-28-2015

Hey there!

I've been busy the past week or so figuring out the file formats for WayForward's games. Now, it turns out that Shovel Knight was made by a branch-off company from WayForward, and they use similar technology. Namely, similar .anb files, which are where the sprites are located.

I took a brief glance at the file format some time ago, without realizing that it was indeed the same format. In fact, the YCLZ compression headers I found were just renamed WFLZ headers... like are in most modern WayForward titles.

Since the sendspace links in that thread are dead now, and I appear to have misplaced the .anb's that I downloaded and looked at before, anybody mind sending me some .anb's to look at? (Or some .pak files and I can extract them myself). Some .tex files, if there are any, would be swell also, so I can double-check that that format's the same, too. For now, Shovel Knight's sitting in my Steam wishlist, waiting for the Summer Sale like all the other WayForward titles...

If anybody wants to package the sprites up into sheets, that's swell too. If not, I'd need all the .anb files and I can sheet them myself.

Thanks!


RE: Shovel Knight .ANB File Format - Ton - 05-28-2015

Oh man, this is awesome.


RE: Shovel Knight .ANB File Format - Daxar - 05-31-2015

Update: Shane C from Yacht Club Games was a complete bro and actually gave me a copy of the game and offered to help with the format, so mad props to this guy. He's been super helpful in the past, as well.


RE: Shovel Knight .ANB File Format - Carpaccio - 05-31-2015

I hope the files I sent you were helpful towards this. I really want to see some content from Shovel Knight!


RE: Shovel Knight .ANB File Format - Dazz - 05-31-2015

(05-31-2015, 01:42 PM)Daxar Wrote: Update: Shane C from Yacht Club Games was a complete bro and actually gave me a copy of the game and offered to help with the format, so mad props to this guy. He's been super helpful in the past, as well.

That dude is seriously a great person. Really appreciate the effort he puts in for the ripping community while doing his actual job.


RE: Shovel Knight .ANB File Format - Daxar - 05-31-2015

@Carpaccio: Yep, thanks!

It looks like the image format itself is straightforward enough. Everything's just flat WFLZ-compressed without chunks (I'm presuming because there's no real need, as the images are so small). Looks to just be raw pixel data after it's decompressed, in RGBA format. The texture headers are slightly larger, not totally sure what all the new fields are.

[Image: sk_flyingrat10.png]

It also looks like the piece data is somewhere totally different or in a completely different format, so piecing them together might not be the easiest thing ever.


RE: Shovel Knight .ANB File Format - Carpaccio - 05-31-2015

Woo! Awesome, can't wait to see a sheet of the optional Hat boss.


RE: Shovel Knight .ANB File Format - Daxar - 06-01-2015

[Image: sk_shovelknight75.png]
Getting there! I've got the piece format figured out (Thanks to Shane again), and most files are working. Just have a few that aren't decompressing properly, so I've got to debug those and then I can start making sprite sheets (Unless someone else feels particularly inclined to do so).

Current Source Code


RE: Shovel Knight .ANB File Format - Carpaccio - 06-02-2015

I'd help if I knew the first thing about compiling from source.


RE: Shovel Knight .ANB File Format - Daxar - 06-02-2015

No worries; I'm done. Just finished uploading the sheets.


RE: Shovel Knight .ANB File Format - Hiccup - 06-03-2015

Great work!

Did you find any unused things?


RE: Shovel Knight .ANB File Format - Daxar - 06-03-2015

Oddly enough, I don't think so (Though I can't be sure, as I haven't finished the game myself). Most WayForward titles have had some leftover editor stuff at least, but nothing unused so far as I can tell here.


RE: Shovel Knight .ANB File Format - DKanimation - 06-03-2015

100% sprites? Like, backgrounds? All characters and more? I do animations on my youtube channel and like to create animations with sprites of Shovel Knight. Big Grin


RE: Shovel Knight .ANB File Format - Daxar - 06-03-2015

Good point; backgrounds seem to be stored in the level .ltb files (I should probably rip these and upload them also), which are WFLZ compressed but after decompressing are in the following wonderful format:

[Image: sk_levelmapcanvas.png]

I think these are just map tiles that the rest of the .ltb stitches together entirely (This is my guess, since the paths at the bottom don't repeat).

As for characters and everything else, check out the rip page, it should be everything.

EDIT: Added tilesets to the rip sheets. Looks like they're 16x16 tiles with padding around them, with some larger tiles... I'm not sure if it's really worth the hassle reconstructing the levels entirely, as there's probably tile layers and such. That might also venture from "ripping sprites" to "reconstructing the game" at that point. Tongue You can probably reconstruct the levels with a program like Mappy with these images anyway.


RE: Shovel Knight .ANB File Format - DKanimation - 06-03-2015

Oh my god, this work should be too complicated 0.o
I wish you luck in rip these sheets! I'll be looking forward, peace Bro!