Rain0Ash / ShellShockLive-Aim

Aim
6 stars 1 forks source link

Are you able to make a version for higher resolution? #5

Open hehexd1368 opened 5 months ago

hehexd1368 commented 5 months ago

Hey @Rain0Ash, thanks for making this! It works at the current low resolution - window is very small.

Are you able to make a version for higher resolution to make it a larger window size?

Rain0Ash commented 5 months ago

Hey. Current version use only binding for 1366x768 resolution on 1920x1080 monitor (my configuration). I also have physics values for 1280x1024, 1600x1024, 1680x1050, 1920x1080 and 2560x1440 resolutions (Models/Physics/Bindings/Internal). But I wasn't testing them. Also, I haven't values for screen recognition (ViewModels/Vision/Bindings/Internal) - so need to find and test actual values manually. Application settings - (Settings/Settings.cs)

I won't be able return to this project soon, sorry. So, maximum that I now can - is push last code version of Ruler and it dependency - NetExtender (https://github.com/Rain0Ash/NetExtender). If you want - you can fork and make pull request. If you have questions about architecture / some code - ask me.

hehexd1368 commented 5 months ago

Thanks. At the moment, the tool only shows the parabola in the top left part of my screen. If I ctrl e elsewhere, the trajectory is missing. Is there any way to enlarge the tool to fit the whole screen?

Rain0Ash commented 5 months ago

I make this for perfomance of trajectory evaluating (every all path searching require to evaluate trajectories for 360 angle * 100 power = 36000 combinations).

1) Simplest way - set Windows global screen resolution to 1920x1080 when playing game. 2) (Models/Physics/Guidances/Internal/ParabolaGuidance.cs) and (Models/Physics/Guidances/Internal/DirectGuidance.cs) изображение Property: Bounds - is trajectory evaluating bounds. You need to modify it.

I use resolution of system primary screen (id = 0). What screen configurations you have? If you use >1 screen - maybe reason of this behavior, if, for example, you play on not system primary screen. Or just bug, because I test it only for myself :)