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
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.
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
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?
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)
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?
@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?
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?)
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 :)
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
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.
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?
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)
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.
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
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.
Well... for c++, learncpp.com, the cherno & thenewboston's videos. For hacking, guidedhacking.com, unknowncheats.me & possibly these videos! Goodluck :)
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
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.
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
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 :)
@@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
I am getting this error: "error LNK2001: unresolved external symbol "long __cdecl ImGui_ImplWIn32_WndProcHandler(struct HWND__ *,unsigned int,unsigned int,long)" (?ImGui_ImplWIn32_WndProcHandler@@YAJPAUHWND__@@IIJ@Z)" I went through the whole video and wrote the code from scratch following along, and the only thing I did different was not set C++ Language Standard to ISO C++ 20. Could this be the issue?
@@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.
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.
The kind of cheater everyone needs to respect, not a skid, not a scammer, just providing info how to code your own software.
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'
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
YES, NOW I HAVE A VIDEO TO WATCH WHILE I EAT MY SANDWICH
@@lucid_horizons lmao couldn’t be farther from the truth
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.
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 :)
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.
by far the best channel when it comes to game hacking tuts, good job fam
Cazz always got your back 🙏
Bloody amazing. This is exactly what i was looking for.
BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!This is cool, well done!
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
@@Alsexaren :)
But I respect your time and effort. I wish you success
Easy and clear, looks awesome.
You've grown so much :)
almost at 70 subs😮
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 :)
Im trying to use soft soft to make an FNF mod and tNice tutorials is really helping!
wow u have really come far
from 61 to 100k in 1 year
Thank you man for sharing this stuff
My pleasure!
thank you very much, I was very very after this
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)
Great video!
nice vid and also good tutorial and awesome explanation, but this big block copy-pasting enrages me and also I cant find the code on ur dc
I want to make a trance but tNice tutorials looks so difficult!!!
Like before watch
when i release my project and try to open it it just doesnt want to show and its just a blank program
same
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?
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
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.
trance. Dude made a month worth of s before actually realizing what a plug-in is.
@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 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
What font do you use in this video?
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 :)
fucking perfect mate
no u
how do you have the red tint to your taskbar? pretty cool
its in windows
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
God
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 :)
I love you Cazz
Love you too, man.
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
Why do you configure the Character Set to Use Multi-Byte Character Set rather than Unicode Character Set?
multibyte is just better
why does it say I have 6 unresolvved externals when i am finished and build. Can someone help
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
project compiles but it doesn't show window?
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..
@RealXavier770 Yeah ngl I figured that out like 12 hours ago.. Thx anyways.
@RealXavier770 👍
nice
That would be 99 percent of us
omfg thank u so much
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
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
@@zeuwu_ thx
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'm a beginner and I use VScode. How do I do the Initial configurations with VScode?
you cannot. vs code is for pure code and not programs. what your saying is kinda dumb tbh.
my CreateWindowA and ResetDevice has a red underline. Can u help me pls im bad at this
All of that for a tiny window with a button
how do you connect this to a game now?
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
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 :))
does this work for games with EAC
does imgui work with win7 (vm)? it instant crashes on open (tried with DX 9-11)
Too bad that when you revert to Debug version the application stops working
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!
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
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
Hey cazz, can you make a menu imgui external for x64 please?
cant find the source code (copy and paste) that you used so i gotta type it all by hand
yeah uhhmm. dont skid
========== Rebuild: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Rebuild failed.
I followed everything tho?:(
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
How to add different languages
"We are almost at 70 subscribers"
Those were the days :p - it still blows my mind
i got a LNK2001 error
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...
THANKSS
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.
Hey, cazz I can't find the source code in ur Discord can you help?
Did u find it ?
scroll up in announcements
Bro .
I can find source code on your discord server
wait why am i getting random errors???
same
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.
Where's the source code mate
there is no source code
his patreon
i cant find the source on your dc :D
github.com/cazzwastaken/borderless-imgui-window
Shit ain’t easy I keep getting errors while writing the code shits mad annoying lol
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
bro i joined your discord and asked where the source code was and they just banned me bro
you didnt even show the result at the end, wtf
he.. did?
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
there is no compiled .exe in the release folder
Did you find out why
@@VexSnkrs yes, it was not in the release folder, it was in the repo "x86" folder
first
I am getting this error: "error LNK2001: unresolved external symbol "long __cdecl ImGui_ImplWIn32_WndProcHandler(struct HWND__ *,unsigned int,unsigned int,long)" (?ImGui_ImplWIn32_WndProcHandler@@YAJPAUHWND__@@IIJ@Z)"
I went through the whole video and wrote the code from scratch following along, and the only thing I did different was not set C++ Language Standard to ISO C++ 20. Could this be the issue?
me too, did you ever fix it?
me three, did you ever fix it?@@xZinio
I hope it's not too late but the name is misspelled, it is ImGui_ImplWin32 not ImGui_ImplWln32
how can i make this inject into a game
this code is an external imgui.
roblox? (i hav gta v cheat menu)
how do i make this for a .dll?
i got scammed
no you just cant write
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.
6:44
how do you include the files?
are you.. blind?
@@slawnyfivemowiec no.?
9:22
12:29
8:21
gay