Commit graph

1408 commits

Author SHA1 Message Date
mat
a5a3a08d65
Merge pull request #421 from geode-sdk/hook-patch-refactor
Refactor Hook/Patch
2024-01-18 13:29:20 -03:00
matcool
5268bc631b add docs 2024-01-18 13:20:48 -03:00
matcool
5bb386417d use AddDllDirectory instead 2024-01-18 12:43:33 -03:00
matcool
acd9bd7884 load native binaries from mod resources/binaries/<platform/ 2024-01-18 12:35:18 -03:00
matcool
25dc6eea5b ok so float was not precise enough 2024-01-18 11:47:07 -03:00
matcool
a0515fad26 still load game if geode is newer 2024-01-18 10:45:04 -03:00
matcool
562e73d610 redo logic for mod target gd version
it was busted idk what i was on when i wrote it, it wouldnt be able to
load anything newer than the geode gd version
2024-01-18 10:41:58 -03:00
matcool
753fd4e152 add PlatformID::toShortString and other things 2024-01-18 09:51:40 -03:00
Cvolton
e23b051a3d
Add 2.204 support (#422) 2024-01-17 14:09:08 -03:00
mat
4d2b676d48
fix sizes of gnustl set, unordered_map and unordered_set 2024-01-17 11:49:16 -03:00
matcool
3e6db723da dont free our internal string 2024-01-16 17:10:03 -03:00
matcool
806499c8f4 extract gnustl empty string from CCString
no more hardcoded addresses in android!!
2024-01-16 16:54:33 -03:00
matcool
925e72535d fix inputnode length 2024-01-16 14:16:56 -03:00
matcool
c00bd759c7 fix InputNode::getString 2024-01-16 13:58:31 -03:00
Chloe
45a04cc330
Merge branch 'main' into hook-patch-refactor 2024-01-15 22:19:54 -07:00
qimiko
b871c2a088
dynamically resolve dynamic_cast address 2024-01-15 19:48:24 -07:00
matcool
e6cd66aee7 oops 2024-01-15 18:50:16 -03:00
matcool
f7a3947c06 add gd version key to mod.json
closes #414
2024-01-15 18:44:23 -03:00
altalk23
8b444b25c5 Merge branch 'hook-patch-refactor' of https://github.com/geode-sdk/geode into hook-patch-refactor 2024-01-15 18:15:59 +03:00
altalk23
c89f68cb18 move the ctors back to private 2024-01-15 18:15:57 +03:00
ConfiG
a089f5474e
patch overlap checking 2024-01-15 18:07:37 +03:00
altalk23
69f8e15e21 refactor the code flow 2024-01-15 18:04:49 +03:00
altalk23
165f05fcb4 funny shared_ptr implementation 2024-01-15 17:57:43 +03:00
ConfiG
ab436bd7c3
fix crash yayy 2024-01-15 00:55:18 +03:00
ConfiG
7631b045e1
fix android 2024-01-15 00:47:02 +03:00
ConfiG
28c91f762e
refactor Hook/Patch 2024-01-15 00:42:04 +03:00
ConfiG
5ff74e849a
remove unloadPlatformBinary 2024-01-15 00:41:00 +03:00
ConfiG
12ba95f7ba
set default loading state 2024-01-15 00:40:01 +03:00
ConfiG
3e840cdb47
pass const ref to func in queueInMainThread 2024-01-15 00:39:36 +03:00
ConfiG
516a1c67da
use std::optional<bool> for forward compat flag 2024-01-14 16:00:33 +03:00
ConfiG
b70b64dfc9
rename executeGDThreadQueue to executeMainThreadQueue 2024-01-14 15:38:37 +03:00
ConfiG
be7ee3ef18
Refactor some stuff in Loader (#420)
* move console stuff from loader

* compile platform sources only per platform

* move ipc from loader

* move updater from loader

* remove Loader::didLastLaunchCrash

* remove platformdata from loader

* move updaters events and filters too
2024-01-14 14:23:34 +03:00
ConfiG
05064eb4d5
fix clang-tidy error in clion on windows when using m_fields 2024-01-13 22:12:20 +03:00
altalk23
f0127bdb88 remind me to test my changes 2024-01-13 17:01:50 +03:00
altalk23
badc7061ab fix vector constructing 2024-01-13 16:56:08 +03:00
altalk23
784dd0fe42 breaking change !!! (gd string) 2024-01-13 16:43:53 +03:00
Cvolton
b11d837013
fill in LevelLeaderboardMode enum (#419) 2024-01-13 08:59:57 -03:00
qimiko
b072c6bc31
use dladdr to get base on android 2024-01-12 19:26:24 -07:00
qimiko
9661693e72
getGameVersion android but commented out 2024-01-12 19:15:53 -07:00
ConfiG
21caf514c2
move forward compat hook toggling to macros 2024-01-13 03:30:07 +03:00
ConfiG
56cedaac32
fix android platformMessageBox missing severity 2024-01-13 03:15:07 +03:00
ConfiG
153880c286
show message box on first forward compat startup 2024-01-13 03:11:25 +03:00
ConfiG
d81e1ba072
add severity to platformMessageBox 2024-01-13 03:08:08 +03:00
ConfiG
f6cde6a62f
fallback save mod data for forward compat 2024-01-13 02:48:10 +03:00
ConfiG
83f7a0b18c
make deleteSaveData in Mod::uninstall an optional param 2024-01-13 01:02:35 +03:00
ConfiG
d9ff838c80
fix last commit 2024-01-13 01:01:53 +03:00
ConfiG
98b3a8fbf1
remove some funcs from Loader 2024-01-13 00:49:42 +03:00
matcool
a0f70c8c35 improve timestamp map code 2024-01-12 17:37:01 -03:00
ConfiG
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +03:00
ConfiG
7ef57bbf67
sigscan for gd main func 2024-01-12 19:19:34 +03:00