Skip to content

Viewing Broforce's Code

Alex Neargarder edited this page Jun 27, 2025 · 5 revisions

Viewing Broforce's code requires a decompilation program such as dnSpy.

In order to use dnSpy to view Broforce's code, you have to open dnSpy, click File, click Open..., and select Broforce's Assembly-CSharp.dll, which will likely be located here:

C:\Program Files (x86)\Steam\steamapps\common\Broforce\Broforce_beta_Data\Managed\Assembly-CSharp.dll

Then expand the Assembly-CSharp section, Assembly-CSharp.dll section, and the section just labeled "-", and there you'll be able to see all of Broforce's classes.

If you want to look at the code for a particular game object, but you're not sure what it's called in the game's code, then you can use the RuntimeUnityEditor tool in-game to see what the class is called. I go over how to use this tool in the debugging page of this wiki.

Clone this wiki locally