# Ultra Paradise CU:Trainer A trainer for **Casualties: Unknown** (formerly Scav Prototype): the cheats from CU Cheats in a standalone app, a live health view, tools, themes and more. Single player only: if a multiplayer mod is loaded, the cheats stay off. - Version: **2.0.14** (Windows and Linux) - Download: [Nexus Mods](https://www.nexusmods.com/scavprototype/mods/1203) and [GameBanana](https://gamebanana.com/mods/749667) - Source: [opensource.smellypawz.com](https://opensource.smellypawz.com/cu-trainer/) and [GitHub](https://github.com/casualexpie/cu-trainer) - License: [casualexpie Source-Available License](LICENSE.md). You can read it and build it for yourself, but you can't redistribute it. ## How it fits together | Folder | What it is | | --- | --- | | `Ultra Paradise Application` | The Windows app (Windows Forms, .NET Framework 4) and the in-game payload (`Payload.cs`, `Engine.cs`, `Health.cs`, `Debug.cs`, `MyMods.cs`, `Music.cs`), which is embedded into the loader | | `UltraPara` | The loader, in C. `version.dll` sits next to the game and starts `UltraPara.dll`, which loads the payload into the game | | `Ultra Paradise Linux/app` | The Linux and macOS app (Avalonia, .NET 8) | | `Ultra Paradise Linux/plugin` | The BepInEx plugin the Linux and macOS app talks to (the payload plus `LinuxHost.cs`) | | `Ultra Paradise Linux/shared` | Cheat list shared by the Linux app and plugin | | `Ultra Paradise Linux/tools/macsign` | A small ad-hoc signer, so the macOS build can be signed on Windows | ## Internet use | Address | When | What is sent | | --- | --- | --- | | `updates.smellypawz.com` | Update check when the app starts; update download when you click Update | The app's version. Downloads are checked against the SHA-256 fingerprints on the official Nexus page before they're used. | | `updates.smellypawz.com/v1/ping` | Once a day, **only if you agreed** to be counted as a user | A random id made on your computer, the app version and the OS (Windows, Linux or macOS). The server doesn't keep your IP address. Turning it off in Settings sends `/v1/forget` and the server deletes what your computer sent. | | `updates.smellypawz.com/v1/users` | Welcome tab | Nothing. It fetches the total user count. | | `updates.smellypawz.com/v1/vt` | VirusTotal tab | The app's version, to show the VirusTotal result for the official file. | | `api.nexusmods.com/v2/graphql` | Checking that your copy is official, About Me, Install My Mods | Public queries for the trainer page's file fingerprints and casualexpie's mod list. No API key, no account. | | `lrclib.net` | Music tab, only when a song is playing | Song title and artist, to fetch lyrics. | | `github.com/BepInEx` | Only when you click Install BepInEx | Downloads the official BepInEx 5 release. | Nothing else is sent, and no personal information is collected. ## Building You need Windows, Casualties: Unknown from Steam, and: - **Windows app:** the C# compiler from .NET Framework 4 (part of Windows) and the Windows 10/11 SDK (for `Windows.winmd`). - **UltraPara loader:** Visual Studio Build Tools with the C++ workload. - **Linux/macOS app:** the .NET 8 SDK. - **Libraries:** copy `0Harmony.dll`, `MonoMod.RuntimeDetour.dll`, `MonoMod.Utils.dll` and `Mono.Cecil.dll` from a BepInEx 5 install (`BepInEx\core`) into `Ultra Paradise Application\lib`. - **Images:** not included. The builds expect `art\experimentHead.png` (20x12 pixels), `art\splash.jpg` and `art\logo-nexus.png`, `art\logo-gamebanana.png`, `art\logo-discord.png` in `Ultra Paradise Application\art`, and `icon.png`, `tile.png`, `splash.jpg` plus the same logos in `Ultra Paradise Linux\art`. Any images with those names work. Build order (the scripts call each other where needed): ```powershell $game = "C:\Program Files (x86)\Steam\steamapps\common\Casualties Unknown" powershell -ExecutionPolicy Bypass -File "Ultra Paradise Application\build.ps1" -NewUltraPara -GameDir $game powershell -ExecutionPolicy Bypass -File "Ultra Paradise Linux\build.ps1" powershell -ExecutionPolicy Bypass -File "Ultra Paradise Linux\build-mac.ps1" ``` The Windows build makes `Ultra Paradise Application\bin\Ultra Paradise CU-Trainer.exe`. The first run builds the payload, then the UltraPara loader (which embeds the payload and writes `UltraPara\out\UltraParaInfo.cs`), then the app. Your own build won't match the official fingerprints, so the update checks will treat it as unofficial. That's expected.