ConfiG
647d463f6a
replace supportsDisabling with isInternal
2024-01-18 21:18:03 +03:00
matcool
f1df13aa63
remove Mod::wasSuccessfullyLoaded
2024-01-18 15:11:43 -03:00
matcool
eea39644fd
set mod as enabled before loading platform binary
2024-01-18 15:10:49 -03:00
ConfiG
4f38f08c2b
why are you move
2024-01-18 20:46:19 +03:00
ConfiG
b4e41464d0
Revert "refactor the code flow"
...
This reverts commit 69f8e15e
2024-01-18 20:44:16 +03:00
matcool
3d89677b60
uncomment this from Notification
2024-01-18 14:40:54 -03:00
matcool
6a617789d2
remove rvalue requirement, fix claimHook and claimPatch
2024-01-18 14:36:52 -03:00
ConfiG
b909bf69d8
this shouldnt pop back
2024-01-18 20:31:13 +03:00
ConfiG
4e28df1800
error when trying to disown a superpositioned hook
...
hehe kittydog reference
2024-01-18 20:24:39 +03:00
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
dankmeme01
5298adf709
remove useless pragma
2024-01-18 17:09:25 +01:00
dankmeme01
a99f992a10
fix ehdata_structs.hpp on clang
2024-01-18 17:01:39 +01:00
dankmeme01
f3e937b8cc
Merge branch 'geode-sdk:main' into main
2024-01-18 16:45:36 +01:00
dank_meme
d76d88534f
show exception class name + 64-bit forward compat
2024-01-18 16:45:39 +01: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
ConfiG
7de9a82d53
delayload cocos
2024-01-12 18:34:33 +03:00
matcool
635fe1bb00
works on 2.203
2024-01-11 12:55:54 -03:00
matcool
9b22d48352
move gd version detection code to proxyloader, now works on 2.1
2024-01-10 18:23:56 -03:00
mat
def39fc3f9
use compact json for request body
2024-01-10 00:12:35 -03:00
matcool
8ccc61febb
new util methods, rename postFields and customRequest
2024-01-09 20:10:58 -03:00
matcool
91703e4192
fix postFields not setting isPostRequest to true
2024-01-09 18:31:55 -03:00
matcool
2540790ccb
make cancelling not call error callback
2024-01-09 18:17:46 -03:00
matcool
7ba832c9ee
debug maybe works now, and other things
2024-01-09 16:59:57 -03:00
matcool
8081860055
Merge branch 'main' of github.com:geode-sdk/geode into web-request-refactor
2024-01-09 15:40:45 -03:00
matcool
aa91e51e0d
fix addCustomSetting
2024-01-09 11:49:33 -03:00
mat
e1161a96c6
Merge pull request #417 from dankmeme01/main
...
use string_view instead of string& in Mod
2024-01-09 11:00:24 -03:00
matcool
c3c055662f
fix geode uses of CCArrayExt
2024-01-09 10:54:29 -03:00
matcool
947dcf7f26
add concepts to validate the types for the ext classes
2024-01-09 10:47:23 -03:00
dankmeme01
dcaa408bc1
use string_view instead of string& in Mod
2024-01-09 14:47:11 +01:00
matcool
32cd4c40f1
fix ccdictionaryext yet again
2024-01-09 09:41:22 -03:00
qimiko
6b1164d4a6
workaround multithreaded base directory issues
2024-01-08 23:11:27 -07:00
matcool
aecd7cc186
oops missed this one
2024-01-09 02:20:10 -03:00
matcool
79e14e4be3
Merge branch 'main' of github.com:geode-sdk/geode
2024-01-09 02:13:56 -03:00
matcool
e1b7b1f4be
change ccdictionaryext api sorry
2024-01-09 02:13:44 -03:00
qimiko
c1a0969af7
fix crash when missing base directory method
2024-01-08 17:33:25 -07:00
qimiko
91c68f525b
use jni basedirectory for android paths
2024-01-08 16:21:56 -07:00
matcool
198948319b
compiles for 2.202/2.2011 whatever we'll call it
2024-01-08 16:48:21 -03:00
HJfod
154c5a2522
fix openFolder on Windows
2024-01-06 19:31:26 +02:00
Cvolton
a555f736d0
add 2.2 SpecialRewardItems
2024-01-05 09:23:51 -03:00
mat
27fac2ba9d
show bindings commit
2024-01-04 18:36:44 -03:00
mat
29a800bf7c
no one needs geodechecksum either
2024-01-04 10:01:45 -03:00
mat
53e01fd94e
remove completely unused internal nodes
2024-01-04 09:57:56 -03:00
mat
cca77af31c
enable test mods again
2024-01-04 09:47:08 -03:00
mat
8a605da9b8
actually implement asyncwebrequest::timeout
2024-01-04 09:37:55 -03:00
mat
13ac3359f7
add AsyncWebRequest::timeout
2024-01-03 23:12:23 -03:00
mat
1ee1352d70
make AsyncWebRequest pimpl
2024-01-03 22:17:27 -03:00
mat
b9a09f73d5
update json library, changes namespace to matjson
...
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
a8deaef73f
these ones too
2024-01-03 12:48:36 -03:00
mat
fdf3c2eba6
i want this member in CCTextureCache
2024-01-03 11:10:07 -03:00
mat
b4235bb59a
remove binary and datastore keys
2024-01-02 22:52:53 -03:00
mat
39d372c7f6
removed required from mod.json
2024-01-02 22:50:07 -03:00
mat
386d2d7052
Merge pull request #405 from Cvolton/aaaaa
...
Some more 2.2 stuff
2024-01-01 18:42:20 -03:00
makitard
8bc65ca1f1
Update PlayerButton in Enums.hpp
2024-01-01 16:22:04 -03:00
Cvolton
87484c04d8
define SizeMult in CCMenuItem
2024-01-01 20:18:31 +01:00
Cvolton
8500acac9e
add CommentKeyType
2024-01-01 20:18:31 +01:00
Cvolton
5b478a83d3
Fix providing IDs for InfoLayer
2024-01-01 20:18:30 +01:00
altalk23
da72e5cdfe
Merge branch 'main' of https://github.com/geode-sdk/geode
2024-01-01 21:17:46 +03:00
altalk23
6a48715c8a
I AM CRYING OH MY GOD
2024-01-01 21:17:25 +03:00
mat
de6edd1cb2
Merge branch 'main' of https://github.com/geode-sdk/geode
2024-01-01 15:15:03 -03:00
mat
e3d9082553
reimplement StringImpl::free, use dlsym to get operator new and delete
2024-01-01 15:14:00 -03:00
mat
3a616ea590
use better syntax for this for loop
2024-01-01 15:13:25 -03:00
mat
b0d85e5d43
add prebuilt libs for android arm64
...
thanks @kynex7510 for the libssl and crypto :-)
2024-01-01 15:08:45 -03:00
altalk23
94d03ed630
revert the dependency stuff
2024-01-01 20:51:29 +03:00
altalk23
00b90e2d98
remove the log
2024-01-01 20:46:45 +03:00
altalk23
a8e53426e3
fix touch dispatcher
2024-01-01 20:46:13 +03:00
altalk23
7aca59b20c
stringcopy begone
2024-01-01 19:46:52 +03:00
altalk23
16f66eb76c
document the size
2024-01-01 17:55:45 +03:00
altalk23
25bb79cea0
fix armv8 empty string
2024-01-01 17:54:20 +03:00
altalk23
4be5b47651
more member checks
2024-01-01 17:22:53 +03:00
altalk23
6fd47d53f3
more meber tests
2024-01-01 15:39:28 +03:00
altalk23
23423a8ab9
begone thot
2024-01-01 00:42:11 +03:00
altalk23
543ac4a4d5
Merge branch 'main' of https://github.com/geode-sdk/geode
2024-01-01 00:39:39 +03:00
altalk23
a99a1f569b
generatedaddress no more
2024-01-01 00:39:34 +03:00
mat
3b53328718
include loader commit in crashlog, and change message
2023-12-30 23:26:44 -03:00
mat
138b3ac6b5
just say the game crashed instead of us
2023-12-30 23:16:34 -03:00
altalk23
157261171b
temporary dependency bandaid
2023-12-30 21:34:04 +03:00
mat
9ff1059452
Merge pull request #395 from Cvolton/enums2
...
Add more 2.2 enum values
2023-12-30 12:22:49 -03:00
mat
347ee36595
include fmtlib's ranges and stl support
...
previously we had formatters for std::vector and std::optional, so geode should provide them by default :-)
2023-12-30 11:55:56 -03:00
mat
97e5b74c8b
oops this shouldnt be exported
2023-12-30 11:19:50 -03:00
mat
2ba8761f3e
Merge pull request #386 from geode-sdk/refactor-log
...
Refactor logging internals
2023-12-30 10:59:31 -03:00
altalk23
8c4d5f367d
bindings fixed
2023-12-30 16:27:28 +03:00
Cvolton
bf2fc537f5
Add more 2.2 enum values
2023-12-30 01:25:09 +01:00
mat
953e9504a0
get it working on fmtlib 10.1.1
2023-12-29 20:59:06 -03:00
mat
6f66e47bed
use local timezone in logs
2023-12-29 19:46:19 -03:00
mat
b61013661e
fix formatting of Mod*
2023-12-29 19:11:10 -03:00
matcool
f4f7b66437
floor seconds to int
2023-12-29 11:32:46 -03:00
matcool
c49d6fe576
make these hidden just in case
2023-12-29 10:58:05 -03:00
matcool
570a3b5904
bring back ccobject* logging by wrapping code and downgrading to 10.0.0
2023-12-29 10:54:19 -03:00
matcool
1df146a516
make Logger and Log loader only, refactor Logger too
2023-12-28 19:56:40 -03:00
Cvolton
2112caac6d
Update some enums to 2.2
2023-12-28 22:57:33 +01:00
matcool
237109ce39
Merge branch 'main' into refactor-log
2023-12-28 15:18:56 -03:00
matcool
2111530743
fix this one function
2023-12-27 19:24:18 -03:00
matcool
8a5ff5736d
fix android
2023-12-27 16:40:10 -03:00
matcool
f0aedbada5
Merge branch 'main' of github.com:geode-sdk/geode
2023-12-27 16:32:06 -03:00
matcool
67601514fd
fix ccdirector maybe
2023-12-27 16:31:53 -03:00
altalk23
d057d8b208
i am no longer lazy
2023-12-27 19:32:41 +03:00
altalk23
16647042ea
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-12-27 17:58:12 +03:00
altalk23
e99ac03808
add gameobject size checks
2023-12-27 17:58:07 +03:00
matcool
047db25b23
add fix for clipping rect in some layers
2023-12-27 00:35:39 -03:00
mat
b01db1f0fc
even more cleaning
2023-12-25 15:35:07 -03:00
mat
c57db81910
remove log components, just format directly with fmtlib
2023-12-25 15:18:38 -03:00
adafcaefc
32945c3e84
Add saturationChecked and brightnessChecked to ccTypes.h
2023-12-25 14:54:19 +07:00