Commit Graph

782 Commits

Author SHA1 Message Date
Adam
fa038c7740 library: resolve import tables in dll entry 2024-08-02 18:59:14 +01:00
Adam
f472c0aff6 library: don't hardcode sizeof PDWORD 2024-08-02 18:01:59 +01:00
Adam
cd8dd9b6bb library: add necessary fields to PluginInjectParams 2024-07-30 02:46:51 +01:00
Adam
0581a879ba cmake: add another new target to windows non-msvc 2024-07-30 02:19:35 +01:00
Adam
557c1d22e6 library: define own MAX function
Because getting min() and max() from the standard library in a
cross-platform way is obnoxiously difficult for some reason
2024-07-30 02:15:18 +01:00
Adam
de652c941b window_launcher: correct import filename 2024-07-30 01:49:45 +01:00
Adam
3b51eddd7f library: inject plugin lib and luajit from stub 2024-07-30 01:49:12 +01:00
Adam
18902eecab library: init zeroed memory in stub gen
I don't understand why this was necessary. C and C++ standards specify
that this memory should be zeroed by virtue of it being static and
constant, yet various different compilers produce various different
errors about this line...
2024-07-29 21:52:08 +01:00
Adam
cc2c700547 cmake: some windows non-msvc compat stuff 2024-07-29 21:51:23 +01:00
Adam
3fdf0e3c1e library: stub hook CreateProcessW on Windows 2024-07-28 20:30:20 +01:00
Adam
65bee27c24 library: less pointer-casting in stub injector 2024-07-26 21:15:09 +01:00
Adam
6fb96c2d4d library: run stub payload with CreateRemoteThread 2024-07-26 21:04:13 +01:00
Adam
5395afd064 cmake: fix plugin generated file dependency 2024-07-26 20:58:29 +01:00
Adam
c37d0a55be library: identify entrypoint by ordinal
With an on-the-fly .def file, I can force a function to be exported with
ordinal 1, meaning I know its offset into the table in the .dll without
having to parse anything.
2024-07-26 17:57:48 +01:00
Adam
874aa48c8a cmake: move plugin cmake to a separate file 2024-07-26 17:03:55 +01:00
Adam
6c21bb310c cmake: specify different runtimes per target 2024-07-26 16:03:58 +01:00
Adam
3debb53c4b cmake: set msvc crt targets correctly
What does that even mean?
2024-07-25 01:17:23 +01:00
Adam
3c92ca0fea app: set rs_plugin_loader for windows+mac 2024-07-24 21:18:17 +01:00
Adam
ec87af0b50 cmake: update args passed to stub_inject_generator 2024-07-23 20:32:48 +01:00
Adam
e7f5ebbd22 library: include stub_inject.hxx in generated file 2024-07-23 20:32:48 +01:00
Adam
ac6c393af5 library: make current_context_tls static
oops
2024-07-23 21:28:34 +01:00
Adam
4075a86e68 library: use TLS APIs instead of compiler features 2024-07-23 21:14:35 +01:00
Adam
8b8be172d6 window_launcher: call InjectStub on Windows 2024-07-23 02:04:12 +01:00
Adam
9463eefe5e cmake: builder and generator for stub.dll 2024-07-23 02:04:12 +01:00
Adam
86584d04f3 library: files for stub.dll 2024-07-23 02:04:12 +01:00
Adam
c757c8e701 Merge pull request #50 from kmcgurty/refactor/front-end
Refactor Front End
2024-07-22 18:55:09 +01:00
Kmc
09513027f7 app: build 2024-07-21 19:11:19 -04:00
Kmc
16446c844d app: select default option if selectedAccountId is undefined 2024-07-21 19:11:19 -04:00
Kmc
ef72ddf88e app: set hasPendingChanges instead of calling saveConfig 2024-07-21 19:09:47 -04:00
Kmc
2017a786cf app: build 2024-07-21 17:59:36 -04:00
Kmc
bd3ef6f1a7 app: remove selectFirstSession
instead allow config.selected.user_id to be nullable. if it is, let the user pick which session to use - without allowing them to launch the game. also removes some unnecessary code
2024-07-21 17:58:54 -04:00
Kmc
6e1b114cff app: remove user config on logout 2024-07-21 17:56:51 -04:00
Kmc
ae4933a7ad app: save credentials on logout click 2024-07-21 17:44:44 -04:00
Kmc
0e2b007dd5 app: allow for multiple accounts to be saved inside the config
they are tied to the currently selected user id and updated any time the "character" dropdown changes
2024-07-21 17:34:48 -04:00
Kmc
0b02d86bb7 app: ConfigUtils.ts -> Config.ts 2024-07-21 15:39:37 -04:00
Kmc
cc5072d866 app: build 2024-07-15 23:38:12 -04:00
Kmc
a3d72a5524 app: add updateLogAtIndex
lets download progress not spam logger window
2024-07-15 23:37:42 -04:00
Kmc
d33b0bc7e0 app: re-center plugin modal 2024-07-15 23:21:33 -04:00
Kmc
86691059f4 app: re-center launch selectors 2024-07-15 23:18:40 -04:00
Kmc
1c8343819e app: remove modal padding 2024-07-15 23:16:38 -04:00
Kmc
6e9a415c59 app: re-center settings modal contents 2024-07-15 23:15:53 -04:00
Kmc
ebaa5a529b app: commit built dist 2024-07-14 18:23:03 -04:00
Kmc
5d4ccad9b9 app: save plugin config on modal close 2024-07-14 18:21:50 -04:00
Kmc
974f5e9b63 app: change default client to runelite, disable official on linux 2024-07-14 18:19:38 -04:00
Kmc
aca9653c6a app: save config on startup if no config exists 2024-07-14 18:19:02 -04:00
Kmc
301d20a2a2 app: remove internalUrl 2024-07-13 22:44:08 -04:00
Kmc
7d6d4df644 app: move session config check to refresh function
fixes a bug where dark mode would flash on load while light mode is selected
2024-07-13 22:27:51 -04:00
Kmc
2096af56f1 app: commit built dist instead of dev dist 2024-07-13 14:03:50 -04:00
Kmc
7509d88193 app: add todo 2024-07-13 14:03:15 -04:00
Kmc
48731fafca app: remove todo 2024-07-13 13:01:18 -04:00