RE15pc — NOTICE
===============

This repository contains tooling, configuration and documentation only. It does
NOT contain, and must never contain, any Capcom code, art, audio, or disc data.

Running the port requires the user to supply their own copy of the Biohazard 2
(November 6, 1996) prototype disc image. That image is not redistributed here and
is excluded via .gitignore. The recompiled C# under generated/ is derived from
that disc at build time on the user's own machine and is likewise not
redistributed.


What this repository contains, verifiably
-----------------------------------------

Almost every file tracked here is plain text. That is not an assurance to be
taken on trust; it is a property anyone can check in one command:

    git ls-files | ForEach-Object { [IO.Path]::GetExtension($_) } | Sort-Object -Unique

The plain-text set is .cs .csproj .cue .editorconfig .gitattributes .gitignore
.json .md .patch .ps1 .sh .sln .yml - source code, configuration and prose. The
largest of them is a 125 KB function map, which records addresses and symbol
names rather than instructions or assets.

There are also image files, and they are listed here in full rather than left
for a reader to discover. Nothing else binary is tracked.

    assets/logo.png, assets/banner.jpg, assets/icon.png
    assets/icon.ico, assets/social-preview.png
        Cover art supplied by the maintainer from SteamGridDB, a community
        artwork host. These are fan/community renderings of the game's identity
        used to identify the repository and to give the published executable a
        Windows icon. They are not extracted from the disc and are not official
        Capcom assets. Regenerate icon.ico and social-preview.png with
        tools/New-AppIcon.ps1 and tools/New-SocialPreview.ps1.

    docs/screenshots/*.png
        Five framebuffer captures, 320x240, produced by this port's own readback
        diagnostics while running the maintainer's own disc, and taken only from
        runs whose recorded verdict is PASS. They are documentation of what the
        port currently renders.

    The screenshots are the one place where game-derived imagery is committed.
    That is a deliberate, narrow exception to the rule below, made so the README
    can show what the port does instead of asserting it. They are decoded game
    art, and the maintainer will remove them on request without argument.

Explicitly not present, and excluded by named rules rather than by convention - the
rules are in .gitignore, and the list below names them rather than pointing at line
numbers that drift:

    the disc image           *.bin *.iso *.img *.chd *.mdf *.toc
    recompiled C# output     /generated/
    VRAM, RAM and frames     /out/
    the upstream engine      /RecompOne/
    published build output   /dist/  /release/
    the imported disc store  /data/

Those last four matter and are worth stating plainly. `/out/` holds the port's
own diagnostic dumps - raw video memory, a machine's RAM, and frame captures -
and those would contain decoded game art and overlay code if they were committed.
They are excluded for precisely that reason. `/generated/` is a transcription of
the disc's executable, and `/dist/` and `/release/` are that transcription compiled
into a self-contained build (about 154 MB, or 61 MB compressed, plus whatever disc
image was copied beside it); they are excluded for the same reason.

`/data/` is the imported disc store described below. It is the disc's own sector
data, compressed to about 35% - which is to say, it is the entire game in one file.
It exists so the port does not need a disc image at runtime, and it is generated
locally from the user's own disc by `RE15pc --import-disc`. Committing it, or
shipping it in a release, would be redistributing the game outright, so it is
excluded by name and the release packaging script excludes it again on the way out.

All of these are produced on the user's machine from the user's own disc, and none
is distributed. Every rule can be verified directly:

    git check-ignore -v Bio2Nov96.bin generated/ out/ RecompOne/ dist/

One file describes the disc and is worth being precise about, because precision here
is the point. `disc-manifest.json` records the image's size, SHA-256 and sector
geometry; its ISO9660 directory listing - 349 paths, each with an LBA and a size; and
the boot executable's location, entry point and load address. It records **no disc
bytes**. `SYSTEM.CNF`, the only file whose literal contents it once carried, is now
identified by size and hash instead, which loses nothing: the port does not read this
manifest at all, it verifies the disc against its own expected hash. The manifest
exists so a freshly generated one can be compared against the committed one, which is
what `tools/New-DiscManifest.ps1 -Check` does.


Released binaries
-----------------

GitHub releases of this project attach a Windows x64 build so a player does not have
to compile anything. That archive is the one place where a binary derived from the
disc is published, and it is worth stating exactly what it is and is not.

It contains the host application, the RecompOne runtime, the .NET runtime, and the
recompiled guest - a transcription of the disc's executable - compiled together. It
does **not** contain the disc image, any art or audio lifted from the disc, or a
BIOS. The disc is still required and still supplied by the player, which is why the
archive's README opens by saying so.

That is a deliberate departure from the rule that game-derived binaries are never
distributed, made so the port is actually playable by someone who does not have a
toolchain. The recompiled guest is the same material that `/generated/` and `/dist/`
hold locally, so anyone who objects to it in a release should object to it there too.
If a rights holder asks for the release to be withdrawn, it will be withdrawn.

The archive is produced by `tools/New-ReleasePackage.ps1`, which republishes from
source and then excludes the disc image by name - so a release cannot silently start
shipping the disc along with the code.


If you are a rights holder
--------------------------

This project has no connection to Capcom. It contains no Capcom code, audio, disc
image or BIOS, and none of the recompiled output derived from the disc is
distributed here. What it does contain, as set out above, is a small set of
screenshots captured from the prototype and some community cover art.

A takedown notice has to identify the material it concerns, and for the game data
itself there is nothing here to identify - which the commands above demonstrate
rather than merely assert. The images are the exception: they are named
individually above, and they are the part of this repository most likely to be a
legitimate concern.

If you believe something here is a problem, please open an issue or contact the
repository owner. Concerns about this repository will be addressed promptly, and
the project's default position is to remove anything a rights holder objects to
rather than to argue about it.

Nothing in this file is legal advice, and it does not claim to be a defence against
any particular claim. It describes what the repository contains and how that can be
checked.


Upstream dependency: RecompOne
------------------------------

RE15pc is built on RecompOne, a PlayStation 1 static recompiler and runtime by
BlackLabelHQ. RecompOne is not vendored into this repository; bootstrap.ps1
fetches it from upstream at a pinned commit. RecompOne is distributed under the
MIT License, reproduced verbatim below as required by its terms.

    MIT License

    Copyright (c) 2026 flaffy

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

    https://github.com/BlackLabelHQ/RecompOne

Any file under patches/ is a diff against that upstream work and remains subject
to the same MIT terms.


Licence of this repository's own contents
-----------------------------------------

The original contents of this repository — scripts, configuration,
documentation, and the image assets under assets/ and docs/screenshots/ — are
released under the MIT License, Copyright (c) 2026 JulioCacko. The full text is
in LICENSE, kept verbatim so licence detection recognises it.

The cover art under assets/ originates from SteamGridDB contributors and is
included under the terms of that community host; no authorship of it is claimed
here. The framebuffer captures under docs/screenshots/ are derived from the game
disc and are not covered by the MIT grant above, because no licence is asserted
over anything derived from the disc.

No licence is asserted over recompiled output derived from the game disc, nor
over any Capcom intellectual property. "Resident Evil", "Biohazard", and related
names and characters are trademarks of Capcom Co., Ltd. This project is an
unofficial, non-commercial preservation and research effort, and is not
affiliated with or endorsed by Capcom.
