How to use Riru-Il2CppDumper to dump Il2Cpp games (Magisk 23 and below)

For Magisk 24 and above, please see new tutorial: https://www.andnixsh.com/2023/06/how-to-use-zygisk-il2cppdumper-to-dump.html

Riru-Il2CppDumper is a magisk module that hooks into the game, and dumps data while the game is running, even the game is protected and encrypted. Riru-Il2cppDumper can dump protected games that you can’t with normal Il2cppDumper, even you used GG or LibDumper to dump .so and .dat file

This module requires root with magisk, if you don’t have root, please use Auto-Il2CppDumper by BrianGIG: https://www.andnixsh.com/2023/05/how-to-use-auto-il2cppdumper-to-dump.html

This is not an 1-click dump, this is a DIY tutorial, you must do the following steps manually and compile the module by yourself. You just need to know how to use Android Studio and make some changes, no need programming skills. NEVER ask me to dump it for you

This will not work on some games with higher protections. Some games can detect tampered APK and detect hooking.

Are you ready? let’s go:

Requirements:

Steps:

Know the unity version: https://www.andnixsh.com/2019/05/how-to-get-unity-version-from-any-asset.html

1625591406820.png

Open the project in Android Studio. Wait for the Gradles to load

Open game.h. An example has been setup

1629306823718.png

Before you change version, read the Unity version compatible list in the game.h
and comment out or remove defines if one or more are below than that

For example my game is 2019.4.0f1, I changed version to 2019.3.7f1 game.h and commented out the following definitions

//#define VersionAbove2020dot2
//#define VersionAbove2021dot1

And know the game’s package name. You can easly find out anywhere, from Playstore’s URL, APKcombo’s URL, etc

Image 1629306993.png

Compile the module

First do Build -> Make project

Then Build -> Make module

Image 1616754574.png

File comes out as riru-il2cppdumper-vX.X.X.debug.zip under out folder

1629307351476.png

Copy the file to your phone

Install Riru on Magisk if you haven’t installed already, It’s called Riru in the Modules list. Don’t reboot yet

Screenshot_20210706-163750.png

Now Install the riru-il2cppdumper-vX.X.X.debug.zip module from your storage

Screenshot_20210706-191714.png

Screenshot_20210706-191738.png

Reboot after install

Check your module list again, see if Riru module is running. If it says Loaded 1 modules or more, you are good to go. If it says Loaded 0 modules, something is wrong with your setup

1631629402142.png

Open the game, it will generate dump.cs to /data/data/(Game package name)/files/ within a few sec. You may need to wait a few secs or wait for game data to be finished downloading, until it has been dumped

Screenshot_20210818-193251.png

Congratz, you have successfully dumped it!

Having issues? Try to dump unprotected game like Among US or Subway Sufers to see if it works, if not work, your device may not compatible or the Magisk or Riru module is not working
If it works, then the other game you had tried is protected against Riru dump

Comments

Popular Posts

VMOS Pro - FREE Custom ROMs without VIP | GMS, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs

List of Android Virtual Machine apps for Android devices