4 ms·
I kind of like these things, but (unless I missed it!) they don't seem to specify their constraints. So clearly the graphics wouldn't fit in 8kB, so what does t
by olddustytrail 3y ago
I kind of like these things, but (unless I missed it!) they don't seem to specify their constraints. So clearly the graphics wouldn't fit in 8kB, so what does that mean?
It could be a cool SDL competition where you allow a version and a set of assets and then let slip the dogs of war.
- kristianp 3y agoIf you look in the download link they give [1], the zip file contains multiple different 8kB exe files, for different resolutions. So it seems the target is executable size. [1] http://aduprat.com/pub/The_Sheep_and_the_Flower.zip http://aduprat.com/pub/The_Sheep_and_the_Flower.zip
- jsheard 3y agoFor PC intros the rules are generally that your 8kB (or whatever size) executable has to run alone, with no other files, on a bone stock install of Windows with no internet access. That means that yes, the graphics and sound are all generated on the fly by the 8kB exe.
- olddustytrail 3y agoBut stock version of Windows has a ton of stuff you can use. All sorts of graphics and audio files. And that again depends on which version you're basing it on. I think it would be cool to run a competition with more specific (and platform independent) set of constraints. I guess I should spend more time thinking about how to organise it myself than complaining that no-one else has!
- msk-lywenn 3y agoIt's usually forbidden to rely on those files as they can disappear with updates of windows. The best example I can think of is General MIDI. The files were avaialble with XP and below, and is now often explicitly forbidden because it's not available anymore or not in the same form making demos incompatible. It's also often forbidden to use the filename to store data. There was that case of the 256B demo that relied on a deep hierarchy of directories to work :)
- jsheard 3y agoIndeed, the rules for the Revision party where this was released require the intro to run on Windows 10 (so implicitly no MIDI) and specify that the sample music that comes with Windows will be deleted. https://2023.revision-party.net/competitions/pc/ https://2023.revision-party.net/competitions/pc/
- jsheard 3y agoThere are competitions for all sorts of retro computer and game console platforms which are "purer" in the sense that there's little to no operating system at all, so the demo has to be programmed against the bare metal. That's not feasible for modern PCs though, you need the OS infrastructure and drivers to abstract over the variety of hardware. Or if you're web-inclined you could use the browser as your OS: https://0b5vr.com/domain/domain.html https://0b5vr.com/domain/domain.html / https://www.youtube.com/watch?v=D2COWeeEqTs https://www.youtube.com/watch?v=D2COWeeEqTs https://fms-cat.github.io/condition/pages https://fms-cat.github.io/condition/pages / https://www.youtube.com/watch?v=co42e8ErbaY https://www.youtube.com/watch?v=co42e8ErbaY
- ogurechny 3y agoHas been done and discussed (flamed) ages ago, in the early Windows demos era. An operating system has a lot of “free” data, graphical or otherwise (from wallpapers to icon resources), which can be used directly or processed into something else. The code to access them cam become too big, but hacks are possible. There's also a question of fonts. Is it OK to use them to “just put some text on screen”, is it OK to use them as a source of all kinds of curves? It is hard to define where “the program” ends, and the rest of the system starts. After all, they all need to load libraries to interact with GPU into their process space. Those libraries have debug functions, example data, and other junk which is not used to put pictures on screen, but is available. Then what if a tiny application links to 50 system libraries only to have a database of potentially suitable data sequences here and there? And long before that, even regular software on microcomputers struggling to save each byte relied on known values being in known locations in ROM. It worked, because each device came from the factory with the same firmware, and it could never ever be changed for the reason I've just mentioned. The solution turns out to be pretty simple: if you think you're smart, other smart people will study your trick, and decide whether it's impressive, or just a one-time joke. Formal rules for demoparties don't mention many possible “size extending techniques” because it's generally accepted that they won't help much compared to what can be done in the same amount of bytes directly by a competent author.
- GuB-42 3y agoReusing graphics and audio is usually not done, except for fonts, and here, it is not the case since there is no text. Also, if you look at the rules for the compo this intro took part of, most obvious reuse of what's on Windows is not allowed: https://2023.revision-party.net/competitions/pc/ https://2023.revision-party.net/competitions/pc/ In reality, the multi-gigabyte OS everyone seems to complain about when a sizecoding demoscene production is shown is mostly there as a compatibility layer. You simply can't use modern GPUs without it. One could conceivably do all that on the bare metal with not that much difference in size, the problem is that there is no powerful enough bare metal platform where you can do that. If you prefer to work closer to the hardware, that's what the "oldschool" and "wild" categories are for. But these are more about overcoming the limited abilities of these platforms than pure sizecoding.
- laurentlb 3y agoThe result is an 8kB Windows executable file. It is self-contained: there's only one .exe file, that generates everything (without resource files). You can download it and execute it (it requires a relatively recent GPU). I'll see how I can edit the text to make this more obvious.
- olddustytrail 3y agoI understand that. I guess I'm complaining that I need to download several GBs of Windows that I don't use in order to run this 8kB file...
- libraryatnight 3y ago[flagged]
- jll29 3y agoWow, it's not even an ASCII art movie! Thanks for uploading a Youtube video since a certain legacy operating system is generally not available (by design) in my household.
- mrb 3y ago"clearly the graphics wouldn't fit in 8kB" is a nice compliment for the authors - because yes they did fit everything in 8kB :)