Commit Graph

426 Commits

Author SHA1 Message Date
Akash Mozumdar
50af685d96 fix hcode generation for new length fun 2019-06-24 19:15:03 -04:00
Akash Mozumdar
ad846b90d4 fix crash 2019-06-21 22:55:29 -04:00
Akash Mozumdar
f1d46e9f73 refactor and perf improvements 2019-06-21 01:29:48 -04:00
Akash Mozumdar
0ca9e301a0 i'm a moron 2019-06-19 06:43:05 -04:00
Akash Mozumdar
ea8e8fe3ed play nice with other (legacy) clipboard monitors 2019-06-18 20:18:42 -04:00
Akash Mozumdar
d9ba1e5854 style cleanup 2019-06-18 00:39:50 -04:00
Akash Mozumdar
566c0beb0a make thread linker asynchronous. also refactored, but in a way that makes me very concerned about the stability of host 2019-06-16 22:57:41 -04:00
Akash Mozumdar
28d14bcc32 dont bother comparing to nullptr 2019-06-16 17:15:47 -04:00
Akash Mozumdar
88b797cd33 use a default searchparam unless user specifies they want custom settings 2019-06-16 15:28:59 -04:00
Akash Mozumdar
94760703f9 catch errors 2019-06-13 19:29:30 -04:00
Akash Mozumdar
b5c319ee46 small fixes 2019-06-13 12:06:15 -04:00
Akash Mozumdar
140c9057ea account for null terminator in repetition filter 2019-06-13 04:08:40 -04:00
Akash Mozumdar
e7fff79f8f XX = 0x11 is officially the wildcard 2019-06-13 03:19:08 -04:00
Akash Mozumdar
fefa08c519 minor tweaks to remove hooks 2019-06-10 22:47:58 -04:00
Akash Mozumdar
c808e7594d (re)add remove hooks feature skeleton 2019-06-10 01:49:11 -04:00
Akash Mozumdar
d25a61e9e6 catch garbage pipe data 2019-06-09 07:33:26 -04:00
Akash Mozumdar
121606af14 dont remove null terminator in remove repetition 2019-06-09 07:31:45 -04:00
Akash Mozumdar
440474d2ee small fixes 2019-06-09 06:19:54 -04:00
Akash Mozumdar
5e27de842b added string offsets to hook codes and searches, fixed stack alignment bug, fixed inaccurate documentation on x64 registers, fixed bug with search signature cache, imrpvoed hook search string detection 2019-06-09 00:48:30 -04:00
Akash Mozumdar
958ce10327 clean up cmake 2019-06-07 02:19:51 -04:00
Akash Mozumdar
b8bd602474 more user friendly hook searching and refactors 2019-06-06 23:53:37 -04:00
Akash Mozumdar
64bfb4596e better error handling for extensions 2019-06-04 23:14:46 -04:00
Akash Mozumdar
cf90539d09 optimize 2019-06-04 23:12:45 -04:00
Akash Mozumdar
d16db4d319 add repeated sentences filter (laxer than before) 2019-06-04 15:30:48 -04:00
Akash Mozumdar
e529046d7d after further testing, ThreadSafe<std::deque> seems to be the fastest and most reliable 2019-06-04 15:21:04 -04:00
Akash Mozumdar
7cdbd93dcb cleanup 2019-06-03 18:54:20 -04:00
Akash Mozumdar
494fcd24c3 performance improvement. or maybe not idk my benchmarks make no sense but i think it's better 2019-06-02 23:05:01 -04:00
Akash Mozumdar
02f127e80c git is confusing 2019-06-02 21:44:22 -04:00
Akash Mozumdar
9668b01192 add find hooks feture + some cleanup 2019-06-02 21:35:47 -04:00
Akash Mozumdar
125d160ef6 add find hooks feture + some cleanup 2019-06-02 02:09:17 -04:00
Akash Mozumdar
096a1b49a7 small fixes 2019-05-31 14:48:07 -04:00
Akash Mozumdar
c7edfef9ad upgrade build pipeline for x64 deployment 2019-05-24 13:30:12 -04:00
Akash Mozumdar
49e915c3b6 cap memory usage 2019-04-26 20:55:07 -04:00
Akash Mozumdar
2f7365acbd small fixes 2019-04-23 02:49:06 -04:00
Akash Mozumdar
a8100b4d8c prepare for 64 bit release 2019-04-22 10:02:59 -04:00
Akash Mozumdar
e8607e576d specify null length 2019-03-27 23:35:22 -04:00
Akash Mozumdar
21fd3e1d59 rename 2019-03-13 11:54:19 -04:00
Akash Mozumdar
09552fe7c7 group common stuff 2019-03-13 11:44:21 -04:00
Akash Mozumdar
0345181484 split text declarations 2019-02-27 11:33:17 -05:00
Akash Mozumdar
cf423fa525 small fixes 2019-02-26 20:29:13 -05:00
Akash Mozumdar
4c1cac7dbb small fixes 2019-02-25 01:06:35 -05:00
Akash Mozumdar
9900c09483 use LTO to improve load time 2019-02-25 00:08:20 -05:00
Akash Mozumdar
121eddc290 command line help text 2019-02-21 13:18:37 -05:00
Akash Mozumdar
107544df70 minor fixes 2019-02-21 13:09:44 -05:00
Akash Mozumdar
241d5906e4 minor fixes 2019-02-20 21:54:25 -05:00
Akash Mozumdar
a64fa9b3dd reorganize includes 2019-02-18 23:12:12 -05:00
Akash Mozumdar
1f5edecbf6 attach to command line args 2019-02-18 22:39:04 -05:00
Akash Mozumdar
25d2811c0f better exception logging 2019-02-18 22:17:56 -05:00
Akash Mozumdar
29f616ae9d more efficient extension abi 2019-02-18 20:57:10 -05:00
Akash Mozumdar
c9a7a606cb fix bugs with admin rights and pipe connection, plus some refactors 2019-02-16 22:51:10 -05:00
Akash Mozumdar
3c7b3d728c remove some other race conditions 2019-02-16 00:33:38 -05:00
Akash Mozumdar
c7ff5f637a use library rw lock 2019-02-16 00:25:19 -05:00
Akash Mozumdar
855f8ebfe5 fix unique_lock starvation and extension loading 2019-02-13 18:23:42 -05:00
Akash Mozumdar
4eefafeae9 fix clipboard monitor 2019-02-13 18:22:07 -05:00
Akash Mozumdar
f1ab7cd208 wow, it's like every time i have a chance to allow a buffer overrun, i do so 2019-02-13 17:00:44 -05:00
Akash Mozumdar
a4133ce243 fix game ordering 2019-02-13 16:22:49 -05:00
Akash Mozumdar
f21db0925c fix thread saving on x64 2019-02-12 04:14:08 -05:00
Akash Mozumdar
4a7b29de72 refactor 2019-02-09 18:24:54 -05:00
Akash Mozumdar
a07e10344f performance optimizations 2019-02-09 00:30:38 -05:00
tinyAdapter
d6b39eb2c3 CLI: add code information when outputing
this can be necessary
2019-02-07 21:11:41 +08:00
Akash Mozumdar
5e53e63e07 perf optimization 2019-02-06 19:48:42 -05:00
Akash Mozumdar
ac86323010 whoops didnt mean to commit that 2019-02-04 15:54:41 -05:00
Akash Mozumdar
4b7452bef2 toggleable repetition filter 2019-02-04 15:53:13 -05:00
Akash Mozumdar
e6805a2be3 refactor, perf improvement 2019-02-04 15:18:47 -05:00
Akash Mozumdar
c78747c228 refactor 2019-02-04 15:02:06 -05:00
Akash Mozumdar
a7a4a80913 remember saved thread and refactor 2019-02-03 08:49:58 -05:00
Akash Mozumdar
f74cd553c0 refactor 2019-02-02 16:54:13 -05:00
Akash Mozumdar
b7ec42ee4e process list in order of last used 2019-02-02 16:50:28 -05:00
Akash Mozumdar
4e8a8cce25 build speed improvement 2019-02-01 16:56:10 -05:00
tinyAdapter
3f1b2fcccb repair stdout flush issue (#85) 2019-02-01 09:18:07 -05:00
Akash Mozumdar
84bf8c659f fix code generation 2019-01-31 12:47:56 -05:00
Akash Mozumdar
c89b05cf42 add cli, move exception handlers and code parsers into host 2019-01-31 11:41:43 -05:00
Akash Mozumdar
0d9976b0c4 fix single byte hooks 2019-01-28 07:25:58 -05:00
Akash Mozumdar
e398fdf94e allow single char utf8 hooks 2019-01-27 09:14:45 -05:00
Akash Mozumdar
7e4cc13bcf Add extra window as default extension, and reorganize build 2019-01-25 22:49:50 -05:00
Akash Mozumdar
632139dce2 perf improvement 2019-01-23 13:59:34 -05:00
Akash Mozumdar
4e65d29978 copy on select 2019-01-22 14:57:13 -05:00
Akash Mozumdar
cba353438d emulate path 2019-01-22 11:23:35 -05:00
Akash Mozumdar
3cb8016b2c show when h code has no agth equivalent 2019-01-20 15:09:38 -05:00
Akash Mozumdar
332e5aecaf refactor 2019-01-20 09:52:35 -05:00
Akash Mozumdar
a84ea357ec give up on emulating non jp locale and launching in correct directory 2019-01-13 03:40:00 -05:00
Akash Mozumdar
75454b3fa5 save attached games and allow launching from textractor using locale emulator 2019-01-11 17:14:49 -05:00
Akash Mozumdar
d8429851cb better hash fn 2019-01-11 16:15:42 -05:00
Akash Mozumdar
5903bbe2e4 fix freeze when connecting process, crash when process name cant be found, and other refactors 2019-01-10 21:47:16 -05:00
Akash Mozumdar
cdfbd77d21 simplify (and maybe break) wolf2 hook and fix display error 2019-01-10 02:00:39 -05:00
Akash Mozumdar
0afdafb3d1 bunch of refactoring and cleanup 2019-01-09 22:35:01 -05:00
Akash Mozumdar
f1e7b4dc70 fix race condition (i think) 2019-01-07 22:17:46 -05:00
Akash Mozumdar
a9249111c0 fix some geometry issues 2019-01-06 00:07:20 -05:00
Akash Mozumdar
103c805cfe always use codepage when searching 2019-01-05 03:47:32 -05:00
Akash Mozumdar
f5d8d43149 implement searching for read codes 2019-01-03 17:52:16 -05:00
Akash Mozumdar
3dd7be65ff optimize dispatchsentence 2019-01-01 17:50:22 -05:00
Akash Mozumdar
f080656e60 improvements in thread safety and repetition detection in textthread 2019-01-01 15:15:09 -05:00
Akash Mozumdar
8880d27dc5 more consistent use of qsettings 2018-12-31 15:06:47 -05:00
Akash Mozumdar
e8b378da75 fix whitespace 2018-12-28 12:14:56 -05:00
Akash Mozumdar
bdc083a62a more sane way to capture clipboard, also move extension dispatch off main thread 2018-12-28 11:13:02 -05:00
Akash Mozumdar
96e9b66e9f remove error dialog on win7 2018-12-27 18:52:59 -05:00
Akash Mozumdar
bf4eb4df8b tiny fixes 2018-12-27 00:18:05 -05:00
Akash Mozumdar
6c0f4be45b easier testing 2018-12-26 23:56:42 -05:00
Akash Mozumdar
1817a3ac53 small refactor 2018-12-22 16:17:08 -05:00
Akash Mozumdar
1c391e3a4b small refactor. rename and extract exception handling 2018-12-22 13:05:01 -05:00
Akash Mozumdar
7015ef0c53 move more text into include/text.h and make a better ux for extenwindow and misc refactors 2018-12-21 14:18:43 -05:00
Akash Mozumdar
afea96e9d5 more efficient thread safe wrapper 2018-12-21 14:11:40 -05:00
Akash Mozumdar
e0507b85d3 small refactors 2018-12-21 09:34:01 -05:00
Akash Mozumdar
6bef925920 refactor insertion_address (and i think fix a bug with deref offset in r codes) 2018-12-20 02:48:21 -05:00
Akash Mozumdar
f184654883 fix file ends 2018-12-18 16:55:07 -05:00
Akash Mozumdar
3c67f5a15d capturing this by ref is dumb 2018-12-18 12:55:11 -05:00
Akash Mozumdar
464c001773 eh who needs moc anyway 2018-12-18 12:14:54 -05:00
Akash Mozumdar
c747e68344 fewer heap allocations 2018-12-17 21:03:42 -05:00
Akash Mozumdar
86b2014a12 fix crash when saving hooks. refactor other things to compile time 2018-12-14 23:14:30 -05:00
Akash Mozumdar
97f3f51758 more consistent/organized text 2018-12-14 22:26:59 -05:00
Akash Mozumdar
dfb45a3699 refactor 2018-12-13 22:44:55 -05:00
Akash Mozumdar
a3ac850bf4 refactor. remove unneeded abstraction, alias verbose conversions 2018-12-13 08:37:37 -05:00
Akash Mozumdar
c92a67dbe3 automatically check for new updates 2018-12-13 07:54:25 -05:00
Akash Mozumdar
651cd486eb tiny refactors 2018-12-13 03:17:28 -05:00
Akash Mozumdar
aae330ebef Close process cleanly 2018-12-03 18:31:00 -05:00
Akash Mozumdar
74383ee0d8 refactor HANDLE out param 2018-12-03 18:29:30 -05:00
Akash Mozumdar
f409ee78ce small fixes 2018-12-02 15:55:02 -05:00
Akash Mozumdar
dca006b28c use thread pooling and remove text thread cap 2018-12-02 15:30:35 -05:00
Akash Mozumdar
de109d0840 tiny fixes 2018-12-02 02:57:03 -05:00
Akash Mozumdar
cc1d2b0414 make headers consistent 2018-12-01 19:12:45 -05:00
Akash Mozumdar
5ef1ff6352 using raii for processrecords and qfileinfo for files and other refactors 2018-12-01 16:00:15 -05:00
Akash Mozumdar
0ddd4a3461 remove unreliable error log 2018-11-27 21:29:09 -05:00
Akash Mozumdar
7310f9349b remove unhook button 2018-11-27 16:57:47 -05:00
Akash Mozumdar
966620429e structured bindings are awesome! 2018-11-27 15:54:18 -05:00
Akash Mozumdar
efa8d26ada holy shit you can overload operator-> to do WHAT?? 2018-11-27 15:54:04 -05:00
Akash Mozumdar
24e31247af fix current directory being wrong if launched in weird ways 2018-11-25 21:40:19 -05:00
Akash Mozumdar
f48355c096 more reliable error messaging 2018-11-25 19:06:38 -05:00
Akash Mozumdar
7a2ceec29e Revert "more reliable error logging"
This reverts commit 49c4af8c2c.
2018-11-25 16:45:43 -05:00
Akash Mozumdar
c50e2992bf make StringToWideString pure 2018-11-25 16:23:41 -05:00
Akash Mozumdar
49c4af8c2c more reliable error logging 2018-11-25 15:05:41 -05:00
Akash Mozumdar
c105f6700f extract repetition filter 2018-11-22 16:02:45 -05:00
Akash Mozumdar
9f85edf704 rename host files 2018-11-22 15:54:11 -05:00
Akash Mozumdar
b80f795143 extract utility functions. specify deleted constructors. other misc fixes 2018-11-22 15:53:32 -05:00
Akash Mozumdar
902ded684d small fixes 2018-11-19 08:17:00 -05:00
Akash Mozumdar
523008d7e0 ok, finally have a good repetition filter 2018-11-16 08:34:15 -05:00
Akash Mozumdar
59869dc45a optimize repetition removal at cost of some correctness (can be dealt with by extensions) 2018-11-15 00:29:21 -05:00
Akash Mozumdar
0492cb9549 refactor 2018-11-15 00:27:48 -05:00
Akash Mozumdar
d0f48a67a4 refactor. less global variables 2018-11-10 23:29:12 -05:00
Akash Mozumdar
f351148b3d add settings dialog box 2018-11-10 07:16:08 -05:00
Akash Mozumdar
97d0528550 DRY 2018-11-10 01:17:02 -05:00
Akash Mozumdar
e489c38990 fix several perf issues in textthread 2018-11-09 04:24:33 -05:00
Akash Mozumdar
3b5ad6edfe organize includes 2018-11-04 21:19:00 -05:00
Akash Mozumdar
0c7103964d rename 2018-11-04 20:48:46 -05:00
Akash Mozumdar
46ffaf017c refactor error handling 2018-11-04 17:12:25 -05:00
Akash Mozumdar
a48815e9f4 add thread linker extension 2018-11-04 16:37:23 -05:00
Akash Mozumdar
6b2dcaa957 check and avoid crashes 2018-11-04 04:51:14 -05:00
Akash Mozumdar
43a0bac59f remove whats this button on dialogs 2018-11-04 04:31:49 -05:00
Akash Mozumdar
b218e241da extract more strings 2018-11-04 04:00:14 -05:00
Akash Mozumdar
62541968aa extract display text 2018-11-04 02:13:51 -05:00
Akash Mozumdar
5468e44929 small refactors 2018-11-04 01:34:49 -05:00