<modname> — a GoldenEye 007 PC port mod
=======================================

This folder was created by:

    python tools_pc/modprepare.py --name <modname> --new-mod

Mod support is experimental and the layout may change. Nothing here contains
game content: your ROM, and anything you make from it, stays on your machine.

What you edit
-------------
  modconfig.txt   Gameplay tweaks applied over the vanilla tables at level
                  load: weapon magazines and fire rates, ammo limits, a
                  global damage multiplier, ammo-pickup amounts, and an
                  "all unlocked" flag. Delete the file if your mod does not
                  change gameplay values.

                  Import it with:
                      python tools_pc/modprepare.py --name <modname> \
                          --config-only --modconfig <path to modconfig.txt>

  textures/       Replacement textures, as PNGs named by texture number.
                  These load directly — no import step. Per-level overrides
                  go in a two-digit <stage>/ sub-folder. Export the
                  originals from your own ROM with
                  tools_pc/texpack/tex_export.py --out <dir> --index.
                  The rules a replacement must follow (keep the original
                  transparency; upscales must tile) are in
                  docs/dev/TEXPACK-AUTHORING.md.
                  Pick the pack with Video.TexturePack=<modname> in
                  ge007.ini. The Original N64 preset turns packs off.

What the importer adds (do not hand-author these)
-------------------------------------------------
  files/          Per-file overlay: one file per file-table entry, written
                  by an import of a console ROM mod.
  segs/           Segment-level data (for example the texture band).
  .import/        The import cache and the compat stamp (mod.json).
                  A mod folder is only loadable once an import has written
                  .import/mod.json, except for a textures-only mod.

Importing a console ROM mod
---------------------------
Drop the mod's patch (.xdelta/.vcdiff/.bps/.ips) or full .z64 straight into
the mods folder and launch the game: it is imported at boot against your own
ROM, and IMPORT.txt records the result. Or do it yourself:

    python tools_pc/modprepare.py --name <modname> --patch <mod patch>
    python tools_pc/modprepare.py --name <modname> --rom  <mod .z64>

Using it
--------
Pick the mod in the options menu (F10 or Select, GAME section, Mod), or
start the game with --mod <modname>. The choice is saved as Game.Mod and
applies on the next launch. One mod is active at a time.
