Commit graph

105 commits

Author SHA1 Message Date
ConfiG
c2ea744d67
use file(MAKE_DIRECTORY) instead of make_directory 2024-02-03 21:11:37 +03:00
HJfod
55f3e67033 fix cli version for install 2024-02-03 20:02:40 +02:00
HJfod
36727cedee add install command to loader 2024-02-03 19:50:03 +02:00
qimiko
2f97fc671d
rename breakpad cmake option 2024-02-03 04:40:44 -07:00
qimiko
0688a1f5e5
fix indentation 2024-02-02 19:03:42 -07:00
qimiko
91b4ec4469
add breakpad package to cmakelists 2024-02-02 02:40:07 -07:00
altalk23
b8a43705fe will this work 2024-01-22 22:11:42 +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
7de9a82d53
delayload cocos 2024-01-12 18:34:33 +03:00
matcool
7ba832c9ee debug maybe works now, and other things 2024-01-09 16:59:57 -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
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
altalk23
aab6533bc4 fix output name 2023-12-23 16:15:55 +03:00
matcool
24bbc65f19 refactor gd::string 2023-12-22 18:09:58 -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
e7e5ee7f26 add some opengl functions here, for now 2023-09-17 15:01:34 -03:00
altalk23
5856f5fde0 Trying to fix hashes by enforcing LF 2023-09-16 11:38:11 +03:00
camila314
dd167972c7 fix for apple silicon 2023-08-21 22:20:20 -05:00
ConfiG
3d2e447333
add epic super secret api that nobody should use 2023-08-13 21:52:31 +03:00
altalk23
e489681c38 begone openssl 3 2023-08-04 21:22:09 +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
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
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
ConfiG
25bafae278
try to use ninja on win actions 2023-08-02 02:06:20 +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
3c1529caa6
split main.cpp per platform 2023-06-09 18:29: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
matcool
a2b8f2721a
make json library exported 2023-05-24 16:17:58 -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
altalk23
0f6b173a11 handle the ui for major and minor versions 2023-05-01 18:41:18 +03:00
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +03:00
altalk23
95f046b98e add markdowns and mod.json as resources 2023-05-01 11:36:11 +03:00
hjfod
75580a01ae changelog stuff
- make changelog visible in-game
 - fix issues with the changelog in ModInfoPopup & scrollbar
2023-04-03 10:43:52 +03:00
matcool
1dfa907c92
include commit hash in geode mod info popup 2023-02-26 09:49:14 -03:00
hjfod
bbbf3324eb versions now support tag numbers + tags are now used in comparisons 2023-02-22 12:19:17 +02:00
altalk23
688b8c4ac9 compile only a singe objcpp file 2023-02-09 13:25:23 +03:00
altalk23
04dd151f0e minifunction replacing compiles 2023-02-08 18:25:07 +03:00
altalk23
478f70e900 fix filesystem pch breaking the impl 2023-02-08 17:37:37 +03:00
mat
df00ad7b88
disable zstd support for minizip
this should fix some macos issues
2023-02-04 17:31:37 -03:00
HJfod
98496182f9 fix build errors 2023-01-31 21:56:50 +02:00
HJfod
f32aaa8b12 add better support for dependencies
- create_geode_file now redirects to a new function called setup_geode_mod
 - setup_geode_mod auto-links loader
 - setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project
 - fix Result::expect not working on non-copiable types
 - add in-memory functions for file::Zip and file::Unzip
 - ComparableVersionInfo now always returns false if major versions dont match
2023-01-31 14:48:34 +02:00
matcool
deab672bc2 json rewrite, use custom lib instead of nlohmann::json
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.

macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup

Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
altalk23
dd2672f665 add OSX_DEPLOYMENT_TARGET to loader too 2023-01-28 02:59:43 +03:00
HJfod
d8fb9a948a dont add md4c and re2 if building docs 2023-01-27 14:10:44 +02:00
HJfod
30dc9ad220 add manual resource downloading instructions if automatic failed 2023-01-25 10:06:21 +02:00