this post was submitted on 18 Feb 2024
973 points (99.0% liked)

Lemmy Shitpost

27189 readers
5544 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 297 points 10 months ago (1 children)
[–] [email protected] 130 points 10 months ago (3 children)

SMB had game file size limitations in the dozens of kilobytes range.

[–] Jerkface 160 points 10 months ago (2 children)

For comparison, that screenshot is 342kb, and Super Mario Bros is 40kb. The screenshot is more than 8.5 times bigger than the game it comes from.

[–] [email protected] 95 points 10 months ago* (last edited 10 months ago) (2 children)

I managed to recreate almost the same screenshot in 5kb (and with much less compression artifacts!)

before adding the text and circles it was only 1.6kb

it's a case where jpeg compression ironically results in the picture getting 60x larger and more blurry because everyone recompresses the images and jpeg is designed for large photos and not pixel art

[–] [email protected] 37 points 10 months ago (2 children)

Use png and IDK I don't remember which cmd line soft but it stripped out unused colors and compressed images like that one hard.

That, without the red lines and circles, and without jpeg jitter should be like 1kb. Or less less.

Now, as an oldtimer, when you load that 1kb image up, it will still take like 640x320 bytes (it was all 8bit) so 200KB of RAM. But back in the day I guess it was more like the original GB 160x144 so 22.5KB RAM needed to show that image.

Did it work like that?

No, because cartridges didn't have a lot of space, and the consoles didn't have much RAM, so you used tiles. You had a tile map image, each tile was 8x8 pixels pointing to a palette (so you could use 4-bits for the color. More or less so, there were a lot of 'modes'). Each tile had a number and your screen was some 20x18 tiles x 1 byte numbers, designing the 'tile' to be shown at that particular position of the screen.

All done by hardware so way fast!

To make the scrolling run you had a 'delta' pixels to slightly move the "screen" around.

Fun times.

Time to go to bed 😪😴

[–] [email protected] 4 points 10 months ago (1 children)

ROM Cartridges like that were also basically as fast as RAM, and mapped into system memory, so you could reference things directly instead of having to load things to RAM first like off a disc

[–] [email protected] 3 points 10 months ago (1 children)

Yes yes! But wasn't there some limit, like if you had a 1Mbit cartridge you still had to shuffle the data around? Or was it just a penalty to map a different chunk of memory?

My memory is sure not that fast or reliable:-)

[–] Notorious_handholder 2 points 10 months ago

Not the guy you replied too, and my memory is also fuzzy, but I always love how crazy and analog nes hardware was. Im like 70% sure that later in the nes lifespan they made it to where cartridges had more rom and could shuffle the data banks/tables around and that the nes could only process something like 32kb at a time I think? So they would just swap around the data sets depending on when they where needed.

Almost like one of those choose your own adventure books... Im probably horribly wrong in that summary and analogy though. It's been years since I last got a refresher on nes tricks lol

[–] [email protected] 4 points 10 months ago
[–] [email protected] 1 points 10 months ago

Here's the same image in 3.8kb (lossless jxl):

Interestingly, lossy jxl is larger (59kb):

[–] [email protected] 12 points 10 months ago

I like this math lesson

[–] bruhduh 35 points 10 months ago (3 children)

Modern AAA games need optimisations too

[–] PeterPoopshit 32 points 10 months ago (1 children)

Optimization? Pffffft. Nvidia probably pays game developers to make unoptimized games just to boost gpu sales.

[–] bruhduh 75 points 10 months ago* (last edited 10 months ago)
[–] Agent641 16 points 10 months ago* (last edited 10 months ago)

Laughs in Cities: Skylines 2

[–] [email protected] 3 points 10 months ago (1 children)

Yes, but not 'every rock is identical' optimization like back then.

[–] [email protected] 7 points 10 months ago

You'd be surprised

[–] [email protected] 27 points 10 months ago (1 children)

What I would give to have modern devs work that hard to reduce file sizes

[–] [email protected] 5 points 10 months ago (2 children)

Is it more than the price of a hard drive?

[–] [email protected] 14 points 10 months ago* (last edited 10 months ago)

For the sake of all my homies with data caps and limited hard drive funds, I would gladly give more than it costs me personally

[–] ichbinjasokreativ 1 points 10 months ago (1 children)

Games on ssds benefit from faster load times. Don't put your games on spinning metal.

[–] [email protected] 2 points 10 months ago (1 children)

Because most of the time and energy are spent trying to hold on and not be tossed off by centripetal force?

[–] [email protected] 1 points 10 months ago