Mustafa1177 / JJ2Minus

JJ2Minus is a patch for the game jazz Jackrabbit 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MinusTemp

JJ2Minus is a patch for the game jazz Jackrabbit 2

Getting Started

Tutorial on adding a JJ2 variable for reading/writing.

1- Find the address you want to add, you can find some game addresses in the link below:

https://www.jazz2online.com/wiki/List_of_Jazz_Jackrabbit_2_Memory_Addresses

2- Open the "addresses_table.h" file and define the address inside the "GameAddressTable" structure.

image

3- Now go to "addresses_table.cpp" and assign a value for the variable you defined in the previous step inside the "GameAddressTableTSF" or "GameAddressTableV23" structure depending on the game version you are targeting.

image

4- Go add an external pointer to the game variable inside the file "jjvariables.h" so that we can access it from other files.

image

5- Now, we need to assign the address we added previously as the value for the pointer we defined last step. We will accomplish this using the "init" function inside the file "jjvariables.cpp". The "init" function is called at the start of the program which lets us assign the addresses to the pointers.

image

6- Now we have everything set up! You can now read/write the value of the variable by using the poiter we added:

JJVariables::GameMode = 2;

Don't forget to include the "jjvariables.h" header file:

#include "jjvariables.h"

About

JJ2Minus is a patch for the game jazz Jackrabbit 2


Languages

Language:C++ 99.6%Language:C 0.4%