323
submitted 5 days ago by rabber@lemmy.ca to c/piracy@lemmy.dbzer0.com
you are viewing a single comment's thread
view the rest of the comments
[-] defaultusername@lemmy.dbzer0.com 7 points 5 days ago* (last edited 5 days ago)

A static recomp first programmatically generates non-readable source code as a base to compile from. That source code is extremely indecipherable and is only meant to be used as a middle layer for the recompilation step.

A decompilation, on the other hand, is where humans perform the step of taking the binary and matching its functions byte for byte with the original in a human-decipherable way for the sole purpose of it being readable by other humans. A port is then built off that code by a separate team/person.

So code readablility and correctness are the main differences. There is a reason why you often times see ports built off decomps have many more features than static recomps, and that is precisely because of the readability of the code allowing for easier modification.

[-] jdr@lemmy.ml 2 points 4 days ago

programmatically generates non-readable source code as a base to compile from

This is exactly decompilation.

Sure, but since the code is never meant to be seen by humans, and is generally deleted before a human is able to see it, it has different terminology.

With static recompilation, the tool used to decompile the code is decompiling specifically to optimize for another compiler to compile the code again.

With decompilation, a tool like Ghidra or IDA Pro is used for a human to look through a binary very meticulously in a way that's specifically meant for humans to be able to understand.

The main difference in the terminology to the end user would be the inputs. With a decomp project, you already have the complete source code in the repository that can be compiled to a binary, usually with the assets having to be extracted from the original game for legal purposes.

With a static recomp, the source code and final output binary is generated on the end user's machine from the original game binary along with the original assets being extracted.

this post was submitted on 21 Nov 2026
323 points (96.0% liked)

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

71226 readers
253 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

We heartily recommend visiting the free port of freemediaheckyeah (aka FMHY) while you sail the high seas, for all the freshest links the ocean has to offer.

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 3 years ago
MODERATORS