# Third-party notices

This port is built on the work of other projects. Their licenses apply to their code and to the parts of this
repository derived from it. New code written for this port is copyright (c) 2026 the wwe2k14-nx authors (code taken from sa2-nx stays
copyright ChanseyIsTheBest) and is under the
license of the folder it is in (see below).

## Projects this port is derived from

| Project | Used for | License |
|---|---|---|
| [renut_nx_ultimate_base](https://github.com/ChanseyIsTheBest/renut_nx_ultimate_base) / [blur-nx](https://github.com/ChanseyIsTheBest/blur-nx) by ChanseyIsTheBest, with the work of the ports it gathers (tw2de_nx, TFU-nx via S4ep1-nx, ssasr-nx, sasrt-nx, fnxf_xiii) | Host small-block allocator (port 151), lean render ideas (242, 247–248); adapted from revision `1a886e408182e39e26c625c2ac18d12d9abc2ae2`. Semaphore wake-one (192), the APC check (152), store cards' address once (160), lock-free mutant release (146), data and bss on 2 MB blocks (373/387: `sdk/src/ui/switch_code_blocks.cpp`), forced-inline helpers (71) and the near-exact switches with their census (140: `sdk/include/rex/ppc/diet_ops.h`, `tools/near_exact.py`); adapted from revision `b724b9f6` | GPL-3.0 |
| [sa2-nx](https://github.com/ChanseyIsTheBest/sa2-nx) by ChanseyIsTheBest | The base of this repository (baf523b) | GPL-3.0 |
| [mk9-nx](https://github.com/Thorhax/mk9-nx) by Thorhax | The Direct3D function census and the stubs of `app/src/me/game_api_stubs.cpp` | GPL-3.0 |
| [wwe2k14-recomp](https://github.com/Jarrodfeng/wwe2k14-recomp) by Jarrodfeng | WWE 2K14's function boundaries and jump tables (`games/wwe2k14/config`), the job dispatcher fix (`app/src/wwe2k14_job_dispatch_fix.cpp`) | BSD-3-Clause (`games/wwe2k14/LICENSE.jarrodfeng`) |
| [masseffect-nx](https://github.com/nebadasSwifty/masseffect-nx) by NebadasSwifty | The tree this port started from: the native renderer (`app/src/me`), the structure of `app/`, the CPU enhancement framework and many scripts in `tools/` | GPL-3.0 |
| [nfsmw-nx](https://github.com/StevensND/nfsmw-nx) by StevensND | The Horizon (Switch) layer of the SDK, the NVK driver build the NRO linked up to 1.0.2.1, the profiling and PGO method | GPL-3.0; BSD-3-Clause for the SDK parts |
| [NFSMW Recompiled](https://github.com/madelrandel-blip/NFSMW-Recompiled) by madelrandel-blip | The recompilation project the ports above started from: the structure of `app/` (application hooks, configuration, code generator setup) and the build and analysis scripts in `tools/` | GPL-3.0 |
| [ReXGlue SDK](https://github.com/rexglue/rexglue-sdk) v0.10.0 by Tom Clay, with portions from [Xenia](https://xenia.jp) (Ben Vanik and the Xenia contributors) | `sdk/`: code generator, Xbox 360 kernel and runtime, GPU command processing, XMA audio, virtual file system | BSD-3-Clause (`sdk/LICENSE`) |
| Horizon (Switch) layer of the SDK by StevensND | `sdk/src/**/*_switch.*`, `sdk/src/ui/switch_*.cpp`, `sdk/src/input/switch/`, `sdk/src/audio/switch/`, `sdk/cmake/rexglue_switch.cmake`, `sdk/switch_compat/`: guest memory, exception handling, threading, input, audio, presentation, clocks | BSD-3-Clause (as part of the SDK) |
| Scripts and toolchain file by StevensND | `tools/direct_calls.py`, `tools/switch/cmake/switch-devkitA64.cmake`, adapted for this game | GPL-3.0 |
| [reNut](https://github.com/masterspike52/reNut) by masterspike52, as banjo-nx (ChanseyIsTheBest's Banjo-Kazooie: Nuts & Bolts port) carries it | `app/src/renut_engine`: Renut's Direct3D-level renderer (`sa2_renderer = "renut"`), retargeted to the game's Direct3D, with banjo-nx's tuning around it (`banjo_renut_*`, `display_sync.cpp`, `perf/`) and the frame latency probe from futari-nx | reNut has no license file; its author permits the user's ports to reuse it. banjo-nx's and this port's parts: GPL-3.0 |
| [plume](https://github.com/renderbag/plume) by renderbag and contributors, with banjo-nx's deko3d back end (`plume_deko3d*`) and UnleashedRecomp-NX's Switch changes | `app/thirdparty/plume`: the graphics API layer Renut's renderer draws through (D3D12 and Vulkan on the PC, deko3d on the Switch), with this port's changes | MIT (`app/thirdparty/plume/LICENSE`) |
| [XenosRecomp](https://github.com/hedge-dev/XenosRecomp) (reblue fork, with reNut's and banjo-nx's changes) | `app/thirdparty/reblue-XenosRecomp`: the translator Renut's shader cache is built with (a build tool; DXC, zstd, smol-v and xxHash ship with it) | MIT (`app/thirdparty/reblue-XenosRecomp/LICENSE.md`) and the licenses of its `thirdparty/` |
| [kameo-nx](https://github.com/ChanseyIsTheBest/kameo-nx) by ChanseyIsTheBest, from the findings of the Torchlight port | `sdk/src/ui/switch_code_blocks.cpp` and the 2 MB block changes in `sdk/src/core/guest_memory_switch.cpp` and `memory_switch.cpp` | BSD-3-Clause (as part of the SDK) |
| [uam](https://github.com/devkitPro/uam) by fincs, with SwitchWakerHD's and banjo-nx's patches (`app/thirdparty/uam/PATCHES.md`) | `app/thirdparty/uam`: the deko3d shader compiler (Mesa's nouveau code generator), in the NRO and as a PC tool | zlib (uam), MIT (Mesa's files), MPL-2.0 (SwitchWakerHD's patches) |

The Horizon (Switch) layer added to `sdk/` is under the SDK's BSD-3-Clause license, so it can be reused by other
ports. The rest of this repository (`app/`, `tools/`,
`docs/`, `installer/`) is GPL-3.0 (`LICENSE`).

## Changes to third-party code

The third-party code this port uses is in the repository with this port's changes applied, so it builds as it is.
The changed trees are the ReXGlue SDK (`sdk/`, a fork of v0.10.0), reNut as
banjo-nx carries it (`app/src/renut_engine`), plume (`app/thirdparty/plume`) and the FFmpeg files listed below. The
repository's history shows each change. reblue-XenosRecomp, uam and Dear ImGui under `app/thirdparty` are taken as
banjo-nx carries them (`app/thirdparty/uam/PATCHES.md` lists uam's changes); this port changes none of them.

## Libraries

Libraries used by the SDK, the NRO and the code generator. Their sources are in `sdk/thirdparty`, as ReXGlue SDK v0.10.0
(commit `c94f5ebdcb3c`) and its submodules carry them.

| Library | License |
|---|---|
| [FFmpeg](https://ffmpeg.org) (libavcodec, libavutil: the XMA and WMA audio decoders), from the FFmpeg submodule of ReXGlue SDK v0.10.0 | LGPL-2.1-or-later (configured without GPL parts) |
| [libmspack](https://www.cabextract.org.uk/libmspack/) by Stuart Caie (LZX decompression) | LGPL-2.1 |
| [glslang](https://github.com/KhronosGroup/glslang) | BSD-3-Clause and others (see its LICENSE.txt) |
| [SPIRV-Tools](https://github.com/KhronosGroup/SPIRV-Tools) | Apache-2.0 |
| [SPIRV-Headers](https://github.com/KhronosGroup/SPIRV-Headers), [Vulkan-Headers](https://github.com/KhronosGroup/Vulkan-Headers) | MIT, Apache-2.0 |
| [Vulkan Memory Allocator](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator) | MIT |
| [fmt](https://github.com/fmtlib/fmt), [spdlog](https://github.com/gabime/spdlog) | MIT |
| [xxHash](https://github.com/Cyan4973/xxHash) | BSD-2-Clause |
| [SIMDe](https://github.com/simd-everywhere/simde) | MIT |
| [toml++](https://github.com/marzer/tomlplusplus) | MIT |
| [Dear ImGui](https://github.com/ocornut/imgui) | MIT |
| [o1heap](https://github.com/pavel-kirienko/o1heap) | MIT |
| [utfcpp](https://github.com/nemtrif/utfcpp) | BSL-1.0 |
| [CLI11](https://github.com/CLIUtils/CLI11) | BSD-3-Clause |
| [aes_128](https://github.com/openluopworld/aes_128) by LuoPeng, [tiny-AES-c](https://github.com/kokke/tiny-AES-c) | see the license file of each in the fetched tree (`sdk/thirdparty/aes_128`, `sdk/thirdparty/tiny-aes-c`) |
| disruptorplus, the RenderDoc API header, the PowerPC disassembler (`disasm`), `crypto` (SHA, RC4, AES, DES), `dxbc`, [inja](https://github.com/pantor/inja) (MIT), [stb](https://github.com/nothings/stb) and [Tracy](https://github.com/wolfpld/tracy) (BSD-3-Clause), as shipped with ReXGlue SDK v0.10.0 | see the license file of each in the fetched tree |
| [libnx](https://github.com/switchbrew/libnx) and the devkitA64 runtime (newlib, libstdc++) | ISC; newlib and GCC runtime licenses |
| Zstandard, from devkitPro's Switch portlibs (the shader packages); zlib and Expat were linked for Mesa up to 1.0.2.1 | BSD-3-Clause; zlib License; MIT |

Only for builds on a computer or for the tests, never in the Switch NRO: SDL3 (zlib), MoltenVK and the Vulkan loader
(Apache-2.0), Catch2 (BSL-1.0).

### FFmpeg and libmspack (LGPL)

This port changes these files of the SDK's third-party tree; the changed copies are in `sdk/thirdparty`:

- `FFmpeg/libavcodec/fft_template.c` and `FFmpeg/libavcodec/mdct_template.c`
- `FFmpeg/config.h`, plus `FFmpeg/config_switch_aarch64.h` and `FFmpeg/config_masseffect_wmv3.h` (new): the
  configuration for AArch64 Horizon, and the WMV3 decoder that masseffect-nx added (compiled, not enabled)
- `ffmpeg-overlay/codec_list.c`: the list of registered codecs
- `CMakeLists.txt`: builds the libraries for the Switch

The rest of FFmpeg and libmspack is the unmodified upstream source at the commits pinned by ReXGlue SDK v0.10.0.
Everything needed to rebuild and relink the NRO with a modified version of either library is in this repository and in
[docs/building.md](docs/building.md).

## The installer page

`installer/` is part of this repository (GPL-3.0). Its disc reader and ZIP writer are adapted from the buffy-nx
installer (MIT).

## Button icons

The Nintendo Switch button prompts of WWE 2K14 (`app/src/renut_engine/gpu/render/texture_replace_data.inc`) are made
from "Switch Button Icons and Controls" by Zacksly (https://zacksly.itch.io/switch-button-icons-and-controls),
licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/). Changes: cropped, scaled to the game's glyph
boxes, combined for prompts with two or three directions, and BC3-encoded (`tools/button_icons/make_icons.py`). The
pack itself is not in this repository.

## Trademarks

WWE and WWE 2K14 are trademarks of World Wrestling Entertainment, LLC; 2K is a trademark of Take-Two Interactive
Software, Inc. Nintendo Switch is a trademark of Nintendo. Xbox 360 is a trademark of Microsoft. This project is not
affiliated with, endorsed or sponsored by any of them. The homebrew menu icon (`app/icon.jpg`) is plain text made for
this port and contains no artwork of the game or of WWE.
