Tempting, hadn't thought of using a packer but then I'd want to aim for < 100 kbc4s wrote:Try UPX. Using "--ultra-brute" it just has 129.024 Bytesidle wrote:Still haven't got the exe below 200kbNext update maybe

UPX sets off to many AV's but I could pack it myself considering it's already linked to zlib
and it's easy enough to roll a stub loader. I think < 100Kb with a packer would be possible though
I'd have to write another ~1000 lines of code to replace the resources with procedural code to draw the symbols.
that would save ~42kb.
I will get it under 200Kb once I've worked out how to build a filter graph that allows me to grab wav samples from directshow, then I can ditch ~1000 lines of mixer code.
It just goes to show how good Purbasic is as an overall package.