How to decrease in-game (pc games) graphics using c language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to decrease in-game (pc games) graphics using c language?

How to use C language to decrease in-game graphics and improve performance?

25th Feb 2023, 10:02 AM
Paul
2 Answers
+ 1
of precompiled games? This is a hard undertaking you have in mind there! But you can profile the game in an assembly level debugger like gdb or x64dbg to see which parts of the game run slow. The you can make patches in assembly there that optimize the code. You can try to replace the assets the game uses with lower resolution assets. All in all this is probably not a thing any beginner should try, but I know some people just want to do one thing really badly and that is fine. Just know that you are up for a real challenge. Even experienced programmers and reverse engineers would have to spend a lot of time on that. I guess you could at least get some help from chatGPT to optimize the assembly code and explain code to you, that is hard for you to reverse. Also this is probably a project where you need much more than just good C knowledge. You probably need to know about the assembly language of your Computer, know how GPUs and the used graphics api work, so you know how to optimize things and much more
26th Feb 2023, 10:13 AM
Erarnitox
Erarnitox - avatar
0
Erarnitox Ok thanks for the reply
26th Feb 2023, 2:43 PM
Paul