Scripts used to load OpenID in your Supercell games private servers
By Candybrawl
- IDA Pro or Ghidra, or anything that lets you get offsets really
- The game's libg.so file of the architecture you want (armeabi-v7a for arm32 or arm64-v8a for arm64)
- The game's supercell_id_config.json file (found in /assets/supercell_id_config.json)
- The game MUST have support for WVSCID, if it doesn't, then OpenID will not work
- Open supercell_id_config.json
- Search for "UseNative"
- Set it to false
- Search for "UseNativeCountries"
- Set it to []
This procedure may vary depending on which software you're using, I'll be using IDA Pro for this, but feel free to use whatever you want
- Decompile the libg.so file and wait for it to be fully decompiled
- Only then, press f12 to open the strings menu
- Search for "DisableIngameFriends"
- Double click it and then press CTRL + X on the string
- Click on sub_XXXXX and then press F5 to decompile
- You should see something like this

- We are constructing the string DisableIngameFriends as a variable called v11, click on it to highlight where it's used
- Save that function as String::String as the script will need it
- The line right under the one constructing the string should have its first use, that function is SCIDConfig::getBool
- Back in the strings menu, search for "String not found:"
- Again, double click the result and press CTRL + X to see its cross references
- There should only be 1 or 2 pointing to the same sub
- That sub is SCIDConfig::getString
- Depending on the release date of the version you're porting OpenID to, you may need more offsets and more modifications to fully enable WVSCID, and, consequentially, OpenID
- Download the OpenID template script
- Replace offsets within it
- Edit its configuration as you wish
Sources where you can get help from (from fastest to slowest response)
- Candybrawl Discord (dsc.gg/candybrawl)
- @hallo178 on Discord(aka me)
- BSM Reddit (r/brawlstarsmodding)
- My Telegram chat (t.me/hawlo2)