Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


AAT (anti-alt-tab) 2.0 is on the way for beta testing.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Tue Feb 11, 2014 4:02 pm    Post subject: AAT (anti-alt-tab) 2.0 is on the way for beta testing. Reply with quote

Hi!!
I haven't got two computer for use CE on lan.... Crying or Very sad
I know a few utility who may help in running in windowed mode many games, unfortunelly, sometimes these utility fails...
It was 10 years ago today I wrote an (in)utility called AAT 1.5. Embarassed
So now I think to replicate the (in)success of version 1.5 with a new 2.0 coded by scratch.
Basically my utility suspend the game, let us to popup in CE than return back to game even if it is al-tab protected.
I would like a help from the forum, if you may signal to me any videogame alt-tab protected, coz I may test very deep. If possible the game have to be freeware or shareware and have to be very big....
As soon as the program will be a lot more stable, if possible I'll upload a beta version.
Thanks to CE, thanks to the forum, and please apologize for my terrible english.........
Back to top
View user's profile Send private message
dharthoorn
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2008
Posts: 84

PostPosted: Thu Feb 13, 2014 6:43 am    Post subject: Reply with quote

IIRC way back when Doom 3 had some kind of anti alt-tab thing going on.

Nowadays I wonder if it's not some kind of engine limitation rather than a protection mechanism. I mean, even gung-ho-drm-horny-fuck-end-users Ubisoft (or EA) doesn't stoop to such degree of lameness nowadays (anymore....(...hopefully)).

If I interpret your post correctly shouldn't your app be called Anti-Anti-Alt-Tab?

_________________
"If you could reason with religious people there would be no religious people" - House Md. (My Personal Life Coach)
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Thu Feb 13, 2014 6:48 am    Post subject: Reply with quote

Or AATP, Anti-Alt-Tab-Prevention Razz
_________________
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Thu Feb 13, 2014 7:47 am    Post subject: Reply with quote

Is there any game that you can't minimize in Win7? Even if ALT-TAB is not working for some games, CTRL+SHIFT+ESC or CTRL+ALD+DEL is always working for me.

Eg Sniper Elite V2 (and Nazi Zombie Army which is using the same engine) doesn't support ALT-TAB for some reason, but CTRL+SHIFT+ESC works fine.

The worst that could happen in some cases is that the game is crashing if you minimize it, but I think it's more of a case of bad coding instead of intended protection.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Thu Feb 13, 2014 9:58 am    Post subject: Reply with quote

cheat engine also has hotkeys to deal with this
depending on the setting you can make it make the front window invisible, or hide all other windows besides ce

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Thu Feb 13, 2014 11:22 am    Post subject: Reply with quote

I haven't seen a game in recent times that doesn't allow alt+tab'ing and i have trained a lot of big titles since 2011 so we probably ain't gonna see it in future either. I can't say the same about indie or some very low budget titles, they do surprise you sometimes.

What would be useful is a windower tool, there are a few available but have limited support for win 8 and kind of buggy. And a lot of titles don't allow window mode. The lego movie videogame e.g that i just trained though i haven't tried passing the -win command to see if that works but the game doesn't allow it in its ingame settings. So if you want to code a tool, a windower tool would be nice and much used.


PS: If you did make AAT then kudos to you, i have used this tool a lot in past when Tsearch was the Mem searcher everyone used and some games were keen on not letting you minimize. Nifty little tool

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Thu Feb 13, 2014 12:43 pm    Post subject: Reply with quote

Dark Byte wrote:
cheat engine also has hotkeys to deal with this
depending on the setting you can make it make the front window invisible, or hide all other windows besides ce


I have tried this feature on a few games, but it didn't really work. That was in old times, when I still used XP. Usually the game has just frozen to my screen and while technically I had a mouse cursor and probably I could have done something on the desktop, the screen was still occupied by the frozen game. In Win7, this problem is pretty much non-existent.


And what STN said is true. An updated application to run games in window would have much higher demand. Many games are simply not supporting windowed mode at all.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Thu Feb 13, 2014 2:53 pm    Post subject: This post has 1 review(s) Reply with quote

Many thanks to all for your comments!!!
when 10 years ago I coded AAT 1.5, the real problem was that it was really unstable... Embarassed
Nowaday I have restart my work from scratch, and first of all now I use the freeware utility Pssuspend by Sysinternals instead of trying to write myself a freeze routine, this means that now AAT (I understand that the name is not appropriate...) does no longer crash when restore the game.
if the moderator have not to object, I would like to post a link to download a light old freeware game who is hard to manipulate.
The game (whose name is kasbrik) does run in windowed mode, but for our experiment we have to try it in full screen mode, so you may note:
-) CE may not popup, it doesn't matter what option you wanna select...
-) full screeen is 640x480, this means f.e that CE does not fit in that resolution
-) if you try to use alt-tab, ctrl-alt-del, ctrl-shift-esc or any other, simple resulting in game crashing....

The goal of my (in)utility is:
-)suspending the game
-)do NOT change video mode
-)bring to front CE utilizing some tricks so CE will be usable even if we are in 640x480 video mode
-)resuming the game,etc.....

maybe in the week-end I'll be ready to propose a beta version if this does not violate the forum regoulament.

Many thanks.

DarthMaurizio/Danrevella
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Sat Feb 15, 2014 11:59 am    Post subject: Reply with quote

Hi!
I would be ready to post AAT 2.0.1 alpha for beta testing.
Unfortunelly at the moment I may not post any link.
So I ask to moderator if may I be enabled in posting link.

Many thanks.

Hi to all from Italy

Danrevella
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sat Feb 15, 2014 3:10 pm    Post subject: Reply with quote

Hooking various API to force a game to let you alt+tab is not too hard. There are various games that use minimal API to check if they have been alt+tabbed. (However, for fullscreen games its a lot easier to tell since the device pointer will call Reset on the rendering engine to reinitialize when it regains control of the device.)

But, API such as the following can be hooked to prevent things like this:
- GetActiveWindow
- GetClientRect
- GetForegroundWindow
- GetFocus
- GetTopWindow
- GetWindowRect
- GetWindowPlacement
- FindWindow
- FindWindowEx
- IsIconic
- IsWindowVisible
- SetFocus

The game can also monitor for window messages to determine if the game has been asked to minimize. Such as:
- WM_ACTIVATE
- WM_SYSCOMMAND / SC_MINIMIZE
- WM_SIZE
- WM_WINDOWPOSCHANGED

There are many other ways, this is just a starting list commonly used.

And as I mentioned at first, you may need to hook the graphics engine as well to help prevent Reset from being called, or forcing the game to run in a window if it always wants to run fullscreen.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Sat Feb 15, 2014 3:52 pm    Post subject: Reply with quote

@atom
Many thanks for your suggestion Smile
Unfortunelly I'm not a really programmer.... Embarassed
So I have used another way to obtaining my goal (let me CE is utilizable in those types of games).
So I have used another way, and it seems to works:
-) pause the process of the game
-)do NOT alter the video mode
-) bring CE to foremost
-)perform all necessary operations in CE
-) hide CE window
-) switch to the freezed game
-) unpause the game
I have try for the moment in many games, and seems to be it works Smile
BTW,
in other way, you are telling to me that a (not for me.... so simple) simple LUA script inside CE may let me obtaining what I need: to use CE in that type of games.
But I have searched very deep both the forum and both with google if that type of script does exist, but..... nothing found.
Maybe on your hd you have got somethingh like this?(a LUA script for alt-tab protected games I mean) Rolling Eyes

Thanks, and please excuse for my terrible english.

Danrevella
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sun Feb 16, 2014 3:29 pm    Post subject: Reply with quote

danrevella wrote:
@atom
Many thanks for your suggestion Smile
Unfortunelly I'm not a really programmer.... Embarassed
So I have used another way to obtaining my goal (let me CE is utilizable in those types of games).
So I have used another way, and it seems to works:
-) pause the process of the game
-)do NOT alter the video mode
-) bring CE to foremost
-)perform all necessary operations in CE
-) hide CE window
-) switch to the freezed game
-) unpause the game
I have try for the moment in many games, and seems to be it works Smile
BTW,
in other way, you are telling to me that a (not for me.... so simple) simple LUA script inside CE may let me obtaining what I need: to use CE in that type of games.
But I have searched very deep both the forum and both with google if that type of script does exist, but..... nothing found.
Maybe on your hd you have got somethingh like this?(a LUA script for alt-tab protected games I mean) Rolling Eyes

Thanks, and please excuse for my terrible english.

Danrevella


No worries, there are multiple ways to approach any problem. Hooking, as I suggested, is only one of those ways.

And your English is far better than a lot of people that speak the language natively. Razz

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Sun Feb 16, 2014 10:10 pm    Post subject: This post has 1 review(s) Reply with quote

danrevella wrote:
@atom
Many thanks for your suggestion Smile
Unfortunelly I'm not a really programmer.... Embarassed
So I have used another way to obtaining my goal (let me CE is utilizable in those types of games).
So I have used another way, and it seems to works:
-) pause the process of the game
-)do NOT alter the video mode
-) bring CE to foremost
-)perform all necessary operations in CE
-) hide CE window
-) switch to the freezed game
-) unpause the game
I have try for the moment in many games, and seems to be it works Smile
BTW,
in other way, you are telling to me that a (not for me.... so simple) simple LUA script inside CE may let me obtaining what I need: to use CE in that type of games.
But I have searched very deep both the forum and both with google if that type of script does exist, but..... nothing found.
Maybe on your hd you have got somethingh like this?(a LUA script for alt-tab protected games I mean) Rolling Eyes

Thanks, and please excuse for my terrible english.

Danrevella


In CE, goto Settings > Hotkeys. There you should see options to do what DB said (using hotkeys to minimize the game and bring CE to front).

CE Lua wiki has an extensive list of functions you can use found here
http://wiki.cheatengine.org/index.php?title=Lua

A quick glance and i saw this function
http://wiki.cheatengine.org/index.php?title=pause

Probably has other that you need. Ask DB if you can't find the functions you need, there must be a few undocumented functions that DB knows.

And don't worry if you aren't doing it the way Wiccaan/atomos suggested, there is no right or wrong way, just cause you take the harder approach doesn't make it any right than what can be done with just a few API calls.

Quote:
Hi!
I would be ready to post AAT 2.0.1 alpha for beta testing.
Unfortunelly at the moment I may not post any link.
So I ask to moderator if may I be enabled in posting link.

Many thanks.

Hi to all from Italy

Danrevella


I think you need like 10 posts ? or more to post links. PM me the link and i'd post it here or just circumvent the filter by posting a broken a link(posting like h**p : / / link [dot] com etc) and a mod will fix it.

I would gladly test it, just let me know of games that have the alt+tab protection so i can download and test them with.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 290

PostPosted: Mon Feb 17, 2014 6:08 pm    Post subject: Reply with quote

STN wrote:

I think you need like 10 posts ? or more to post links. PM me the link and i'd post it here or just circumvent the filter by posting a broken a link(posting like h**p : / / link [dot] com etc) and a mod will fix it.

I would gladly test it, just let me know of games that have the alt+tab protection so i can download and test them with.

Please send me a pm, so I may answer to you... At the moment I'm still not enabled for pm.....
Back to top
View user's profile Send private message
sttregg
Newbie cheater
Reputation: 0

Joined: 25 May 2015
Posts: 11

PostPosted: Tue May 26, 2015 12:07 pm    Post subject: ALT TABBING and Graphic display Reply with quote

Well sounds like this post is dancing all around my problem. I play Dune 2000. I can open CE. I can load the game and load the saved game. Then I open the options window (pauses game) and then ALT+Tab. Do the things I need to do in CE (load trainer, set the values and everything), but when I alt tab back to the game...the graphics are all messed up. Colors and rendering...and most curious is that screen shrinks and splits into two windows. I move the cursor and the cursor icon moves in both screen.
I cannot read or even recognize the buttons that resume the game. Although one time I was able to hit it and the game sounded like it was running. But the graphics display was all messed up.

So a little tool that would allow Dune 2000 to play windowed would be awesome. Thank you for anyone that could help me with this.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites