Skip to content

Instantly share code, notes, and snippets.

@PackmanDude
Last active April 24, 2025 18:06
Show Gist options
  • Save PackmanDude/f5d9e0bff0997a75e11989c359d05d9d to your computer and use it in GitHub Desktop.
Save PackmanDude/f5d9e0bff0997a75e11989c359d05d9d to your computer and use it in GitHub Desktop.
A guide for running BalanCity on GNU/Linux operating systems.

Instructions

Files you copy/install must be compatible with your game architecture.

  1. Install libgconf
  2. Add this to launch options:
LD_LIBRARY_PATH=/path/to/pango-1.43/lib %command%
  1. Run BalanCity.

Optional fixes

Failed to open NaCl IRT file "…/steamapps/common/BalanCity/nacl_irt.nexe": -4

Get that file from here: https://chromium.googlesource.com/chromium/reference_builds.

ReferenceError: module is not defined

Extract and replace index.html from the package.nw with this patch applied to it:

@@ -52,7 +52,7 @@
 	<script src="jquery-2.1.1.min.js"></script>
 
 	<script src="moment-with-locales.min.js"></script>
-	<script src="Steam4C2.js"></script>
+	<script type="module" src="Steam4C2.js"></script>
 	<script src="pathfind.js"></script>

License

This gist is licensed under CC-BY-SA 4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment