Duck Game

Duck Game

View Stats:
Vudjun Aug 7, 2015 @ 11:52am
Duck Game Hat Creation Tool (Quackhead)
Hi,

I made a web tool which make creating duck game hat packs really easy!
http://penguinscode.github.io/Quackhead/quackhead.html
(Click the instructions button for instructions)

You still need to make the images yourself, but it removes the need to do any coding.
I've tested it in the latest Chrome and Firefox, but if you have issues, either create a github issue or post the problem here. (I've only been able to test it myself so far)

Source code is available at https://github.com/penguinscode/Quackhead

My original plan for this was to export as .hat files, which would allow people to use the hats in all games without anyone having to install a mod, but based on BroDuck's post here, I think the devs want to keep control of distributing .hat files for now.

Let me know what you think! :)

EDIT:
The tool can now export .hat files! ^.^

EDIT2:
Pachetez messaged me saying they were getting stuck on the ping screen between games after downloading a "♥♥♥♥ ton" of hats.
We fixed it by removing all the .hat files and verifying the game cache. Hopefully this helps someone.
Last edited by Vudjun; Aug 13, 2015 @ 7:04pm
< >
Showing 1-15 of 70 comments
Jvs Aug 7, 2015 @ 12:14pm 
I dunno, considering that superjoebob said that he'd release a hat making tool at some point it makes me think that the .hat method is not forbidden.

Mostly because the way we have hats right now is really splitting the (matchmaking) community up, and even though the .hat method would lose the "made by the dev" authenticity, it is needed.

I think you just misunderstood broduck's post :senpai:.
Last edited by Jvs; Aug 7, 2015 @ 12:23pm
Ivy Aug 7, 2015 @ 4:56pm 
While you are keeping the .hat files secure for now, I'm curious. Has the encoding process for .hat files been discovered?
Vudjun Aug 7, 2015 @ 5:04pm 
I don't think anyone's posted it publically. I've definitely seen a few people other than myself with custom hats though. I discovered the encoding process through decompiling.

Also, Paril posted in General Discussion that custom hats weren't forbidden, so I'll probably release something to create them in the coming week.
Ivy Aug 7, 2015 @ 5:55pm 
As have I. I feel once custom hats are out, they won't be as amazing, but still neat. So I have a request. I have a hat guide and right now it shows all custom hats.

1. Do you have any pictures of other people's custom hats?

2. I shall be quitting the custom hat section once custom hats are allowed, so as an exception as what I feel is one of the first people to reverse-engineer, per-se, hat files. Would you mind sharing a hat image (regular and quacking, but not the .hat file itself) so that I may document this interesting info? Preferrably the first one you've done, along with a date.
Depressed Emu Aug 10, 2015 @ 9:13am 
i just tried quackhead, pretty cool, but once my hats are loaded in the game, it appears that there is a white square around them. I used Paint to make them, so do the problem come from here or is it something else ?
Ivy Aug 10, 2015 @ 9:55am 
Originally posted by kaptainzigloo:
i just tried quackhead, pretty cool, but once my hats are loaded in the game, it appears that there is a white square around them. I used Paint to make them, so do the problem come from here or is it something else ?

Yes, paint doesn't do transparency. Try paint.net, I personally use it all the time and it's a rather good tool.
Depressed Emu Aug 10, 2015 @ 10:42am 
Thanks a lot for helping.
Maybe soon you'll see my hatpack published on the community mods... who knows ? ;)
riz Aug 10, 2015 @ 12:09pm 
I want to thank you for creating this tool. It helped me alot!
Last edited by riz; Aug 10, 2015 @ 12:10pm
Depressed Emu Aug 11, 2015 @ 7:14am 
Just another question, I can't found any clear answer on the net : How the f*ck can delete pixels so they become transparent in paint.net ?
Vudjun Aug 11, 2015 @ 7:39am 
Originally posted by kaptainzigloo:
Just another question, I can't found any clear answer on the net : How the f*ck can delete pixels so they become transparent in paint.net ?
The eraser tool will make pixels transparent, as will selecting an area and pressing delete.
Make sure you've selected the correct layer if you have more than one, you can only erase pixels on the layer you've selected.
Once transparent, this pixels will show checkered gray and white boxes.

(Also, for pixel art such as hats, set the eraser settings to Width 1, Hardness 100%, antialiasing off and pixel quality so you can erase single pixels cleanly)
Depressed Emu Aug 11, 2015 @ 8:02am 
thanks. a. lot.
June Lavender Aug 13, 2015 @ 7:45pm 
hey, I made a hat and people say it's invisible. I tried a bunch of time, restarted steam and everything. Do I just put the .hat file on my duck game folder? how would other people even see that?

http://i.imgur.com/NCl35Oa.png
Ivy Aug 13, 2015 @ 7:49pm 
Originally posted by Sirwoof:
hey, I made a hat and people say it's invisible. I tried a bunch of time, restarted steam and everything. Do I just put the .hat file on my duck game folder? how would other people even see that?

http://i.imgur.com/NCl35Oa.png

Now that is a creepy hat. And yes, that should be everything. It sends the file to them so I don't know why your hat is appearing as invisible to others.
Vudjun Aug 13, 2015 @ 9:10pm 
Did some investigation with SirWoof on his hat, it looks like the png itself is causing problems with sending the custom hat over the network.
ducklog contained "Message unpack failure, possible corruption." a lot.
I opened the png in Paint.NET and re-saved it, it then worked fine.
I suspect the problem was that the png was too large (16KB), when I resaved it it was under 1KB. It was originally created using photoshop.

Edit: The maximum file size for the .hat is 8KB. The message is prefixed with the file length in bits as an unsigned short.
Last edited by Vudjun; Aug 13, 2015 @ 9:18pm
Depressed Emu Aug 14, 2015 @ 5:04am 
Will I be able to publish hats exported as a modpack ?
Or should I export them as .hat files ?
< >
Showing 1-15 of 70 comments
Per page: 1530 50