this post was submitted on 29 Oct 2025
86 points (100.0% liked)

Games

22092 readers
271 users here now

Video game news oriented community. No NanoUFO is not a bot :)

Posts.

  1. News oriented content (general reviews, previews or retrospectives allowed).
  2. Broad discussion posts (preferably not only about a specific game).
  3. No humor/memes etc..
  4. No affiliate links
  5. No advertising.
  6. No clickbait, editorialized, sensational titles. State the game in question in the title. No all caps.
  7. No self promotion.
  8. No duplicate posts, newer post will be deleted unless there is more discussion in one of the posts.
  9. No politics.

Comments.

  1. No personal attacks.
  2. Obey instance rules.
  3. No low effort comments(one or two words, emoji etc..)
  4. Please use spoiler tags for spoilers.

My goal is just to have a community where people can go and see what new game news is out for the day and comment on it.

Other communities:

Beehaw.org gaming

Lemmy.ml gaming

lemmy.ca pcgaming

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sentient_loom@sh.itjust.works 4 points 3 weeks ago (1 children)

I thought it was all done in Java.

[–] CrayonDevourer@lemmy.world 19 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

It is, but that code is run through a scrambler that makes it more difficult to read for a human, but basically a trivial task for a computer to undo anyways.

So we're just burning CPU cycles by scrambling it, and then just unscrambling it anyways -- so Microsoft is just saying "why scramble it at all then?"

This should, in theory, make it easier for people with less experience coding, to read and understand what's going on.

[–] elvith@feddit.org 6 points 3 weeks ago

Also modders had reversed all relevant code at some point (at least to the extend of this function does X) and then offered those symbols (=their class names, method names,... And where to find them in the bytecode) for others to mod the game. Later Mojang even released the official symbols, but at that point everyone was already using the community made ones. IIRC they kept releasing these symbols for every new version since then which drastically sped up modding compatibility for those versions.

So I think it's not completely unexpected that they'd do this since the most important information was already oit in the open.

[–] sentient_loom@sh.itjust.works 3 points 3 weeks ago (3 children)

Now I'm more confused. Why is it scrambled? To keep people from copying it? Were they doing this before MS bought it?

I was hoping you'd say "Microsoft decided to rewrite the whole game in C++" but I guess that's not the case (although I think the AMAZING Minetest game is written in C++ and I actually like it more).

[–] DesolateMood@lemmy.zip 5 points 3 weeks ago (1 children)

Microsoft did rewrite the whole game in C++. It's called Bedrock Edition

[–] fibojoly@sh.itjust.works 2 points 3 weeks ago

Careful now. Dem's fighting words in some parts of the Net...

[–] zarkony@lemmy.zip 3 points 3 weeks ago

Why is it scrambled? To keep people from copying it?

Yes. Common practice to hide your code from the user, or potential rivals. I think they've been obfuscating the whole time, even back in Notch days.

It was kinda pointless in this case, and was the reason why mod updates were slow between versions, even for simple mods.

[–] CrayonDevourer@lemmy.world 2 points 3 weeks ago* (last edited 3 weeks ago)

Being written in C++ doesn't keep it from being reverse engineered in exactly the same way. All code can be reversed. It's a little easier with Java because java isn't turned directly into machine-code at compile-time.