Skip to content

Commit

Permalink
chore: update account settings structure in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Jul 16, 2024
1 parent dd0276a commit 00e5044
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# NEX Viewer
### Utility for viewing PRUDP connections and NEX/Rendez-Vous sessions.

## NEX keys
## Settings / Accounts
> [!WARNING]
> Older versions of NEX Viewer precomputed the Kerberos keys for each password. These precomputed keys are NOT usable in newer versions of NEX Viewer. Password files must now always contain the raw game server password for each PID
In order to decrypt PRUDP packet payloads for the games secure server(s) your game server account credentials must be known by NEX Viewer. populate your credentials file in one of the following locations
In order to decrypt PRUDP packet payloads for the games secure server(s) your game server account credentials must be known by NEX Viewer. To add an account to the settings open one of the following JSON files:

- `%AppData%/NEXViewer/game-server-passwords.txt` (Windows)
- `~/.config/nex-viewer/game-server-passwords.txt` (Linux/MacOS)
- `%AppData%/NEXViewer/settings.json` (Windows)
- `~/.config/nex-viewer/settings.json` (Linux/MacOS)

`game-server-passwords.txt` must be in the following format:
From here add an account entry to the `accounts` array. An account entry takes the following form:

```
PID:PASSWORD
PID:PASSWORD
PID:PASSWORD
PID:PASSWORD
etc...
```ts
{
platform: string; // The platform the account is for (W ii U, 3DS, PC, etc.). Unused currently
username: string; // Account username. For NEX accounts this is your account PID as a string
pid: number; // Account unique PID
password: string; // Account password. Must not be hashed. Used to generate the below hashes, and those for non-NEX game servers
password_hash_old: string; // Pre-computed Kerberos key using the old key derivation method
password_hash_new: string; // Pre-computed Kerberos key using the new key derivation method
}
```

> [!CAUTION]
Expand Down

0 comments on commit 00e5044

Please sign in to comment.