Skip to content

Native Packs ​

A native pack is a game pack written with the Modding SDK: C# that the Crowd Control desktop app compiles and runs beside your game, talking to your mod or to an emulator. Through the Developer Portal you can publish one yourself, without sending your code to the Crowd Control team.

Create one with Create App and choose Native client pack. It doesn't get an Application ID, since the desktop app handles the connection. Its ID (x_YourGame) is shown as the App ID.

Example Packs ​

Download one and compare it with your own:

The Zip ​

menu.json
assets/icons/       effect icons (optional)
locales/            translations, like es-ES.json (optional)
src/
  x_YourGame.cs     the main file: named after the game pack's ID
  Effects.cs        any other .cs files, built with the main file
  x_YourGame.bps    .ips or .bps patches, for console games
  • src/ holds only .cs, .ips and .bps files. Subfolders are allowed.
  • The main file must be src/<Game Pack ID>.cs. The desktop app builds it together with every .cs file beside it.
  • Up to 200 files. Each .cs file can be up to 1 MB and each patch up to 16 MB. The whole zip can be up to 50 MB.

menu.json lists the effects viewers see, in the same format as other games (see Creating a Game Pack), plus "kind": "native" and a meta block saying how the desktop app runs and connects to the game.

Your game's name, description and store links come from the library listing, not from meta.

PC games ​

json
{
  "format": 1,
  "kind": "native",
  "meta": {
    "platform": "PC",
    "connector": ["SimpleTCPServer"],
    "executable": "HorseFight.exe",
    "steam": { "id": 480 },
    "mod": { "version": "1.0.0", "port": 51337 },
    "supportFiles": { "logPath": "{gamePath}BepInEx/LogOutput.log" }
  },
  "effects": {
    "spawn_horse": {
      "name": "Spawn Horse",
      "description": "A horse appears.",
      "price": 100,
      "image": "spawn_horse.png"
    }
  }
}
Field
platform"PC"
connector1 to 4 of: SimpleTCPServer, SimpleTCPClient, SimpleWebsocketServer, SimpleWebsocketClient, SimpleHTTPServer, NamedPipeClient, NamedPipeServer, NamedPipeDuplex, BinaryGameSocket, Inject, CompactInject, MemoryBuffer, File, LogReader, RCON, REST, IRCClient, IRCServer, Pipeline
executableRequired. The game's file name, like HorseFight.exe, which the desktop app finds and launches.
steamOptional. { "id": <Steam app ID> }, to find and launch the game through Steam.
process, skipProcessArgCheckOptional. How the desktop app recognizes the running game.
modOptional. The mod version and port your pack expects.
supportFiles.logPathOptional. Your mod's log file, which the desktop app can open for the streamer.

Console games ​

json
{
  "format": 1,
  "kind": "native",
  "meta": {
    "platform": "SNES",
    "emulator": "bizhawk",
    "connector": ["BizhawkTCP", "Lua", "sd2snes"],
    "patch": true
  },
  "effects": {}
}
Field
platformThe console, such as SNES, NES, GBA, N64, PS1, PS2, GCN, Wii, WiiU.
emulatorThe emulator the desktop app installs and runs the game in, and which platforms it supports: bizhawk (GB, GBA, GEN, GG, N64, NDS, NES, PS1, SNES), project64 (N64), dolphin (GCN, Wii), pcsx2 (PS2), cemu or cemucc (WiiU).
connector1 to 4 connectors of that emulator: Bizhawk, BizhawkTCP, Lua for BizHawk; Lua for Project64; Dolphin, DolphinTCP; PCSX2; Cemu; CemuTCP. Add sd2snes (SNES) or EverDriveN8Pro (NES) to also support real hardware.
patchOptional. true applies the pack's .ips/.bps patches to the streamer's ROM before launch.
preferredCoreOptional. The BizHawk core to use.

The streamer supplies their own ROM. Never put a ROM in the zip.

Testing ​

  1. Upload the zip and click Start Testing on the version.
  2. In the Crowd Control desktop app, signed in as someone on the game's team, pick your game and load the pack.
  3. Because the pack hasn't been reviewed, the desktop app asks before running it. It asks again for every new zip.

Every load downloads the version's src/ again into a fresh folder, so a replaced zip is always picked up.

The warning tells testers to report bugs to you rather than to the Crowd Control team, and the desktop app shows a Third-Party Game tag beside your game's name.