Skip to content

etkramer/BmSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

261 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BmSDK

License: MIT

📖 About

Screenshot 2025-08-23 at 5 05 46 PM

BmSDK is a C# scripting system for Batman: Arkham City, allowing mods to add custom gameplay and logic. BmSDK provides a full game-mapped API and SDK (RPlayerController, WorldInfo, RGameRI, etc.) and a set of utilities for interacting with the game world. It also provides lifecycle and input events (script start, enter menu/game, tick, button press, etc). Check out the wiki for more info!


🚀 Getting started (for users)

If you're a user (meaning you just want to run script mods, not make them), getting started is simple:

  1. Go to https://dotnet.microsoft.com/en-us/download and install the .NET 10 SDK if you haven't already. Make sure you get the 32-bit version (x86), even if you have a 64-bit computer.
  2. Download the latest release from releases and open the .zip file.
  3. Inside you'll see two folders: Binaries and BmGame. Copy both to your game folder (likely C:\Program Files\Epic Games\BatmanArkhamCity). There should already be 2 folders in there with the same names.
  4. Done, BmSDK is installed! Now to install script mods, simply drop any .cs files into your BmGame\Scripts folder.

Keep in mind that script mods can potentially harm your computer. Make sure you only download and install scripts from trusted sources.

⚠️ Notice for non-Epic Games Store users:

If you have a Steam/GOG copy of the game, you'll have to install a compatibility patch. You can find it next to the latest release. Just extract the ZIP and drop the Binaries folder in the game directory. Replace BatmanAC.exe when prompted - it's a good idea to make a backup first.


🧩 Setting Up for Mod Development

Follow these steps to set up the development environment so you can build, run, and debug mods for the game:

  1. Go to visualstudio.microsoft.com/downloads and run the Visual Studio Installer.
  2. In the Visual Studio Installer: Pick ".NET desktop development" from the "Workloads" tab.
  3. Follow all the steps for the user setup except installing the .NET 10 SDK as it's included with Visual Studio.
  4. Start Visual Studio and open the solution in %GameDir%\BmGame\ScriptsDev.
  5. Write your code in MinimalScript.cs or any other C# source file in %GameDir%\BmGame\Scripts.
  6. Test your code by pressing F5 in Visual Studio (Running the BatmanAC debug profile).
  7. Follow the wiki to write your first script.

💡 Common development issues and their solutions

  • Sometimes the game window never shows up. In that case try Alt + Tab to focus it. If that doesn't work, press Ctrl + Shift + F5 (Restart debugging) in Visual Studio.

🛠️ Preparing to Extend BmSDK Itself

To set up your development environment so you can modify, build and execute the BmSDK repository, follow the wiki page: Building BmSDK


📋 Licence

BmSDK is licenced under the MIT licence.