you are viewing a single comment's thread
view the rest of the comments
[–] 52 points 1 day ago (12 children)

Additional context, Hookshot is the first recomp project for the Switch 2 remake of OOT. The first/most complete recomp I know of for the N64 version is called Ship of Harkinian.

  • source
  • hideshow 12 child comments
  • [–] 8 points 17 hours ago (8 children)

    Ship of Harkinian is not a recomp, but is a port based on the decomp of the N64 version of OoT.

    There is a separate recomp of OoT for the N64 called Zelda64Recomp.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 8 points 14 hours ago (6 children)

    What is a recomp if not a port of a decomp?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 5 points 6 hours ago* (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 hours ago (1 child)

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

    This is exactly decompilation.

  • source
  • parent
  • hideshow 1 child comment
  • 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.

  • source
  • parent
  • [–] 1 point 10 hours ago (2 children)

    My understanding is that a decomp is based on reverse engineered source code, and a recomp takes the original game files and ports all of the shaders/engine to a different system, e.g. Vulkan.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 24 points 1 day ago (2 children)

    Unrelated to OP but- SoH is really great imo. Worked much better for me than emulation and the QoL features made me totally uninterested in the remake.

  • source
  • parent
  • hideshow 2 child comments