Cheat Engine – How to make a game trailer

Cheat Engine – How to make a game trailer

In order to create your own trainers for a PC game, you need to get hold of a cheat engine and learn some basic stock-finding techniques.

If you don't have the necessary knowledge yet, check out this guide on the basic operation of combustion engines. You will also need to be patient. The bigger the game, the harder it is to get the trainer to work. He will have to run, scan and reboot for quite some time to get multipointers to work and this will require a lot of patience.

Basic concept.

When we run a game on our PC, the data is stored in RAM and assigned a physical memory address, such as "00E0E990". However, this address does not always contain the same value, since the addresses are assigned differently each time we start the process. So we have to find a specific function or "pointer" within the process that will point us to the correct value. This is essentially what we do when we create a trainer: we look for a function in the game process that will always point to the value we want to change, regardless of where in physical memory this value is stored. I know it sounds complicated, but you will understand when you create your first trainer.

How it works

It's best to watch the video to see for yourself how it works, but in general: we scan the value we want to change and make sure it's correct. Then we do a pointer scan to that address and we'll probably get a bunch of pointers. To narrow down the choice of pointers, we restart the game and scan again, using the same value and its new physical address in memory. We repeat this process until we have fewer than 300 or, ideally, even fewer than 100 pointers. We then take all or a large sample of the pointers and import them into our cheat table by double-clicking on them. Now we restart the game again, turn on the Cheat Engine and we can easily find the pointers we want by comparing their values ​​to the ones that appear in the game.

Problems

This only works for static addresses and will not work for dynamic addresses. Also, trainers created in this way will quickly become outdated even after the smallest updates and changes to the game. To get around this problem, we will need to create the AoB Scanning Trap Table Trainer. I'll learn how to do it as soon as possible, and I'll update this article when I can teach how to do it. Here's how to make a trainer in Russian.

How to make a trainer for the game – step by step guide

To create a trainer for the game, you will need a cheat engine called the “Cheat Engine” and of course the game itself that your trainer will be created for. Use Cheat Engine to map out the gameplay you want and create a trainer for it in the special menu section.

We will take the game as an example: Jolly Farm 2, our task is to make an infinite coin trainer. We start the game and start playing, we see that we have 71 coins, we pause the game and minimize the game on (Alt + Tab) – we do not close the game and do not exit it.

Cheat Engine Screenshots

Open Cheat Engine, and click on the monitor icon, from the dropdown select our game process ferm2.wrp.exe and click open.

Cheat Engine Screenshots

Next, we need to find our 71 coins, type 71 in the “Value” field and click the “Search” button.

Cheat Engine Screenshots

Next we need to refine the value we are looking for, since we have many addresses and we only need to stick with one. Deploy our game in the same way (Alt+Tab) or click the game icon on your computer's taskbar and it will be deployed. Continue the game and spend or earn money so that our coins change value, we have 84 of them, press pause the game and minimize again, but do not close the game.

Cheat Engine Screenshots

Go to Cheat Engine enter 84 in the value field and click on the «Screening» button.

Cheat Engine Screenshots

Once we've filtered, we're left with 1 address – that's our coveted coins, right click on the menu value select “Search for writing instructions to this address” by default (Ctrl + F6).

Cheat Engine Screenshots

A popup will appear “The following instructions write to XXXXXXXXXX”, there will be nothing in it. In order for our trainer's process to appear in it, we have to open the game again and change the coin value. Unwrapping the panel game we buy water from the well and get the value of 65 gold. We minimize the game and switch to Cheat Engine, while we see that the process appears in the box. Select it and click the “Show in Disassembler” button.

Cheat Engine Screenshots

Let's open a new window «Memory Editor», and in it and our address, right click on it to «Copy to clipboard» – «Bytes + Instructions» save them in the notepad on the desktop that will be useful for us to work with the trainer.

This is an example:

farm2.wrp.exe+2FA06 - 89 91 48060000        - mov [ecx+00000648],edx

Now we need to substitute this value for "nop" - how do we know how much "nop" is needed for this address when creating the trainer. To do this, also right-click on the address and select from the menu “Replace with code of nothing (NOP)”.

Cheat Engine Screenshots

Count how many “nops” we have in a line. We have 6, remember this number.

Cheat Engine Screenshots

Return the code to its original value by right-clicking on the menu and selecting "Restore Original Code".

Cheat Engine Screenshots

In the same “Memory Editor” window we select tools, in the drop-down menu we select “Self-Assembler”, so we will have the following window “Self-Assembler” here we will write our code for the future trainer. Choose in the «Template» window to insert sections [ENABLE] и [DISABLE].

Cheat Engine Screenshots

From the template we only leave [ENABLE] and [DISABLE]. Under the [ENABLE] parameter we must write the following code, which we have copied and the number «nop»:

[ENABLE]
farm2.wrp.exe+2FA06:
nop
nop
nop
nop
nop
nop

under the parameter. [DISABLE] The original code has not been modified:

[DISABLE]
farm2.wrp.exe+2FA06:
mov [ecx+00000648],edx

Cheat Engine Screenshots

Note that the ":" must be required or you will not be able to inject the code. Click run and confirm in the same “Auto-Assembler” window, click “File” and “Add to current table”. Once we've done everything let's go to the main Cheat Engine window and see our finished code for the trainer. This code can be renamed to your own name by double clicking on “Endless Coins”. To check if our code works or not, put a cross in the blank field, our code will be activated. It is also advisable to set the code activation on the key, usually F1 – Endless Coins. Let's do this, so that there are no more problems with specifying the key in the trainer. To do this, right-click on the code and select “Assign Hotkeys” (Ctrl+H). In the Assign/Change Hotkey window, fill in the following fields: “Hotkey” – press F1, “Default Description” – Infinite Coins, “Activation Sound” – default On and Off and press “Confirm ».

Cheat Engine Screenshots

Start the game and start spending coins or collecting. As you can see the value does not change, this means that our code works 100%. Also, during gameplay, press the "F1" hotkey to make sure our code turns on and off. We can proceed to the creation of a trainer.

Creating a trainer with hotkeys and layout

To create a trainer, go to the main Cheat Engine window, click on “File” and “Generate trainer using current table”. Fill in the important fields: 1. 1. “Name” – The name of your game “Trainer text” – Write the version of the game and who is the creator, 3. “Icon” – Select a small icon in .PNG format, will be displayed as a shortcut to the trainer and also on the trainer itself in the top left corner, 4. “Background Image” – select any vertical image, usually this is the cover of the game itself, 5. “Allow Size window” – usually this box is removed so that the trainer has a fixed window size, if it is not removed users can stretch it. You can also add music “Play modular music” – Download music in .xm format from the folder it is in, the music will play when you start the trainer. 6. «Generate» – start saving the trainer.

Cheat Engine Screenshots

After clicking generate, check all the parameters, make sure to set “Target is 32-bit process” to “Process”, as users may have a 32-bit operating system. Then click “Generate”.

Cheat Engine Screenshots

note to methat all items (Music, Pictures) and coach save must be in the root C: ~ or in English path C: ~ Triner. If you save to C:My DocumentsMy Trainers you will get an error.

Cheat Engine Screenshots

This is everything you need to know about how to create a trailer for a video game. cheat engine.