4 ms·
On Chrome, the download works better when I right-click and select "Save link as". Chrome mentions that it's not secure because it's http. I've just uploaded th
by laurentlb 3y ago
On Chrome, the download works better when I right-click and select "Save link as". Chrome mentions that it's not secure because it's http. I've just uploaded the file here, maybe it will work better: https://ctrl-alt-test.fr/dl/The_Sheep_and_the_Flower.zip https://ctrl-alt-test.fr/dl/The_Sheep_and_the_Flower.zip
If you open the zip file, you'll see multiple files. The biggest (200kB) is a screenshot for reference. It's not used, you can delete it. We didn't include a resolution selector in the executable file; instead we provided one binary for each resolution (e.g. The_sheep_and_the_flower-1920x1080.exe).
- ant6n 3y agoIt’s a kind of ironic beauty to minify this project all the way down to 8kb for example by developing a minifying source-to-source compiler, and then using a parameter-by-copied-executable scheme for the screen resolution.
- lifthrasiir 3y agoI was curious of that too. Technically it should be possible to read the executable file name (via `GetModuleFileName`, because you don't necessarily have `argv`) and pick the resolution accordingly. But that would take at least 30 more bytes in my wild guess...
- laurentlb 3y agoFor the justification: it's the standard approach when doing 4kB intros, we just copied it. At the end, we had ~30 spare bytes, so we could have looked for an alternative.
- lifthrasiir 3y agoTo be clear: I'm completely okay with that! Early 64K demos didn't have that either anyway.