Game binary editing tutorial 1 - ZDoom and debugger - basics
Channel: Orb Claw
Date: 11/03/2017

A quick tour on editing arbitrary release version of games.
In this case study we will edit ZDoom binary to increase ammo each time we shoot instead of normal decreasing.

We will use GDB, QtCreator, Xvi32, Flat Assembler, ArtMoney and ZDoom itself.

Hints:
make sure your ZDoom setup is in windowed mode so you don't have any video mode changes during debugging - for safety and convenience

Environment setup: 
1 - To build binary in flat assembler the command line is: 
win32/fasmw17154/FASM.EXE  testasm.asm testasm.bin
2 - https://flatassembler.net/download.php - flat assembler for Windows 32 or 64 bit.
3 - ZDoom download https://zdoom.org/Download
4 - you also need IWAD from DOOM in same directory as extracted ZDoom as original doom - download it here: http://www.doomworld.com/classicdoom/info/shareware.php
5 - Qt creator is here: https://www.qt.io/download/ make sure you have MinGW32 bit version for Windows
6 - Xvi32 is here: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
7 - Artmoney SE - http://www.artmoney.ru/artmoney745eng.exe