Commit graph

1053 commits

Author SHA1 Message Date
matcool
38cc38c2c3
remove unnecessary gd thread queues for mod events 2023-08-16 21:02:13 -03:00
alk
a0020cc503
Merge branch 'main' into better-dependencies 2023-08-17 01:08:30 +03:00
ConfiG
1d5fae8fbb
fix loading layer not using m_fields for m_loadedModsLabel 2023-08-16 23:29:51 +03:00
ConfiG
f316c86756
fix typos in "successfully" 2023-08-16 21:16:15 +03:00
ConfiG
cd772bd056
swap Recommended/Customize, Cancel/Delete > Keep/Delete 2023-08-16 21:13:37 +03:00
altalk23
86accf9a33 remove friend ModInfo::Impl (created a warning) 2023-08-14 17:03:40 +03:00
ConfiG
aee84c0ffc
problems list ui 2023-08-13 22:20:53 +03:00
ConfiG
6ab542d51a
dont enable mods on update 2023-08-13 21:52:36 +03:00
ConfiG
73169fbf22
improve index related ui
- hide install list behind a popup
- remove android and ios filters
- don't show not installable mods
- allow quick popups to be completely cancelled by esc
2023-08-13 21:52:36 +03:00
ConfiG
3707418355
new install list ui 2023-08-13 21:52:35 +03:00
altalk23
0e1d639002
implement missing stuff to macos 2023-08-13 21:52:34 +03:00
ConfiG
a9cce769d5
fix index ui with show installed filter on 2023-08-13 21:52:33 +03:00
ConfiG
3d2e447333
add epic super secret api that nobody should use 2023-08-13 21:52:31 +03:00
ConfiG
8908235234
add importance to incompat 2023-08-13 21:52:30 +03:00
ConfiG
e7180695b8
early load 2023-08-13 21:40:21 +03:00
ConfiG
80f387d9d1
name ipc threads 2023-08-13 21:40:20 +03:00
ConfiG
ed5b5c9685
fix index not parsing tags correctly 2023-08-13 21:40:19 +03:00
ConfiG
cb8759bef0
add api label 2023-08-13 21:40:18 +03:00
ConfiG
5200128544
huge dependency stuff refactor 2023-08-13 21:40:18 +03:00
ConfiG
7f449b996e
add utils::game::restart, reset => forceReset 2023-08-10 23:49:29 +03:00
ConfiG
53b52eaeeb
ModInfo => ModMetadata 2023-08-10 23:49:28 +03:00
ConfiG
2b1dc178a4
add any (*) to ComparableVersionInfo 2023-08-09 21:58:44 +03:00
ConfiG
7d74f16c01
add logger nesting 2023-08-09 21:58:44 +03:00
Jouca
e342810a9a
added FriendsProfilePage (#208)
- Corrected UserListType
- Added UserListDelegate
- Added FriendsProfilePage create & init functions
2023-08-09 13:47:59 -03:00
ConfiG
82e128bb57
add utils::string::join 2023-08-07 01:47:14 +03:00
altalk23
a0d7b2f451 make LoadedTextureQuality a ccsynthesize 2023-08-07 00:56:21 +03:00
altalk23
e41784ed39 Change resources.zip to be platform dependent 2023-08-05 22:16:35 +03:00
matcool
f5a68154d2
fix CCControllerState using unknown byte type 2023-08-05 15:26:41 -03:00
matcool
8938df02de
fix CCSceneTransitionDelegate for mac 2023-08-04 18:28:44 -03:00
Cvolton
22efe94fac
add CreatorLayer delegates 2023-08-04 22:36:54 +02:00
altalk23
6e58a0a721 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-04 21:22:28 +03:00
altalk23
e489681c38 begone openssl 3 2023-08-04 21:22:09 +03:00
ConfiG
1c1a2f2680
Merge remote-tracking branch 'origin/main' 2023-08-04 20:50:50 +03:00
ConfiG
c055933d95
sus 2023-08-04 20:50:29 +03:00
matcool
7a83354c8c
use std::filesystem on windows on some wine-problematic functions
the code added could definitely be cleaned later by wrapping the
problematic functions, but this is a working solution for now
2023-08-04 14:47:16 -03:00
ConfiG
041d44cf0c
make xinput lazy load real xinput 2023-08-04 20:29:28 +03:00
matcool
2945422744
use correct changelog for mod info popup 2023-08-04 13:24:20 -03:00
ConfiG
1f7e6da304
fix auto update 2023-08-04 13:58:15 +03:00
ConfiG
ca5bcc3a18
Merge remote-tracking branch 'origin/main' 2023-08-04 01:23:38 +03:00
ConfiG
3d70c1be68
use spaces in Updater.cpp 2023-08-04 01:19:33 +03:00
altalk23
fc72c24e2e Add mod ids to logged removed keys of ModInfo 2023-08-04 01:18:46 +03:00
ConfiG
c2aacd9979
fix when bootstrapper present but update isn't 2023-08-04 01:18:19 +03:00
ConfiG
cf3ed327e5
"MacOS" > "macOS", "iOS" > "IOS" in platform filters 2023-08-04 00:56:52 +03:00
altalk23
b0d72b0c79 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-03 23:39:31 +03:00
altalk23
ea5a5f0076 fix macos installer and the action 2023-08-03 23:39:17 +03:00
matcool
ddc10d633e
fix sha3 library on mac 2023-08-03 17:34:56 -03:00
matcool
bbf2608ac2
Switch libraries for sha3 256, move implementation to source file
The previous library we used (picosha3) returned a wrong hash for one
particular file. Though this was quite rare (we only found 1 such file),
it was a bug with the library regardless.
The current sha3 library now comes from
https://github.com/stbrumme/hash-library
2023-08-03 17:24:04 -03:00
ConfiG
e3c2ca7417
fix mac build
workaround by using convertToWorldSpace instead of convertToWorldSpaceAR and setting the anchor point to 0,0
2023-08-03 21:27:57 +03:00
ConfiG
ebab230bf5
Merge remote-tracking branch 'origin/main' 2023-08-03 21:00:02 +03:00
ConfiG
8ce12278aa
new cool tabs 😎 2023-08-03 20:33:42 +03:00
HJfod
7a0ade2bf6 update index to be pimpl
also remove the ability for multiple sources from it
2023-08-03 20:01:37 +03:00
ConfiG
228a37fd7f
change "updates to Geode" to "Geode updates" 2023-08-03 13:37:42 +03:00
ConfiG
e921466745
fix xinput 2023-08-03 01:23:00 +03:00
HJfod
b2d677111a Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-08-02 19:43:10 +03:00
HJfod
0a6d31ebb6 make all mods including disables ones be unzipped
this makes it so disabled mods' resources are loaded
2023-08-02 19:42:31 +03:00
ConfiG
aa74bb0ecb
fix ci 2023-08-02 18:27:38 +03:00
ConfiG
363d27395c
fix some warnings 2023-08-02 18:04:37 +03:00
ConfiG
2b1becc233
silence warnings from dependencies 2023-08-02 17:34:36 +03:00
altalk23
4f6265ae32 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-02 15:58:51 +03:00
altalk23
fe8cb42129 change getSaveDir and implement autoupdate macos 2023-08-02 15:58:37 +03:00
ConfiG
25bafae278
try to use ninja on win actions 2023-08-02 02:06:20 +03:00
ConfiG
803bfadf2a
fix windows build 2023-08-01 22:09:45 +03:00
ConfiG
8f5559f531
refactor actions
- add ability to automatically create a draft release
 - change windows to windows-latest
 - unify "Unzip CLI" and "Add CLI to Path"
 - remove out folder
 - prevent unnecessary files from generating on windows
 - leave resources in platform-specific artifacts
 - unify "Package MacOS" and "Package Windows"
 - use steps outputs instead of env variables for storing version/hash
2023-08-01 21:57:01 +03:00
ConfiG
dcf89588e6
link to xinput1_3 instead of xinput1_4
allows use in windows 7 without workarounds
2023-07-31 19:18:58 +03:00
HJfod
66b3c289c5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-07-30 22:21:37 +03:00
HJfod
912b766ecb fix text input not being clickable 2023-07-30 22:21:26 +03:00
HJfod
e3e72cabf3 fix field crash 2023-07-30 22:21:17 +03:00
HJfod
8c567a57fd make menu detachment code generic 2023-07-30 22:20:55 +03:00
alk
0fee8010a8
fix LevelBrowserLayer macchew checks 2023-07-30 20:54:46 +03:00
alk
4c8c0ae7b5
Merge branch 'main' into bi-additions 2023-07-30 20:50:30 +03:00
HJfod
f8da81625f change select channel button string id to be more specific 2023-07-30 12:03:25 +03:00
HJfod
138fdbb1a4 fix CustomizeObjectLayer bindings and menus not hiding on mode change 2023-07-29 23:58:13 +03:00
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +03:00
HJfod
e00b3a6a7f add option to disable last crashed popup 2023-07-29 20:56:46 +03:00
HJfod
6d92bb817f add CustomizeObjectLayer ids 2023-07-29 20:44:24 +03:00
HJfod
8ca2b99d7c fix spacers not actually taking any space 2023-07-29 20:39:50 +03:00
HJfod
8027b807e5 fix switchToMenu assuming nodes to have a parent 2023-07-29 20:39:25 +03:00
altalk23
b558962f2f fix main.mm includes 2023-07-08 17:08:24 +03:00
altalk23
26e38ecbab Change geode loading order, auto updating not implemented yet 2023-07-08 16:38:09 +03:00
altalk23
07d9fcbc0d Fix windows wine crashing on static init time 2023-06-30 17:27:19 +03:00
altalk23
4ad8b486ff implement save and open panel 2023-06-25 19:52:01 +03:00
altalk23
5b9e8a7467 fix infolayer and browserlayer structs 2023-06-25 18:47:16 +03:00
altalk23
f5e57380aa Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-24 00:45:21 +03:00
altalk23
7e70daf5a0 fix getMousePos for macchew 2023-06-24 00:45:13 +03:00
alk
17eb0e5aa0
Add EnterLayerEvent<N> as default template param to the filter 2023-06-23 23:48:41 +03:00
Cvolton
b097404063
add chest reward related bindings 2023-06-22 01:57:14 +02:00
Cvolton
16716d8bb9
add missing addresses and members needed for bi 2023-06-22 01:13:49 +02:00
ConfiG
48e84e406f
rob made setContentScaleFactor public 2023-06-12 18:31:34 +03:00
ConfiG
566d891994
fix member offset test 2023-06-12 01:56:53 +03:00
ConfiG
6615ad99f7
CCApplication and CCEGLView stuff 2023-06-12 01:50:10 +03:00
ConfiG
17dfe975af
CCApplication, AppDelegate and controller stuff 2023-06-11 19:57:03 +03:00
ConfiG
e98a756361
unsillify dllmain and better early errors 2023-06-11 01:53:25 +03:00
ConfiG
9acb07229b
move loadGeode call to geode's DllMain 2023-06-11 00:33:17 +03:00
altalk23
7209d4fe3f Merge branch 'new-proxy' of https://github.com/geode-sdk/geode into new-proxy 2023-06-10 16:35:53 +03:00
altalk23
991e714810 check if the github tag exists before downloading 2023-06-10 16:35:51 +03:00
ConfiG
d5fe754b65
format code and use std::filesystem in updater 2023-06-10 16:24:35 +03:00
ConfiG
7097ab4d89
dont try latest on error when downloading res 2023-06-10 15:53:17 +03:00
ConfiG
46fab0e821
use weakly_canonical in getGameDir and getSaveDir 2023-06-10 15:49:55 +03:00
ConfiG
68357143e8
clear directory before deleting it 2023-06-10 14:06:11 +03:00
ConfiG
3eb686c4b5
improve updater code 2023-06-10 13:57:12 +03:00
matcool
8f5c229f7c
use memcpy instead of WriteProcessMemory 2023-06-09 23:08:57 -03:00
matcool
681fb481a9
fix updateGeode() when geode or the update folder doesnt exist 2023-06-09 23:04:22 -03:00
ConfiG
884825488d
actually fix mac build 2023-06-09 19:09:28 +03:00
ConfiG
73e94193ef
fix mac build
i forgor 💀
2023-06-09 18:52:44 +03:00
ConfiG
3c1529caa6
split main.cpp per platform 2023-06-09 18:29:19 +03:00
ConfiG
7f772e9bee
open console early 2023-06-09 18:11:35 +03:00
ConfiG
d29f86ef3e
add upgrade path to new updater and xinput 2023-06-09 17:52:22 +03:00
ConfiG
c045b49492
fix build 2023-06-09 16:19:20 +03:00
ConfiG
692e227194
add LIBRARY_OUTPUT_DIRECTORY back
and change SIZE_T to size_t
2023-06-09 15:54:37 +03:00
ConfiG
ab5975aa9c
don't do c_str inplace 2023-06-09 15:48:01 +03:00
ConfiG
b47870e7e9
new proxy loader
- remove bootstrapper dll
- add updater exe
- remove createthread/loadlibrary calls
  - and link instead to let windows load it
- needs mac port probably?
2023-06-09 15:39:35 +03:00
ConfiG
d72797334f
fix CCEGLView custom ctor on windows
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2023-06-09 15:30:08 +03:00
altalk23
4c4be3657a add sigbus & print the crashlog 2023-06-08 23:54:39 +03:00
altalk23
dd7e18fb57 you didnt see me commiting a __builtin_trap shush 2023-06-08 23:09:17 +03:00
altalk23
3881e65511 make stacktrace make sense even if atos is missing 2023-06-08 23:07:40 +03:00
altalk23
9b58b3376b Implement macos crashlog (wow this was hard) 2023-06-08 22:59:45 +03:00
altalk23
fd3fd9536e fix crashlog to actually build (doesnt work on macos yet) 2023-06-08 19:22:51 +03:00
altalk23
9c3759b398 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-08 19:04:45 +03:00
mat
d071e75f95
Merge pull request #185 from cgytrus/cocos-stuff
Add some more cocos stuff
2023-06-07 16:30:23 -03:00
ConfiG
ba40d39a2d
fix g_uNumberOfDraws 2023-06-07 19:07:42 +03:00
ConfiG
11f2208767
add more cocos stuff 2023-06-07 18:58:19 +03:00
qimiko
041a98ee4d
implement loader for android
compilation still won't work, pending implementations for gdstl/codegen/tuliphook. the first two should be mostly done already. may also be good to get FileWatcher, crashlog, and the file picker implemented but they aren't necessary

the libcurl.a and libssl.a files were built using
https://github.com/ibaoger/libcurl-android. they are placed in the link/android folder because putting them in the link folder confused the macOS build.

once built, the geode binary should be loaded after nativeSetApkPath is ran (otherwise the directory setup crashes). in the future it would be nice if the internal mod also did save data path redirection, as base GD is incapable of doing this

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-06-05 17:42:22 -07:00
mat
2a1a08ef24
Merge pull request #184 from cgytrus/cocos-stuff
Add some cocos stuff
2023-06-05 13:52:01 -03:00
ConfiG
a58d40889c
fix particlesystem and particlesystemquad 2023-06-05 16:19:39 +03:00
ConfiG
faa0c77304
add some cocos stuff 2023-06-05 15:45:12 +03:00
qimiko
41891637d6
update bindings to match android symbols 2023-06-04 17:46:48 -07:00
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
ConfiG
58477bbd2c fix Mod::setSettingValue 2023-06-04 17:52:03 +03:00
mat
69fabc1fd9
Merge pull request #183 from cgytrus/fix-glfw-headers
Fix GLFW headers
2023-06-04 11:50:51 -03:00
HJfod
5dfff3693f add default case for version comparisons 2023-06-04 17:23:31 +03:00
HJfod
d0c2394a1e fix GEODE_UNWRAP macros not using fully qualified names 2023-06-04 17:23:13 +03:00
qimiko
36ac8397ce
add dialog enum types to bindings 2023-06-04 04:30:47 -07:00
altalk23
20f461305b addresses and crashlog 2023-06-02 21:56:59 +03:00
ConfiG
6ada069737
fix glfw headers 2023-06-01 23:04:05 +03:00
ConfiG
983e640fde
more stuff 2023-06-01 23:00:48 +03:00
ConfiG
fd3a587aa9 add modify to CCParticleSystem, fix removed field 2023-05-31 17:42:53 -03:00
matcool
a2b8f2721a
make json library exported 2023-05-24 16:17:58 -03:00
alk
d9c775651e
Update pickup fix for collectibles 2023-05-23 00:01:40 +03:00
alk
cdc80ffe9f
Add pickup trigger fix 2023-05-22 23:54:28 +03:00
matcool
518b15e34a
$on_mod required using geode namespace 2023-05-19 13:58:24 -03:00
matcool
0f1d81326a
remove minhook and commented out dobby
we seriously were including minhook this whole time?? its literally
unused btw
2023-05-19 12:49:36 -03:00
camila314
392c6941fe Implement update functionality 2023-05-18 10:20:04 -05:00
altalk23
261851887c Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-09 10:13:52 +03:00
altalk23
372e2aaeaa Fix Mod::addHook 2023-05-09 10:13:31 +03:00
matcool
af8d4a04de
enable ansi color support for windows console, use it on logs
this will use gray for debug, blue for info, yellow for warning and red
for error
2023-05-06 13:32:34 -03:00
altalk23
56b7b66b93 fix getSaveDir not working with nonascii paths 2023-05-06 18:31:51 +03:00
altalk23
a968153331 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 18:41:36 +03:00
altalk23
0f6b173a11 handle the ui for major and minor versions 2023-05-01 18:41:18 +03:00
matcool
a1e9ac46b9
use wide version of winapi functions
This in theory should help with unicode support, as the old cocos2d
methods did not handle unicode well. However i was not able to test this
since vanilla gd itself doesnt launch on a non ascii path for me!
2023-05-01 11:18:35 -03:00
altalk23
b236a1daac Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 16:41:03 +03:00