Licenses of every part of PMTOK Recomp 0.12.0-alpha for 64-bit Windows
==============================================================

This folder is a player package of PMTOK Recomp, an unofficial port of Paper Mario: The Origami King (Nintendo
Switch, 1.0.0) through static recompilation. It contains none of the game's files: the program builds the game's
code on your PC from your own copy of the game, already extracted.

The program
-----------
PMTOK Recomp's own code is under the MIT license: see LICENSE. Its base is LAS Recomp by Peiikai and contributors
(https://github.com/peiikai/LASRecomp, MIT) and EoWRecomp by Nycolazs (https://github.com/Nycolazs/EoWRecomp, MIT).
Paper Mario and everything in the game belong to Nintendo and Intelligent Systems; this is a fan project, not
affiliated with them.

The DLLs in this folder
-----------------------
  SDL3.dll            zlib                         licenses/SDL3-LICENSE.txt
  libiconv-2.dll      LGPL 2.1+                    licenses/libiconv/  (version 1.19.1; its source, exactly as
                      MSYS2 compiles it, is attached to the release — see below — and LGPL lets you relink
                      or replace it)
  avcodec-63.dll      LGPL 2.1+                    licenses/ffmpeg.COPYING.LGPLv2.1
  avformat-63.dll     LGPL 2.1+                    licenses/ffmpeg.COPYING.LGPLv2.1
  avutil-61.dll       LGPL 2.1+                    licenses/ffmpeg.COPYING.LGPLv2.1
  swscale-10.dll      LGPL 2.1+                    licenses/ffmpeg.COPYING.LGPLv2.1
  libopus-0.dll       BSD 3-clause                 licenses/opus-COPYING  (version 1.6.1)
  libshaderc_shared.dll  Apache 2.0                licenses/shaderc-LICENSE  (it also bundles glslang and
                      SPIRV-Tools, Apache 2.0 as well: licenses/glslang-LICENSE.txt, spirv-tools-LICENSE)
  libgcc_s_seh-1.dll  GPL 3 + GCC Runtime Library Exception   licenses/gcc.COPYING.RUNTIME (the exception),
                      licenses/gcc.COPYING3 (the GPL). The exception lets this package ship the compiled
                      runtime without GPL obligations on the rest of the package.
  libstdc++-6.dll     GPL 3 + GCC Runtime Library Exception   as above
  libwinpthread-1.dll MIT                          licenses/winpthreads-COPYING
Vulkan's loader (vulkan-1.dll) is not in this folder: Windows gets it with the graphics driver, as every
Vulkan program does. The game also links Vulkan pieces statically (volk, MIT: runtime/volk.h in the source
repository; Vulkan Memory Allocator, MIT; Dear ImGui, MIT: licenses/imgui.txt; SMAA, MIT: licenses/smaa.txt;
AMD FidelityFX Super Resolution 1, MIT).

Everything else that goes inside
--------------------------------
  fonts/Baloo2-SemiBold.ttf, DejaVuSans.ttf  SIL OFL 1.1 / free   licenses/Baloo2-OFL.txt, licenses/DejaVu.txt
  pmtokgen/ (the game-code generator):
    Python 3.12            PSF 2.0       licenses/python/python.txt
    Capstone               BSD 3-clause  licenses/python/capstone.txt  (version 5.0.9)
    lz4                    BSD 2-clause  licenses/python/lz4.txt  (version 4.4.5)
    Unicorn                GPL 2.0       licenses/python/unicorn.txt  (version 2.1.4)
  zig/ (the compiler pmtokgen uses to build the game code)  MIT, LLVM/clang Apache 2.0 with LLVM
                       exception      licenses/zig.txt
  This package, its README-installed.txt and the two .cmd launchers: MIT (see LICENSE).

Source code of the copyleft parts
---------------------------------
Attached to the same GitHub release as this zip (https://github.com/ElKiro1311/pmtok-recompiled/releases),
the exact sources these binaries were built from:
  ffmpeg-9.0.2.tar.xz      FFmpeg, the untouched release; the DLLs were built from it with the configure line in
                   licenses/ffmpeg-build.txt inside this package (LGPL-only configuration: no GPL components).
  unicorn-2.1.4.tar.gz        Unicorn 2.1.4, the exact source of the version inside pmtokgen/ (PyPI sdist).
  mingw-w64-libiconv-1.19.1-1.src.tar.zst
                   libiconv 1.19.1 as MSYS2 compiles it: the original tarball, its patches and the PKGBUILD.
  mingw-w64-gcc-16.2.0-7.src.tar.zst
                   GCC 16.2.0, the source of libgcc_s_seh-1.dll and libstdc++-6.dll. The exception does not
                   require it; it is here anyway.

Nothing of the game is in this package: no exefs, no romfs, no textures, no music, no text. Your own extracted
copy of version 1.0.0 stays yours.
