PDA

View Full Version : What is opcode 00C4 being used for in Things to do in San Andreas



rifter
07-22-2009, 04:55 PM
What would be the effect on gameplay if the handful of instances of this opcode are commented out of the main.scm? Since these keep the mod from working under WINE, it would be handy to know before recommending this course of action as a solution.

rifter
07-23-2009, 01:42 PM
Sorry, didn't do enough searching, found the thread on GTA forums listing the addresses in question
gtaforums.com/index.php?showtopic=194199&st=460
What they were found to do is replace the model numbers of motorbike police depending on region, change the model of helicopter used depending on wanted level, and turn on anisotropic filtering for license plates.

DeeZire
07-25-2009, 03:00 PM
Yes, this opcode was patched into the main exe in order to allow me to access memory values dynamically. It's needed because that area of memory is usually protected so you have to disable virtual protect by using the Win32 API, which is what this opcode does.

This is the only way to make the changes in those examples, sorry it doesnt work on WINE. You can comment them out without causing any problems.