├── LICENSE.md ├── README.md ├── arm64-v8a └── libPerseus.so ├── armeabi-v7a └── libPerseus.so └── x86 └── libPerseus.so /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Egoist 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Perseus 2 | Fancy name for a simple native library that patches Azur Lane scripts. 3 | Does not rely on offsets, so game updates shouldn't break it so long as no security measures are introduced. 4 | 5 | **I do not intend to maintain this further. The source code can be found in the `src` branch. 6 | Feel free to do whatever you wish with it.** 7 | 8 | ## Loading the library 9 | Add the following method to `UnityPlayerActivity`, anywhere above its `onCreate`: 10 | ```smali 11 | .method private static native init(Landroid/content/Context;)V 12 | .end method 13 | ``` 14 | And these lines to `onCreate`: 15 | ```smali 16 | const-string v0, "Perseus" 17 | 18 | invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V 19 | 20 | invoke-static {p0}, Lcom/unity3d/player/UnityPlayerActivity;->init(Landroid/content/Context;)V 21 | ``` 22 | (Preferably without replacing other variables, such as between `.locals 2` and `const/4 v0, 0x1`.) 23 | 24 | ## Config 25 | Settings can be found inside `Perseus.ini`, located within the game's external files directory (`/sdcard/Android/data/{package-name}/files/`). 26 | If you're unsure of your region's package name, just look it up. All of them include "AzurLane" though. 27 | 28 | Enabling the Skins mod gives you all skins in-game as if you had bought them. They are persistent between restarts. 29 | 30 | ## Credits 31 | * https://github.com/adamyaxley/Obfuscate. 32 | * https://github.com/Rprop/And64InlineHook. 33 | * https://github.com/joeyjurjens/Android-Hooking-Template. 34 | * https://github.com/n0k0m3/Azur-Lane-Scripts-Autopatcher. -------------------------------------------------------------------------------- /arm64-v8a/libPerseus.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Egoistically/Perseus/a293ddfe321c91df3fbbfc65346f847ab924dd80/arm64-v8a/libPerseus.so -------------------------------------------------------------------------------- /armeabi-v7a/libPerseus.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Egoistically/Perseus/a293ddfe321c91df3fbbfc65346f847ab924dd80/armeabi-v7a/libPerseus.so -------------------------------------------------------------------------------- /x86/libPerseus.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Egoistically/Perseus/a293ddfe321c91df3fbbfc65346f847ab924dd80/x86/libPerseus.so --------------------------------------------------------------------------------