View previous topic :: View next topic |
Author |
Message |
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 5:41 am Post subject: Dark mode color adjustments |
|
|
Hey, I'm liking the new dark mode but few things are harder to see now.
For example, the syntax highlighting in Auto Assembler window (Which can be turned off I know, but it has to be done everytime it seems. Is there a way to disable it permanently?)
Also the "Find out what accesses this address" window, when the window isn't focused its hard to see the highlighted instruction.
Is there a way to change these colors permanently to something easier to see? Thanks
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 8:27 am Post subject: |
|
|
You can actually modify the syntax highlighting colours to suit your needs. As for the other thing you will probably have to do it in a hacky way like this:
Code: |
[ENABLE]
{$LUA}
local ce = getMainForm()
local count = getFormCount()
function containsWord(str, wordToFind)
if str:find(tostring(wordToFind), 1, true) ~= nil then
return true
else
return false
end
end
for i=0, count -1 do
local f = getForm(i)
if containsWord(f.Caption, "The following") then
local fc = f.Component
fc[10].Color = 0x333333
fc[10].Font.Color = 0xffffff
end
end
{$ASM}
[DISABLE]
{$LUA}
local ce = getMainForm()
local count = getFormCount()
function containsWord(str, wordToFind)
if str:find(tostring(wordToFind), 1, true) ~= nil then
return true
else
return false
end
end
for i=0, count -1 do
local f = getForm(i)
if containsWord(f.Caption, "The following") then
local fc = f.Component
fc[10].Color = 0xffffff
fc[10].Font.Color = 0x000000
end
end
|
Just add to a script and toggle the dark/light mode. It won't work unless the "Find out what X the opcodes at address" window is visible
|
|
Back to top |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 8:31 am Post subject: |
|
|
LeFiXER wrote: | You can actually modify the syntax highlighting colours to suit your needs. |
I know but as I say in the original post, it has to be done everytime because it doesn't save. I'm looking for a permanent solution.
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 8:40 am Post subject: |
|
|
Are you certain you have executed Cheat Engine with administrative privileges, this seems likely to be the cause since the colour values are written to the registry. I have no issue changing the syntax highlighting properties. I have just tested again by changing the colour, fully closing Cheat Engine (without saving the table) and re-opening it. The colours reflect the change I made.
|
|
Back to top |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 8:53 am Post subject: |
|
|
LeFiXER wrote: | Are you certain you have executed Cheat Engine with administrative privileges, this seems likely to be the cause since the colour values are written to the registry. I have no issue changing the syntax highlighting properties. I have just tested again by changing the colour, fully closing Cheat Engine (without saving the table) and re-opening it. The colours reflect the change I made. |
Yes I just tested it again to be sure by running as administrator. I dont know why it works for you and not me..
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 9:22 am Post subject: |
|
|
I would uninstall with something like Revo Uninstaller or Geek uninstaller, restart your PC then install fresh and try again. I can't say what's causing the problem but it would be taking basic troubleshooting steps to try and resolve it.
I can only think of two ways why it wouldn't work, the first would be a permission issue, the other being CE can't find the color values and decides to use default colour values.
|
|
Back to top |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 9:24 am Post subject: |
|
|
LeFiXER wrote: | I would uninstall with something like Revo Uninstaller or Geek uninstaller, restart your PC then install fresh and try again. I can't say what's causing the problem but it would be taking basic troubleshooting steps to try and resolve it.
I can only think of two ways why it wouldn't work, the first would be a permission issue, the other being CE can't find the color values and decides to use default colour values. |
Ok I guess I'll try reinstall but it seems like a bug because the colors change when i choose the auto assembler syntax preferences automatically to something else than default.
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 9:26 am Post subject: |
|
|
There are preferences for each language: Lua, C, and auto assembler. They can be different for all. Even colour preferences for the disassembler viewer.
|
|
Back to top |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 9:29 am Post subject: |
|
|
LeFiXER wrote: | There are preferences for each language: Lua, C, and auto assembler. They can be different for all. Even colour preferences for the disassembler viewer. |
disasm viewer preferences work fine for me
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 9:36 am Post subject: |
|
|
I apologise if this question comes across as condescending but, you did click the 'ok' button after making your changes right? I know some people would click the X assuming that the changes have saved, but unfortunately, they have to be confirmed.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Sat Oct 02, 2021 9:38 am Post subject: |
|
|
There is issue where the addresslist auto assembler script editor doesn't load the saved color.
_________________
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 |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Sat Oct 02, 2021 9:43 am Post subject: |
|
|
LeFiXER wrote: | I apologise if this question comes across as condescending but, you did click the 'ok' button after making your changes right? I know some people would click the X assuming that the changes have saved, but unfortunately, they have to be confirmed. |
No worries, any help is appreciated. I clicked "ok" button.
Quote: | There is issue where the addresslist auto assembler script editor doesn't load the saved color. |
For me it happens even in new auto assembler window. I will try to re-install later as previous poster suggested I suppose...
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Oct 02, 2021 10:00 am Post subject: |
|
|
Dark Byte wrote: | There is issue where the addresslist auto assembler script editor doesn't load the saved color. |
I wonder what would cause this issue for some but not for others. Is it possible it could be because of entries within the registry from previous installations?
|
|
Back to top |
|
|
xMichael Newbie cheater Reputation: 0
Joined: 24 Jun 2012 Posts: 20
|
Posted: Thu Oct 07, 2021 6:07 am Post subject: |
|
|
So reinstalling didn't help...
I open the auto assembler window, type something like mov eax,1000
The 1000 is still the default green color which is bit hard to see on the black background.
The only way to actually make the custom colors work is to manually click View-Auto assemblers syntax highlighting preferences. This seems to enable them until I close that window.
When I open the new one, it has to be done again.
Mainly because of these, I will have to use the light theme. Which is a shame.
Before, I tried using windows high contrast theme which also worked as a dark theme for CE. But it had even worse bug, my cheat tables refused to save lol. So I was forced to use the default bright theme.
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Thu Oct 07, 2021 8:49 am Post subject: |
|
|
I think the only thing it could be is a permission issue preventing the values from changing in the registry, perhaps an intervening anti-virus?
|
|
Back to top |
|
|
|