• 0 Posts
  • 36 Comments
Joined 1 month ago
cake
Cake day: June 23rd, 2024

help-circle
  • Popular myth but untrue.

    The ROM is exactly 40 kiB or 40 960 bytes. The NES outputs video at a resolution of 256×240=61 440 pixels. The game never switches palettes mid-frame and thus the highest possible number of colors (of the 64 available ones, of which 55 are distinct) in any screenshot is: 4 sprite palettes × 3 non-transparent colors per palette = 12 colors among all sprites; plus 4 background palettes × 3 selectable colors per palette + 1 selectable color shared between all palettes = 13 colors in the background; or 25 colors in total.

    Even one of the most basic lossless image formats, GIF, can use an n-bit palette of 2−1 arbitrary colors plus transparent, where 1≤n≤8. For n=5, we can store up to 31 colors at 5 bits per pixel, or 307 200 bits total, which is 38 400 bytes. The palette entries, size etc. will take about 200 bytes at most, and LZW compression built into the format (or even better, whatever PNG uses) can be used to reduce the file size further (significanly because there are huge areas filled with solid color or patterns).

    I’d bet it’s possible to make an NES ROM that does nothing but fill the screen with noise-like tiles and switches the colors mid-frame, likely in just 8 kiB of video ROM plus 2 kiB of program ROM, whose screenshots will never compress to below 10 kiB in PNG format, though.





  • ChaoticNeutralCzech@feddit.orgtoMemes@lemmy.mlI said let him cook
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    1
    ·
    1 day ago

    They did this stunt at the Olympics opening ceremony.
    Imagine Olympics float
    People have played actually burning pianos (usually old, crap ones) but getting good tunes out of the instrument is not compatible with heating the strings that much, they detune and snap. I think they just used a keyboard built into an otherwise empty piano case with some gasoline.








  • I am using Shreddit on Linux. It goes through each line in comments.csv from the GDPR export I requested, which is more complete than the data PowerDeleteSuite gets access to. PowerDeleteSuite basically clicks through your comment history on old.reddit.com and submits edit requests, while Shreddit uses the powerful API (it’s not paid for personal use but you need to register the client, see the github page) and will find all comments thanks to the legally-mandated completeness of the GDPR export (if supplied; it will use the API to retrieve the comment list otherwise). BTW, you can alter the comments.csv for a custom filter (for example, I want to use a Czech string in Czech subreddits). You can use it on Windows (and it’s an easier installation) but because of non-POSIX shenanigans, newlines in the replacement string won’t work there.

    If using PowerDeleteSuite, make sure to download the log file it supplies before you close the window or your original comment content will be lost!