Difference between revisions of "0A8C"
Jump to navigation
Jump to search
(page updates) |
|||
Line 1: | Line 1: | ||
− | + | {{This|For GTA III's and Vice City's equivalent, use 05DF.}} | |
− | '''Description''': | + | {{Icon|SA}} (with [[CLEO]]) |
− | '''Parameter | + | <hr /> |
− | '' | + | '''Description''' |
− | '' | + | : Writes a value to the game memory |
− | '' | + | '''Syntax''' |
− | + | : 0A8C: write_memory [''int''] size [''int''] value [''any''] virtual_protect [''int''] | |
+ | '''Parameter''' | ||
+ | : [''int''] | ||
+ | :: [[:Category:Memory Addresses|memory address]] (generally a hexadecimal value, which is indicated by the leading characters <code>0x</code>) | ||
+ | : [''int''] | ||
+ | :: Number of bytes to write: 1, 2 or 4 bytes | ||
+ | : [''any''] | ||
+ | :: Value to write (any datatype) | ||
+ | : [''int''] | ||
+ | :: 0 = if the address is rewritable, 1 = if the address is read-only | ||
− | This opcode writes a value to the game memory. | + | This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of [[CLEO]] and you must install it in order to utilize this opcode. |
− | + | == Keywords == | |
− | + | CLEO, write, memory, address | |
− | |||
− | |||
− | |||
− | |||
− | ==Keywords== | ||
− | CLEO, write memory, | ||
[[Category:CLEO Opcodes]] | [[Category:CLEO Opcodes]] |
Revision as of 17:20, 30 December 2014
For GTA III's and Vice City's equivalent, use 05DF.
(with CLEO)
Description
- Writes a value to the game memory
Syntax
- 0A8C: write_memory [int] size [int] value [any] virtual_protect [int]
Parameter
- [int]
- memory address (generally a hexadecimal value, which is indicated by the leading characters
0x
)
- memory address (generally a hexadecimal value, which is indicated by the leading characters
- [int]
- Number of bytes to write: 1, 2 or 4 bytes
- [any]
- Value to write (any datatype)
- [int]
- 0 = if the address is rewritable, 1 = if the address is read-only
This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of CLEO and you must install it in order to utilize this opcode.
Keywords
CLEO, write, memory, address