Commit graph

1506 commits

Author SHA1 Message Date
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
altalk23
e21a7ac7d9 fix loadingcircle 2023-12-25 07:41:47 +03:00
altalk23
00e2bfee28 find armv8 string dtor 2023-12-25 07:11:17 +03:00
mat
f8cc461635 fix android gd::string 2023-12-25 00:52:43 -03:00
mat
941042999b
fix quickpopup 2023-12-24 17:17:18 -03:00
HJfod
cfa6e09e46 make attempting to hook a placeholder address log in the console 2023-12-23 18:43:59 +02:00
HJfod
e442e37e7a update the placeholder address 2023-12-23 18:31:20 +02:00
altalk23
78ca51fe3e ok only tuliphook and static libs left 2023-12-23 18:02:13 +03:00
altalk23
1291dfd67b Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-23 17:48:42 +03:00
altalk23
df218e216b fix curl headers for android64 2023-12-23 17:48:38 +03:00
HJfod
f187c6f433 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-12-23 16:35:17 +02:00
HJfod
1475c45afd fix loader trying to load mods from 1.0.0-beta.5 2023-12-23 16:35:02 +02:00
altalk23
11a175a078 add android64 libcocos 2023-12-23 17:33:16 +03:00
altalk23
d83f2825f7 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-23 17:28:45 +03:00
altalk23
74f97c0fa0 testmembers android64 hell yeah 2023-12-23 17:28:42 +03:00
matcool
7bd637370b add todos 2023-12-23 11:10:36 -03:00
matcool
a3ce94cdaf Merge branch 'main' of github.com:geode-sdk/geode 2023-12-23 11:00:52 -03:00
matcool
d6af9af2b4 rename StringImpl -> StringData, StringImplAdapter -> StringImpl 2023-12-23 11:00:43 -03:00
altalk23
aab6533bc4 fix output name 2023-12-23 16:15:55 +03:00
altalk23
cab63073c2 add android64 to headers 2023-12-23 16:10:23 +03:00
matcool
a82ba30a70 rename string headers 2023-12-23 09:44:29 -03:00
altalk23
c0ae7e4705 add scroll layer to tags 2023-12-23 14:36:36 +03:00
altalk23
b4c16e6ab5 fix mod settings 2023-12-23 14:04:27 +03:00
altalk23
db4c76f7f7 fix trysavegame 2023-12-23 13:32:44 +03:00
altalk23
62bff96a19 fix geode abouts not showing up 2023-12-23 13:08:14 +03:00
altalk23
15eaf56ca8 fix toggle button 2023-12-23 12:09:11 +03:00
altalk23
d28084c3bf i hate force prio i hate force prio 2023-12-23 11:52:05 +03:00
altalk23
a2389f65ee fix android compiling (did i tell i hate <=> operator) 2023-12-23 11:05:59 +03:00
matcool
1065592e8d i dont know at this point, android still crashes 2023-12-23 02:59:45 -03:00
matcool
24bbc65f19 refactor gd::string 2023-12-22 18:09:58 -03:00
matcool
cc4dfc1ba4 disable parts of menulayer::init for now 2023-12-22 15:11:20 -03:00
matcool
b4effb6966 add some member testws 2023-12-22 14:50:57 -03:00
matcool
f5d529517d disable test mods for now 2023-12-22 14:29:27 -03:00
altalk23
9c869f77c8 fix ccobject 2023-12-22 20:15:01 +03:00
altalk23
5ef7aec666 fix the list view, the cell is broken 2023-12-22 19:50:53 +03:00
matcool
a911b341e5 fix this one function 2023-12-22 10:38:11 -03:00
matcool
40cc77051c fix JMP_BYTES macro on clang 2023-12-22 09:53:37 -03:00
matcool
ec614d123e comment out gdstring for now 2023-12-22 09:11:39 -03:00
matcool
210375ca6d fix loadinglayer 2023-12-22 01:45:43 -03:00
matcool
4d5a6e7b7d some cocos tests 2023-12-22 01:45:25 -03:00
matcool
9aaf0e23bf make it so GEODE_DONT_BUILD_TEST_MODS still build member test 2023-12-22 01:43:52 -03:00
matcool
bf5d4d5324 add cctextinputnode 2023-12-21 19:20:56 -03:00
matcool
bf63e31ff4 disable this for now 2023-12-21 17:04:08 -03:00
matcool
5397e0fa66 ignore placeholder hooks 2023-12-21 17:03:22 -03:00
altalk23
9888a7aa1e im done for today, good work IMO 2023-12-21 22:43:23 +03:00
altalk23
1036e780f9 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-21 22:04:45 +03:00
altalk23
9af2bd5e89 android gg 2023-12-21 22:04:43 +03:00
matcool
ffa5f6cc01 remove savefilefix 2023-12-21 15:10:06 -03:00
matcool
8c63c65797 fix visibility 2023-12-21 15:09:49 -03:00
matcool
67149eada9 Merge branch 'main' of github.com:geode-sdk/geode 2023-12-21 15:09:24 -03:00
matcool
0e7c95f03b update gdstring.lib
btw i finally made public the script i used for this!
check it out:
https://gist.github.com/matcool/3261e808bfc2785436b4ff2a3807b2e7
2023-12-21 15:08:43 -03:00
altalk23
c81499dae6 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-21 20:44:24 +03:00
altalk23
95915f5c81 do android stuff 2023-12-21 20:44:22 +03:00
matcool
5126c31739 add missing default ctor for CCLayerGradient 2023-12-21 13:54:51 -03:00
altalk23
5d07b2ab7d Geode android compiles gg girls and girls 2023-12-21 19:42:01 +03:00
altalk23
7b793a4d1d get codegen sources to compile 2023-12-21 17:13:39 +03:00
matcool
c33ec9942f Merge branch 'matsilly' 2023-12-20 23:23:36 -03:00
matcool
5c71bc9e32 get windows further along 2023-12-20 23:14:53 -03:00
altalk23
32a99eef91 add ParticleStruct 2023-12-20 22:04:08 +03:00
altalk23
baaec62bc0 uhhh things idk it does stuff rn 2023-12-20 21:50:21 +03:00
altalk23
646a60a517 im fed u pby enums 2023-12-20 21:42:57 +03:00
altalk23
10a69a6bae even more enums 2023-12-20 21:36:19 +03:00
altalk23
0c0831ca4d Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-20 21:31:18 +03:00
altalk23
5d9a625456 so many enums yet still going 2023-12-20 21:31:17 +03:00
matcool
b1eaa2be2a a few cocos changes 2023-12-20 14:56:28 -03:00
matcool
b6b20b0bd3 update main hook, probably
i havent tested this yet because bindings dont build, but it probably
workd :-)
2023-12-20 14:55:26 -03:00
altalk23
c94119eb01 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-20 20:21:25 +03:00
altalk23
d853f2240e move node ids 2023-12-20 20:21:23 +03:00
matcool
ed89655583 update windows .lib files 2023-12-20 14:08:25 -03:00
altalk23
7599a58f56 zmx please fix the android base get 2023-12-20 20:01:10 +03:00
altalk23
f021b726be comment out ids except menulayer 2023-12-20 19:58:47 +03:00
altalk23
0ed0e25401 update android stub 2023-12-20 19:47:17 +03:00
altalk23
40f99d6397 fix virtuals from main cocos classes 2023-12-20 19:33:32 +03:00
altalk23
d49e14d9ee fix main cocos headers 2023-12-20 19:22:06 +03:00
altalk23
38a8e10473 add main cocos classes 2023-12-20 18:48:27 +03:00
altalk23
1d57eb5c1b ok fixed this time 2023-12-20 18:43:48 +03:00
altalk23
7c0d7ba57a make member check and size check less confusing 2023-12-20 18:36:54 +03:00
HJfod
151303c696 remove deprecated funcs from mod and fix wasSuccesfullyLoaded 2023-12-20 12:47:59 +02:00
HJfod
2aa9f561f5 bump minimum cmake version 2023-12-20 12:47:04 +02:00
HJfod
442789e61a Merge branch '1.4.0-dev' into 2.0.0-dev 2023-12-20 12:19:29 +02:00
mat
ebcc23e7a9
Merge branch 'main' into 1.4.0-dev 2023-12-19 10:02:19 -03:00
Cvolton
d22dc28ad9 Bindings: Improve song related stuff 2023-12-19 00:33:14 +01:00
matcool
0787b8f450 message for a bug i cant recreate 2023-12-17 22:33:32 -03:00
matcool
c7a471660e fix garage node ids being shifted when asking for name 2023-12-16 10:30:42 -03:00
matcool
4b7663015a (urgent) fix followThunkFunction
it was following hooks for cocos functions, causing bad crashes.
instead, now only follow jmp and then jmp dword ptr
2023-12-15 11:59:11 -03:00
matcool
d295fc9546 update comment 2023-12-14 21:45:24 -03:00
matcool
391f63edee implement a save file fix
thank you chloe for a basis for the rewritten function

Co-authored-by: qimiko <25387744+qimiko@users.noreply.github.com>
2023-12-14 21:37:29 -03:00
matcool
44a018cdf9 recursively follow jumps in followThunkFunction 2023-12-14 21:32:19 -03:00
matcool
e8a326f7cb make crashlog messagebox always appear, instead of only on GEODE_DEBUG 2023-12-14 21:31:54 -03:00
altalk23
c8392e92f5 im tired 2023-11-21 22:03:07 +03:00
altalk23
164185621e easy fix of the web error crash !!! (not rly) 2023-11-21 21:20:06 +03:00
altalk23
df3979fe46 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-11-21 20:38:15 +03:00
altalk23
f7962246ec set time for updating index notif 2023-11-21 20:38:13 +03:00
ConfiG
c5550a67c2
log geode version on startup 2023-11-21 20:34:59 +03:00
altalk23
b76eb12458 fix onShare 2023-11-21 20:34:12 +03:00
altalk23
d5027ca6ab Merge branch 'main' into 1.4.0-dev 2023-11-21 20:31:36 +03:00
altalk23
5cf0f3c28c fix hooks lol! funny demorgan stuff happened here 2023-11-21 20:22:27 +03:00
altalk23
7796bfba9f fix commenttype macos (thanks cocoa!) 2023-11-21 20:10:19 +03:00
dankmeme01
557b9e3126
add the CommentType enum (#344) 2023-11-17 00:27:39 +03:00
ConfiG
5083017b50
improve logging + minor refactors 2023-11-11 19:45:18 +03:00
camila314
645a41c63a forogt to commit the enum 2023-11-11 10:03:31 -06:00
mat
41832af1d8
Merge branch '1.4.0-dev' into 1.4-merge-temp 2023-11-09 22:39:23 -03:00
mat
12231b223c
disable CCTextInputNodeFix 2023-10-31 14:57:04 -03:00
alk
d5000c29ae
Merge pull request #319 from dankmeme01/main
Display messages of unhandled c++ exceptions on Windows
2023-10-28 18:48:23 +03:00
Fire
237128bfc5
Allow error responses
i dont want a "HTTP response code said error"
2023-10-27 20:49:17 +00:00
dank_meme
0472075f88 actually fix windows exception handling 2023-10-25 00:18:58 +02:00
dank_meme01
52421d8c65 fix msvc compilation error in ehdata_structs.hpp 2023-10-24 22:42:48 +02:00
dank_meme01
0d09162622 some exception handling improvements 2023-10-24 12:05:37 +02:00
dank_meme01
fdd78aca3f display messages of unhandled c++ exceptions 2023-10-23 23:19:15 +02:00
camila314
23bfc22d11 someone made an oopsie in SentAsyncWebRequest::Impl's constructor 2023-10-22 11:50:58 -05:00
camila314
b17ca9ae4b docs change lmao 2023-10-22 11:01:14 -05:00
mat
d6de1187d3
avoid convertTouchToNodeSpace because of mac 2023-10-22 10:53:40 -03:00
Mazin Eltahawy
2d8e988ce3
Add null check for m_delegate (#318)
* fix formatting

* Add null check for `m_delegate`

---------

Co-authored-by: Mazin Eltahawy <mazintahawy@gmail.com>
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-10-22 10:46:21 -03:00
Mazin Eltahawy
746966c423
Make CCTextInputNode work in nested hierarchies (#317) 2023-10-22 10:38:09 -03:00
alk
303543b764
Merge pull request #309 from Cvolton/add-rewards
add missing GJRewardTypes
2023-10-16 20:03:46 +03:00
altalk23
902385fd1b fix namespace 2023-10-16 18:49:28 +03:00