|
Post by AnkuLua on Apr 12, 2018 13:57:21 GMT
1. AnkuLua will convert the images to gray scale. It will not reduce memory usage. But it save the total script size. And it may improve the speed. Maybe just a little speed though. 2. It may affect the accuracy. But normally, it won't affect the script correctness. Just don't set similarity too high. 3. 1100x540 should be a good choice.
|
|
|
Post by newbiex on Nov 10, 2020 21:40:15 GMT
Is Daemon still faster then root access? If yes why? Just curious about the basics I am running Nox, was wondering if the performance would improve? Yes. Daemon is faster than root. It's because root need to execute shell. And daemon is just network communication. which one is faster daemon or media projection?
|
|
|
Post by AnkuLua on Nov 10, 2020 23:24:44 GMT
Yes. Daemon is faster than root. It's because root need to execute shell. And daemon is just network communication. which one is faster daemon or media projection? media projection and accessibility are faster
|
|
|
Post by crossa on Jan 30, 2021 18:32:00 GMT
It's better that the screen aspect ratio is the same. In your case, set nox resolution to 960x540. Set dimension to 960. Settings:setCompareDimension(true,960) Settings:setScriptDimension(true,906) Then re-capture the images. is Settings:setScriptDimension(true,906) typo and should be 960 ? basically 1920 / 2 right ? I found that we can use getAppUsableScreenSize() and getRealScreenSize() to know my resolution in our phone. Let say from get AppUseableScreenSize() = 2134 x 1080 and getRealScreenSize() = 2340 x 1080. In my case, should i set dimension to 1067 or 1170 ? Thank you
|
|
|
Post by AnkuLua on Jan 30, 2021 23:20:30 GMT
It's better that the screen aspect ratio is the same. In your case, set nox resolution to 960x540. Set dimension to 960. Settings:setCompareDimension(true,960) Settings:setScriptDimension(true,906) Then re-capture the images. is Settings:setScriptDimension(true,906) typo and should be 960 ? basically 1920 / 2 right ? I found that we can use getAppUsableScreenSize() and getRealScreenSize() to know my resolution in our phone. Let say from get AppUseableScreenSize() = 2134 x 1080 and getRealScreenSize() = 2340 x 1080. In my case, should i set dimension to 1067 or 1170 ? Thank you 906 is a typo If the game is immersive, then it's 1170. Otherwise, it's 1067.
|
|
timtim
Junior Member
Posts: 67
|
Post by timtim on Aug 29, 2021 13:55:13 GMT
I had been working on a device with 1080 width resolution (1920 height) and now I am trying on OnePlus7 by making these changes and it is just not working, any suggestion (I do not want to go back and take screenshot of each image I use on this mobile) setImmersiveMode(true) local screen = getRealScreenSize() maxScreenWidth = screen:getX() -- ========== Settings ================ Settings:setCompareDimension(true, maxScreenWidth) Settings:setScriptDimension(true, 1080) The game run in side way mode (i.e in landscape mode)
|
|
timtim
Junior Member
Posts: 67
|
Post by timtim on Aug 29, 2021 16:48:45 GMT
Nevermind it worked when I manually put the width, due to rotation of screen, I think it was taking wrong width.
|
|