D
D
Daniel2019-03-31 00:31:35
reverse engineering
Daniel, 2019-03-31 00:31:35

How do you write patches for games without knowing the code?

I myself am on the web, and there is a desire to write a patch for the game, even the simplest one, but I can’t understand how, and Google doesn’t help, what tools are needed, and in general what you need to know. There is a game of the 90s in c ++ without source codes and somehow people make patches, in short, who knows, tell me

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Exploding, 2019-03-31
@Exploding

The case when it's probably easier to rewrite the game)))

R
Ronald McDonald, 2019-03-31
@Zoominger

There is a game of the 90s in c ++ without source codes and somehow people make patches, in short, who knows, tell me

What is the patch, what does it do?
A friend uses a disassembler and writes directly in ASM, but the game is small there. Killed several years to fully understand the logic :) But then I solved a number of problems and improved the engine a lot.
Everything depends on the goals.

M
Moskus, 2019-03-31
@Moskus

The most "stupid" way is to analyze memory dumps and try to change the value of some variables that change with different game states. There were even special tools for this. The most difficult way is to run under a debugger, disassemble, inject your own code. This, in any case, is something that is not done at all without knowledge.
By the way, it is completely incomprehensible what "I am on the web" means, put it in human terms.

N
Nikita Melikhov, 2019-03-31
@VeroLom

At a minimum, a debugger, a disassembler and minimal knowledge of assembler. It is not necessary to be able to write something on it, but you need to know the basic instructions. At a minimum, transitions (JE/JNE, JZ/JNZ).
I had nothing to do with games, but more than once I "disabled" the license key check in various programs. Back in those days (early 2000) when it was quite simple.
In any case, it is better to start with Google. Something, but there is plenty of such on the Internet. However, most of it is in English.
PS Another EXE can be packed (some UPX, DIET or other - there are unpackers) or even encrypted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question