Forum
CS2D General When minimizing, everything slows downWhen minimizing, everything slows down
12 replies 1
It's just going crazy, it's not doing anything.
From Discord
SQ has written
Most likely just running endless loop without waiting for frame buffer since it's not active. You can find that easily on BMax engine code.
I've been looking at it and other stuff to fix some issues we had with memory exceptions after window got minimized or inactive.
That might be due to their FLIP() implementation and lack of track of window states.
I've been looking at it and other stuff to fix some issues we had with memory exceptions after window got minimized or inactive.
That might be due to their FLIP() implementation and lack of track of window states.
Also @ The Dark Shadow I can assure you that CS2D doesn't do anything bad with your system. It does not secretly download/upload/install malicious stuff in the background or anything like that.
I guess it would have been removed from Steam by now if anyone would have noticed such a thing.
MikuAuahDark has written
I didn't know people talked about it in past in Discord. I'll try to be active in Discord. I doubt that's true, I can't convince myself that it's engine limitation. We never had issue with cs2d CPU usage in old versions of CS2D. It's quite a new issue. I just watched a very old video of CS2D where a player was on task manager and minimized CS2D and simply GPU didn't go crazy. SQ has written
Most likely just running endless loop without waiting for frame buffer since it's not active. You can find that easily on BMax engine code.
I've been looking at it and other stuff to fix some issues we had with memory exceptions after window got minimized or inactive.
That might be due to their FLIP() implementation and lack of track of window states.
I've been looking at it and other stuff to fix some issues we had with memory exceptions after window got minimized or inactive.
That might be due to their FLIP() implementation and lack of track of window states.
DC has written
I didn't look into it but probably what SQ said on Discord. Maybe try windowed mode (if you aren't already) or try to switch between OpenGL/DirectX.
Also @ The Dark Shadow I can assure you that CS2D doesn't do anything bad with your system. It does not secretly download/upload/install malicious stuff in the background or anything like that.
I guess it would have been removed from Steam by now if anyone would have noticed such a thing.
Also @ The Dark Shadow I can assure you that CS2D doesn't do anything bad with your system. It does not secretly download/upload/install malicious stuff in the background or anything like that.
I guess it would have been removed from Steam by now if anyone would have noticed such a thing.
@ DC: I tried all of them, nothing changed.
Is there a way to track what its doing? My PC really goes a little crazy when I minimize CS2D, It keeps freezing sporadically.
EDIT: It even uses 100% GPU when minimized.
edited 2×, last 23.09.21 02:11:30 pm
The Dark Shadow has written
We never had issue with cs2d CPU usage in old versions of CS2D. It's quite a new issue.
Not really. 【東方】Bad Apple!! 【影絵】 in CS2D was posted on 2017 and the issue of CS2D eating CPU has been noted in that thread.
VADemon has written
There's a bug within CS2D: the game will need much more CPU resources when the game window is not active.
Anyways, It's fixed now after using Cheat Engine and modifying some addresses somehow. Thanks to a few of discord members.
https://media.discordapp.net/attachments/584404008848850947/890585937564815430/Capture.PNG
Even memory usage reduced by 200MB
EDIT:
BOT AI has written
One of the things it does is opening all existing local process objects and retrieving the base name of modules in a loop, and uses it for something else or something like that
it doesn't even have access to all of em unless you run CS2D as administrator (for some more)
it doesn't even have access to all of em unless you run CS2D as administrator (for some more)
Quote
just simply replace address 006366DD to 006366E4 with NOP or 0x90 then you won't have to deal with it anymore, no big deal lol
0|006366DD:83->90
0|006366DE:C4->90
0|006366DF:04->90
0|006366E0:E8->90
0|006366E1:06->90
0|006366E2:A7->90
0|006366E3:F8->90
0|006366E4:FF->90
0|006366DD:83->90
0|006366DE:C4->90
0|006366DF:04->90
0|006366E0:E8->90
0|006366E1:06->90
0|006366E2:A7->90
0|006366E3:F8->90
0|006366E4:FF->90
Quote
basically it was pretty much caused by the CS2D naive usermode anti-cheat
Quote
As soon as you minimize the game or unfocus, it will start calling OpenProcess about 5000 times in a second, 300K in a minute, 3 million in 10 minutes. (if i did the math correctly lol) (at least for me)
to detect "banned" processes names
Replacing these addresses with NOP makes it when you unfocus to not call the "SearchForBannedProcesses" function
if you dont know whats OpenProcess, it opens an existing local process object.
that anti-cheat is so bad and quite useless, as not only it ruins your game experience, but it also cant access to all processes
so cant detect some of the hacks or banned processes lol
also its not only that, there are many more calculations and calls it does
to detect "banned" processes names
Replacing these addresses with NOP makes it when you unfocus to not call the "SearchForBannedProcesses" function
if you dont know whats OpenProcess, it opens an existing local process object.
that anti-cheat is so bad and quite useless, as not only it ruins your game experience, but it also cant access to all processes
so cant detect some of the hacks or banned processes lol
also its not only that, there are many more calculations and calls it does
edited 3×, last 23.09.21 04:52:42 pm
@ DC:
There is old ac_chckprc() function that calls active processes every frame. Probably should be disabled as it is not even effective anymore.
edited 1×, last 24.09.21 08:03:58 am
1