86
submitted 11 months ago* (last edited 11 months ago) by zaknenou@lemmy.dbzer0.com to c/piracy@lemmy.dbzer0.com

So there are multiple sites&groups that pirate video games especially on PC. I was wondering if there are places on the internet where you find source code for games especially the highly modifiable ones like Half Life 2/Portal and Skyrim. Or groups that crack into the source code of games (or even software in general), not only for PC maybe PS, XBox or mobile too, and share it. I just wanted to see some code samples of games or their engines, maybe I get hooked into video game design. Shout out to Valve for sharing a lot about the creation of Half Life 1

you are viewing a single comment's thread
view the rest of the comments
[-] backhdlp@lemmy.blahaj.zone 45 points 11 months ago

Everything is open source if you can read assembly

[-] mindbleach@sh.itjust.works 21 points 11 months ago

Machine code tells you what it's doing. Source code tells you why.

[-] Draconic_NEO@lemmy.dbzer0.com 4 points 11 months ago

Only if they wrote why in it though, plenty of people (unfortunately myself included) fail or forget to add meaningful comments or they let their comments go stale when making changes by forgetting to update them (I do it a lot too), and some people also use horrible function names that don't make any sense.

So it only really applies to source code intended to be released where care was made to ensure it would be readable, it might not apply for source code never intended to be public, such as stolen, leaked, or posthumously released. In this case the only real benefit is that it can be recompiled on different architectures provided there isn't a dependency issue preventing that.

[-] lud@lemm.ee 1 points 11 months ago

Source code without comments is still way easier to read than machine code.

And there are very likely comments anyways.

Multiple Devs will work on the same code for years and of course they need or at least appreciate comments.

[-] Draconic_NEO@lemmy.dbzer0.com 2 points 11 months ago

But even if you can intuitively understand what the machine code is you'll still need to convert it by hand back into something more portable, or to the machine code of another platform you might want to run it on. There's not really an easy automated way to do that, even when playing dirty.

That's the hard part, getting it into a different form, such as from x86 to ARM or from 6502 RISC to x86.

[-] ricdeh@lemmy.world 3 points 11 months ago

More powerful decompilers would definitely be a very useful application of AI!

this post was submitted on 22 Dec 2023
86 points (90.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54746 readers
571 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS