Commit graph

1519 commits

Author SHA1 Message Date
mat
e4f957856f
Merge pull request #440 from dankmeme01/main
better error messages on dll load fail
2024-01-23 15:14:16 -03:00
matcool
82808c3a86 also check gd version on index items 2024-01-23 15:01:46 -03:00
altalk23
4a6b5b7c37 ninx will have fun finding the address of cocos2d::ccDrawLine 2024-01-23 20:28:50 +03:00
matcool
c2d1e587fa force geode internal mod to be first
quick and dirty, closes #427
2024-01-23 13:52:37 -03:00
matcool
ac76f5da40 add cvolton 2024-01-23 13:42:55 -03:00
matcool
43005d8e97 update internal mod about.md 2024-01-23 13:33:27 -03:00
matcool
bd9d0635aa dont skip mod updates if its disabled 2024-01-23 12:48:51 -03:00
matcool
d2a5135497 move gd version check to ModImpl::loadBinary 2024-01-23 12:06:27 -03:00
dankmeme01
77736d35e5 better error messages on dll load fail 2024-01-23 00:21:09 +01:00
altalk23
f68b25a052 this is android32 only 2024-01-23 01:56:35 +03:00
altalk23
9c87d4c8dd Fix exceptions on android 32 maybe 64? 2024-01-23 01:39:41 +03:00
altalk23
4ab71973fd revert the fix 2024-01-22 22:29:30 +03:00
altalk23
b8a43705fe will this work 2024-01-22 22:11:42 +03:00
altalk23
2bc0d1a827 do while OH MY GOD 2024-01-22 21:54:26 +03:00
altalk23
491666965d fuck you newlines in hashing 2024-01-22 20:42:11 +03:00
altalk23
316e652b19 readd the textinput fix 2024-01-22 19:59:12 +03:00
altalk23
d7ed016768 fix logcat adding all crashlogs if last crash didnt result in the thing 2024-01-22 19:11:17 +03:00
altalk23
d8b18dc609 ifdef gameDidSave into windows 2024-01-22 18:42:27 +03:00
altalk23
2ebd2f014c add GEODE_COMP_GD_VERSION 2024-01-22 17:58:22 +03:00
altalk23
8eb033c48c update android stubs & version 2024-01-22 17:45:02 +03:00
mat
efe94e553c
macos sucks 2024-01-21 14:33:19 -03:00
alk
9869ddcdea
Macos support for Geode v2 (#437)
updates loader refactor stuff and other things

---------

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-01-21 14:08:06 -03:00
HJfod
5bacaf307c fix SearchFilterPopup layout 2024-01-21 17:42:46 +02:00
HJfod
b61d4664fd fix squishing 2024-01-21 17:32:26 +02:00
HJfod
c42b5ddbc2 force all nodes of a Layout be ignoreAnchorPointForPosition 2024-01-21 16:49:03 +02:00
altalk23
bb60da8cb2 create parent path for unzip 2024-01-21 00:52:11 +03:00
altalk23
8e92bca418 remove the one in single extract 2024-01-20 23:59:45 +03:00
altalk23
1cf90c6acd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-20 23:58:39 +03:00
altalk23
f6e1958ae8 uhh create dir 2024-01-20 23:58:30 +03:00
HJfod
427e28c034 fix Zip::Impl::extractAt not making sure dest dir exists 2024-01-20 22:15:58 +02:00
HJfod
cf14056037 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-01-20 21:26:25 +02:00
HJfod
a628ea3ace fixing SearchFilterPopup ui being broken
my brother forced me off my pc so have to commit so i can continue on my laptop
2024-01-20 21:26:01 +02:00
altalk23
b22ed7de21 fun zip optimizations 2024-01-20 21:58:25 +03:00
HJfod
5c30809919 get rid of some unnecessary macros 2024-01-20 19:44:47 +02:00
matcool
120fa4a1df use getInternalDirectory for getModRuntimeDir on android 2024-01-20 11:51:29 -03:00
matcool
b63611ede8 add Index::isUpdating(), show message properly when updating index 2024-01-20 11:39:31 -03:00
matcool
dc2fba24ee avoid virtual call in forward compat cclayer::init hook
closes #432
2024-01-20 09:03:32 -03:00
mat
f7d9c6af17
macos gd::string (#430) 2024-01-19 20:33:17 -03:00
matcool
d8459041a0 remove member test (it was moved to bindings) 2024-01-19 13:55:48 -03:00
matcool
de7b2f6d9a update test dependencies 2024-01-19 13:53:53 -03:00
mat
cb5b887172
Merge pull request #423 from dankmeme01/main
c++ exception handler improvements + 64-bit compatibility
2024-01-18 21:33:46 -03:00
matcool
39efa08218 fix silly error in ModMetadataimpl yet again 2024-01-18 20:52:33 -03:00
qimiko
33e7ea3fe3
dump memory mappings in crash logs
a very bad solution to not resolving mod names
2024-01-18 15:47:58 -07:00
matcool
a49e230d63 disable this warning its annoying 2024-01-18 19:46:14 -03:00
matcool
9b07484e09 include tag in LoaderImpl::minModVersion 2024-01-18 17:51:49 -03:00
matcool
14d327e8ff use android32 and android64 everywhere, for consistency
breaks launcher lol! sorry
2024-01-18 17:28:21 -03:00
matcool
7e0558e030 set CCMenuItem::m_fSizeMult to 0 by default
fixes #406
2024-01-18 17:00:13 -03:00
matcool
98f4e7e817 no need to overload addressOfNonVirtual 2024-01-18 16:09:39 -03:00
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