Commit Graph

120 Commits

Author SHA1 Message Date
iota97
45bfb4f52b Code style fix 2020-06-04 19:08:10 +02:00
iota97
6f59f02b38 Support chain 2020-05-17 19:06:23 +02:00
iota97
c83e2fb070 Memory reading CWCheat 2020-05-17 18:07:30 +02:00
iota97
69d806a83a Add postprocessing CWCHEAT 2020-05-17 18:07:30 +02:00
Henrik Rydgård
cc916180b5 Merge pull request #12816 from LunaMoo/XVibrationCheat
Implement Xinput vibration CWCheat (PPSSPP specific 0xA code type)
2020-04-17 10:50:44 +02:00
LunaMoo
e999444b23 Implement PPSSPP specific cheats:
0xA0 vibration cheat(Xinput)
Syntax is: 0xA0NNLLLL 0x00MMRRRR
where NN/MM is time vibration lasts LLLL/RRRR is the vibration power

0xA1 read value for the vibration(Xinput) from game memory
Syntax is: 0xA1000000 0xNNNNNNNN
where NNNNNNNN is the address that stores following values at offset:
0xNNNNNNNN + 0x0 Left Vibration power,
0xNNNNNNNN + 0x2 Right Vibration Power
0xNNNNNNNN + 0x4 Left Vibration time
0xNNNNNNNN + 0x6 Right Vibration time

Left some room for other PPSSPP specific cheats(0xA2-0xAF)
2020-04-16 23:00:29 +02:00
Unknown W. Brackets
e60623498f Cheats: Fix use in homebrew on start. 2020-04-11 14:01:32 -07:00
Unknown W. Brackets
5ba7cca5f3 Cheats: Cleanup global usage. 2020-04-11 13:56:06 -07:00
Unknown W. Brackets
29808ae53b UI: Update cheat file more safely.
This uses the common parsing logic (which supports multiple games in a
single cheat file), and prevents reverting the file if edited outside.
2020-04-11 12:43:55 -07:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
c84137dd2d Add the other gameIDs for euro tony hawk 2019-03-01 14:31:28 +01:00
Henrik Rydgård
17b4f28d6b Hardcode the cheats that work around the Tony Hawk jit issues. Temporary, horrible hack working around #3854. 2019-03-01 10:56:17 +01:00
LunaMoo
402033030b Just a quick fix for a typo made in last big rewrite of cheat engine. 2018-07-07 15:45:56 +02:00
Unknown W. Brackets
adbd8d005c Cheats: Fix a debug assertion. 2018-02-11 12:35:31 -08:00
Unknown W. Brackets
0e2a586c1b Global: Fix some type comparison/shadow warnings. 2018-02-11 07:03:23 -08:00
LunaMoo
80b6686d89 Add some comments. 2017-11-30 07:51:15 +01:00
LunaMoo
be18f2c3cc Change str.substr(x, 1) == "y" to str[x] == 'y' 2017-11-30 02:23:44 +01:00
LunaMoo
16057eda39 Fix a cheat menu crash with invalid cheat name.
Also stop #comments from being removed by cheat menu.
2017-11-30 01:32:19 +01:00
Unknown W. Brackets
1d348b8aa7 Cheats: Fix pointer command count offset.
2 means there's 1 line of data.  This was the actual problem.
Thanks LunaMoo.
2017-11-08 22:24:37 -08:00
Unknown W. Brackets
baf351c372 Cheats: Clamp pointer command data to avail.
In case more data is provided, as was allowed before.
2017-11-08 17:48:33 -08:00
Unknown W. Brackets
0ed62cfe30 Merge pull request #7 from LunaMoo/cheats
Fix 0x6 code types
2017-11-08 20:46:18 -05:00
LunaMoo
34b1cb7141 Fix 0x6 code types 2017-11-08 17:39:22 +01:00
Unknown W. Brackets
bf4f5a102e Cheats: Enable for any non-zero number. 2017-11-08 06:51:25 -08:00
Unknown W. Brackets
c62a53c223 Cheats: Split parsing and execution.
This makes the code easier to read, and makes it easier to add other types
later on.

Also, the parser can now handle a file with multiple game ids.
2017-11-07 19:51:32 -08:00
twinaphex
a9bf8e7b18 More mingw patches pt. 2 2017-08-29 22:41:50 +02:00