South Park: Recompiled
======================

A static recompilation of South Park (Nintendo 64, USA) for Windows 10 or later, 64-bit.
No game data is included. You need your own ROM of the USA release.

How to play
-----------
1. Unzip this folder anywhere. No install and no admin rights are needed.
2. Put your ROM beside SouthParkRecompiled.exe, named "South Park (USA).z64".
   Or start with:  SouthParkRecompiled.exe --rom "C:\path\to\your rom.z64"
   A .z64, .n64 or .v64 file works. Zipped ROMs do not: unzip first.
   The ROM must be South Park (USA), game code NDTE,
   SHA-1 42D7350D1F9040C5546F481C4D650B99A23AADBC (as a .z64).
3. Start SouthParkRecompiled.exe. After the first start the game keeps its own checked
   copy of the ROM in the data folder.

With RecompLauncher (https://recomplauncher.com): add this folder, pick your ROM on the
setup screen, press Play. Settings show on the game's page.

Controls
--------
Gamepad (up to 4, ports 1 to 4 in connection order):
  Left stick   move (the N64 C buttons)      Right stick  aim (the N64 stick)
  A            A                             X            B
  Triggers     Z
  Set "sticks = n64" for left stick = N64 stick, right stick = C buttons.
Keyboard (player 1 only):
  Arrows or WASD  N64 stick      IJKL   C buttons      TFGH  D-pad
  X = A    C = B    Z or Space = Z    Enter = Start    Q / E = L / R
F11 or Alt+Enter switches fullscreen.
In the game's own menus either stick and the D-pad move the cursor; pad B is N64 B.

Settings menu
-------------
Escape on the keyboard, or Back (Select) or Guide on a gamepad, opens the settings menu
at any time. Up / down choose a row, left / right change it, A or Enter selects,
B or Escape closes. It changes volume, window mode, picture shape, render resolution,
anti-aliasing, frame rate, gamepad sticks and look direction at once, and saves them to
settings.cfg when it closes. "Quit game" ends the game.
The game keeps running under the menu and gets no input: pause first with Start.

Saving
------
The game saves to a Controller Pak after a finished level. The pak is the file
controllerpak.mpk in the data folder (a standard 32 KB pak image).
In the "save new note?" box the cursor starts on NO: press up, then A.

Settings
--------
settings.cfg in the data folder, made on the first start, one commented line per option:
volume, fullscreen, msaa, resolution, aspect (original or expand = widescreen),
framerate, sticks, invert_look, api.
Any option also works on the command line:  --set aspect=expand

Data folder
-----------
"userdata" beside the program. Pass --data <folder> to use another one.
It holds settings.cfg, controllerpak.mpk, the checked ROM copy and logs\southpark.log.
If the game fails, send logs\southpark.log with your report.

Exit codes: 0 normal, 1 start-up error, 3 ROM missing or wrong.

Licences
--------
This program is built on N64Recomp (MIT), N64ModernRuntime (GPL-3.0), RT64 (MIT) and
SDL2 (zlib). Their licence texts are in the "licenses" folder. The program as a whole is
under the GNU General Public License version 3. The source for this build is in the
archive SouthParkRecompiled-<version>-source.zip published with it, and at
https://github.com/ADHD-TISM/South-Park-Recomp

South Park is a trademark of Comedy Central. This project is not affiliated with or
endorsed by Comedy Central, Acclaim, Iguana Entertainment or Nintendo.
