Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plz thx #10

Open
showusped opened this issue Nov 24, 2022 · 2 comments
Open

plz thx #10

showusped opened this issue Nov 24, 2022 · 2 comments

Comments

@showusped
Copy link

Hello, if I need to add a new resolution (3440 * 1440), can I directly change the default resolution (2560x1440) or do I need to change other places at the same time

@En73r
Copy link
Owner

En73r commented Dec 2, 2022

Actually, you just need to set the size of the QTE detection based on the real scaling of the corresponding resolution.
To do this, you can get a screenshot containing a QTE in the corresponding resolution. Then find a proper size of a square that should be a little larger than the QTE circle. eg. 200*200 or 250*250. Finally, you can set the crop_w, crop_h of corresponding resolution as below,

DBDEazyQTE/DBDEazyQTE.py

Lines 525 to 530 in 02b47d6

if im.height == 1600: # 2560*1600
crop_w, crop_h = 250, 250
elif im.height == 1080: # 1920*1080
crop_w, crop_h = 150, 150
elif im.height == 2160: # 3840*2160
crop_w, crop_h = 330, 330

@showusped
Copy link
Author

After I do this, the engine will still explode. I don't know why. Maybe it is the curved screen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants