Commit Graph

31 Commits

Author SHA1 Message Date
9099d50ba8 feat: support external game launchers 2024-03-24 17:14:00 +07:00
mkrsym1
f8c4c5ad82 Replaced dummy variable references with NULL in inject.c
Apparently the crashes were an artifact of a different thing, and don't actually happen under normal conditions
2023-12-29 14:14:05 +02:00
mkrsym1
ba6a054ec3 Show executable path in failed to start game process messagebox 2023-08-12 17:20:58 +03:00
mkrsym1
79cf7d20cc Finish integrating TX 2023-08-05 12:15:08 +03:00
mkrsym1
bb8d41c06d Properly append version to the messagebox title 2023-08-05 09:22:15 +03:00
mkrsym1
4911f8d903 Implement restart flag 2023-08-04 15:35:29 +03:00
mkrsym1
0004c26d7a Recover the executable memory to it's original state 2023-07-16 17:29:06 +03:00
mkrsym1
848ae06792 Write recovery data into the inject allocation 2023-07-16 14:58:18 +03:00
mkrsym1
df1f611199 Publish precompiled tp6.c blob (lots of dirty hacks) 2023-07-05 23:59:27 +03:00
mkrsym1
94efee7496 Don't use narrow characters with widestring functions 2023-07-04 01:08:03 +03:00
mkrsym1
06be53ad8e Fix an incredibly dumb bitflag error 2023-07-04 01:03:21 +03:00
mkrsym1
ce427556a3 More efficient string comparisions 2023-07-03 17:04:32 +03:00
mkrsym1
b860834be1 Switch to using wide strings in the injector 2023-07-03 14:04:04 +03:00
mkrsym1
8c900f93fc Fix freeing heap on directory check 2023-07-03 11:57:08 +03:00
mkrsym1
cf5d87f7a7 Refuse to launch if the patcher is inside the game directory 2023-07-02 23:21:17 +03:00
mkrsym1
0e2b60aecb Move envvar defs into a separate header 2023-06-26 12:53:07 +03:00
mkrsym1
33f7dd89a9 Optimize assembly payloads 2023-06-26 12:25:44 +03:00
mkrsym1
851ebb5b9a Use nonvolatile registers for storage 2023-06-26 12:18:25 +03:00
mkrsym1
a0e79dcea0 Major injector refactoring 2023-06-25 12:32:19 +03:00
mkrsym1
55fd21feef Move common assembly into a separate file 2023-06-25 02:19:24 +03:00
mkrsym1
22a7fb2a60 Use NASM local labels 2023-06-25 01:51:18 +03:00
mkrsym1
6a237fd247 Only write the modified field in the exe header 2023-06-23 18:55:22 +03:00
mkrsym1
0b0216e41e Pass commandline arguments to the game process
Closes #4
2023-06-11 18:04:24 +03:00
mkrsym1
54a127b848 Minor injector and launcher payload refactoring 2023-06-10 18:28:19 +03:00
mkrsym1
3994188b08 Add WAIT_BEFORE_RESUME envvar 2023-06-10 18:23:43 +03:00
mkrsym1
88568b374d Move UnityPlayer loading into the game payload DLL 2023-06-08 15:27:51 +03:00
mkrsym1
bcbc679a21 Optimized build 2023-06-07 20:57:56 +03:00
mkrsym1
435f1b0355 Allow launching the injector from a different directory 2023-06-07 20:09:02 +03:00
mkrsym1
0dea9e7625 Show a messagebox if the game failed to start 2023-06-06 20:36:00 +03:00
mkrsym1
c1cfed6216 Move envvar names into injshared.h 2023-06-06 20:23:15 +03:00
mkrsym1
72626c2c18 Initial commit 2023-06-06 00:23:08 +03:00