Tutorial How to dump decrypted DLL files using GameGuardian (NO ROOT / ROOT)

AndnixSH

PMT Elite Modder
Staff member
Modding-Team
You can dump memory using GameGuardian to extract encrypted file using get_dll_from_bin tool or Winhex.

Requirements:

Instructions:
Download GameGuardian app and install it on rooted device or emulator

Download get_dll_from_bin.exe. We wil need it later

Install GameGuardian APK on non-rooted device or rooted device or emulator. It's very easy

Non-rooted devices:
You can use Virtual Space. See the tutorial

Or use Virtual machine with root support:

Rooted devices:
GameGuardian works with SuperSU and Magisk. All you need is to grant root permission upon launch

Emulator:
If you are using emulator that supports shared folder and allows you to changed path of shared folder, you can use it to dump files directly to your hard drive

Example in Memu, I changed music path to D:\Shared of my external hard drive.

MvUMooI.png


Some emulators do not allow you to change the path. I know 2 emulators that uses hardcoded path:

Bluestacks: /sdcard/windows/BstSharedFolder
Nox: /mnt/shared

For others, find it yourself

------------------------------------------------------------------------------------

Launch GG and press Start to launch GG floating icon.

Launch the game

Open GG and select process of the game

Click on hamburger menu icon (☰) and click on white folder with down arrow

IDqWEAF.png


Change path if you want and click Save. This will dump whole memory into the disk

E4FyfzK.png



J6Kj23l.png


If you use a phone, copy all the dump files to your computer.

Copy get_dll_from_bin.exe to the location of the dumped folder and double click to start extracting DLL files.

pq4HN4S.png


After that, you will get dll files

yHr2rc5.png


Open them on dnSpy and enjoy

Can't find the Assembly-Csharp.dll file or can't open some dll files? You may need to decrypt some remaining parts or fix some header by yourself. I can't help with DLL protections related

Credits:
AndnixSH (Tutorial)
Enyby (GameGuardian and get_dll_from_bin.exe)
 
Last edited:
Hello.
I can't seem to dump thoroughly because the game force closed during the dumping process. As a result, I couldn't retrieve the dll files.
I assume that the game has protection against dumping. (is that even possible?)

How do I get around this problem?
Thank you.

P.S. The game I'm trying to mod is Utopia: Origin.
 
Hello.
I can't seem to dump thoroughly because the game force closed during the dumping process. As a result, I couldn't retrieve the dll files.
I assume that the game has protection against dumping. (is that even possible?)

How do I get around this problem?
Thank you.

P.S. The game I'm trying to mod is Utopia: Origin.
Yes this is a protection against dumping but I think only PMT Team know how to get around this protection but they can't (or want) explain this
 
Maybe 10% from all Stuff in hacking scenes ( doesn't matter if Phone hacking, PC hacking or real hacking ) is public, 90% is Secret.
When we make all things public, the dev's fix it in a few minutes and we can't mod anymore.
So try to learn more by yourself, become more and more familiar with modding and program languages, deserve it to become advanced knowledge someday and you are on a good way :D
 
I tried to mod another game now. I successfully dumped it, but there seems to be an error when running the script (get_dll_from_bin_modified.exe) and I cant get all the dlls except the Assembly-Csharp. Here is the error that I got:

1548140272109.png


I'm sure that 16.dll is the Assembly-Csharp since it has the biggest size compared to the other dlls. However, an error occurs when making the dll and the script stops there. I googled the error message and found that it is related to the memory limit that the script allows. The script allows approximately 128M of memory while making 16.dll requires about 512M. An answer suggested that we should add this to the script:
1548140637823.png


While being unable to edit the script since it has been compiled to .exe, I don't know any other way to get around this problem. Is there a possible solution to this?
 
Back
Top Bottom