Cheat Engine Unity Game

In most cases, if you want to cheat single-player game, you will reach out to a good old Cheat Engine. Learning curve is pretty short (at least for some basics), so it is not unusual that Cheat Engine was our first pick when we tried to cheat Monster Train. However, for some games, it can be real pain it the a*s to find the correct addresses where some game values are stored (for example, gold). In that case, it is sometimes easier to change the game logic directly.
So, how can we edit the game without the source code? How can we edit which is already compiled? Luckily for us, some smart people already created a tool which can help us.

  1. How To Cheat Engine Unity Games
  2. Unity Game Maker

dnSpy

dnSpy is a debugger and .NET assembly editor. You can use it to edit and debug assemblies even if you don’t have any source code available. With dnSpy, you can:

  • Debug .NET and Unity assemblies
  • Edit .NET and Unity assemblies
  • Edit methods and classes in C# or Visual Basic with IntelliSense, no source code required
  • Add new methods, classes or members in C# or Visual Basic

dnSpy can be found here: https://github.com/dnSpy/dnSpy
So let’s see in practice how we cheated the Monster Train.

After downloading Assassins Creed Unity trainer now you can enjoy unlimited health, ammo, more power, extra weapons, more energy, unlimited cash, and no reload require for Assassins Creed Unity. You can also enjoy unlimited cheat codes for racing games and access hidden cars cheat codes nitro boost wii boost and much more. Cheat Engine The Official Site of Cheat Engine FAQ Search Memberlist Usergroups Register: Profile Log in to check your private messages Log in. Cheatbook your source for Cheats, Video game Cheat Codes and Game Hints, Walkthroughs, FAQ, Games Trainer, Games Guides, Secrets, cheatsbook Unity is a cross-platform real-time engine developed by Unity Technologies, first announced and released in June 2005 at Apple Inc.’s Worldwide Developers Conference as an OS X-exclusive game engine.As. Search for jobs related to How to hack unity games with cheat engine or hire on the world's largest freelancing marketplace with 19m+ jobs. It's free to sign up and bid on jobs.

  1. So he finally admited he had cheated by using a tool called cheat engine that basically looks for memory positions that store a certain value and then gives you the option to put whatever value you wish in that memory address (he paused the game, looked for his actual score and modified it).
  2. SUBSCRIBE: Twitch Channel: this video, I talk about 'noclip' hacks and demonstrate how to find a trick.
  3. Hi everyone, so i just recently installing this one game from Steam. Its called Battle for Blood - Epic battles within 30 seconds!. Just small 75mb game made with unity engine. So I actually try the usual method of increasing money using cheat engine but i could not find the exact numbers. For example the money is 270.

Monster Train gold cheat with dnSpy

If you happened to like Slay the Spire, you’re gonna love this. For a long time, we have tried to find a decent replacement for the Slay the Spire game. Although this game doesn’t have a Slay the Spire-ish depth, it is a great roguelike deck-building game, and you won’t make a mistake if you try it. You can find the more info about the game on Steam: https://store.steampowered.com/app/1102190/Monster_Train/
Monster train can be unforgiving if you made a wrong choice during the deck building, so we had to cheat it. 😀 As mentioned before, pinpointing the GOLD address was real pain in the a*s, so we had to change a function for adjusting gold in the game. So let’s see how it can be done:

Cheat
  • First of all, open the dnSpy, and open (Ctrl+O) Assembly-CSharp.dll which is usually located in X:SteamLibrarysteamappscommonMonster TrainMonsterTrain_DataManaged. If you are not sure where your game is installed, you can right click on it in Steam interface, and click on “Manage – Browse local files”.
  • After the Assembly-CSharp.dll is loaded, you will see a shitload of classes, methods, and other unfamiliar stuff (unless you are a developer). With dnSpy, you will be able to change some methods , and compile it back into the original file. Right now, we only wants to cheat gold, you let’s find a method which adds the gold. You can search for it manually if you are curious – if now, please follow the pictures.
  • Click on this:
  • After that, find the SaveManager, and after that, you will find “AdjustGold” method.
  • Right click on it, and select the “Edit Method C#” option. You should see something like this: –

As you can see, this method takes gold amount as a parameter, and returns the changed value. If you are not programmer, don’t be afraid. It looks more complicated than it really is. So, let’s change the logic of this function. for example, we can add this line to increase our gold for 1000 every time this method is called.

Cheat

amount += 1000;

So our code should look like this:

  • After you have tweaked the method, click on the “Compile” button in the lower right corner. The window will close, so just click on File – Save all (or press Ctrl + Shift +S).
  • And that’s it. You have successfully modded your Monster Train game. Open the game, and enjoy. Using the same method, you will be able to cheat almost all Unity games.
Share

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/DirectoryDescription
*.exeExecutable file of the game
*_DataData folder containing the game resources
level0-levelNFiles containing game scenes data, each scene has its own file
sharedassets0-sharedassetsNGame assets are split into sharedassets and .resS files (sharedassets.assets.split0 - ..splitN on platforms like Android/iOS)
resources.assetsRaw 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)
ManagedFolder containing unity DLLs
Assembly-CSharp.dllDLL file containing compiled C# files
Assembly-UnityScript.dllDLL file containing compiled UnityScript files

Extracting and editing code

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.

How To Cheat Engine Unity Games

If DLLs are missing from the managed directory, try dumping them using this tool MegaDumper

Spinnortality cheat engine

Extracting assets

Assets are stored in the .assets and .resS files. Content of these files can be unpacked with one of these tools :

ToolDescription
UtinyRipperuTinyRipper 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 StudioA tool for exploring, extracting and exporting assets from Unity games and apps.
Unity Assets Bundle ExtractorUABE 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 ExplorerCan extract textures to .DDS format, meshes to .43 format.
QuickBMS with this script or this one for webplayer
DevXUnityUnpackerA (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.
UnityEXTool for extracting/converting files from .assets bundles and replacing files (Mostly used for replacing textures).

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 :

Unity Game Maker

Use 3D Ripper DX (doesn't support 64 bits binaries) or Ninja Ripper.

Alternatives:

ToolTutorial
RenderDocTutorial on how to use RenderDoc.
Intel® Graphics Performance AnalyzersTutorial on how to use the Intel Graphics Analyzers to extract graphics.

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.