Commit graph

895 commits

Author SHA1 Message Date
altalk23
d33c508d48 move unzipped to inside data 2023-09-16 17:22:30 +03:00
altalk23
bf1d47244f hardcode path utils to external for now 2023-09-16 17:11:36 +03:00
altalk23
28480a6dc4 download latest loader resource if folder doesnt exist and the version doesnt exist 2023-09-16 15:38:14 +03:00
altalk23
4b9b72f541 Merge branch 'main' into android 2023-09-16 15:17:57 +03:00
qimiko
e070fba8cb
remove hardcodes for directory 2023-09-16 04:52:34 -07:00
altalk23
81de161b3e reunify resources.zip 2023-09-16 14:09:05 +03:00
altalk23
fdc7e314d1 Merge branch '1.4.0-dev' into android 2023-09-16 13:56:21 +03:00
altalk23
f39c6f711a Merge branch 'main' into 1.4.0-dev 2023-09-16 13:55:52 +03:00
qimiko
fda43ec617
fix web request crash 2023-09-16 03:53:24 -07:00
altalk23
5856f5fde0 Trying to fix hashes by enforcing LF 2023-09-16 11:38:11 +03:00
altalk23
aa55ebe8aa fix search paths - season 1 episode 4 2023-09-16 10:01:45 +03:00
altalk23
2723588f21 Fix nested lists in md 2023-09-16 09:50:05 +03:00
altalk23
a6a47bf6cf Fix #239 and revert GEODE_HIDDENs 2023-09-16 09:48:48 +03:00
altalk23
20d5e079bc Fix tuliphook alignment intervener issue 2023-09-16 01:10:56 +03:00
altalk23
86de5ff7dd uncomment some stuff 2023-09-16 00:17:45 +03:00
altalk23
4294177be6 gd opens rn lol! but i commented like everything 2023-09-15 23:37:18 +03:00
altalk23
7c55b215d1 comment string dtor & add +1 to dlsym 2023-09-15 19:59:55 +03:00
altalk23
9906a8ff78 fix android empty string 2023-09-15 19:38:15 +03:00
altalk23
372ea0e78c remove the expand sprite log 2023-09-15 08:17:40 +03:00
altalk23
5954b06bc4 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-09-14 17:54:32 +03:00
altalk23
9a28e58639 add GEODE_HIDDEN to _spr 2023-09-14 17:54:26 +03:00
ConfiG
21866a033a
improve utils::file::read* error checking 2023-09-14 17:39:00 +03:00
altalk23
4715072c86 Add platform specific funcs 2023-09-14 15:56:51 +03:00
altalk23
0e324c444c Add android gd string and comment out addresses for now 2023-09-14 15:49:24 +03:00
altalk23
1d53ce7695 Make missimg members private, ifdef missing ids 2023-09-14 14:59:12 +03:00
altalk23
46e4cdb3b1 Compiles until linking 2023-09-14 14:43:55 +03:00
altalk23
0f67435685 Merge branch '1.4.0-dev' into 2.0.0-dev 2023-09-13 10:43:47 +03:00
altalk23
26a6c7e96d fix too big mod icons 🔥 2023-09-12 22:11:16 +03:00
altalk23
71a79ab4dd add GEODE_HIDDEN to _spr 2023-09-12 21:07:53 +03:00
altalk23
f64c74a128 Fix nested lists in md 2023-09-12 19:46:26 +03:00
altalk23
ac74e056cf fix blue view spacing 2023-09-12 18:46:14 +03:00
altalk23
dd806e0532 Make mod info popup top a layout 2023-09-12 18:42:17 +03:00
altalk23
607adc8fd0 Fix disabling problem mods from view popup 2023-09-12 18:24:31 +03:00
altalk23
e8b6c57c21 fix grayed out 2023-09-12 18:16:03 +03:00
altalk23
cd89ef1909 fix the toggling thing with dependencies 2023-09-12 18:15:17 +03:00
altalk23
ef4764728b change loadinglayer, fix macos spritesheet issue, separate user disabled & problem disabled, fix not enabling a disabled mod that has dependency disabled, 2023-09-12 18:12:46 +03:00
camila314
734ddd0ed9 Merge remote-tracking branch 'refs/remotes/origin/1.4.0-dev' into 1.4.0-dev 2023-09-11 13:12:21 -05:00
camila314
0f179dad45 make minor version label invisible on update 2023-09-11 13:12:15 -05:00
ConfiG
20adf34d4a
change some popups a bit 2023-09-11 17:02:43 +03:00
ConfiG
899b0ce82c
Merge branch 'main' into 1.4.0-dev
# Conflicts:
#	VERSION
#	loader/src/ui/internal/list/ModListCell.cpp
2023-09-11 16:50:55 +03:00
ConfiG
a738320e2c
add uninstall button to geode mod 2023-09-11 16:36:35 +03:00
ConfiG
8fa2ba2de1
fix mac build 2023-09-11 15:42:35 +03:00
ConfiG
7c582f177f
make index unzip async 2023-09-11 15:22:19 +03:00
ConfiG
ae048e48a9
deprecate Mod::isLoaded 2023-09-11 14:38:14 +03:00
ConfiG
5b7d3183bb
only show whether mods are loaded in crashlog 2023-09-11 14:07:49 +03:00
ConfiG
bb431ee1dc
fix search paths - season 1 episode 3 2023-09-11 04:22:58 +03:00
Gleb
2d2bdd16bc
Remove SetThreadDescription calls
Remove SetThreadDescription calls to restore Windows 7 compatibility
2023-09-11 05:18:24 +05:00
ConfiG
06635690c4
bring unknown problems back 2023-09-10 19:14:00 +03:00
ConfiG
8f39c38851
fix texture alignment 2023-09-10 18:37:39 +03:00
altalk23
182984d291 Fix problems with macos console 2023-09-10 18:01:23 +03:00
altalk23
d277b9435c Reenable platform console 2023-09-10 17:19:59 +03:00
altalk23
19ad688fcc Merge branch 'main' into 1.4.0-dev 2023-09-10 15:54:26 +03:00
altalk23
6cad19d4c0 Update tuliphook & missing texture message 2023-09-10 15:53:34 +03:00
altalk23
2ecb658b2a Don't hardcode userobject hooks to ccdirector 2023-09-09 15:29:22 +03:00
altalk23
b087574ac7 Fix scaling on labelmenu 2023-09-09 14:39:14 +03:00
altalk23
32b622639c readd stencil 2023-09-09 14:33:00 +03:00
altalk23
114fa465a8 Mod cells now use layouts & disable macos console temporarily 2023-09-09 14:32:20 +03:00
camila314
3f8cdd994a proper platform console for mac 2023-09-08 19:48:27 -05:00
camila314
6d599a5e19 allow logging to be disabled per-mod 2023-09-08 12:44:26 -05:00
altalk23
cbd1d04cab fix target 2 2023-09-08 18:07:21 +03:00
altalk23
92ca99b82c fix broken web request stuff 2023-09-08 18:05:20 +03:00
altalk23
645eb8e03d delete extra 2023-09-08 18:04:18 +03:00
altalk23
83e48fa8dc Fix AsyncWebRequest backwards compat 2023-09-08 18:02:59 +03:00
altalk23
c256207457 Add post & custom requests and user agents to AsyncWebRequest 2023-09-08 17:17:45 +03:00
altalk23
7816c435c4 Update macos crashlog to include base and offset 2023-09-08 16:33:22 +03:00
altalk23
2c0c36277f Merge branch 'main' into 1.3.0-dev 2023-09-08 15:54:56 +03:00
altalk23
e68c0d7fcd Fix ontab keeping scroll 2023-09-08 15:49:25 +03:00
altalk23
b3d444a0f3 Keep scroll value when refreshing the list 2023-09-08 15:25:55 +03:00
altalk23
d40f4672c4 change install and uninstall popups to reflect 1.3.0 changes 2023-09-08 15:13:07 +03:00
altalk23
b21ff6e234 Fix geode checkbox and installed mods not showing restart 2023-09-08 15:07:11 +03:00
ConfiG
e557a551d8
actually update m_applied in Patch 2023-09-07 21:32:28 +03:00
altalk23
5d15eb0215 Implement UI for multiple version downloading (very cursed) 2023-09-05 02:22:57 +03:00
altalk23
63027a7f84 Fix mod logo and special files of index entries 2023-09-04 23:45:04 +03:00
altalk23
5572f9cd1c use mods-v2 for index 2023-09-04 23:15:41 +03:00
altalk23
b0d39e79c9 make patch dtor protected 2023-09-04 22:42:07 +03:00
altalk23
1eeb8810c9 Move patch getters to srouce 2023-09-04 22:39:27 +03:00
altalk23
69821f3e2c Add disable auto enable to Patch 2023-09-04 22:36:33 +03:00
altalk23
23c3095263 move ModEventType::Loaded place 2023-09-04 22:14:51 +03:00
altalk23
4f2835ae34 Fix dependencies getting installed when they exist 2023-09-04 22:07:12 +03:00
altalk23
d81774957d Remove runtime enable/disable, requires cleanup 2023-09-04 19:08:25 +03:00
altalk23
e78eaf01e8 Fix search paths missing with spritesheetless mods 2023-09-04 17:21:34 +03:00
altalk23
65b4364ab5 Fix search paths when reloaded 2023-09-04 16:50:32 +03:00
altalk23
87749d46c2 why does msvc compile trailing comma 2023-09-04 13:00:40 +03:00
altalk23
9ee0994a0e fix CustomizeObjectLayer ids moving around when multiple objects are selected 2023-09-04 01:04:15 +03:00
ConfiG
17a5ac93ea
remove all deprecated functions 2023-08-31 15:27:30 +03:00
matcool
eda87da1a2
improved formatting for registers and most list on crashlogs 2023-08-27 15:51:34 -03:00
matcool
6e97c2700c
Merge branch 'main' of github.com:geode-sdk/geode into 1.2.0-dev 2023-08-27 13:57:07 -03:00
matcool
0835477572
also check for GJ_GameSheetIcons.png 2023-08-27 13:53:39 -03:00
altalk23
d6ef0a9650 Merge branch '1.2.0-dev' of https://github.com/geode-sdk/geode into 1.2.0-dev 2023-08-27 19:36:11 +03:00
altalk23
a7181ebba8 fix objc/runtime include 2023-08-27 19:35:50 +03:00
altalk23
db02c3dd1a macos map add things 2023-08-27 19:34:33 +03:00
altalk23
7836e60b86 Merge branch 'main' into 1.2.0-dev 2023-08-27 19:16:32 +03:00
matcool
9875f5d597
improve lag because of cc_2x2_white_image 2023-08-27 11:23:36 -03:00
ConfiG
32f7610ab6
Merge branch 'main' into 1.2.0-dev 2023-08-23 18:20:34 +03:00
alk
e639ff3182
Update crashlog.mm 2023-08-22 16:09:43 +03:00
ConfiG
f91b289388
actually fix dingus 2023-08-19 01:22:31 +03:00
mat
19af576db2
fix dingus 2023-08-18 18:35:24 -03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread 2023-08-19 00:23:20 +03:00
ConfiG
ef1f1d15c6
fix search buttons not clickable over view buttons 2023-08-19 00:13:14 +03:00
ConfiG
919276977c
improve install confirmation popup 2023-08-19 00:13:13 +03:00
altalk23
794dded30f Revert "replace macos entry with objc hook" 2023-08-18 11:04:53 +03:00
altalk23
a31d07237f Add objc hooking utilities 2023-08-18 10:51:00 +03:00
altalk23
409815acb3 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-18 10:27:02 +03:00
altalk23
e54bd552ce replace macos entry with objc hook 2023-08-18 10:08:03 +03:00
matcool
38cc38c2c3
remove unnecessary gd thread queues for mod events 2023-08-16 21:02:13 -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
ConfiG
82e128bb57
add utils::string::join 2023-08-07 01:47:14 +03:00
altalk23
e41784ed39 Change resources.zip to be platform dependent 2023-08-05 22:16:35 +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
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
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
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
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
363d27395c
fix some warnings 2023-08-02 18:04:37 +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
HJfod
912b766ecb fix text input not being clickable 2023-07-30 22:21:26 +03:00
HJfod
8c567a57fd make menu detachment code generic 2023-07-30 22:20:55 +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
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
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
991e714810 check if the github tag exists before downloading 2023-06-10 16:35:51 +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
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
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
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
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
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
altalk23
20f461305b addresses and crashlog 2023-06-02 21:56:59 +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
camila314
392c6941fe Implement update functionality 2023-05-18 10:20:04 -05: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
altalk23
4929599c19 Reenable has update icon 2023-05-01 16:40:55 +03:00
altalk23
1323debea7 remove file::current_path, add less and more version compares 2023-05-01 16:06:06 +03:00
alk
799a6672ce
Update util.cpp 2023-05-01 15:15:27 +03:00
altalk23
dc96da012d don't rely on filesystem current_path 2023-05-01 14:47:25 +03:00
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +03:00
altalk23
144bb1baae remove debug message box 2023-05-01 12:12:29 +03:00