pouët.net

Go to bottom

Crinkler & shaders: how to achieve the best compression ratio?

category: code [glöplog]
i stay with hand-optimizing ;)
not a bad idea to have a tool, but i like to be able to still read what i did at a later point of time!
its a job of like an hour to do it by hand! and you do it only once AFTER your intro looks good already!
the advantage of tool is that you can do this hardwork unlimited amount of times, with no effort at all)

you can work with human-readable code, write your shader, and when you need to get a clue about filesize, use shader minifier, and then zip/rar (or compile the intro with crinkler)
and your code stays the same, no need to obfuscate it

at the final stage you can ofcourse do that hardcore optimization by hand. Or with the tool. Or both
added on the 2011-02-10 14:26:49 by unc unc
unc: oops, sorry, I took the party version.
With the final version of Cdak, it saves 11 bytes (using default settings of Shader Minifier).
added on the 2011-02-10 14:29:51 by LLB LLB
that means... all the optimization fuckery... for nothing...
But this is good, because next time no need to do it by hand=) i better learn now to work with shaderminifier efficiently
thank you for this nice tool!
added on the 2011-02-10 14:41:51 by unc unc
Quote:
its a job of like an hour to do it by hand!

exactly.
Quote:
and you do it only once AFTER your intro looks good already!

exactly.
added on the 2011-02-10 15:33:25 by raer raer
Who is moderating pouet.net nowadays? Please state names and church.
added on the 2011-02-10 20:59:14 by Hatikvah Hatikvah
you mean use divine intervention to make shaders smaller? that sounds great, actually!
added on the 2011-02-11 00:56:28 by ryg ryg
I demand a tool that makes ugly and small shaders look impressive!
[Improve Shader] - Button
added on the 2011-02-11 09:28:16 by las las
[Beautify girlfriend]
[Boost ego]
[Improve coding skill]
[Fill bank account]
[Clean pouet from trolls]

you name it...
added on the 2011-02-11 10:13:35 by raer raer
Quote:
Who is moderating pouet.net nowadays?

Pouet? Moderated?
added on the 2011-02-11 10:36:20 by sol_hsa sol_hsa
Be less specific, use a generic label and then think up appropriate functionality! I suggest [hund].

While making kkrieger, we had lots of half-implemented functionality in Wz3 that would crash the tool if used inappropriately (stuff like Ops that would crash if connected the wrong way and things like that). Of course fiver, giZMo and wayfinder would run into those crashes frequently, complain, and chaos and me got annoyed about it at some point ("why are you doing this! we told you not to do it!"). at that point we thought about adding a button labeled "reactor meltdown" to the toolbar that would instantly crash wz3. just so we could tell off people: "why the hell would you press a button that says 'reactor meltdown'?". luckily, we cooled down soon after and never implemented this :)
added on the 2011-02-11 10:38:59 by ryg ryg

login

Go to top