Hardcoded

From GTAMods Wiki
Revision as of 15:52, 30 December 2005 by Cerbera (talk | contribs) (Created to explain this common modding term.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The term "hardcoded" refers to a feature which is built into the game engine (the EXE file). As such, a hardcoded feature cannot be altered from text or binary file formats.

Early GTA Editions

Although it would be possible to edit hardcoded features of GTA1 and GTA2, no significant tools have been developed to do so.

Later GTA Editions

From GTA3 onwards, there was sufficient interest and expertise in the modding community to develop techniques for altering hardcoded features in the PC versions.

When the game is running, all parts of the game which are in use are stored in memory. It is possible to alter these values as they are structured in a stable manner. The modding community has documented many of the memory address used by some editions of the GTA series.

The techniques for finding and altering values in memory can be very complicated. However, they have been implemented by modders for several applications in the GTA series:-

Trainers
Typically enable player health, player location, current weapons and many other statistics to be manipulated.
Admin/Developer Consoles
Capable of making advanced alterations to many specific aspects of game environment, from the cars parked in garages to the strength of gravity.
Spawners
Insert instances of default objects (usually vehicles) into the game environment at the request of the user.

External Links