Update README.md

This commit is contained in:
David Vogel 2022-05-24 17:01:15 +02:00 committed by GitHub
parent 51dabd544a
commit f1dd89ad86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,10 @@ You can capture in a different resolution if you want or need to. If you do so,
The following two equations have to be true:
![CAPTURE_PIXEL_SIZE = SCREEN_RESOLUTION_* / VIRTUAL_RESOLUTION_*](https://latex.codecogs.com/png.latex?%5Cinline%20%5Cdpi%7B120%7D%20%5Clarge%20%5Cbegin%7Balign*%7D%20%5Ctext%7BCAPTURE%5C_PIXEL%5C_SIZE%7D%20%26%3D%20%5Cfrac%7B%5Ctext%7BSCREEN%5C_RESOLUTION%5C_X%7D%7D%7B%5Ctext%7BVIRTUAL%5C_RESOLUTION%5C_X%7D%7D%5C%5C%20%5Ctext%7BCAPTURE%5C_PIXEL%5C_SIZE%7D%20%26%3D%20%5Cfrac%7B%5Ctext%7BSCREEN%5C_RESOLUTION%5C_Y%7D%7D%7B%5Ctext%7BVIRTUAL%5C_RESOLUTION%5C_Y%7D%7D%20%5Cend%7Balign*%7D)
$$\begin{align}
\text{CAPTURE_PIXEL_SIZE} = \frac{\text{SCREEN_RESOLUTION_X}}{\text{VIRTUAL_RESOLUTION_X}}\\
\text{CAPTURE_PIXEL_SIZE} = \frac{\text{SCREEN_RESOLUTION_Y}}{\text{VIRTUAL_RESOLUTION_Y}}
\end{align}$$
- Where `CAPTURE_PIXEL_SIZE` can be found inside `.../Noita/mods/noita-mapcap/files/capture.lua`
- `VIRTUAL_RESOLUTION_*` can be found inside `.../Noita/mods/noita-mapcap/files/magic_numbers.xml`