From 3dac438b096e6b23a7f94145b7bda3f4d6a01b21 Mon Sep 17 00:00:00 2001 From: prathfr <89528625+prathfr@users.noreply.github.com> Date: Fri, 20 Mar 2026 17:24:45 +0530 Subject: [PATCH] Fix readme and build issues --- CMakeLists.txt | 13 ----- README.md | 54 ++++--------------- .../Module/Modules/MotionBlur/MotionBlur.cpp | 1 - .../Module/Modules/MotionBlur/MotionBlur.hpp | 2 - 4 files changed, 10 insertions(+), 60 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c18653502..5d8ba774b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,16 +210,3 @@ if (CMAKE_BUILD_TYPE STREQUAL "Release") set_property(TARGET Flarial PROPERTY UNITY_BUILD ON) set_property(TARGET Flarial PROPERTY UNITY_BUILD_BATCH_SIZE 16) endif () - -# ===== Test executable ===== -# Lightweight unit tests for pure-logic components (no game dependency). -# Build: cmake --build . --target FlarialTests -# Run: ./FlarialTests.exe - -add_executable(FlarialTests tests/ExpressionFormatTest.cpp) -target_include_directories(FlarialTests PRIVATE "src" "lib") -target_link_libraries(FlarialTests PRIVATE rift fmt::fmt) -set_target_properties(FlarialTests PROPERTIES - MSVC_RUNTIME_LIBRARY "MultiThreaded" -) -target_compile_options(FlarialTests PRIVATE /utf-8 /bigobj) \ No newline at end of file diff --git a/README.md b/README.md index 5a5f4f204..67c858566 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,16 @@ # Flarial Client -Welcome to **Flarial Client**, the ultimate modded client designed specifically for Minecraft: Bedrock Edition (MCBE). Flarial Client enhances your gameplay with a suite of tools and features that optimize performance, improve visual quality, and provide a smoother gaming experience. +Welcome to **Flarial Client**, the ultimate modded client designed specifically for Minecraft Bedrock Edition (MCBE). Flarial Client enhances your gameplay with a suite of tools and features that optimize performance, improve visual quality, and provide a smoother gaming experience. ## Support us on Ko-Fi! https://ko-fi.com/flarialmc +## CONTRIBUTION MODEL +Our current open-source model works as follows. Key portions of Flarial that we deem should be private are not part of this repository. +Alongside this, the current model contains delayed releases for version updates. For instance, if the current Minecraft version is 1.21.200, Flarial's signatures and offsets on this repository will stay on the previous version of Minecraft. -## Installation Options +Furthermore, as an open-source contributor, you can make pull requests to Flarial with your feature of choice. +Two official developers will review your pull request and merge as seen fit. Don't worry, your features will be accepted into the closed source repository and hence the official distribution channels as seen fit. -Flarial Client is available in two forms: - -### Flarial Launcher (Recommended) -- A user-friendly launcher that manages Flarial and other MCBE clients. -- Includes Discord integration for community and support. -- Offers additional Minecraft management features. - -### Standalone DLL -- A minimal, lightweight version for advanced users. -- Requires an external injector to set up and run. +**However**, it is highly encouraged to **apply** to be part of the development team, for the moment, open a ticket in our discord. We cannot guarantee you an official position at the moment, as obviously, we are in the process of many changes. +Everything mentioned here can and will change in the future. ## Supported Platforms @@ -37,38 +33,8 @@ If you encounter issues, check out our [FAQ](https://discord.gg/flarial-communit ### Steps to Clone and Build the Project: -1. **Clone the Repository**: - Open a terminal or command prompt and clone the repository using Git: - ```bash - git clone https://github.com/flarialmc/dll.git - ``` - -2. **Navigate to the Project Directory**: - Change into the directory of the cloned repository: - ```bash - cd dll - ``` - -3. **Create a Build Directory**: - It's a good practice to create a separate directory for out-of-source builds. This keeps your source directory clean and allows for easier management of builds: - ```bash - mkdir build - cd build - ``` - -4. **Configure with CMake**: - Run CMake to configure the build environment. Specify the path to the CMakeLists.txt file in the root of the cloned repository: - ```bash - cmake .. - ``` - This command generates the necessary build files based on the CMake configuration. - -5. **Build the Project**: - Once CMake has configured the build files successfully, you can build the project using a suitable build tool (like `make` on Unix-like systems or Visual Studio on Windows): - ```bash - cmake --build . - ``` - This command compiles the project according to the generated build files. +Method 1 - You can open this project in CLion or Visual Studio, and make sure to use the MSVC toolchain, preferably combined with Ninja. If you don't know what any of this means, please do some research on this matter. +Method 2 - You can use **build.bat** file as well. By following these steps, you should be able to clone and build the project using CMake successfully. diff --git a/src/Client/Module/Modules/MotionBlur/MotionBlur.cpp b/src/Client/Module/Modules/MotionBlur/MotionBlur.cpp index 406228247..aa1920ce0 100644 --- a/src/Client/Module/Modules/MotionBlur/MotionBlur.cpp +++ b/src/Client/Module/Modules/MotionBlur/MotionBlur.cpp @@ -30,7 +30,6 @@ void MotionBlur::onDisable() { frameTimestamps.clear(); SwapchainHook::CleanupBackbufferStorage(); RealMotionBlurHelper::Reset(); // Reset motion blur state to prevent stale matrix issues - OnixMotionBlurHelper::Reset(); Module::onDisable(); } diff --git a/src/Client/Module/Modules/MotionBlur/MotionBlur.hpp b/src/Client/Module/Modules/MotionBlur/MotionBlur.hpp index 82e010479..81dfc255c 100644 --- a/src/Client/Module/Modules/MotionBlur/MotionBlur.hpp +++ b/src/Client/Module/Modules/MotionBlur/MotionBlur.hpp @@ -2,7 +2,6 @@ #include "AvgPixelMotionBlurHelper.hpp" #include "RealMotionBlurHelper.hpp" -#include "OnixMotionBlurHelper.hpp" #include "../Module.hpp" #include "Events/Render/RenderUnderUIEvent.hpp" #include "Events/Render/RenderEvent.hpp" @@ -13,7 +12,6 @@ class MotionBlur : public Module { public: static inline bool initted = false; - static inline bool onixMotionBlurInitialized = false; MotionBlur(): Module("Motion Blur", "Make fast movements appear smoother and more realistic by\nblurring the image slightly in the direction of motion.",