The new version is released:
https://github.com/Sigma582/SWC.Tools/r ... ager.v.0.6Sorry to all Android/iOS folks, I couldn't make FB sync work as supposed. Maybe I'm too dumb.
Instead the Android section needs your Player ID and Player Secret and you'll have to spend a few minutes to obtain them before you can log into your SWC account via LayoutManager.
Player ID and Player Secret are stored in Unity's settings called PlayerPrefs.
On Android PlayerPrefs are located in your device's internal memory in
/data/data/com.lucasarts.starts_goo/shared_prefs/com.lucasarts.starts_goo.xml.
On iOS devices the PlayerPrefs can be found in SWC's .plist file located at /Apps/SWC folder/Library/Preferences/.
Note that you will need root access to your device in order to read these files. If your device is not rooted and you don't feel like doing it, you can use an Android emulator (e.g.
Andy):
- Install emulator.
- Install SWC on the virtual device.
- Log into your SWC account using Facebook/Google/Game Centre sync.
- Root the emulator. This rooting tool for Andy is super easy to use.
- Read PlayerPrefs file from SWC folder on the emulator.
- After you have written down Player ID and Player Secret you don't longer need the emulator and can uninstall it if you like.
When you get access to PlayerPrefs file you'll see something like this:
Note to moderator:
In this post I do share actual Player ID and Player Secret of a base that does exist on the server. This base was created for test/demonstration purposes and has no real value. I do understand that sharing this data may allow random people to tamper with this test base and I do not care if this test base is abused, corrupted or "stolen". Please do not remove this data as it is supposed to give people idea of what they are looking for.
Note to everyone:
You can use the Player ID and Player Secret shared here to access the test base via LayoutManager and see how it works in general. You won't be able to see the base itself or change it (unless you manage to feed these Player ID and Player Secret to your SWC game client) but it will give you a feel of what the process looks like.
Pay attention to the highlighted lines. That gibberish between <string name="prefPlayerId"> and corresponding </string> is your Player ID (a3c29137-174c-11e7-a2d4-06af44004ed6 in this example). Another piece of gibberish between <string name="prefPlayerSecret"> and </string> is your Player Secret (5d84459f67cee3c58f5dc026aa301906 in this example).
Write down these two values in a safe place. Don't tell your Player Secret to anyone as it allows to log into your SWC account. Player ID is a bit less confidential but it's still not a good idea to share it with anyone except DI support.
Now you can start LayoutManager. Select Android in Server selector and paste your Player ID and Player Secret to corresponding fields, then click Login.

The application will log into your SWC account, display your in-game name and now you can manipulate your base's layout.

Layout Manager will remember your server choice (Windows or Android/iOS) and last used Player ID and Secret so that you don't have to dig them out of your notes every time you want to use the tool.