Mainly describes the main function of Trainermakerkit "button" and the use of code input. The compression pack contains a Chinese version and an English original, and provides an example of a modifier. Chinese version of Learning to use, make a modifier, please use the original English.
Trainermakerkit modifier Builder, hereinafter referred to as tmk:http://www.xdowns.com/soft/27/59/2010/soft_63523.html
The following is more abstract, you can see the video to learn.
The TMK buttons and edit box controls can use the Code Directives feature.
For all the properties of a button, see Button property. txt.
How to: Click the button control, draw the control on the main screen, and then right-click on the control, and you'll see all the options you can set for this control.
Button Properties: Directive edit:
TMK only supports the following four assembler commands: Poke,add,sub,lck.
Data type:
BYTE: Unsigned 8-bit integer, 0 to 255 (1 bytes).
WORD: unsigned short int, 0 to 65535 (2 bytes).
DWORD: unsigned long integer, 0 to 4294967295 (4 bytes).
float: Floating-point type, 3.4E-38 to 3.4E38 (4 bytes).
Double: double-precision floating-point type, 3.4E-38 to 3.4E38 (8 bytes).
Should give examples and instructions to use the method:
[Poke] overrides known values to memory (syntax: Poke address reverse hexadecimal number):
Example: Rewrite values 90000 and 7477788 to memory addresses 405888 and 980000.
To make a numerical conversion:
90000=15f90 16 (Reverse: 905F01)
7477788=721a1c 16 (Reverse: 1c1a72)
Therefore, the instructions are:
Poke405888905f01
Poke9800001c1a72
[Add] Add (Syntax: Add type address value):
Increases the specified value on the original value of the memory address.
Example: AddBYTE40000055
[Sub] minus (syntax: Sub type address value):
Subtracts the specified value from the original value of the memory address.
Example: SubWORD4000001253
[Lck] Lock (Syntax: Lck type Address):
Lock the original value of the memory address (the key Auto lock option must be turned on!).
Example: LckWORD400000
Another example (this is locking hexadecimal bytes rather than the data inside)
Example: LckBYTE400000
If you are very difficult to use the above instructions, you can use the wizard function, save a lot of trouble.
Some application instructions
Example 1: To write a single-byte hexadecimal 8B4DFC to the address 00ab26d2 to 00AB26D4, follow the wizard results as follows
popk00ab26d28b
popk00ab26d34d
Popk00ab26d4fc
You can simplify it.
Popk00ab26d28b4dfc
Example 2: How code is modified
Code changes need some assembly knowledge, not 32 words can be clear.
Example: We want to modify the code from address 1003eb00 to 1003EB06
poke1003eb00c74104040000
It's OK like this.