Skip to main content

A CLI PID (Principal ID)/PNID grabber and match logger for Splatoon.

Project description

Splatlogger

A CLI PID (Principal ID)/PNID grabber and match logger for Splatoon, written in Python.

Prerequisites

To install the package, you'll need to have Python 3.11 or newer installed on your system. On Android devices you can use Termux. Python is not required for the Windows executable.

Both the Wii U and Cemu (Windows and Linux only) are supported.

Your Wii U will need to have either the Tiramisu or Aroma environment set up or have another way to run homebrew, such as Haxchi or the browser exploit.

On Tiramisu, use TCPGecko, Geckiine, or any other app with the TCPGecko server.

On Aroma, install the TCPGecko Aroma plugin.

Installation

On Windows, you can use the executable provided on the releases page. Though if you already have Python installed, it's recommended to use the package.

To install the package from PyPI, run:

pip install Splatlogger

Or download the latest release from Codeberg and run:

pip install path/to/Splatlogger-v1.x.zip

If you do have Python installed but do not wish to install the package, you can run the module directly from the source code.

Install the required dependencies:

cd path/to/Splatlogger-v1.x/ && pip install -r requirements.txt

Then run the module:

cd src/ && python -m splatlogger

Usage

Run Splatlogger with:

python -m splatlogger -ip IP [options]

where IP is your Wii U's LAN IP address (if you have your scripts directory in your PATH, you can omit python -m).

If using the Windows executable, run:

path/to/Splatlogger-1.x.exe -ip IP [options]

Options:

  • -log-level [option] - Set how much data should be logged.

    • none - Don't create a log file.
    • standard - Log only basic player information, the same as what's printed to the console (default).
    • extended - Log all player information and additional match information.
    • stats - Same as above with the addition of player stats (points, K/D). Requires the match to end to finish logging.
  • -auto [option] - Enable auto logging. When enabled will automatically log every match you play. The log level must be at least standard.

    • all - Save a log of all matches you play (default).
    • latest - Save a log of only the latest match.
  • -aroma - Switch to Aroma mode. Enable if using the TCPGecko Aroma plugin.

  • -cemu [PID] - Switch to Cemu mode. The -ip argument is not required and will be ignored. Note: If you have ptrace protection enabled, you'll need to run python as root. It's best to run the module from source in that case.

    • PID - PID of the Cemu process (optional).
  • -stack Address (in hex) - (Cemu only, optional) Beginning address of the stack space for Default Core 1 (Debug > View PPC threads). Only required for logging stats. If the default values don't work, you'll need to specify this manually.

    (example)
  • -silent - Disable printing logs to the console.

Logs are saved in (User)/Documents/Splatlogger/logs/(Date)/.

To always run with the same IP and options without having to type them in manually, create an args.txt file in (User)/Documents/Splatlogger/ and put the arguments following splatlogger in there. Afterward any arguments passed through the command line will be ignored.

Only one program can be connected to TCPGecko at a time. If you have something else connected, disconnect it beforehand.

Credits

  • pyGecko authors for most of tcpgecko.py.

  • Everyone who contributed to PNIDGrab and other similar PID grabbers as those were used as a reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splatlogger-1.6.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

splatlogger-1.6.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file splatlogger-1.6.2.tar.gz.

File metadata

  • Download URL: splatlogger-1.6.2.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for splatlogger-1.6.2.tar.gz
Algorithm Hash digest
SHA256 3fa14dbb958bc2783b002bf4fc2d89b76f68f481ed9323bf15784c56c834c4c8
MD5 cd55568fb902d4a7fa17efece9da116e
BLAKE2b-256 6d1ffd6c2d714d8edabf382542bd891716f80c5ffdf9bef44b985ceeeab67bfb

See more details on using hashes here.

File details

Details for the file splatlogger-1.6.2-py3-none-any.whl.

File metadata

  • Download URL: splatlogger-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for splatlogger-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a1f5e22177b87434ffb6417c0a50ad2fa34d8e09f232f59157464503c175fdb
MD5 7ccc87efbf11747046db59de61a8144b
BLAKE2b-256 fb209d7509b2f63d6208e30c887b112412365f917ada960a90f7ce3156e0b28e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page