Comments (12)
I think this is a showstopper and I'm trying to fix it.
So far I tried inspecting what changed between https://github.com/microsoft/vcpkg/compare/c9f906558f9bb12ee9811d6edc98ec9255c6cda5..11ed79186fe850bd3a98cfbf1854514d2b3070a2 and create a libraries release on each "interesting" version:
git lol c9f906558f9bb12ee9811d6edc98ec9255c6cda5..11ed79186fe850bd3a98cfbf1854514d2b3070a2 ports/sdl2/ ports/breakpad/ ports/libressl
SDL2 is primary suspect for this regression
breakpad is for #22003
libressl did not initially support arm and broke builds. I have eventually disabled networking in my OpenRCT2 trial builds.
Unfortunately, building OpenRCT2 with all the libraries that got built (not all commits have) fails due to libicu not providing required components.
Next steps: figure out if I can just redirect vcpkg to an older version of port. The overall idea is to find release that introduced regression and then perform bisect. I hope to learn what changed in SDL code and then either adapt our code to new version or send the fix upstream if necessary.
from openrct2.
I'm having the same issue. Wonder if it's related to SDL having been updated in #21771 (cc @janisozaur)
![Screenshot 2024-05-10 at 17 04 14](https://private-user-images.githubusercontent.com/604665/329626277-40d836fc-6ae1-48bf-afa2-0db213bc7bc9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY0NjQxMDQsIm5iZiI6MTcxNjQ2MzgwNCwicGF0aCI6Ii82MDQ2NjUvMzI5NjI2Mjc3LTQwZDgzNmZjLTZhZTEtNDhiZi1hZmEyLTBkYjIxM2JjN2JjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyM1QxMTMwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zM2ZkNTdkMGVjNmQ1MjQwOGNiNmZiZDAxN2IxNGQ1ZGMzOTljODhiOTVhZmJkNjNjMjI5YTIxYzhmNjI1M2Y4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.37KgpB5OFv7I6SO94v-uSDBpKUQ89GCJPnznndbxQuo)
from openrct2.
This happened to me after making it full screen. Cannot fix it, even after deleting and downloading latest release again.
from openrct2.
Is the offset constant?
from openrct2.
No, it appears to vary depending on how far into the window you are. Happens regardless of window scaling though.
from openrct2.
I managed to create some test builds with older SDL2 versions, please test each one if the bug is present.
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.26.5.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.28.2.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.28.3.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.28.4.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.28.5.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.30.0.zip
https://github.com/janisozaur/OpenRCT2/releases/download/v21973/openrct2-macos-sdl2-2.30.1.zip
from openrct2.
It's already present in openrct2-macos-sdl2-2.26.5.zip for me??
from openrct2.
I renamed my config.ini to config_bad.ini, restarted OpenRCT2, and had no problems. Moving settings back in, I narrowed it down to the following issue:
$ diff -u config_{bad,good}.ini
--- config_bad.ini 2024-05-12 20:26:11
+++ config_good.ini 2024-05-12 22:35:20
@@ -22,7 +22,7 @@
debugging_tools = true
show_height_as_units = false
temperature_format = CELSIUS
-window_height = 945
+window_height = 940
window_snap_proximity = 5
window_width = 1512
default_display = 0
Changing 940 to 940 fixed the problem. Changing to 944 did not, so it's not just a factor of two problem. It seems to be related to having a remainder after division.
Question is, how do we prevent the window size to get to these 'bad' values? Perhaps we can keep them clamped to particular factors, somehow?
from openrct2.
My guess this is because the height (what about width?) is not a multiple of the scaling factor that OS uses. Maybe it's not the window size, but renderer size which then gets squished or something? If we asked SDL or the system about then maybe we could stick to save values
from openrct2.
Sorry, I was out of town for the weekend. Thanks for taking a look at this already.
I've found a few quirks while poking at this;
- The issue persists between the 6 test builds.
- It appears that the offset between cursor and where the game thinks it is scales with the height but not width of the screen, ie purely offset in the vertical direction.
- The issue happens regardless of the OS screen resolution (1024x666, 1280x832, 1470x956, and 1710x1112).
- Changing from Windowed mac full screen (Green button) to the full screen ORCT fullscreen dropdown crashes the game instantly but un-maximzing it first doesn't. It's probably a separate issue.
- For sure another separate issue but once every ~20 launches maybe, I get the Beach ball of death while I wait for the game to load. Normally the game launches almost instantly.
from openrct2.
So does this issue happen with 0.4.10 as well then?
from openrct2.
@AaronVanGeffen confirmed this is not a new issue. As such, I'm lowering it's priority. I still consider this quite a serious issue, but perhaps amount of people affected is minuscule and it was only reported recently.
from openrct2.
Related Issues (20)
- Unable To Connect To Elevated Exit HOT 5
- Upward helix button missing on bobsled coaster HOT 2
- Create widget for progress bar
- Guests will take pictures of photogenic ghost objects HOT 6
- [c68cbf] openrct2.exe: std::_Default_allocate_traits::_Allocate HOT 1
- block brake close to station causes long trains to overlap on ride startup HOT 5
- no ingame sound since 8b51112 HOT 5
- No Ambient Park/Guest Noise; Only Ride Songs HOT 5
- virtual floor temporarily reorders scenery under it
- OpenRCT2 crashes upon exit HOT 4
- Flat diagonal Hybrid Coaster track draws in incorrect colour HOT 2
- FPS counter copied over main viewport HOT 1
- Localisation: Separate objective date string from staff tenure date string
- Hover Car Vehicle bug for Car Ride HOT 2
- Flat diagonal mine train coaster track draws with chain lift sprite
- Flat diagonal Side-Friction coaster track has some graphical issues
- RCT1 ride designs do not construct with the RCT2 equivalent vehicle when RCT1 vehicles are unavailable HOT 3
- When creating custom themes, certain colors cannot be used for buttons or windows. HOT 2
- [689302] openrct2.exe: ConsoleCommandDereference HOT 1
- [4956ec] openrct2.exe: ConsoleCommandDereference
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrct2.