MAKE A PROPER MENU WITH IMGUI
ฝัง
- เผยแพร่เมื่อ 15 มิ.ย. 2024
- In this video we code a "gui" namespace which uses WinAPI, Directx & ImGui to create an external ImGui cheat menu. It works by creating a Windows window, creating a directx device with the window and then using those to draw an ImGui menu on the window. I hope you enjoyed the video, and remember to subscribe for more!
Need Help? Join my discord server / discord .
🕙 Timestamps 🕙
0:00 - Intro
0:24 - Demo
0:38 - ImGui and how it works
1:23 - Making the project
2:28 - Getting ImGui
3:43 - gui.h
6:07 - gui.cpp
17:20 - Using the gui namespace
19:22 - Testing
19:41 - Final thoughts & outro
📝Resources 📝
→ Source code: / discord
→ ImGui: github.com/ocornut/imgui
Aimbot: • MAKE AIMBOT IN 10 MINUTES
No Recoil: • REMOVE RECOIL IN CS:GO
Glow ESP: • MAKE GLOW ESP IN 10 MI...
Dump Offsets: • Your OFFSETS are WRONG...
Shoutout to Chris for the thumbnail :)
Follow him here: / @lucid_horizons
ImGui customization video is out! Check it out here -> th-cam.com/video/iOQ7ZrNQLuI/w-d-xo.html
yo ive been trying to get into game hacking for a while and this being the first video ive seen on your channel im gassed for your content.
YES, NOW I HAVE A VIDEO TO WATCH WHILE I EAT MY SANDWICH
Only found you recently and I got to admit that you have one of the simplest, yet easiest to grasp explanations.
You do a really great job, mate
really? "we do some random shit here"? this is so hard to follow along it's basically 'copy this, dont really know why but just do it'
by far the best channel when it comes to game hacking tuts, good job fam
Just starting to learn all the graphics api stuff to render my own GUIs. I was doing a lot of that stuff back with winforms and C# but moved away from that and got comfier with c++. Chernos video a week or so ago got me thinking about going back to external GUIS (c++ and being internal is such a treat) just as a launcher of sorts cause thats how I handle most my stuff. Console frameworks can be fun but in 2022 its not really something people want to look at lol
Thanks for this spot on tutorial, definitely earned the subscription man. I truly appreciate how you went on to explain everything in detail. Explaining what each function does and how everything works together. Its exactly what i needed broken down. Really appreciate this THANK you.
PS. Watching this not even 4 months later and going from 61 subscribers to almost 2kl is insane. Props
Haha, I appreciate the compliment immensely... thank you~!
@@cazz Congrats on the 3k big man! keep it up
Easy and clear, looks awesome.
Cazz always got your back 🙏
Bloody amazing. This is exactly what i was looking for.
this is by far the bes texplanation of imgui, and even how to create a custom overlay (i always skidded keyauth overlay shit lmao). damn bro keep it up man +rep
I appreciate it man! Thanks :)
In Solution Properties, set your Platform (at the top) to Active(Win32) or All platforms in order for the C++ 20 standard to work. Else you will run into issues with the inline statements and the characters later on.
Great video!
You've grown so much :)
Thank you man for sharing this stuff
My pleasure!
It would be nice to see something on Unity’s IMGUI, though keep up the nice work, it was a solid tutorial none the less.
thank you very much, I was very very after this
BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!This is cool, well done!
Like before watch
But I respect your time and effort. I wish you success
Very helpful tutorial! How would I make the ImGui window always stay ontop? If I click on my game the game window is infront of the ImGui window, thanks in advance!
(or how would I inject it so its part of the game - if you already have a video about that)
omfg thank u so much
Thanks so much for this. I've been curious about imgui since I saw Cherno blow through it a couple of weeks ago.
Would changing the back-end to DX12 make any difference programmatically, other than the obvious requirement to change the back-end files?
ImGui is meant to be very modular. All ImGui code will work with any ImGui back-end... which is pretty cool. So yeah, no programmatic differences :)
thank you so much, but usually when I build the project the error that the variable "exit" is not in gui, can you help me please
RECENTLY found your channel and i can say that this easy to understand but i ran into a problem with the exe, it just appears that it closes itself
Do you have a solution for this?
Im trying to use soft soft to make an FNF mod and tNice tutorials is really helping!
nice
I'm a beginner and I use VScode. How do I do the Initial configurations with VScode?
God
What font do you use in this video?
does imgui work with win7 (vm)? it instant crashes on open (tried with DX 9-11)
THANKSS
Idk if I’m being stupid but when I go go to release it I get a message saying it’s not a valid win 32 application
Does this work on Windows 11? I build everything and it only outputs the .exe and the .pdb. When I click the .exe nothing happens. How can I fix this? It puts all the other files in another folder called "release" inside my cheat folder. Did i configure anything wrong? @cazz
The kind of cheater everyone needs to respect, not a skid, not a scammer, just providing info how to code your own software.
my CreateWindowA and ResetDevice has a red underline. Can u help me pls im bad at this
How does it work if no graphics acceleration is available on the computer, like before installing GPU driver after Windows is installed. Does it even work? Traditional Win32 applications would work in that situation.
As far as I know, nothing should change. Your CPU will just be doing the graphical processing instead of the GPU that you obviously do not have installed. If not, there will 100% be a way to get around it, interesting question though :)
when i release my project and try to open it it just doesnt want to show and its just a blank program
same
Hey cazz I'm still new to imgui and coding but i have a question i got a imgui example menu that was made by someone but how would i use the menu in-game Ex: CSGO, i wanna be able to add code and features to the menu but can only get it to show in the Imgui example window
need D3D11 Hook cs example
how do you have the red tint to your taskbar? pretty cool
its in windows
yo bro i typed it all out no errors appearing but when i build and run it it doesnt show anything other then an application on the tray that closes after a few seconds any idea how to fix it?
github.com/cazzwastaken/borderless-imgui-window
project compiles but it doesn't show window?
I love you Cazz
Love you too, man.
does this work for games with EAC
@cazz
Respect on this video. Can I ask let’s say if I made an easy CSGO bunny hop console hack. How can I transfer the code and make a imgui menu for it?
Make an imgui menu, then make a thread and run your bunny hop in that. Cheers
I want to make a trance but tNice tutorials looks so difficult!!!
almost at 70 subs😮
can imGUI be controlled with up/down arrow keys or does it need mouse input (cursor to select things)?
pretty sure you can can control it however you want.
can I someway put the triggerbot that I made from your other video into this or not?
You 100% can. I have a video about combining cheats :)
how do you connect this to a game now?
Bruh i just finished and then it said i had like 600 errors😭😭 and everything is the same as yours any help?
when i build the solutions the visual studios give me a warning on line 5 (main.cpp) fot wWinMain it says: inconsistente annotation for 'wWinMain': This instance has no annotations, help plzz
Make sure you are using subsystem windows and the multibyte character set, also make sure your wWinMain is the same as mine in the video :)
@@cazz aight thxs bro :))
first
Why do you configure the Character Set to Use Multi-Byte Character Set rather than Unicode Character Set?
multibyte is just better
Hey cazz, can you make a menu imgui external for x64 please?
you just say, "we can do that like so" and copy some code
Pretty much. I am also an ape.
All programming is copying code at some points I like to thank stack overflow for everything I do.
@@rainyonrecord not true
@@rainyonrecordthis is just a cope learn to write your own code
@@djscratchcat474 :)
Yo with vs when h change debug to release u have to do it every time u make a cheat right? What’s the difference between the 2? What do they do..
It says it for itself, I think debug is for debugging and testing it as the dev and release is when u wanna give it to someone and x64 is for 64 bit and 86 is for 32 bit
@@RealXavier770 Yeah ngl I figured that out like 12 hours ago.. Thx anyways.
@@TunaTheScripter Yh np
@@RealXavier770 👍
Too bad that when you revert to Debug version the application stops working
wow u have really come far
from 61 to 100k in 1 year
I need the full gui.cpp. And how to add cheats to imgui?
just use classes, functions and stuff, also use a dynamic-link library project (c++) and put your project there if you want to inject it. (well thats what i think?)
or if you dont wanna replace your project, go to the properties of your project then configuration type > dynamic library
Getting unresolved externals for CreateDevice. tried to copy paste the code from github still doesn't work. pls help
did you even saw the same video we all saw?? he said to download it not to copy
@@d4sty. i did
cant find the source code (copy and paste) that you used so i gotta type it all by hand
yeah uhhmm. dont skid
fucking perfect mate
no u
How to add different languages
Hey...just found this video & joined your discord channel, but can't find the code you mentioned in the video. Can you direct me to it? Thanks & great work.
if you haven't already found it, check under announcements and find the video
@@thegoingwolf9674 Thanks...I had already found it.
i got a LNK2001 error
Hey, cazz I can't find the source code in ur Discord can you help?
Did u find it ?
scroll up in announcements
how can i make this inject into a game
this code is an external imgui.
Why x86 and does it matter, if injecting into a x64 game - maybe a stupid question but yeah, I was wondering
I use x86 in my videos for the sake of simplicity. When you switch platform (aka x86 or x64) the size of types change, for example, on x86 a pointer is 4 bytes where as on x64 a pointer is 8 bytes. An experienced programmer could code this in x64 and still make use of RPM/WPM if they are conscious of the differing sizes of types.
As for "injecting", when you make a .dll file it HAS TO BE the same architecture as the game you are trying to cheat it.
Hope that clears it up, cazz ~
@@cazz Ah ok thanks a lot for the detailed answer. I am currently trying to add a ImGui menu to my internal cheat, I guess I will just try to do it in x64 then.
@@Nioxs If it is an internal CS:GO cheat, use x86
@@cazz Yeah, no it is for Ark Survival Evolved - Unreal Engine (4.5.1) - x64
@@Nioxs oh ok, I wish you the best of luck!
please help, it says that windowClass is undefined
Case-Sensitive, please check!
trance. Dude made a month worth of s before actually realizing what a plug-in is.
Which library of gui of c++ is best?
I Like ImGui for overlays and internal cheats. The access to the ImGui DrawList is very useful.
Otherwise, as far as I know, QT is a good library for making other actual applications.
@@cazz any chance on some cs2 or driver tutorials?
@@HackingStuffIDontKnow my brother in Christ it’s VAC. You don’t need a driver 😂
Learn the difference between immediate UI and non-immediate.
Depends on the program.
If it’s a normal GUI, you want non-immediate.
If it’s to be ran in a loop, you want immediate
is there a 64bit option for this library?
Sure my man, just compile as x64! Remember to set up the configuration correctly as you did for the x86 compilation.
@@cazz my bad, I took the win32 as only 32bit o_o
@@alexsimper4153 lol! All good.
"We are almost at 70 subscribers"
Those were the days :p - it still blows my mind
That would be 99 percent of us
how is this better than visual studios winforms??
ImGui is rendered with primitives each frame over a DirectX window, like a game. It is more customizable and in my opinion, better for creating cheats as you will probably be using DX anyway.
But with that being said, drag & drop winforms with C++ isn't bad either.
Ultimately, they are two completely different paradigms, do whatever suits you best.
@@cazz How do I go about learning ImGUI? I literally can't find anywhere to learn it properly
Bro .
I can find source code on your discord server
6:44
how do you include the files?
are you.. blind?
@@slawnyfivemowiec no.?
I build it but no exe pops up what am I doing wrong 😂🤷🏽
It should tell you where the .exe was built to when you build...
i cant find the source on your dc :D
github.com/cazzwastaken/borderless-imgui-window
Where should i learn this stuff lol
Well...
for c++, learncpp.com, the cherno & thenewboston's videos.
For hacking, guidedhacking.com, unknowncheats.me & possibly these videos!
Goodluck :)
@@cazz ight
wait why am i getting random errors???
same
how do i make this for a .dll?
All of that for a tiny window with a button
why not just post the source code link in the Description? I gotta look in the discord? smh
What can I say… I wanted people to join the discord haha. Nowadays, not really. I also don’t like download links in the description.
there is no compiled .exe in the release folder
Did you find out why
@@vexczzz yes, it was not in the release folder, it was in the repo "x86" folder
Why windows name is in Chinnese?
because you chinese
@@que7852 xd im not
It was a mistake on my part. I've updated the github. To fix it, in your WindowProcess function, make it return DefWindowProc instead of "DefWindowProcW" aka remove the "W" - sorry about that :)
@@cazz Thank You
9:22
Where's the source code mate
there is no source code
his patreon
Can I hire you to make me a cheat?
maybe i could make one, depending on the game
@@opensky0 what games?
@@ChaseHoops11 what game do you want a cheat for
@@opensky0 Fortnite or apex legends
@@ChaseHoops11 only working and safe cheats you can find for those are paid and i have no idea how to bypass eac (easy anti cheat) but you can use an ai aimbot that uses an ai model to detect what looks like an enemy on your screen then moves your mouse to where it thinks theres an enemy but i got banned while using it on my alt and i spent like 2 days trying to fix the hwid ban. If you want i could try to make a cheat for a unity game that doesnt use eac
you didnt even show the result at the end, wtf
he.. did?
Shit ain’t easy I keep getting errors while writing the code shits mad annoying lol
roblox? (i hav gta v cheat menu)
.
..
@@cazz ...
@@draf_8164 ....
Please sir make one video for pubg
Create a gui from scratch.
how
@@myth11c it's easy,
1. hook DirectX rendering
2. write a DirectX rendering function wrapper
3. enjoy and start rendering and creating gui framework
ez enough.
i got scammed
no you just cant write
hey, i am getting a error is 'a value of type "long (__stdcall *)(HWND window, UINT message, WPARAM wideParameter, LPARAM longParameter)" cannot be assigned to an entity of type "WNDPROC" ...'
void gui::CreateHWindow(
const char* windowName,
const char* className) noexcept
{
windowClass.cbSize = sizeof(WNDCLASSEXA);
windowClass.style = CS_CLASSDC;
windowClass.lpfnWndProc = windowProcess;// ERROR
// this are different parts of the code
long __stdcall windowProcess(
HWND window,
UINT message,
WPARAM wideParameter,
LPARAM longParameter)
i have the same error and no solution
@@TukeShark change a release x86
Replace "long __stdcall" with "LRESULT CALLBACK", its because of things with x86 and x64
Banned me because I asked for help wtf.
The world doesn't work like that. You were saying the n-word and being rude to people. I'm sorry you got banned, but don't act like it was for nothing my man.
@@cazz ok I said the n word once and they said nothing about it. And the staff were being rude to me in my defense
@@aaaaadaaaaaaaaad "said the n word once" 💀
Cheater!!
yall know this is fake
nope..? It works lmfao ur stupid
A clear waste of time