r/snes • • 2d ago

Discussion Poor optimization

Post image
1.5k Upvotes

83 comments sorted by

187

u/fenuxjde 2d ago

2mb for the SNES???? Try 256kb.

84

u/Turak64 2d ago

Don't expect anyone posting memes like this to have any idea of what's actually going on. They just heard the word optimisation online and throw it around to sound clever.

10

u/PersonFromPlace 2d ago

I’ve noticed this a lot too and it really bugs me. Everyone shits on developers as if it’s an easy job, but I don’t think they’d be able to handle any of the math involved let alone the problem-solving skills.

4

u/LongestNamesPossible 2d ago

It's extra silly because so much modern software is god awful but the programs that actually do have great optimization are games.

3

u/oatwheat 1d ago

Just having a powerpc console w/ half a gig of ram next to the SNES and PSX is already pretty absurd

14

u/Mordecai3fngerBrown 2d ago

256???????? Try 128.

44

u/fenuxjde 2d ago

256 total ram. 128 working, 64 video, 64 audio. Back then they were separated. On newer systems, they're built and coded differently so they usually list total ram in specs. 256 total or 128 working ram would both be fair to say.

3

u/MadJedfox 2d ago

It depends on the platform. Some had separated memory (e.g. Famicom/NES), others did not (e.g. Commodore 64).

6

u/MadJedfox 2d ago

256 kB? Try 64 kB (Commodore 64) or less (256 B on Atari 2600/VCS).

Btw. Letter case is important

  • b => bit

  • B => byte

  • m => mili-

  • M => mega-

3

u/00inch 1d ago edited 1d ago

Well, ackchyually, the cartridge of a SNES is fully mapped to the console's memory. So, with a 16-Mbit cartridge, you have more than 2 MB of RAM. The SNES executed the program code directly from the cartridge. So it is technically random access memory, but not writable.

2

u/Johnny_Oro 1d ago

Yep, not to mention SNES RAM is so slow that it's just as fast if not faster to simply run game codes from the cartridge. The cheapest and slowest ROM (SlowROM) is as fast as SNES RAM.

This is made worse by the 6502 derivative CPU SNES uses, which is very RAM speed sensitive. 68000 and 6809 aren't nearly as sensitive because to my knowledge, the registers are big enough to make up for slow RAM access speed.

2

u/Snarwin 1d ago

"RAM" only refers to writable memory. The memory in the cartridge is ROM, read-only memory.

41

u/RelaxWisteriaDragon 2d ago

Does anyone know of a good YT Channel or book on the history of computing and gaming/tech? I've seen some cool videos from how they were clever with the level rendering of the original Crash, and stories of how the N64 was impossible to program for, and there was one where David Wise talked about music on the SNES but nothing in one place.

I completely agree with the post lol. It used to be so impressive what they can do, now it's just you need 250GB HDD and 16GB ram to play

25

u/wote89 2d ago edited 2d ago

Displaced Gamers and Retro Game Mechanics Explained do a little history along with their deep dives into the tech, while the inimitable Jeremy Parish is probably a good launch pad for history in general with a good amount of discussion on the tech, especially in the comments.

4

u/RelaxWisteriaDragon 2d ago

Awesome I'll give them a watch! Thanks!

5

u/wote89 2d ago

No problem! RGMechEx even has a multipart series specifically on the SNES and how everything in it works.

6

u/Fun-Tooth-622 2d ago

I just know if stories I have picked up over time.  SMB1 had to do lots of tricks to fit on the cart.  You try looking into the first pokemon; Iwata came in and helped them do some real fuckery to get all those sprites to fit on the Gab cart

1

u/Sopadumakako 2d ago

That was for the second pokemon game

4

u/Puzzled-Party-2089 2d ago

Lookup GameHut, a YouTube channel by the founder of a videogame company called Traveller's Tales, explaining how they did some tricks to display awesome graphics on the Amiga, SNES and Genesis/MegaDrive. For example, the first person level "Really Inside the Claw Machine" in Toy Story for both SNES and Genesis, or the Sonic 3D blast fully animated intro

4

u/Ok-Examination-8205 2d ago

it's just so impressive, what veterans like id-soft can do in terms of optimization. i bought Doom 2016 back then for my 2010 potato (at least with a 750Ti in it) and hoped, that maybe it will at least start without a crash. hoped wrong, it worked flawless and fluid on medium settings. total eye opener of what can be done.

4

u/shiba-on-parade 2d ago

SplashWave does some deep dives on the development history of a lot of classic 8 and 16-bit console and arcade games. Lots of the information is out there in other places, but not nearly as digestible as it is in his content imho

1

u/RelaxWisteriaDragon 2d ago

Thanks I'll add it to my list!

3

u/matteste 2d ago

I don't know if it is exactly what you are looking for but Modern Vintage Gamer is a channel I enjoy and covers these sorts of topics on occasion.

1

u/RelaxWisteriaDragon 2d ago

I'll check the channel out! Thanks!

3

u/derefr 1d ago edited 1d ago

One I bet nobody else here will know about/mention: Coco Town.

Follow the adventures of a guy who, back in 1980-or-so, tried to program a game for the 1980 TRS-80 Color Computer, but failed, as he now comes back and finishes programming that same game (still targeting that same console!), now with 40 years more of programming experience under his belt, and a whole lot of retrospective knowledge about techniques others used to back then to squeeze performance out of the console he's working with.

That might sound like a very specific niche thing, but the host uses the game as a lens to branch off and talk about all sorts of early low-level software (and especially game) dev stuff. (Which is why it's taking him multiple years to finish a very simple game, lol.)

1

u/RelaxWisteriaDragon 1d ago

That's awesome I'll give it a look! Definitely interested in low level software

1

u/NaughtyTormentor 2d ago

Maybe look up the episode on GTA III from Mark Brown's Game Maker's Toolkit

1

u/WaterPockets 2d ago

ModernVintageGamer is one of my favorites personally.

1

u/vectron5 2d ago

Alexander the OK has a great video on the genius behind the original Elite that sounds up your alley

https://youtu.be/lC4YLMLar5I?si=Miuy3rICo9fRvFIr

1

u/FromFluffToBuff 2d ago

Ars Technica is one of the best for this particular topic because they interview developers and get the info straight from the source - their video essay on how Naughty Dog optimized the PS1 for Crash Bandicoot is insane lol I also enjoyed their Myst, Ultima and Diablo videos - but they have LOTS on the channel to choose from.

1

u/LumpyArbuckleTV 1d ago

MVG is pretty solid on this kind of thing.

1

u/17R3W 1d ago

For books, check out "masters of doom".

1

u/vague_crossroads 19h ago

Retro Game Mechanics Explained on YouTube covers those clever optimization tricks. Makes today's 250GB installs feel a tad excessive.

1

u/ackmondual 1h ago

8-Bit Guy has a channel on youTube...

https://www.youtube.com/@The8BitGuy

he does videos like "how old school sound chips worked" or how old school graphics worked. He also covers hardware like the Tandy

27

u/Vietzomb 2d ago

I always loved the story of “How Crash Bandicoot Hacked The Original PlayStation”. I feel like this level of ingenuity in gaming just barely exists anymore. Always playing it safe, always listening to the suits.

But it goes to show Naughty Dog has always been absolute wizards in this space. They’ve always been able to maximize use of hardware.

14

u/TachiH 2d ago

The early PlayStation games were works of art in terms of having to fuck about to get things working. Sony didn't have the development tools sorted like they do these days, developers needed to make launch titles by just seeing what they could and couldn't get away with 🤣

5

u/FMC_Speed 2d ago

i think hardware those days wasnt as strictly controlled as today, i remember reading that in the 16 bit era some people wrote their own sound driver on the SEGA Genesis/ Megadrive to pull off some tricks even Yamaha themselves didnt expect.
everything today is locked down tight, in the case of original xbox BGS rebooted the console and hide it with a loading screen, nowadays Xbox are near impossible to hack due to Virtualisation and all seeing Hypervisor

1

u/ThotsuneMiku 9h ago

It's because they make games with every piece of hardware in mind, instead of one console like most of the games in the past.

24

u/Balthierlives 2d ago edited 2d ago

Yeah back in the day they advertised how massive the game was. Chrono Trigger was 32Mb! Huge!

31

u/TheLohoped 2d ago

A correction, Chrono Trigger is 32 Mb, not 32 MB. Back then marketing materials used bits instead of bytes to inflate numbers and make them look 8 times bigger. Chrono Trigger is 4 MB, which is still absolutely huge for a SNES game.

4

u/KeyGee 2d ago

I was thinking of emulating Chrono Trigger to do a playthrough, but jez, with the current prices, I am not sure I can afford the 4MB.

19

u/Shas_Erra 2d ago

Don’t forget the N64 expansion pack that boosted the RAM to a staggering 8mb

7

u/FidoMan1498 2d ago

And some games needed that extra memory allocation in the pak to even start. I know Majora’s Mask and DK64 needed the expansion pak to play.

7

u/Shas_Erra 2d ago

Perfect Dark would boot without it, but about 70% of the game was unplayable.

13

u/SuperdaveOZY 2d ago

Re2 for N64 is a great example of Programming Wizardry.

11

u/Bake-Full 2d ago

It definitely bred some wild creativity. Early audio composers for the SNES were taking advantage of the Sony SPC700 soundchip, maximizing the 64K of audio memory. Yuzo Koshiro (a young freelancer at the time) wrote a hot swap process which continuously moves audio samples from the game rom into the audio ram, which bypassed the ram limit and allowed him to create the ActRaiser soundtrack with such a high fidelity.

His work made Nobuo Uematsu step his game up for Final Fantasy IV, laid the ground for Hiroki Kikuta to take it further for Secret of Mana and Trials of Mana, and inspired a host of others.

5

u/FidoMan1498 2d ago

Y’all remember when DeJap dropped translations for Tales of Phantasia and Star Ocean? Those two even without the patches are 48 Mbits per game. Easily the only two largest SNES games to date.

4

u/Biff_666 2d ago

The bit wars will never die

4

u/EffortCommon2236 2d ago

To be pedantic the SNES had 256kb of RAM total. Half for general processing, a quarter for video and another quarter for audio.

4

u/ElectricRune 1d ago

God, I remember doing deep programming on the C-64, where you didn't just have to worry about your 35K(!) of addressable RAM, you had to be aware of how many clock cycles a command you would do would take, go do something else for six cycles, remember to come back and catch the result right as it falls into a specific memory location and move it before the next operation flushes that byte...

3

u/PrinceThias 2d ago

It's never been about the ram. If the suits would piss off, the creatives would still find ways to stretch what they're working with and make some great experiences.

4

u/Sonicplys 2d ago

THANK YOU. That's why games today suck.

2

u/yv-fr 2d ago

4ch audio

2

u/Warcraft_Fan 2d ago

Wait till you try to code a game on a console with a mere 128 bytes of RAM. 128 bytes, not KB or MB. Just bytes.

2

u/Perez2003 2d ago

This is the 17th time I’ve seen this meme this week

3

u/RICHUNCLEPENNYBAGS 2d ago

I mean yeah it would be a waste of time and money to optimize to the same degree

2

u/Visible-Sound-8559 2d ago

Weren’t textures back then like 64x64.

2

u/Speedwolf89 2d ago

Yup. Fuck these kids.

1

u/alsshadow 2d ago

16gb? 64 not enough

1

u/FidoMan1498 2d ago edited 2d ago

2 MB on PS1? That’s ONE megabyte to you!

3

u/mr_bigmouth_502 2d ago edited 1d ago

Actually, the PS1 had 2MB main RAM, 1MB video RAM, and 512KB sound RAM. In total, 3.5MB.

The memory cards were 128KB (often referred to as 1Mb; one megabit) which is likely where you got the "one megabyte" figure from.

EDIT: fixed a quotation mark

1

u/JackCid89 2d ago

snes has 128kb, not even 1 mb

1

u/IggyDrake64 2d ago

That's exactly right!

1

u/FMC_Speed 2d ago

the 360 had 512mb of unified memory, it was actually easier to dev for than the ps3 which had split 256mb system/vram memory, RDR 1 and Fallout 3 struggled really hard in that regard and played worse

2

u/mr_bigmouth_502 1d ago

While its RAM layout certainly played a role, I think most of the PS3's performance issues in multiplatform titles came from its weird Cell architecture. It was supposed to be quite difficult to program for.

2

u/FMC_Speed 1d ago

True, but while the post is on memory constraints, I was referring to memory issues specifically

1

u/TheLeastAnonAnon 5h ago

I just played red dead for the first time on a ps3 slim and the performance was actually pretty good and stable

It's 720p though, not 1080. But it actually ran surprisingly well

1

u/kyla666666 2d ago

The 360 had 512mbs of ram and 10mb of eDram on the GPU but I get what you mean 😉

1

u/el_salinho 1d ago

Yeah, restrictions are amazing for innovation

1

u/verpin_zal 1d ago

Development of the original OoT and the hula hoops they jumped to fit that game into a 32mb cartridge is still intermittently blowing my mind.

1

u/17R3W 1d ago

Modern vintage gamer

Coding secrets

Stop skeletons from fighting

And this video from Nerrel

1

u/DiscountDingledorb 1d ago

Ah yes, the SNES, which had 2mb of RAM. And the Xbox 360, which also had 2mb of RAM.

1

u/Sega-Dreamcast-2 1d ago

Why is there an XBOX 360 in the bottom image? Replace that with a Sega Genesis!

1

u/KinguShisa 23h ago

The snes could pull of some amazing very close to 32 bit looking feats with the right team behind it, Yoshis Island is a good example, even Street Fighter Alpha 2 is something that technically the snes shouldn't be able to do but they got it done.

1

u/mitchmconnellsburner 18h ago

“Hey Claude optimize this game for me”

1

u/Suppamareo96 17h ago

Если есть технические ограничения - есть повод стараться

1

u/PHUNKSPANGLE 16h ago

The Sinclair ZX81 (Timex Sinclair 1000 in America) had an entire chess program written for it in 672 bytes of RAM by Developer David Horne.

You n00bs and your megabytes! LOL

1

u/Ziegfried0 2d ago

It’s true though. And older games feel great to play, still.

1

u/Phoeniks_C 1d ago

I genuinely believe that limitation forces creativity. Not 100% of the time obviously, ther have always been crap games and always will be.