-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMemory.xml
More file actions
406 lines (406 loc) · 21.5 KB
/
Copy pathMemory.xml
File metadata and controls
406 lines (406 loc) · 21.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
<?xml version="1.0"?>
<doc>
<assembly>
<name>Memory</name>
</assembly>
<members>
<member name="T:Memory.Mem">
<summary>
Memory.dll class. Full documentation at https://github.com/erfg12/memory.dll/wiki
</summary>
</member>
<member name="M:Memory.Mem.OpenProcess(System.Int32,System.String@)">
<summary>
Open the PC game process with all security and access rights.
</summary>
<param name="pid">Use process name or process ID here.</param>
<returns>Process opened successfully or failed.</returns>
<param name="FailReason">Show reason open process fails</param>
</member>
<member name="M:Memory.Mem.OpenProcess(System.String,System.String@)">
<summary>
Open the PC game process with all security and access rights.
</summary>
<param name="proc">Use process name or process ID here.</param>
<param name="FailReason">Show reason open process fails</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.OpenProcess(System.String)">
<summary>
Open the PC game process with all security and access rights.
</summary>
<param name="proc">Use process name or process ID here.</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.OpenProcess(System.Int32)">
<summary>
Open the PC game process with all security and access rights.
</summary>
<param name="pid">Use process name or process ID here.</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.SetFocus">
<summary>
Builds the process modules dictionary (names with addresses). Use mProc.Process.Modules instead.
</summary>
</member>
<member name="M:Memory.Mem.GetProcIdFromName(System.String)">
<summary>
Get the process ID number by process name.
</summary>
<param name="name">Example: "eqgame". Use task manager to find the name. Do not include .exe</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.LoadCode(System.String,System.String)">
<summary>
Get code. If just the ini file name is given with no path, it will assume the file is next to the executable.
</summary>
<param name="name">label for address or code</param>
<param name="iniFile">path and name of ini file</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ThreadStartClient(System.String,System.String)">
<summary>
Make a named pipe (if not already made) and call to a remote function.
</summary>
<param name="func">remote function to call</param>
<param name="name">name of the thread</param>
</member>
<member name="M:Memory.Mem.GetCode(System.String,System.String,System.Int32)">
<summary>
Convert code from string to real address. If path is not blank, will pull from ini file.
</summary>
<param name="name">label in ini file or code</param>
<param name="path">path to ini file (OPTIONAL)</param>
<param name="size">size of address (default is 8)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.GetModuleAddressByName(System.String)">
<summary>
Retrieve mProc.Process module baseaddress by name
</summary>
<param name="name">name of module</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.Get64BitCode(System.String,System.String,System.Int32)">
<summary>
Convert code from string to real address. If path is not blank, will pull from ini file.
</summary>
<param name="name">label in ini file OR code</param>
<param name="path">path to ini file (OPTIONAL)</param>
<param name="size">size of address (default is 16)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.CloseProcess">
<summary>
Close the process when finished.
</summary>
</member>
<member name="M:Memory.Mem.InjectDll(System.String)">
<summary>
Inject a DLL file.
</summary>
<param name="strDllName">path and name of DLL file. Ex: "C:\MyTrainer\inject.dll" or "inject.dll" if the DLL file is in the same directory as the trainer.</param>
</member>
<member name="M:Memory.Mem.CreateCodeCave(System.String,System.Byte[],System.Int32,System.Int32,System.String)">
<summary>
Creates a code cave to write custom opcodes in target process
</summary>
<param name="code">Address to create the trampoline</param>
<param name="newBytes">The opcodes to write in the code cave</param>
<param name="replaceCount">The number of bytes being replaced</param>
<param name="size">size of the allocated region</param>
<param name="file">ini file to look in</param>
<remarks>Please ensure that you use the proper replaceCount
if you replace halfway in an instruction you may cause bad things</remarks>
<returns>UIntPtr to created code cave for use for later deallocation</returns>
</member>
<member name="M:Memory.Mem.ByteArrayToHexString(System.Byte[])">
<summary>
Convert a byte array to hex values in a string.
</summary>
<param name="ba">your byte array to convert</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.DumpMemory(System.String)">
<summary>
Dump memory page by page to a dump.dmp file. Can be used with Cheat Engine.
</summary>
</member>
<member name="M:Memory.Mem.GetThreads">
<summary>
get a list of available threads in opened process
</summary>
</member>
<member name="M:Memory.Mem.GetThreadStartAddress(System.Int32)">
<summary>
Get thread base address by ID. Provided by github.com/osadrac
</summary>
<param name="threadId"></param>
<returns></returns>
<exception cref="T:System.ComponentModel.Win32Exception"></exception>
</member>
<member name="M:Memory.Mem.SuspendThreadByID(System.Int32)">
<summary>
suspend a thread by ID
</summary>
<param name="ThreadID">the thread you wish to suspend by ID</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.AoBScan(System.String,System.Boolean,System.Boolean,System.String)">
<summary>
Array of byte scan.
</summary>
<param name="search">array of bytes to search for, OR your ini code label.</param>
<param name="writable">Include writable addresses in scan</param>
<param name="executable">Include executable addresses in scan</param>
<param name="file">ini file (OPTIONAL)</param>
<returns>IEnumerable of all addresses found.</returns>
</member>
<member name="M:Memory.Mem.AoBScan(System.String,System.Boolean,System.Boolean,System.Boolean,System.String)">
<summary>
Array of byte scan.
</summary>
<param name="search">array of bytes to search for, OR your ini code label.</param>
<param name="readable">Include readable addresses in scan</param>
<param name="writable">Include writable addresses in scan</param>
<param name="executable">Include executable addresses in scan</param>
<param name="file">ini file (OPTIONAL)</param>
<returns>IEnumerable of all addresses found.</returns>
</member>
<member name="M:Memory.Mem.AoBScan(System.Int64,System.Int64,System.String,System.Boolean,System.Boolean,System.String)">
<summary>
Array of Byte scan.
</summary>
<param name="start">Your starting address.</param>
<param name="end">ending address</param>
<param name="search">array of bytes to search for, OR your ini code label.</param>
<param name="file">ini file (OPTIONAL)</param>
<param name="writable">Include writable addresses in scan</param>
<param name="executable">Include executable addresses in scan</param>
<returns>IEnumerable of all addresses found.</returns>
</member>
<member name="M:Memory.Mem.AoBScan(System.Int64,System.Int64,System.String,System.Boolean,System.Boolean,System.Boolean,System.String)">
<summary>
Array of Byte scan.
</summary>
<param name="start">Your starting address.</param>
<param name="end">ending address</param>
<param name="search">array of bytes to search for, OR your ini code label.</param>
<param name="file">ini file (OPTIONAL)</param>
<param name="readable">Include readable addresses in scan</param>
<param name="writable">Include writable addresses in scan</param>
<param name="executable">Include executable addresses in scan</param>
<returns>IEnumerable of all addresses found.</returns>
</member>
<member name="M:Memory.Mem.AoBScan(System.String,System.Int64,System.String,System.String)">
<summary>
Array of bytes scan
</summary>
<param name="code">Starting address or ini label</param>
<param name="end">ending address</param>
<param name="search">array of bytes to search for or your ini code label</param>
<param name="file">ini file</param>
<returns>First address found</returns>
</member>
<member name="M:Memory.Mem.CutString(System.String)">
<summary>
Cut a string that goes on for too long or one that is possibly merged with another string.
</summary>
<param name="str">The string you want to cut.</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadBytes(System.String,System.Int64,System.String)">
<summary>
Reads up to `length ` bytes from an address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="length">The maximum bytes to read.</param>
<param name="file">path and name of ini file.</param>
<returns>The bytes read or null</returns>
</member>
<member name="M:Memory.Mem.ReadFloat(System.String,System.String,System.Boolean)">
<summary>
Read a float value from an address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<param name="round">Round the value to 2 decimal places</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadString(System.String,System.String,System.Int32,System.Boolean,System.Text.Encoding)">
<summary>
Read a string value from an address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<param name="length">length of bytes to read (OPTIONAL)</param>
<param name="zeroTerminated">terminate string at null char</param>
<param name="stringEncoding">System.Text.Encoding.UTF8 (DEFAULT). Other options: ascii, unicode, utf32, utf7</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadDouble(System.String,System.String,System.Boolean)">
<summary>
Read a double value
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<param name="round">Round the value to 2 decimal places</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadInt(System.String,System.String)">
<summary>
Read an integer from an address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadLong(System.String,System.String)">
<summary>
Read a long value from an address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadUInt(System.String,System.String)">
<summary>
Read a UInt value from address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.Read2ByteMove(System.String,System.Int32,System.String)">
<summary>
Reads a 2 byte value from an address and moves the address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="moveQty">Quantity to move.</param>
<param name="file">path and name of ini file (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadIntMove(System.String,System.Int32,System.String)">
<summary>
Reads an integer value from address and moves the address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="moveQty">Quantity to move.</param>
<param name="file">path and name of ini file (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadUIntMove(System.String,System.Int32,System.String)">
<summary>
Get UInt and move to another address by moveQty. Use in a for loop.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="moveQty">Quantity to move.</param>
<param name="file">path and name of ini file (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.Read2Byte(System.String,System.String)">
<summary>
Read a 2 byte value from an address. Returns an integer.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and file name to ini file. (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadByte(System.String,System.String)">
<summary>
Read 1 byte from address.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and file name of ini file. (OPTIONAL)</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.ReadBits(System.String,System.String)">
<summary>
Reads a byte from memory and splits it into bits
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="file">path and file name of ini file. (OPTIONAL)</param>
<returns>Array of 8 booleans representing each bit of the byte read</returns>
</member>
<member name="M:Memory.Mem.BindToUI(System.String,System.Action{System.String},System.String)">
<summary>
Reads a memory address, keeps value in UI object. Ex: BindToUI("0x12345678,0x02,0x05", v => ObjName.Invoke((MethodInvoker)delegate { if (String.Compare(v, ObjName.Text) != 0) { ObjName.Text = v; } }));
</summary>
<param name="address">Your code or INI file variable name</param>
<param name="UIObject">Returning variable to bind to UI object. See example in summary.</param>
<param name="file">OPTIONAL: INI file path and file name with extension</param>
</member>
<member name="M:Memory.Mem.FreezeValue(System.String,System.String,System.String,System.String)">
<summary>
Freeze a value to an address.
</summary>
<param name="address">Your address</param>
<param name="type">byte, 2bytes, bytes, float, int, string, double or long.</param>
<param name="value">Value to freeze</param>
<param name="file">ini file to read address from (OPTIONAL)</param>
</member>
<member name="M:Memory.Mem.UnfreezeValue(System.String)">
<summary>
Unfreeze a frozen value at an address
</summary>
<param name="address">address where frozen value is stored</param>
</member>
<member name="M:Memory.Mem.WriteMemory(System.String,System.String,System.String,System.String,System.Text.Encoding,System.Boolean)">
<summary>
Write to memory address. See https://github.com/erfg12/memory.dll/wiki/writeMemory() for more information.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="type">byte, 2bytes, bytes, float, int, string, double or long.</param>
<param name="write">value to write to address.</param>
<param name="file">path and name of .ini file (OPTIONAL)</param>
<param name="stringEncoding">System.Text.Encoding.UTF8 (DEFAULT). Other options: ascii, unicode, utf32, utf7</param>
<param name="RemoveWriteProtection">If building a trainer on an emulator (Ex: RPCS3) you'll want to set this to false</param>
</member>
<member name="M:Memory.Mem.WriteMove(System.String,System.String,System.String,System.Int32,System.String,System.Int32)">
<summary>
Write to address and move by moveQty. Good for byte arrays. See https://github.com/erfg12/memory.dll/wiki/Writing-a-Byte-Array for more information.
</summary>
<param name="code">address, module + pointer + offset, module + offset OR label in .ini file.</param>
<param name="type">byte, bytes, float, int, string or long.</param>
<param name="write">byte to write</param>
<param name="MoveQty">quantity to move</param>
<param name="file">path and name of .ini file (OPTIONAL)</param>
<param name="SlowDown">milliseconds to sleep between each byte</param>
<returns></returns>
</member>
<member name="M:Memory.Mem.WriteBytes(System.String,System.Byte[],System.String)">
<summary>
Write byte array to addresses.
</summary>
<param name="code">address to write to</param>
<param name="write">byte array to write</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
</member>
<member name="M:Memory.Mem.WriteBits(System.String,System.Boolean[],System.String)">
<summary>
Takes an array of 8 booleans and writes to a single byte
</summary>
<param name="code">address to write to</param>
<param name="bits">Array of 8 booleans to write</param>
<param name="file">path and name of ini file. (OPTIONAL)</param>
</member>
<member name="M:Memory.Mem.WriteBytes(System.UIntPtr,System.Byte[])">
<summary>
Write byte array to address
</summary>
<param name="address">Address to write to</param>
<param name="write">Byte array to write to</param>
</member>
<member name="T:Memory.MemoryRegionResult">
<summary>
AoB scan information.
</summary>
</member>
<member name="T:Memory.Proc">
<summary>
Information about the opened process.
</summary>
</member>
</members>
</doc>