Indlæg

Unity tutorial - Making value adder hack for offline games

Billede
If you know C# basics, you will understand it.
In offline games, I basically looking for reward function and found codes that adds value into player data

And re-use the codes into mod menu with buttons to add values

Other similar codes from other games (I don’t tell what game) that adds coins and gems:
C#: int num = TPlayerPrefs.GetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex); num +=20000; TPlayerPrefs.SetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex, num); C#: TPlayerPrefs.SetEncryptGem(TPlayerPrefs.GetEncryptGem()+200);
Here are the codes: Gitlab: https://gitlab.com/andnixsh/Hack_Source_Center/tree/master/Unity/WK_RS
Github: https://github.com/AndnixSH/Hack_Source_Center/tree/master/Unity/WK_RS

[Archived] dnSpy 3.0.2, 4.5.2, 5.0.5, and beta

Billede
Here are old versions and links to official release and beta version. Any bugs only of beta version should be reported to https://github.com/0xd4d/dnSpy/issues
Downloads: 5.x.x beta dnSpy 5.x.x beta AppVeyor LINK
Official release 0xd4d/dnSpy
5.0.5 dnSpy 5.0.5.zip LINK #1 dnSpy 5.0.5.zip LINK #2
4.5.2 dnSpy 4.5.2.zip LINK #1 dnSpy 4.5.2.zip LINK #2 dnSpy 4.5.2.zip LINK #3
3.0.2 dnSpy 3.0.2.zip LINK #1 dnSpy 3.0.2.zip LINK #2
Files are untouched and are clean
Screenshot:

How to return float value in ARM

I made the simple IEEE 754 converter tool for ARM https://github.com/AndnixSH/IEEE-754-Converter/releases
Type any float value you want and get the hexadecimal for Little-endian
Then use http://armconverter.com/ to convert ARM instruction to hex bytes
Example number 1 is 0000803F (Little-endian), return like this
32-bit MOV R0, 0x0000803F
64-bit MOV X0, 0x0000803F
If you have problem converting ARM instruction with higher numbers, just use one of the byte sequences below
1 = 0000803F 2 = 00000040 4 = 00008040 8 = 00000041 16 = 00008041 32 = 00000042 64 = 00008042

Il2CppDumper GUI 1.0.4 - With .APK extension for dump automation

Billede
Extract .NET metadata from il2cpp binaries. (types, methods, fields, etc.)
Extraction code is based on Il2CppDumper
Requirements: - Net Framework 4 - Windows 7 and above
Features: Supports il2cpp binaries in ELF(arm, x86) and Mach-O(32bit, 64bit) formatSupports global-metadata version 16 and 20-24Extracts .NET metadata including types, fields, properties, methods and attributesSupports automated IDA script generationname and tag methodsstore dynamic string literals in commentsGenerates dummy DLLs that can be viewed in .NET decompilers
GUI Features: ·Select files ·Rename files ·Set output directory. ·Set mode. ·Set registration offsets ·Auto fill up offset registrations after dump ·Drag and drop support ·Remember everything except registrations

How to install Xposed on any Android Emulators running 5.1.1 and up

Billede
This is step by step to install xposed on any emulators running Lollipop and above. Thanks to Sean Post at Facebookfor contributing guide for Memu emulator but I have improved the tutorials.

Note: Xposed is tested and working on any Emulator running 5.1.1 and above but does not work on Bluestacks 3N running 7.1.2. The ROM was corrupted after installing Xposed.
For Emulators running Kitkat 4.4.4 and below, please use old Xposed Installer http://repo.xposed.info/module/de.robv.android.xposed.installer
1. First you need to install SuperSU 2.79 apk. Download SuperSU 2.79 APK below Link 1: http://www.mediafire.com/file/93061a18cw0280a/SuperSU_v2.79.apk/file
Link 2:https://usersdownload.com/rwo68aqm1ti5.html
APK is signed to prevent updates from Play Store Don't use SuperSU 2.82 because It no longer have ability to replace Superuser and you will get occupied error.
2. Install SU Binaries as normal and reboot in order for the Xposed installer to work.

3. Download xposed at https://dl-xda.xposed.…

dnSpy 4.5.2 by 0xd4d (stable version)

Billede
I finally found it on my HDD. This is the final stable version of 4, better than 5.0.0 release version, but beta version might be better since I reported bugs to dev lol.

Download:
Download Spy zip

dnSpy 4.5.2.zip

Files are untouched and are clean

Beta/Nightly:
If you wanna try beta version of 5.x.x, download this version:
AppVeyor

[Archived] GikDbg mobile debugging tool (iOS and Android)

Billede
What is GikDbg? GikDbg is a mobile platform assembly-level debugger, which is an application debugging tool for security researchers.It is based on: OllyDbg (32-bit assembler level analysing debugger for Microsoft? Windows); GDB (GDB, the GNU Project debugger); LLVM (collection of modular and reusable compiler and tool-chain technologies).
What features can GikDbg support? ELF / Mach-O executable file static analysis;Android / iOS App dynamic debugging;Android / iOS remote console;ARM assembler;ARM disassembler;Device file uploading and downloading;Built-in GDB and LLDB;Support for memory breakpoint, software breakpoint, conditional breakpoint;Support for multi-threaded debugging;Support for assembly code level file patching.
If you have some using problem, see Q & A List here... Current versiongikdbg-v1.2.build140828.2 & gikdbg.art-v1.3.build140723.2  - View update Logs

Download GikDbg (iOS)Download GikDbg.ART (Android)

Mirrors:

dnSpy - How to fix Multiple Assemblies error

Billede
Dear dnSpy users, have you got Multiple Assemblies error? Well it's very easy to fix. When you compile, look closely at error descriptions, it does tell you which .dll files are duplicated. Example: System.dll and mscorelib.dll is duplicated


Actual error: SeverityCodeDescriptionFileLine ErrorCS1703Multiple assemblies with equivalent identity have been imported: 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\<name>.dll' and '<path of game>\Managed\<name>.dll'. Remove one of the duplicate references.
Removing assemblies from dnSpy won't help because it adds them back automatically Close dnSpy and delete the duplicated .dll files from Managed folder that dnSpy mentioned

That's all. You are good to go. Open dnSpy and enjoy modding without error J
Video tutorial: