Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from main #18

Closed
wants to merge 278 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
43753a0
Settings
TheBarii Aug 3, 2024
ea1e2d3
smooth toggles
Melvin1663 Aug 3, 2024
b4f2a04
adjust size
TheBarii Aug 3, 2024
b5c3205
headers n toggles fixed
Melvin1663 Aug 3, 2024
8a4eb27
Merge branch 'main' of https://github.com/flarialmc/dll
Melvin1663 Aug 3, 2024
85555cf
adjustments before i go
TheBarii Aug 3, 2024
00e9eb6
fix
TheBarii Aug 3, 2024
fa4f423
wow
TheBarii Aug 3, 2024
04b5b48
adjustments
TheBarii Aug 3, 2024
0f1fed1
woops!
TheBarii Aug 3, 2024
6fc5bd6
yes
TheBarii Aug 3, 2024
8a5593f
sliders
Melvin1663 Aug 3, 2024
6ead4ea
yes
Melvin1663 Aug 3, 2024
bbe2b85
elementtext and conditional sliders
Melvin1663 Aug 4, 2024
2ab6fa2
Fix
TheBarii Aug 4, 2024
5c50509
Merge pull request #20 from flarialmc/new-gui
oAnshull Aug 4, 2024
c3cae0b
blur working as expected
TheBarii Aug 4, 2024
24ee3c0
gaussian blur
TheBarii Aug 4, 2024
4ca2d4e
blur (insane fps drops for me idk why)
oAnshull Aug 4, 2024
0017006
smoother conditional sliders
Melvin1663 Aug 4, 2024
8a55962
textbox!!!!
Melvin1663 Aug 4, 2024
0fe9003
idk
TheBarii Aug 4, 2024
1d71fee
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Aug 4, 2024
f1915c1
dropdowns idk
Melvin1663 Aug 4, 2024
240bd92
Merge branch 'main' of https://github.com/flarialmc/dll
Melvin1663 Aug 4, 2024
494d705
fps boost
TheBarii Aug 4, 2024
1408194
Fix
TheBarii Aug 4, 2024
c8e2f10
ill continue tomr (color pickers and stuff)
Melvin1663 Aug 4, 2024
37a7a05
Merge branch 'main' of https://github.com/flarialmc/dll
Melvin1663 Aug 4, 2024
137e3fb
Rendersync fix?
FreezeEngine Aug 4, 2024
6912a2c
Compact way to store sigs/offsets
FreezeEngine Aug 1, 2024
5f6a4c6
New packet stuff
FreezeEngine Aug 1, 2024
e5163a1
Resolve conflicts
FreezeEngine Aug 1, 2024
5cc6b05
Resolve conflicts #2
FreezeEngine Aug 1, 2024
f328839
GuiData::displayClientMessage
FreezeEngine Aug 1, 2024
6a96155
Info on how to get 1 of the offsets
FreezeEngine Aug 1, 2024
0e1fefe
Fix hit ping moving with keystrokes
FreezeEngine Aug 1, 2024
9a66d16
Fix crash on minecraft close from main menu
FreezeEngine Aug 1, 2024
4c907c3
Massive FPS boost, but gaussian blur looks like box blur
TheBarii Aug 5, 2024
c7183dc
tes
TheBarii Aug 5, 2024
47bd1c5
Merge remote-tracking branch 'origin/NewFeatures' into NewFeatures
FreezeEngine Aug 5, 2024
9db19aa
Merge branch 'mainRepo' into NewFeatures
FreezeEngine Aug 5, 2024
8f17e34
There is nothing we can do...
TheBarii Aug 5, 2024
fad9bac
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Aug 5, 2024
e53cf70
yas queen
TheBarii Aug 5, 2024
f13f88e
ig this is needed for it to look better
TheBarii Aug 5, 2024
cf1d596
i forgot
TheBarii Aug 5, 2024
788a73d
11on12 progress
TheBarii Aug 6, 2024
3ac0c73
Update issue templates
aShanki Aug 6, 2024
0896a03
issues temps from markdowns to yaml
EpiclyRaspberry Aug 6, 2024
36f89d7
Merge pull request #21 from EpiclyRaspberry/main
oAnshull Aug 6, 2024
13e6603
Refactor bug_report and feature_request issue templates to use textar…
EpiclyRaspberry Aug 6, 2024
6a85d59
render: Markdown (lol)
EpiclyRaspberry Aug 6, 2024
7793dc7
Merge branch 'flarialmc:main' into main
EpiclyRaspberry Aug 6, 2024
cac077d
Update README.md
aShanki Aug 6, 2024
5f08637
Update README.md
aShanki Aug 6, 2024
97c51c5
Merge pull request #23 from EpiclyRaspberry/main
aShanki Aug 6, 2024
960cbb2
Update ZoomListener.hpp
TTF-fog Aug 6, 2024
e158bf6
Update Zoom.hpp
TTF-fog Aug 6, 2024
fcb0e25
getCurrentScreen mtx
FreezeEngine Aug 7, 2024
39367b4
Bring back old debug console code
FreezeEngine Aug 7, 2024
64fca6c
Remove some stuff + formating
FreezeEngine Aug 7, 2024
be8fac8
Some renaming + SDK shrinkage
FreezeEngine Aug 7, 2024
b73a3b2
Position utils
FreezeEngine Aug 7, 2024
16779ce
Position utils #2
FreezeEngine Aug 7, 2024
15d6d4f
Reset nick formatting
FreezeEngine Aug 7, 2024
ca615dc
Some texture SDK
FreezeEngine Aug 7, 2024
7e8cafb
Merge pull request #26 from TTF-fog/zoom
FreezeEngine Aug 7, 2024
0d82e69
Option to use /hub instead of /q + better explanation for solo mode (…
St0neHunter Aug 7, 2024
5720eee
Small fix after merge
FreezeEngine Aug 7, 2024
8a92b8f
Remove workflow
FreezeEngine Aug 7, 2024
b42d44b
getTexture hook and event
FreezeEngine Aug 7, 2024
bcaca40
getLocalPlayer vtable index through stable sig
FreezeEngine Aug 7, 2024
62e7724
removed build.yml, it fails anyway
EpiclyRaspberry Aug 7, 2024
c0a6b70
Break Indicator improvements
FreezeEngine Aug 9, 2024
a41f97c
Update README.md
aShanki Aug 10, 2024
220031d
Create FUNDING.yml
aShanki Aug 10, 2024
0c78d32
Update README.md
aShanki Aug 10, 2024
26bad72
Some more texture stuff
FreezeEngine Aug 9, 2024
83fb21b
Small changes
FreezeEngine Aug 12, 2024
940b405
Multiversion fix
FreezeEngine Aug 12, 2024
4108a0a
Some positioning fixes
FreezeEngine Aug 12, 2024
67ef676
ok
TheBarii Aug 15, 2024
9cde48f
Crash fixes
FreezeEngine Aug 16, 2024
2dadf4d
ActorDataFlagComponent
FreezeEngine Aug 16, 2024
378fc5d
Version not supported message
FreezeEngine Aug 16, 2024
c8945a2
Formatting
FreezeEngine Aug 16, 2024
72a5267
Hitbox flicker fix
FreezeEngine Aug 16, 2024
369728f
Support for 1.21.2X
FreezeEngine Aug 16, 2024
dd8b166
Bring back some SDK
FreezeEngine Aug 16, 2024
30c99cb
i have a lot to do and a lot to change
TheBarii Aug 16, 2024
69881a1
Re-q icon update
FreezeEngine Aug 16, 2024
a7d55b1
(Incomplete) tutorial for updating client
FreezeEngine Aug 16, 2024
a8e4819
Add ItemPhysics
marioCST Aug 16, 2024
2465758
item physics icon
FreezeEngine Aug 16, 2024
9e8c349
item physics settings page
FreezeEngine Aug 16, 2024
7382403
Update max image ID
FreezeEngine Aug 16, 2024
dfacd4c
Enable killdx by default for now
marioCST Aug 16, 2024
7d0d609
Fix HurtColor on 1.21.2X
marioCST Aug 16, 2024
0dc9785
Fix MinecraftUIRenderContext::drawImage hook for 1.21.2X
marioCST Aug 16, 2024
14b57a9
Fix snow option in WeatherChanger for 1.21.0+
marioCST Aug 16, 2024
a0005cb
Fix ItemPhysics crashing in 1.20.4X
marioCST Aug 16, 2024
1bf8ba7
Fix RenderOptions for 1.20.4X, fix try_get method being unreliable
marioCST Aug 16, 2024
a7fe375
future OpenCV stuff
TheBarii Aug 16, 2024
031e08a
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Aug 16, 2024
f678d51
Revert "future OpenCV stuff"
TheBarii Aug 16, 2024
a13b806
Instant hurt animation fix
FreezeEngine Aug 17, 2024
13384f7
Fix in ItemPhysics
marioCST Aug 17, 2024
31cbd1f
Fix eject crash in module manager and ItemPhysics, fix GuiData::displ…
marioCST Aug 17, 2024
8faf16c
Whoops
marioCST Aug 17, 2024
51f3b42
Potential crash fix
FreezeEngine Aug 17, 2024
4e639be
Arrow counter offhand fix
FreezeEngine Aug 17, 2024
65d5696
AutoSprint - Toggle status fix
FreezeEngine Aug 17, 2024
dbd164f
Better "doesAnyModuleHave"
FreezeEngine Aug 17, 2024
77cc151
Fix parameter
marioCST Aug 17, 2024
5e17244
incorrect description
TTF-fog Aug 16, 2024
a5485a3
add more info to title
TTF-fog Aug 16, 2024
0bd82d3
oopsie forgot to add the commit number
TTF-fog Aug 16, 2024
52ac782
ooppps
TTF-fog Aug 16, 2024
53d4b7f
Fix Tessellator stuff
marioCST Aug 18, 2024
4763de0
better item physics & crosshair mod beginning (i dont want to impl th…
notchyves Aug 19, 2024
a228189
wtf chyves wtf
notchyves Aug 20, 2024
6ce7ac7
#neverforgetwhatchyvesdid smh :(
notchyves Aug 20, 2024
93cc370
item physics slightly reworked
notchyves Aug 20, 2024
90b5b52
Reapply "future OpenCV stuff"
TheBarii Aug 25, 2024
a22f183
opencv works on debug mode!
TheBarii Aug 31, 2024
882e3eb
Revert "opencv works on debug mode!"
TheBarii Sep 3, 2024
76a25f5
Revert "Reapply "future OpenCV stuff""
TheBarii Sep 3, 2024
0c4a99a
BLUR 11ON12 FIX
TheBarii Sep 12, 2024
86595b3
MB works again
TheBarii Sep 12, 2024
8df0f10
woops
TheBarii Sep 12, 2024
4acb4c5
no morefps drops with effects/pixelshaders
TheBarii Sep 12, 2024
ed126b1
Numerous fixes & changes, including start of new notifications
TheBarii Sep 14, 2024
3e33081
new notifications done (i am done)
TheBarii Sep 14, 2024
b135050
base settings page
TheBarii Sep 14, 2024
6f1fba2
simple crash fix
TheBarii Sep 14, 2024
bbf98d2
a smoother animation on close
TheBarii Sep 15, 2024
dd6d958
addKeybind
TheBarii Sep 15, 2024
0228350
ColorPicker fix + ArmorHUD + Animations
TheBarii Sep 16, 2024
c3d1f84
numerous fixes & finish
TheBarii Sep 16, 2024
91b7b68
new settings page for 18 more modules
TheBarii Sep 16, 2024
a90f0e0
+8 more modules
TheBarii Sep 16, 2024
d07c8b0
small inconsistencies
TheBarii Sep 16, 2024
a209dc0
fix ui blur not showing when mb is on
TheBarii Sep 16, 2024
6cf5a32
Sync with legacy: contains bug fixes, 1.21.30 update and new modules
FreezeEngine Sep 20, 2024
2f4bee9
fix
TheBarii Sep 21, 2024
299f5b3
fix #2
TheBarii Sep 21, 2024
69e41e9
Sync with legacy #2
FreezeEngine Sep 21, 2024
f1be8a5
Sync with legacy #3
FreezeEngine Sep 21, 2024
287d770
Sync with legacy #3
FreezeEngine Sep 21, 2024
994b2d2
Crash fix
FreezeEngine Sep 21, 2024
71b0378
Minecraftia blurryness fix
TheBarii Sep 21, 2024
7725d58
Universal Font Scale, Blurry Fix, Font Weight Overrider
TheBarii Sep 21, 2024
8d7b2d8
entity counter
WhiteOnGitHub Sep 21, 2024
dc874bd
Merge remote-tracking branch 'origin/main'
WhiteOnGitHub Sep 21, 2024
497c2ca
Dropdown fixes
TheBarii Sep 21, 2024
deda4b3
Fix override font weight
TheBarii Sep 21, 2024
0e89f70
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Sep 21, 2024
d6e71e7
making mario happy
WhiteOnGitHub Sep 21, 2024
564bf49
Merge remote-tracking branch 'origin/main'
WhiteOnGitHub Sep 21, 2024
86d710e
onAppSuspended sig
FreezeEngine Sep 22, 2024
054ede8
Fix key handling
FreezeEngine Sep 22, 2024
d01e287
Tablist unicode support + Better name clearing
FreezeEngine Sep 22, 2024
08e9b6e
wont crash if cant load all images
TheBarii Oct 13, 2024
2ea8750
t
TheBarii Oct 13, 2024
550f423
attempt @ vsync fix
TheBarii Oct 13, 2024
7676c6f
add this back
TheBarii Oct 13, 2024
8fd47ff
full fix
TheBarii Oct 13, 2024
e136fda
resize fix
TheBarii Oct 13, 2024
f24d619
Fix dx12 crash
FreezeEngine Oct 13, 2024
75a7c8d
start of counters settings page
TheBarii Oct 13, 2024
dbfb53b
fix
TheBarii Oct 13, 2024
e9b9589
fix 2
TheBarii Oct 13, 2024
9b777de
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 13, 2024
d997418
cps counter
TheBarii Oct 13, 2024
20c3f29
Armour HUD sync with legacy
FreezeEngine Oct 13, 2024
c1c2d9d
DONE
TheBarii Oct 13, 2024
6588b9a
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 13, 2024
3fd13ca
numerous changes and fixes
TheBarii Oct 14, 2024
c4b76d4
tablist fix
TheBarii Oct 17, 2024
9afc3a1
hive overlay
Withors Oct 17, 2024
ade7081
keystrokes finished
TheBarii Oct 17, 2024
5f2f4fa
zoom finished
TheBarii Oct 17, 2024
ca78674
sprint finished
TheBarii Oct 17, 2024
06a05c7
Logo in Nametag and Tablist stuff
marioCST Oct 17, 2024
a29b9ea
Merge pull request #66 from marioCST/feat/logotonametag_main
TheBarii Oct 17, 2024
3a4bce6
Announcement
TheBarii Oct 17, 2024
c1f4314
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 17, 2024
79e9d68
merge fix
TheBarii Oct 17, 2024
ea98d59
Merge branch 'main' into main
Withors Oct 17, 2024
d73d0b0
fix wtv freeze messed up
TheBarii Oct 17, 2024
106a6bd
Merge branch 'flarialmc:main' into main
Withors Oct 17, 2024
7f6885f
smth, do somethying for sleep later
TheBarii Oct 17, 2024
1e1ddea
Merge branch 'flarialmc:main' into main
Withors Oct 17, 2024
da4f8dd
use elapsed system
TheBarii Oct 17, 2024
68874f6
tablist logo next to nametag
TheBarii Oct 17, 2024
7afd845
oopsies
TheBarii Oct 17, 2024
0ace0ba
whats wrong w me
TheBarii Oct 17, 2024
a0a54b2
adjustments
TheBarii Oct 17, 2024
2d81bb9
Merge branch 'main' into main
TheBarii Oct 17, 2024
f3143c6
Merge pull request #65 from Withors/main
TheBarii Oct 17, 2024
e1e998d
settings update
Withors Oct 17, 2024
3cc0239
Merge pull request #67 from Withors/main
TheBarii Oct 17, 2024
eb918e3
Small change
FreezeEngine Oct 18, 2024
5df1438
Add sig deprecation
FreezeEngine Oct 18, 2024
8fb9fa8
Merge branch 'flarialmc:main' into main
EpiclyRaspberry Oct 18, 2024
4174272
issue template fixes
EpiclyRaspberry Oct 18, 2024
95376a7
Crash fix
FreezeEngine Oct 19, 2024
bb57148
ENTT
FreezeEngine Oct 19, 2024
dcc310a
every 10 mins instead
TheBarii Oct 19, 2024
009127d
blur intensity, remove textalias
TheBarii Oct 19, 2024
47145fe
.f
TheBarii Oct 19, 2024
8766e39
Performance fix?
TheBarii Oct 20, 2024
738cae2
Update SwapchainHook.cpp
TheBarii Oct 20, 2024
cf2c237
no need for backbuffer in ClickGUI
TheBarii Oct 20, 2024
774a5ef
fix
TheBarii Oct 20, 2024
6d656a8
Revert "fix"
TheBarii Oct 20, 2024
1a32148
Revert "no need for backbuffer in ClickGUI"
TheBarii Oct 20, 2024
cc66879
mb fix
TheBarii Oct 20, 2024
6856f56
Improved SaveBackbuffer
TheBarii Oct 20, 2024
a30abd4
Merge pull request #69 from EpiclyRaspberry/main
FreezeEngine Oct 20, 2024
aa4231f
most optimal fix
TheBarii Oct 20, 2024
75e7d45
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 20, 2024
e4afd7d
nope ig i need to call createtexture2d every frame for now
TheBarii Oct 20, 2024
d1a57c0
crash fix
TheBarii Oct 20, 2024
49de74e
11on12 blur fix
TheBarii Oct 20, 2024
621c963
remove (Sometimes)
TheBarii Oct 21, 2024
b61c778
crash fix
TheBarii Oct 21, 2024
b79c16d
Event system refactoring
FreezeEngine Oct 21, 2024
6376fcc
new killdx method, swapchain refactors, leak fix
TheBarii Oct 22, 2024
af101bd
Event priorities
FreezeEngine Oct 22, 2024
e6c2946
Event priorities fix
FreezeEngine Oct 22, 2024
512240b
changes
TheBarii Oct 22, 2024
acc0800
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 22, 2024
706cae1
Item physics crash fix
FreezeEngine Oct 22, 2024
4b9a7cc
fix prios
TheBarii Oct 22, 2024
4717c7f
Another crash fix
FreezeEngine Oct 22, 2024
335e1f4
promotions toggle
TheBarii Oct 22, 2024
a4698af
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 22, 2024
2366485
notifs full fix
TheBarii Oct 22, 2024
f2a8ba8
Some fixes
FreezeEngine Oct 22, 2024
66792ad
Small improvements
FreezeEngine Oct 22, 2024
ba75b1d
Some fixes + preparation for better hitbox display
FreezeEngine Oct 22, 2024
a5caa49
Smoother dropdowns + more fps options
TheBarii Oct 22, 2024
2c07ad2
Merge branch 'main' of https://github.com/flarialmc/dll
TheBarii Oct 22, 2024
0562f88
potential crash fix
TheBarii Oct 22, 2024
31d19b4
Temp crash fix
FreezeEngine Oct 24, 2024
e930972
1.21.4X initial update
FreezeEngine Oct 24, 2024
10d252e
forgot
TheBarii Oct 25, 2024
0aaff34
fix
TheBarii Oct 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: flarialmc
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
96 changes: 96 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Bug Report
description: Report a bug in Flarial
title: "[BUG] "
labels: ["dll","launcher"]

body:
# - type: Markdown
# attributes:
# value: |
# **Before you submit a bug report, please make sure you have done the following:**
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: |
**Before you submit a bug report, please make sure you have done the following:**
options:
- label: |
I have checked the [FAQ](https://ptb.discord.com/channels/1049946152092586054/1135112998453788672)
required: true
- label: |
I have searched the [issues](https://github.com/flarialmc/dll/issues?q=is%3Aissue+is%3Aopen) of this repository and believe that this is not a duplicate
required: true
- type: textarea
id: bug
attributes:
# render: Markdown
label: Bug description
description: A clear and concise description of what the bug is.
placeholder: I was trying to [...] but [...]

- type: textarea
id: expected
attributes:
# render: Markdown
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: I expected [...]

- type: textarea
id: actual
attributes:
# render: Markdown
label: Actual behavior
description: A clear and concise description of what actually happened.
placeholder: Instead [...]

- type: textarea
id: steps
attributes:
# render: Markdown
label: Steps to reproduce
description: |
Please provide detailed steps for reproducing the issue.
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

- type: dropdown
id: os
attributes:
label: Operating System
description: Which operating system are you using?
options:
- Windows 10
- Windows 11

- type: textarea
id: osversion
attributes:
# render: Markdown
label: OS Version
description: What version of the operating system are you using?
placeholder: 21H1, 21H2, 22H1, etc.

- type: textarea
id: additional
attributes:
label: Additional notes
# render: Markdown
description: |
Add any other context about the problem here.
If applicable, add screenshots to help explain your problem.
placeholder: |
- Screenshots
- Logs
- etc.



45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Feature Request
description: Suggest a new feature for Flarial
title: "[FEATURE REQUEST] "
labels: ["enhancement"]

body:
- type: textarea
id: feature
attributes:
label: Feature description
description: A clear and concise description of what the feature is.
placeholder: I would like to see [...]

- type: textarea
id: reason
attributes:
label: Reason
# render: Markdown
description: Why do you think this feature should be added?
placeholder: I think this feature should be added because [...]

- type: textarea
id: usecase
attributes:
label: Use case
# render: Markdown
description: How would you use this feature?
placeholder: I would use this feature to [...]

- type: textarea
id: alternatives
attributes:
label: Alternatives
# render: Markdown
description: Have you considered any alternative solutions or features?
placeholder: An alternative solution could be [...]

- type: textarea
id: additional
attributes:
label: Additional context
# render: Markdown
description: Add any other context or screenshots about the feature request here.
placeholder: |
Add any other context or screenshots about the feature request here.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ cmake-build-minsizerel-visual-studio/
cmake-build-visual-profile/
clion/
clion-ninja/
*.zip
*.zip
localextras/
_deps/
*.pdb
*.dll
*.ilk
Makefile
42 changes: 35 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,25 @@ include(FetchContent)

set(CMAKE_CXX_STANDARD 23)

execute_process(
COMMAND git rev-parse --short HEAD
OUTPUT_VARIABLE COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)

configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/commit_hash.h.in
${CMAKE_CURRENT_BINARY_DIR}/commit_hash.h
@ONLY
)

add_definitions(-DCOMMIT_HASH="${COMMIT_HASH}")

if(MSVC)
add_compile_options(/MT)

add_compile_options(/bigobj)

# Optimize for speed
add_compile_options($<$<CONFIG:Release>:/O2>)
add_compile_options($<$<CONFIG:Release>:/Ot>)
Expand Down Expand Up @@ -71,9 +87,9 @@ if("${MSVC_RUNTIME}" STREQUAL "")
endif()


file(GLOB_RECURSE sources "main.cpp" "src/**/*.cpp" "src/**/*.hpp" "lib/**/*.cpp")
file(GLOB_RECURSE sources "src/**/*.cpp" "src/**/*.hpp" "lib/**/*.cpp" "src/Client/GUI/Engine/*.cpp")

add_library(${PROJECT_NAME} SHARED ${sources} src/SDK/Client/Render/Matrix.cpp src/Assets/Assets.rc)
add_library(${PROJECT_NAME} SHARED ${sources} main.cpp src/Assets/Assets.rc)

target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/lib/include/" "${CMAKE_CURRENT_LIST_DIR}/lib/glm/" "${CMAKE_CURRENT_LIST_DIR}/lib/ImGui")

Expand All @@ -87,15 +103,27 @@ endif()
add_library(MinHook SHARED IMPORTED GLOBAL)
set_target_properties(MinHook PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/minhook/minhook.lib")

FetchContent_Declare(
entt
GIT_REPOSITORY https://github.com/skypjack/entt.git
GIT_TAG f931687ff04d435871ac9664bb299f71f2a8fafc
)

FetchContent_Declare(
nes
GIT_REPOSITORY https://github.com/DisabledMallis/NuvolaEventSystem.git
GIT_TAG main
)

FetchContent_Declare(
libhat
GIT_REPOSITORY https://github.com/BasedInc/libhat.git
GIT_TAG 9ef05d6961ce37a4c801f11159de895aa21878a9
)
set(ENTT_BUILD_TESTING OFF) # Disable building tests
FetchContent_MakeAvailable(libhat entt nes)

FetchContent_MakeAvailable(libhat)


target_link_libraries(${PROJECT_NAME} PRIVATE libhat EnTT::EnTT NES windowscodecs.lib urlmon.lib dwrite.lib d3d12.lib dxgi.lib d3d11.lib d2d1.lib wininet.lib version)
target_link_libraries(${PROJECT_NAME} PUBLIC MinHook)

target_link_libraries(${PROJECT_NAME} PRIVATE libhat windowscodecs.lib urlmon.lib dwrite.lib d3d12.lib dxgi.lib d3d11.lib d2d1.lib wininet.lib version)
target_link_libraries(${PROJECT_NAME} PUBLIC MinHook)
target_precompile_headers(Flarial PRIVATE "src/PCH.cpp")
2 changes: 1 addition & 1 deletion CMakeSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "Release",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
Expand Down
72 changes: 69 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
This base is really shit and contains a lot of shit code as a result of being me, Shane, and Anshul's first C++ project. Thank you for everyone who has joined me and my friends on this journey, it has been great! Maybe the readme will be updated in the future. Pull requests are welcomed.
# 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.
## Support us on Ko-Fi! https://ko-fi.com/flarialmc

Make sure to read the license terms before modifying or distributing, though i don't really care, shame on you if you skid from this shitass base

Building the DLL should be easy. Just clone, set up your IDE and make sure you have the necessary tools ready to build with CMAKE, watch a tutorial or two if you don't know and there you have it. In theory, debug and release builds both should work.
## Installation Options

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.

## Supported Platforms

- **Operating System:** Windows 10/11 (64-bit processors only)
- **Minecraft Version:** Compatible with MCBE versions 1.20 and above.

## Troubleshooting

If you encounter issues, check out our [FAQ](https://discord.gg/flarial-community-1049946152092586054) or join our community on [Discord](https://discord.gg/flarial-community-1049946152092586054). We’re here to help!

---
## Build Guide

### Prerequisites:
1. **CMake**: Ensure CMake is installed on your system. You can download it from [cmake.org](https://cmake.org/download/) and follow the installation instructions for your operating system.

2. **Git**: Install Git if you haven't already. You can download Git from [git-scm.com](https://git-scm.com/downloads) and follow the installation instructions.

### 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.

By following these steps, you should be able to clone and build the project using CMake successfully.
6 changes: 6 additions & 0 deletions commit_hash.h.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef COMMIT_HASH_H
#define COMMIT_HASH_H

#define COMMIT_HASH "@COMMIT_HASH@"

#endif // COMMIT_HASH_H
Loading