feat: better cmake support (#21)

* feat: CMakeSettings.json

* chore: remove visual studio stuff
chore: move .clang-format to main directory

* feat: new file structure, easier to implement as a submodule within existing projects

* chore: we actually include some code now...

* chore: remove prebuilt libraries (oops)

* feat: new shader building script using cmake

* chore: add debug postfix specifier

* fix: forgot that windows builds use 4J_Render_PC for the render library

* fix: didn't add the output directory (where shaders are saved to) to the include directories of 4J_Render
This commit is contained in:
gsds
2026-04-21 02:07:59 -04:00
committed by GitHub
parent 576f038dd0
commit e0ae7b1ec1
111 changed files with 1802 additions and 1458 deletions
+1 -16
View File
@@ -12,24 +12,9 @@ This would allow compiling the Minecraft: Legacy Console Edition source code fro
This would also help document the structure of their projects for decompilation projects of newer versions of this version of the game
## Does this use leaked code?
No, this does not use any code from the Minecraft: Legacy Console Edition source leak, this is all clean decompilation from binaries and debug binaries
## How can I build this?
You will need to get your hands with files from the source leak that are not included here or rebuild them and push to the repository
The files needed are the following:
* 4J_Input.h
* 4J_Storage.h
* 4J_Render.h
* 4J_Profile.h
* extraX64.h
You will need to modify ``extraX64.h`` as it has a couple errors
You will need to add every file into their respective project and add the ``extraX64.h`` header inside ``Profile`` and ``Storage``
Just open the main folder and compile with your favourite code editor!
## What is implemented?