| Site Menu: Home | ||
|
||
| Local Menu: News | About | Compiling | Screenshots | Downloads | Manual | Trainer and Cheats | FAQ/Troubleshooting | ||
Trainer and Cheats
Cheats What Are Cheats? Cheats (cheat codes) are codes that modify certain values within a game such as lives or ammo. Enter cheats into the Cheats tab. You can create your own cheats using the supplied Trainer or you can type them in from another source. The Cheat Code Format Address.Bytes.Value for example:- FEB3B.1.63 would set a single byte at address FEB3B to hexadecimal 63 (decimal 99). It is also possible to have 2-byte cheat codes for example 33A8.2.7FFF would set a 2-byte word at address 33A8 to hexadecimal 7FFF (decimal 32767) in little-endian format i.e. actually stored within the save state file as FF7F. A Typical Cheat List * CT Special Forces 2 - Back to Hell * It is possible to enter anything into the cheat list and the above example is a format that I am content with, but you are free to design yours as you like. Only valid enabled cheats can be applied to the save state file which is always #9 i.e. the save state file that is created by pressing Shift + F9 from within VisualBoyAdvance. Cheats must be enabled (checked) before pressing the Apply button otherwise nothing will be applied. Cheat Code Files Cheats can be saved to their own game related file. The cheat codes will be saved to gamename.rcf in the folder specified in the RbVBArc tab under Cheats. I suggest setting this path to a similar place you will have already set the battery, saves, snaps and covers to for example /home/user/.VisualBoyAdvance/cheats/. Cheat codes are always referenced in hexadecimal format although it is possible to display their values in decimal within the cheat list. When they are saved to file they are always stored in hexadecimal format. An Example Use of a Cheat Code Select CT Special Forces 2 - Back to Hell in the game list. Thus the sequence is Play Cheat Code Tips
The Trainer What is the Trainer? The Trainer is a system to search for values that could represent number of lives, number of bullets, health, level etc. The Trainer within RbVBA is a save state Trainer, meaning it operates on save state files. This system is different to Trainers that operate persistently on memory. The Two Types of Search There are two different search methods depending on what you are searching for. One is the Known Value Search and the other the Unknown Value Search. Known values are values such as those that represent bullets or grenades, unknown values represent health bars. An Example Using the Known Value Search Throughout use of the Trainer there are Context Sensitive Instructions at the top. Read them until you are familiar with the system. Select Advance Wars in the game list. Advanced: the funds value in Advance Wars is actually 4 bytes so you can manually create a new cheat code 2317D.2.E and apply that too which would give you 983039 funds; more than enough. An Example Using the Unknown Value Search This system is quite difficult to explain using an example because it differs considerably depending on what game you are playing and what you are searching for, so I will just explain the process. You want to search for the value that represents your characters health but you don't know what the value is as it's just a bar, no numbers. For this you can use the Unknown Value Search. The first time you use this method you simply press Search to initialise it. Thereafter you describe the difference between the previous value and the current value. Perhaps your health bar was full and you have taken damage so now your health is less than it previously was, so you click the less than button (<). Maybe your health has been increased by a power-up so now your health is greater than it previously was (>), maybe it's been the same for some time (=) or not the same (<>). The point is you must describe how the current value relates to the previous value and keep repeating this process until you have reduced the results to something useable. It is not uncommon to finish with 8 or so results after 10 iterations of the process. More so than the Known Value Search, this method relies on you understanding what you are looking for and being able to distinguish it. I have used this method to search for the health bar in CT Special Forces 2 - Back to Hell. It took 11 iterations to get 6 results and I could see the result which would generate a cheat code because it was similar to others I had found and wildly different to the other 5 results. The code is 33A3.1.64 (64 hex is 100 decimal). Trainer Tips
|
||
|