 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
fade2gray Cheater
Reputation: 0
Joined: 01 Oct 2010 Posts: 30
|
Posted: Sun Jun 30, 2024 5:08 am Post subject: What casuses the need to use 'windowsrepair.exe'? |
|
|
I've not had the need to use windowsrepair.exe, just curious what events may cause the need to use it.
I see this in windowsrepair.lpr ...
| Code: |
begin
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cheat Engine.exe');
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-i386.exe');
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cheat Engine.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-i386.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64.exe');
reg:=Tregistry.Create;
try
reg.RootKey := HKEY_LOCAL_MACHINE;
if reg.OpenKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options',false) then
begin
reg.deletekey('Cheat Engine.exe');
reg.deletekey('cheatengine-i386.exe');
reg.deletekey('cheatengine-x86_64.exe');
end;
if reg.OpenKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options',false) then
begin
reg.deletekey('Cheat Engine.exe');
reg.deletekey('cheatengine-i386.exe');
reg.deletekey('cheatengine-x86_64.exe');
end;
finally
reg.free;
end;
if (ParamCount=0) or (ParamStr(1)<>'/s') then
messagebox(0,'Your windows install should be repaired. Try running Cheat Engine now', 'Windows Repair (CE)',0);
end.
|
... but the code does not include the 'cheatengine-x86_64-SSE4=AVX2.exe' executable, doesn't it get affected the same way as the other executables?
If 'cheatengine-x86_64-SSE4=AVX2.exe' did turn up in '...\Image File Execution Options\' you wouldn't be able to remove it using windowsrepair.exe, and would have to remove it manually using RegEdit, right?
_________________
I am, and always will be, a CE novice. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25813 Location: The netherlands
|
Posted: Sun Jun 30, 2024 5:12 am Post subject: |
|
|
some programs add the cheat engine exe files to that registry, which causes them to be unable to get executed
the sse4 avx version isn't in there yet as those programs also didn't include it yet.
_________________
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 |
|
 |
fade2gray Cheater
Reputation: 0
Joined: 01 Oct 2010 Posts: 30
|
|
| Back to top |
|
 |
luigimud Newbie cheater
Reputation: 0
Joined: 04 Jul 2024 Posts: 10
|
Posted: Sat Jul 06, 2024 1:17 am Post subject: |
|
|
"Including 'cheatengine-x86_64-SSE4=AVX2.exe' in your custom build should not cause any issues and can actually be a proactive measure. By adding it to your windowsrepair.exe script, you ensure that if any future programs decide to block this executable by adding it to the 'Image File Execution Options' registry, your script will already be prepared to remove it.
I tried adding it to the code above, i hope this helps against any potential issues with the cheatengine executable:
begin
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cheat Engine.exe');
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-i386.exe');
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64.exe');
deleteKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64-SSE4-AVX2.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cheat Engine.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-i386.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64.exe');
deleteKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cheatengine-x86_64-SSE4-AVX2.exe');
reg:=Tregistry.Create;
try
reg.RootKey := HKEY_LOCAL_MACHINE;
if reg.OpenKey('\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options',false) then
begin
reg.deletekey('Cheat Engine.exe');
reg.deletekey('cheatengine-i386.exe');
reg.deletekey('cheatengine-x86_64.exe');
reg.deletekey('cheatengine-x86_64-SSE4-AVX2.exe');
end;
if reg.OpenKey('\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options',false) then
begin
reg.deletekey('Cheat Engine.exe');
reg.deletekey('cheatengine-i386.exe');
reg.deletekey('cheatengine-x86_64.exe');
reg.deletekey('cheatengine-x86_64-SSE4-AVX2.exe');
end;
finally
reg.free;
end;
if (ParamCount=0) or (ParamStr(1)<>'/s') then
messagebox(0,'Your windows install should be repaired. Try running Cheat Engine now', 'Windows Repair (CE)',0);
end.
|
|
| Back to top |
|
 |
|
|
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
|
|