This is a small guide for extracting and modifying assets or code from games made with the Unity engine. Feel free to contribute.
Unity game folder structure
* : Name chosen during building
File/Directory | Description |
---|---|
*.exe | Executable file of the game |
*_Data | Data folder containing the game resources |
level0-levelN | Files containing game scenes data, each scene has its own file |
sharedassets0-sharedassetsN | Game assets are split into sharedassets and .resS files (sharedassets.assets.split0 - .splitN on platforms like Android/iOS) |
resources.assets | Raw Assets found in the project resources folders and their dependencies are stored in this file (as well as raw audio files, even if outside of Resources folder in Unity, AudioClips with references to .resource and info such as audio size/offset still stored inside .assets) |
Managed | Folder containing unity DLLs |
Assembly-CSharp.dll | DLL file containing compiled C# files |
Assembly-UnityScript.dll | DLL file containing compiled UnityScript files |
Extracting and editing code
Everything was ok till we found some enormous Scores, we thought on a SQL injection or something like that. But in the end it was due to Cheat Engine. Simple: - Open the game on the Browser - Search for the browser process (or the plugin container for Firefox) - Enable Speed Hack and slow down the process Our scoring system is based on. A tool for exploring, extracting and exporting assets from Unity games and apps. Unity Assets Bundle Extractor: UABE is a tool that allow modification of assets file and extraction of assets in usable formats (png/tga for textures, obj for meshes). Unity Assets Explorer: Can extract textures to.DDS format, meshes to.43 format. Unity games almost all use a backend scripting engine in.NET (C#) which can be exploited easily. You can overwrite the DLL and literally take control of the game. This is called DMA. Things will shift as the state of the object changes and becomes disposed / recreated. For Unity games. It really is simple and it's also very fun to learn about how the game is put together and start doing what you want. I believe also from this you can create mods and all sorts so it's pretty fun I am not going to cover how to bypass anti-cheat or anything like that so if you are looking for that you are in the wrong place! Hello guys, in this tutorial I am showing you How to find Memory static Addresses and Offsets and Structures with Cheat Engine. The key addresses and offsets. SUBSCRIBE: Cheat Engine Tutorial Series: Twitch: this video, I show you how to quickly.
C# and UnityScript files are compiled into the Assembly-CSharp.dll and Assembly-UnityScript.dll DLLs respectively, which can be found inside the Managed folder.
DLLs can be decompiled using ILSpy or dnSpy which allow modifying and recompiling assembly files.
If DLLs are missing from the managed directory, try dumping them using this tool MegaDumper
Cheat Engine Unity Browser Games Free
Extracting assets
Assets are stored in the .assets and .resS files. Content of these files can be unpacked with one of these tools : /windows-phone-game-cheat-engine.html.
Tool | Description |
---|---|
UtinyRipper | uTinyRipper is a tool for extracting assets from serialized files (CAB-*, *.assets, .sharedAssets, etc.) and assets bundles (.unity3d, *.assetbundle, etc.) and conveting them into native Engine format. |
Unity Studio | A tool for exploring, extracting and exporting assets from Unity games and apps. |
Unity Assets Bundle Extractor | UABE is a tool that allow modification of assets file and extraction of assets in usable formats (png/tga for textures, obj for meshes). |
Unity Assets Explorer | Can extract textures to .DDS format, meshes to .43 format. |
QuickBMS with this script or this one for webplayer | |
DevXUnityUnpacker | A (paid) tool with a friendly GUI meant for restoring unity projects by inputting the built game/app including a previewer for individual files as image, hex, text etc. |
UnityEX | Tool for extracting/converting files from .assets bundles and replacing files (Mostly used for replacing textures). |
Cheat Engine Unity Browser Games Download
DDS files :
The DDS files can be opened/converted/edited with this gimp plugin or this photoshop plugin.
Another way of extracting meshes and textures :
Use 3D Ripper DX (doesn't support 64 bits binaries) or Ninja Ripper.
Alternatives:
Cheat Engine Unity Browser Games Pc
Tool | Tutorial |
---|---|
RenderDoc | Tutorial on how to use RenderDoc. |
IntelĀ® Graphics Performance Analyzers | Tutorial on how to use the Intel Graphics Analyzers to extract graphics. |
Cheat Engine Unity Browser Games Offline
Hacking memory
Cheat engine have a feature called Dissect mono that can help hacking game's memory. This video series about using cheat engine is really useful.