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 


About repairing ct file with ce open, anyone konw

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
etioplmld
Advanced Cheater
Reputation: 0

Joined: 09 Feb 2021
Posts: 77

PostPosted: Mon Nov 20, 2023 2:45 am    Post subject: About repairing ct file with ce open, anyone konw Reply with quote

Some people save the following code with txt file, and then change txt to bat file to fix other file types.

This opens txt with notpad++
reg add "HKEY_CLASSES_ROOT\txtfile\shell\open\command" /ve /d "\"%cd%\notepad++.exe\" %%1 " /f

reg add "HKCR\.torrent" /f /ve /d "Xunlei.Bittorrent.6" >NUL 2>NUL

After reinstalling windows, use ce to open ct, how to use similar code?
Back to top
View user's profile Send private message
etioplmld
Advanced Cheater
Reputation: 0

Joined: 09 Feb 2021
Posts: 77

PostPosted: Tue Nov 21, 2023 2:56 am    Post subject: Reply with quote

In regedit, ct has this value,But it doesn't write out the software path。

[HKEY_CLASSES_ROOT\.CT]
@="CheatEngine"


Is this useful?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cheat Engine_is1]
"DisplayIcon"="D:\\Cheat Engine 7.2\\Cheat Engine.exe"
"DisplayName"="Cheat Engine 7.2"
"EstimatedSize"=dword:0001179E
"Inno Setup: App Path"="D:\\Cheat Engine 7.2"
"Inno Setup: Deselected Tasks"="desktopicon,checkforupdates"
"Inno Setup: Icon Group"="Cheat Engine 7.2"
"Inno Setup: Language"="default"
"Inno Setup: Selected Tasks"=""
"Inno Setup: Setup Version"="6.0.5 (u)"
"InstallDate"="20231118"
"InstallLocation"="D:\\Cheat Engine 7.2\\"
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Nov 21, 2023 5:51 am    Post subject: Reply with quote

it's likely the class named CheatEngine
But is it required to be done using a script? because you can also use windows itself to adjust the association

_________________
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
etioplmld
Advanced Cheater
Reputation: 0

Joined: 09 Feb 2021
Posts: 77

PostPosted: Tue Nov 21, 2023 7:57 am    Post subject: Reply with quote

Dark Byte wrote:
it's likely the class named CheatEngine
But is it required to be done using a script? because you can also use windows itself to adjust the association

If manually selected After Double Click, the icon will be different。It's ugly。

Is this the content of the icon and association in the registry?

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.CT]
@="CheatEngine"

[HKEY_CLASSES_ROOT\CheatEngine]
@="Cheat Engine"

[HKEY_CLASSES_ROOT\CheatEngine\DefaultIcon]
@="D:\\Cheat Engine 7.2\\Cheat Engine.exe,0"

[HKEY_CLASSES_ROOT\CheatEngine\shell]

[HKEY_CLASSES_ROOT\CheatEngine\shell\open]

[HKEY_CLASSES_ROOT\CheatEngine\shell\open\command]
@="\"D:\\Cheat Engine 7.2\\Cheat Engine.exe\" \"%1\""

After trying to uninstall CE, use Notepad to save these as reg. After running, log off or restart the system,The association will be perfectly fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
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