Nyan Cat 1k by Aardbei [web]
screenshot added by snq on 2011-08-03 17:35:13
platform :
type :
release date : august 2011
  • rulez 72
  • is ok 5
  • sucks 10
popularity : 1%
  • rulez 0.71
alltime top: #987
added on the 2011-08-03 17:35:13 by snq snq

popularity helper

increase the popularity of this prod by spreading this URL:


Totally nice!
Music! Cat! 1023 bytes! Guys you're rocking!
rulezadded on the 2011-08-03 17:41:23 by closed closed
Safe version is greatly runs on XP.
added on the 2011-08-03 17:43:55 by closed closed
in 1k.
rulezadded on the 2011-08-03 17:46:41 by wysiwtf wysiwtf
And happy birthday! </3
added on the 2011-08-03 17:47:13 by closed closed
rulezadded on the 2011-08-03 17:55:32 by ferris ferris
had to be done
rulezadded on the 2011-08-03 18:08:56 by Saga Musix Saga Musix
kickass !
rulezadded on the 2011-08-03 18:12:34 by MsK` MsK`
nice :)
rulezadded on the 2011-08-03 18:17:07 by Gargaj Gargaj
rulezadded on the 2011-08-03 18:31:26 by deadguy deadguy
The safe version managed to blue screen windows 7, which is a rare feat, I give you that.
added on the 2011-08-03 18:37:30 by tomaes tomaes
rulezadded on the 2011-08-03 18:45:40 by Sir Sir
Nice intro. :D
rulezadded on the 2011-08-03 18:50:11 by halcy halcy
Isn't it missing half the tune though? :S
cute :-)
rulezadded on the 2011-08-03 19:00:12 by uncle-x uncle-x
nyancat is jarig anyone? ;)
added on the 2011-08-03 19:05:29 by wysiwtf wysiwtf
rulezadded on the 2011-08-03 19:24:00 by aha aha
rulezadded on the 2011-08-03 19:53:07 by havoc havoc
Good job.
rulezadded on the 2011-08-03 19:55:36 by rainwarrior rainwarrior
Nyan cat will blow out your birthday cake candles ;)
added on the 2011-08-03 20:00:08 by BackSpace BackSpace
rulezadded on the 2011-08-03 20:10:13 by panic panic
Nice! Runs perfect here on win7x64
rulezadded on the 2011-08-03 20:33:22 by v3nom v3nom
rulezadded on the 2011-08-03 20:34:59 by Alpha C Alpha C
Gefeliciteerd \o/

(Sound but no graphics in Wine, in case you care).
rulezadded on the 2011-08-03 20:49:12 by stage7 stage7
rulezadded on the 2011-08-03 20:58:23 by slack slack
rulezadded on the 2011-08-03 20:59:14 by magic magic
And Aardbei is back :)
rulezadded on the 2011-08-03 21:08:52 by Optimus Optimus
Rather weakly
sucksadded on the 2011-08-03 21:38:48 by marsel84 marsel84
chunky goodness, gefeliciteerd aardbei
rulezadded on the 2011-08-03 21:59:25 by Weyland Yutani Weyland Yutani
Hmm. It's still a 1kb with sound.
rulezadded on the 2011-08-03 23:40:46 by xernobyl xernobyl
I think I woke up neighbours... :D
rulezadded on the 2011-08-03 23:56:41 by leGend leGend
cute :)
rulezadded on the 2011-08-04 00:02:23 by superplek superplek
sometimes I wonder where those ideas come from. cool thing tho. :D
rulezadded on the 2011-08-04 00:07:18 by yumeji yumeji
sucksadded on the 2011-08-04 00:30:33 by BiTL BiTL

with sound!

*NYAN* :3
rulezadded on the 2011-08-04 00:32:55 by rez rez
rulezadded on the 2011-08-04 01:41:00 by iks iks
Delicious 1kb poptart cat!
rulezadded on the 2011-08-04 01:42:44 by jbit jbit
sucksadded on the 2011-08-04 02:35:42 by Brandy Bogard Brandy Bogard
NYAN forever!
rulezadded on the 2011-08-04 03:17:09 by psndcj//tbk psndcj//tbk
=^w^= <333

Really nice how you did it. My version was around 80KB with no compression and full PNG based sprites. Though chuck in BASS, and a Vorbis file for music, that pads out to 300KB, including screensaver port.
rulezadded on the 2011-08-04 07:26:03 by mudlord mudlord
rulezadded on the 2011-08-04 08:25:34 by chromag chromag
rulezadded on the 2011-08-04 08:26:44 by wullon wullon
rulezadded on the 2011-08-04 08:28:44 by okkie okkie
added on the 2011-08-04 08:30:12 by okkie okkie
everybody loves nyan cat!
rulezadded on the 2011-08-04 08:53:53 by marsulpi marsulpi
ohh no.
rulezadded on the 2011-08-04 09:36:20 by las las
pleased my cookie thing : more
rulezadded on the 2011-08-04 09:46:36 by nytrik nytrik
yo mentor\tbc, maybe a 512b version now?.. :)
rulezadded on the 2011-08-04 10:15:31 by RRROAR RRROAR
rulezadded on the 2011-08-04 12:24:20 by xTr1m xTr1m
hiep hiep burraaaaaaaah
rulezadded on the 2011-08-04 13:32:57 by Maali Maali
rulezadded on the 2011-08-04 13:56:09 by BoyC BoyC
I'm glad you guys like it :)

Making win7 bluescreen is quite a feat indeed, I didn't even know it could do that. Obviously works fine here on my win7 install. The only thing I can think of that could cause such a think is maybe a buggy sound driver that doesn't like non-standard sample rates, but I'm not sure how the conversion is handled after sending the stuff to waveout.

As for the tune being incomplete, yes it is.. But adding more patterns would mean something else has to go if it's going to fit in 1k. The patterns didn't compress too good (48->33 bytes), tried a couple different transforms on the data but nothing helped. The full tune has 2 more patterns (+intro) which would probably add another 40-50 bytes compressed as well as a bit more code. Anyway, it's not like it gets a whole lot less repetitive so I think it's fine :)

As for how it's done in 1k, feel free to load one of the unpacked versions in your favorite disassembler, probably more readable than the sourcecode (which is quite a hacky mess).

With a packer that is adapted for 1k it should be possible to make it a little bit smaller but 512 bytes is not gonna happen ;) Or well, I guess it depends on how much detail you want in it. Removing the music would free up around 120 bytes (less imports, less code, data also becomes more compression-friendly), you could make the entire cat static without tail waggling or moving feet, maybe remove the starfield too, as mentioned in the nfo the sprinkles also take about 10 bytes and can really be removed. I guess as long as it looks like a cat with a rainbow behind it it qualifies as a nyan cat :)
The actual intro code/data are 315/220 bytes compressed, the rest is overhead. Obviously on top of that it's still going to need an import loader+data (it imports 11 funcs from 4 dlls), a decompressor, and a PE header. It'd be fun to know how it would compress with TBCs 1k packer though :) I actually started writing my own 1k packer using the zlib functions in d3dx9_30.dll (worse compression than crinkler, but less overhead) but as it turns out crinkler really made a huge difference for compressing the data, about 100 bytes smaller, so I decided it would probably turn out to be not worth the effort, so I just used crinkler instead.
added on the 2011-08-04 14:53:24 by snq snq
The tech. details make it fun to watch _and_ read about.
added on the 2011-08-04 16:05:04 by superplek superplek
yay only the c64 and 512bytes version left
rulezadded on the 2011-08-04 16:15:36 by Princess_Luna Princess_Luna
rulezadded on the 2011-08-04 16:21:09 by Defiance Defiance
rulezadded on the 2011-08-04 16:22:40 by numtek numtek
Upthumb for Nico still being alive and not eaten by polar bears!
rulezadded on the 2011-08-04 16:32:37 by Inopia Inopia
rulezadded on the 2011-08-04 18:14:38 by ileaardbei ileaardbei
can someone please post a youtube link :P
rulezadded on the 2011-08-04 22:54:12 by freed_0hM freed_0hM
I don't want to accuse anyone of ripping in case I'm wrong, but I'm sure I've seen same this animation elsewhere.
added on the 2011-08-04 23:46:05 by Wade Wade
rulezadded on the 2011-08-05 09:56:09 by pandur pandur
Sweet and efficient :)
rulezadded on the 2011-08-05 13:45:33 by Hexogen Hexogen
That 1025-1 catfight:-D Brilliant release and details so openly given in the readme. Doing an animated sprite like that and a tune such this with only few bytes is almost impossible, but you proved otherwise.
rulezadded on the 2011-08-05 15:30:59 by funkdoobiest funkdoobiest
rulezadded on the 2011-08-05 16:54:51 by soolta soolta
Cool. I wasn't expecting it to actaully have music :)
rulezadded on the 2011-08-06 10:45:13 by Tjoppen Tjoppen
sucksadded on the 2011-08-06 21:48:32 by AntDude AntDude
mixed feelings
rulezadded on the 2011-08-08 17:13:17 by provod provod
awsum TM
rulezadded on the 2011-08-08 17:55:57 by psolord psolord
rulezadded on the 2011-08-08 18:39:16 by nekomono nekomono
not interesting
sucksadded on the 2011-08-15 10:11:47 by krusty krusty
rulezadded on the 2011-08-16 10:40:47 by kb_ kb_
cool stuff
rulezadded on the 2011-08-16 11:53:31 by gibs gibs
forgot to thumb this up. man it rocks bigtime!
rulezadded on the 2011-08-16 19:34:26 by rudi rudi
sucksadded on the 2011-08-17 22:43:00 by rutra80 rutra80
so trashy!
rulezadded on the 2011-08-26 19:58:53 by Spewk Spewk
sucksadded on the 2011-08-29 22:27:37 by seriva_sun seriva_sun
no no
sucksadded on the 2011-08-29 23:36:40 by xpsire xpsire
instant nyan thumb
rulezadded on the 2011-08-30 11:52:42 by jasuy jasuy
rulezadded on the 2011-08-30 13:15:20 by Silent Silent
snq <3
rulezadded on the 2011-08-30 15:00:02 by cg_ cg_
this is the happiest day of my life!
rulezadded on the 2011-09-02 13:07:55 by zoi zoi
rulezadded on the 2011-09-26 15:55:56 by Buckethead Buckethead
rulezadded on the 2011-12-03 15:22:35 by すすれ すすれ
nyan nyan ^_^
rulezadded on the 2011-12-03 15:35:29 by frag frag
rulezadded on the 2011-12-04 08:52:07 by zerkman zerkman
sucksadded on the 2011-12-12 07:04:34 by kimi kandler kimi kandler
rulezadded on the 2012-01-08 20:38:33 by Romano58 Romano58
Should've thumbed this.
rulezadded on the 2012-03-07 13:52:51 by moozooh moozooh
rulezadded on the 2013-07-24 19:43:39 by ɧคɾɗվ. ɧคɾɗվ.
rulezadded on the 2013-07-28 02:37:23 by T$ T$
sucksadded on the 2013-08-05 16:24:47 by Xyl2k Xyl2k
rulezadded on the 2014-12-21 10:03:24 by sensenstahl sensenstahl
rulezadded on the 2015-04-24 17:43:52 by stijn stijn

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment