changed the required scripts

workingdir/cra0-upated
dev\cra0 4 years ago
parent 20fc15adab
commit 7bcb39c2f2

@ -5,4 +5,3 @@ set APP_NAME=cvappsvc
cd /d %~dp0 cd /d %~dp0
echo Killing dbg echo Killing dbg
"C:\Program Files\Microvirt\MEmu\memuc.exe" -i %MEMU_INSTANCE% adb shell "pkill -9 com.activision.callofduty.shooter" "C:\Program Files\Microvirt\MEmu\memuc.exe" -i %MEMU_INSTANCE% adb shell "pkill -9 com.activision.callofduty.shooter"
pause

@ -1,7 +1,7 @@
@echo off @echo off
set MEMU_INSTANCE=4 set MEMU_INSTANCE=4
set APP_LIB_NAME=libligma_cheat.so set APP_LIB_NAME=libligma.so
set APP_LIB_PATH=ARM\Release\%APP_LIB_NAME% set APP_LIB_PATH=ARM\Release\%APP_LIB_NAME%
set APP_LIB_FULL_PATH=C:\repos\cod-mobile\repo\cod-mobile\ligma-cheat\%APP_LIB_PATH% set APP_LIB_FULL_PATH=C:\repos\cod-mobile\repo\cod-mobile\ligma-cheat\%APP_LIB_PATH%

@ -57,6 +57,7 @@
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion> <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
<ApplicationType>Android</ApplicationType> <ApplicationType>Android</ApplicationType>
<ApplicationTypeRevision>3.0</ApplicationTypeRevision> <ApplicationTypeRevision>3.0</ApplicationTypeRevision>
<ProjectName>ligma</ProjectName>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
@ -87,7 +88,7 @@
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset> <PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-22</AndroidAPILevel> <AndroidAPILevel>android-19</AndroidAPILevel>
<ThumbMode>ARM</ThumbMode> <ThumbMode>ARM</ThumbMode>
<UseOfStl>c++_static</UseOfStl> <UseOfStl>c++_static</UseOfStl>
</PropertyGroup> </PropertyGroup>
@ -150,8 +151,9 @@
<IncludePath>C:\Users\interesting\Desktop\codm\ligma-cheat\ligma-cheat\SDK;$(IncludePath)</IncludePath> <IncludePath>C:\Users\interesting\Desktop\codm\ligma-cheat\ligma-cheat\SDK;$(IncludePath)</IncludePath>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<IncludePath>C:\Users\interesting\Desktop\codm\ligma-cheat\ligma-cheat\SDK;$(IncludePath)</IncludePath> <IncludePath>C:\repos\cod-mobile\repo\cod-mobile\ligma-cheat\ligma-cheat\SDK;$(IncludePath)</IncludePath>
<PostBuildEventUseInBuild>true</PostBuildEventUseInBuild> <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
<TargetName>libligma</TargetName>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile> <ClCompile>
@ -328,7 +330,7 @@ adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.Per
</ClCompile> </ClCompile>
<Link /> <Link />
<PostBuildEvent> <PostBuildEvent>
<Command>Deploying.." cmd /k "$(SolutionDir)MemuDeployScript.bat</Command> <Command>start "Deploying.." cmd /k "$(SolutionDir)MemuDeployScript.bat</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies> <AdditionalDependencies>

@ -29,7 +29,7 @@ void init()
ligma::bypass::init([&](const std::uintptr_t il2cpp_base) ligma::bypass::init([&](const std::uintptr_t il2cpp_base)
{ {
LOGI("il2cpp base address = %p", il2cpp_base); LOGI("il2cpp base address = %p", il2cpp_base);
if (Il2Cpp::Attach()) //if (Il2Cpp::Attach())
std::thread(&test).detach(); // std::thread(&test).detach();
}); });
} }
Loading…
Cancel
Save