Bloons TD 6 is a unity game.
NOTE: This is talking about the APK of the android version of the game.
Link (File is too big): https://drive.google.com/open?id=1cCvff ... B7ACDDqX7a
This is the archive which contains the dlls. ^
Usually, the dlls are in the folder like this: APK/assets/bin/Data/Managed/dll.dll
But the new Unity 2018 has made it so these dll's are no longer out in the open. Instead, I found them to be here in this Game.bin archive. I have worked a lot with unity games, and a majority of the scripts get compiled into a dll called "Assembly Csharp.dll", unless the developer has their own.
If you open game.bin in a hex editor, you will see
1. Some sort of header
2. FAssembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
This matches the format of a dll, having the version and all.
I just don't know how to extract them from this kind of archive. I can't confirm this, but it might be this way in all Unity 2018 compiled games.
I used a different program, and managed to slip a list of dlls with references in the game.
NOTE: Some of them aren't actually needed, and are just here because there is a reference to them. Other unity games have references to ones like "UnityEngine.HoloLens" but don't actually need them to run. If you don't find a few of them in the bin, this is why. A lot of them are also just there because they are a part of unity. For example: UnityEngine.Analytics
Facebook.Settings.dll
UnityEngine.Timeline.dll
UnityEngine.UI.dll
Facebook.Unity.dll
UnityEngine.Networking.dll
UnityEngine.TestRunner.dll
UnityEngine.HoloLens.dll
Stores.dll
UnityEngine.GoogleAudioSpatializer.dll
UnityStore.dll
Ninjakiwi.LiNK.dll
UnityEngine.Analytics.dll
Assembly-CSharp.dll
Assembly-CSharp-firstpass.dll
Editor.dll
UnityEngine.Advertisements.dll
UnityEngine.SpatialTracking.dll
Please let me know if you need anymore information.
I hope we can break this...especially if all unity games will be like that
[UNITY 2018] Bloons Tower Defense 6 - Bin file containing dlls.
-
- Posts: 7
- Joined: Thu Nov 10, 2016 3:21 pm
-
- Posts: 218
- Joined: Wed Jul 19, 2017 5:04 am
Re: [UNITY 2018] Bloons Tower Defense 6 - Bin file containing dlls.
I read all of this note's...
Can you upload this .bin file in [b]mediafire uploader[\b]?
And an other thing... It's posible to inject or add a new dll to a Unity game (a compiled game)?
Can you upload this .bin file in [b]mediafire uploader[\b]?
And an other thing... It's posible to inject or add a new dll to a Unity game (a compiled game)?
-
- Posts: 7
- Joined: Thu Nov 10, 2016 3:21 pm
Re: [UNITY 2018] Bloons Tower Defense 6 - Bin file containing dlls.
update: i've resolved this by realizing this is just some weird unity 2018 thing, but the real deal is in globalgamemanagers.assets
-
- Posts: 1
- Joined: Wed Jan 22, 2020 12:54 am
Re: [UNITY 2018] Bloons Tower Defense 6 - Bin file containing dlls.
kingpiggyiscool wrote:update: i've resolved this by realizing this is just some weird unity 2018 thing, but the real deal is in globalgamemanagers.assets
This is a big bump but I've started ripping apart this apk and I'm very stumped on how to properly extract the DLLs out of that assets file.
on top of that, I can only find a list of references to assets but not actual assets.
Maybe some more info on this would be helpful. I Haven't really found much on this at all.
I'm mostly interested in scripts.
update: so it turns out there is no csharp assemblies. I mean there could still be but it looks like the game uses il2cpp. Meaning all the C# code gets translated to Cpp at compile.
Unless there is a version that doesn't use il2cpp we won't get good code assets from the game at all.
-
- Posts: 190
- Joined: Fri Aug 26, 2016 3:11 pm
Re: [UNITY 2018] Bloons Tower Defense 6 - Bin file containing dlls.
Silver wrote:kingpiggyiscool wrote:update: i've resolved this by realizing this is just some weird unity 2018 thing, but the real deal is in globalgamemanagers.assets
This is a big bump but I've started ripping apart this apk and I'm very stumped on how to properly extract the DLLs out of that assets file.
on top of that, I can only find a list of references to assets but not actual assets.
Maybe some more info on this would be helpful. I Haven't really found much on this at all.
I'm mostly interested in scripts.
update: so it turns out there is no csharp assemblies. I mean there could still be but it looks like the game uses il2cpp. Meaning all the C# code gets translated to Cpp at compile.
Unless there is a version that doesn't use il2cpp we won't get good code assets from the game at all.
I'm not sure that's true. Looking at the the game.bin file that data is pretty structured and might just be a form of compression. Organizing it a bit will look like this, not entirely sure what's in it entirely but I would lean toward thinking the dll is in fact in that file.
Code: Select all
00 01 00 00 00 FF FF FF FF 01 00 00 00 00 00 00 00
0C 02 00 00 00
46 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C
05 01 00 00 00
1F 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 47 61 6D 65 4D 6F 64 65 6C //F in the example is the length for the string
2C 00 00 00 //count of strings
04 63 61 73 68 //length + string
0E 73 74 61 72 74 69 6E 67 48 65 61 6C 74 68
09 6D 61 78 48 65 61 6C 74 68
0E 73 74 61 72 74 69 6E 67 53 68 69 65 6C 64
09 6D 61 78 53 68 69 65 6C 64
0E 73 65 6C 6C 4D 75 6C 74 69 70 6C 69 65 72
18 73 65 6C 65 63 74 65 64 44 69 66 66 69 63 75 6C 74 79 52 61 74 69 6E 67
0E 6C 6F 63 6B 65 64 41 75 74 6F 50 6C 61 79
08 62 6C 6F 6F 6E 53 65 74
10 74 6F 77 65 72 53 65 6C 6C 45 6E 61 62 6C 65 64
0D 70 6F 77 65 72 73 45 6E 61 62 6C 65 64
10 6B 6E 6F 77 6C 65 64 67 65 45 6E 61 62 6C 65 64
0F 63 6F 6E 74 69 6E 75 65 45 6E 61 62 6C 65 64
12 66 72 65 65 70 6C 61 79 52 6F 75 6E 64 45 61 72 6C 79
11 66 72 65 65 70 6C 61 79 52 6F 75 6E 64 4C 61 74 65
1B 66 72 65 65 70 6C 61 79 48 65 61 6C 74 68 49 6E 63 72 65 61 73 65 45 61 72 6C 79
1A 66 72 65 65 70 6C 61 79 48 65 61 6C 74 68 49 6E 63 72 65 61 73 65 4C 61 74 65
15 66 72 65 65 70 6C 61 79 53 70 65 65 64 49 6E 63 72 65 61 73 65
18 66 72 65 65 70 6C 61 79 53 70 65 65 64 49 6E 63 72 65 61 73 65 4D 61 78
09 62 65 68 61 76 69 6F 72 73
06 74 6F 77 65 72 73
08 75 70 67 72 61 64 65 73
06 62 6C 6F 6F 6E 73
0C 62 6C 6F 6F 6E 73 42 79 4E 61 6D 65
10 64 69 66 66 69 63 75 6C 74 79 4D 6F 64 65 6C 73
0F 72 6F 75 6E 64 53 65 74 73 42 79 4E 61 6D 65
0E 66 72 65 65 70 6C 61 79 47 72 6F 75 70 73
0D 6B 6E 6F 77 6C 65 64 67 65 53 65 74 73
08 72 61 6E 6B 49 6E 66 6F
06 70 6F 77 65 72 73
11 61 63 68 69 65 76 65 6D 65 6E 74 4D 6F 64 65 6C 73
08 74 6F 77 65 72 53 65 74
07 68 65 72 6F 53 65 74
04 6D 6F 64 73
03 6D 61 70
08 70 72 6F 64 75 63 74 73
08 73 65 74 74 69 6E 67 73
0A 67 61 6D 65 45 76 65 6E 74 73
0C 73 65 72 76 65 72 45 76 65 6E 74 73
0F 74 72 61 63 6B 41 72 72 6F 77 4D 6F 64 65 6C
0F 76 65 72 73 69 6F 6E 53 65 74 74 69 6E 67 73
10 63 68 69 6C 64 44 65 70 65 6E 64 61 6E 74 73 5F
04 6E 61 6D 65
16 4D 6F 64 65 6C 2B 63 68 69 6C 64 44 65 70 65 6E 64 61 6E 74 73 5F
00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 04 04 03 04 03 04 03 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 03 01 03 0B 0B 0B 0B 0B 0B 0B 01 01 01 01 01 08 08 0B 0B 0B 0B
43 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 69 6D 75 6C 61 74 69 6F 6E 42 65 68 61 76 69 6F 72 73 2E 53 69 6D 75 6C 61 74 69 6F 6E 42 65 68 61 76 69 6F 72 4D 6F 64 65 6C 5B 5D
02 00 00 00
29 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 73 2E 54 6F 77 65 72 4D 6F 64 65 6C 5B 5D
02 00 00 00
82 02 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 47 65 6E 65 72 69 63 2E 44 69 63 74 69 6F 6E 61 72 79 60 32 5B 5B 53 79 73 74 65 6D 2E 53 74 72 69 6E 67 2C 20 6D 73 63 6F 72 6C 69 62 2C 20 56 65 72 73 69 6F 6E 3D 34 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 37 37 61 35 63 35 36 31 39 33 34 65 30 38 39 5D 2C 5B 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 73 2E 55 70 67 72 61 64 65 73 2E 55 70 67 72 61 64 65 4D 6F 64 65 6C 2C 20 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C 5D 5D 29 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 42 6C 6F 6F 6E 73 2E 42 6C 6F 6F 6E 4D 6F 64 65 6C 5B 5D
02 00 00 00
F7 01 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 47 65 6E 65 72 69 63 2E 44 69 63 74 69 6F 6E 61 72 79 60 32 5B 5B 53 79 73 74 65 6D 2E 53 74 72 69 6E 67 2C 20 6D 73 63 6F 72 6C 69 62 2C 20 56 65 72 73 69 6F 6E 3D 34 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 37 37 61 35 63 35 36 31 39 33 34 65 30 38 39 5D 2C 5B 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 42 6C 6F 6F 6E 73 2E 42 6C 6F 6F 6E 4D 6F 64 65 6C 2C 20 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C 5D 5D 32 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 44 69 66 66 69 63 75 6C 74 79 2E 44 69 66 66 69 63 75 6C 74 79 4D 6F 64 65 6C 5B 5D
02 00 00 00
FA 01 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 47 65 6E 65 72 69 63 2E 44 69 63 74 69 6F 6E 61 72 79 60 32 5B 5B 53 79 73 74 65 6D 2E 53 74 72 69 6E 67 2C 20 6D 73 63 6F 72 6C 69 62 2C 20 56 65 72 73 69 6F 6E 3D 34 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 37 37 61 35 63 35 36 31 39 33 34 65 30 38 39 5D 2C 5B 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 52 6F 75 6E 64 73 2E 52 6F 75 6E 64 53 65 74 4D 6F 64 65 6C 2C 20 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C 5D 5D 36 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 52 6F 75 6E 64 73 2E 46 72 65 65 70 6C 61 79 42 6C 6F 6F 6E 47 72 6F 75 70 4D 6F 64 65 6C 5B 5D
02 00 00 00
3A 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 73 2E 4B 6E 6F 77 6C 65 64 67 65 2E 4B 6E 6F 77 6C 65 64 67 65 53 65 74 4D 6F 64 65 6C 5B 5D
02 00 00 00
2D 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 50 72 6F 66 69 6C 65 2E 52 61 6E 6B 49 6E 66 6F 4D 6F 64 65 6C 5B 5D
02 00 00 00
29 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 50 6F 77 65 72 73 2E 50 6F 77 65 72 4D 6F 64 65 6C 5B 5D
02 00 00 00
35 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 41 63 68 69 65 76 65 6D 65 6E 74 73 2E 41 63 68 69 65 76 65 6D 65 6E 74 4D 6F 64 65 6C 5B 5D
02 00 00 00
33 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 53 65 74 73 2E 54 6F 77 65 72 44 65 74 61 69 6C 73 4D 6F 64 65 6C 5B 5D
02 00 00 00
33 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 53 65 74 73 2E 54 6F 77 65 72 44 65 74 61 69 6C 73 4D 6F 64 65 6C 5B 5D
02 00 00 00
2C 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 54 6F 77 65 72 73 2E 4D 6F 64 73 2E 4D 6F 64 4D 6F 64 65 6C 5B 5D
02 00 00 00
22 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 4D 61 70 2E 4D 61 70 4D 6F 64 65 6C
02 00 00 00
2A 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 74 6F 72 65 2E 50 72 6F 64 75 63 74 4D 6F 64 65 6C 5B 5D
02 00 00 00
31 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 65 72 76 65 72 45 76 65 6E 74 73 2E 53 65 72 76 65 72 53 65 74 74 69 6E 67 73
02 00 00 00
2D 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 65 72 76 65 72 45 76 65 6E 74 73 2E 47 61 6D 65 45 76 65 6E 74 73
02 00 00 00
30 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 65 72 76 65 72 45 76 65 6E 74 73 2E 53 65 72 76 65 72 45 76 65 6E 74 5B 5D
02 00 00 00
29 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 4D 61 70 2E 54 72 61 63 6B 41 72 72 6F 77 4D 6F 64 65 6C
02 00 00 00
32 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 53 65 72 76 65 72 45 76 65 6E 74 73 2E 56 65 72 73 69 6F 6E 53 65 74 74 69 6E 67 73
02 00 00 00
88 01 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 47 65 6E 65 72 69 63 2E 4C 69 73 74 60 31 5B 5B 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 4D 6F 64 65 6C 2C 20 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C 5D 5D 88 01 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 47 65 6E 65 72 69 63 2E 4C 69 73 74 60 31 5B 5B 41 73 73 65 74 73 2E 53 63 72 69 70 74 73 2E 4D 6F 64 65 6C 73 2E 4D 6F 64 65 6C 2C 20 41 73 73 65 6D 62 6C 79 2D 43 53 68 61 72 70 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 6E 75 6C 6C 5D 5D
02 00 00 00