Commit Graph
290 Commits
Author SHA1 Message Date
Dylan d28122de93 Fix missing commit hash in container-built binaries (#27271)
Git refuses to read the repo inside the container jobs because the
workspace is owned by a different user, so CMake silently gets no
branch or commit hash. Mark the workspace as a safe directory, as
check-code-formatting already does.
2026-10-11 09:14:22 +00:00
Gymnasiast 82b309798a Release v0.5.6
- Feature: [#16014] Land surfaces and edges can now be recoloured.
- Feature: [#26894] Added 18 additional colours, including 5 from the base version of RCT1 (which were removed in later versions).
- Feature: [#27153] [Plugin] Add `guestsEntertained` to `Entertainer` interface.
- Feature: [#27184] [Plugin] Double limit of miscellaneous entities (e.g. crash particles, steam plumes and balloons) to 6400.
- Feature: [#27254] New title sequence (see https://github.com/OpenRCT2/title-sequences/releases/tag/v0.5.6 for credits).
- Feature: [objects#447] Track designer grid can now be used outside the Track Designer.
- Improved: [#21400] The selector for setting staff patrol areas is now drawn on the water as well as on the surface under water.
- Improved: [#22933] You can now toggle between long and short base flat-to-steep pieces if the ride has both available.
- Improved: [#26947] Rain is now drawn next to the bottom info panels (in RCT2 style).
- Improved: [#27097] On Linux, Flatpak Steam RCTC/RCT2 paths are now auto-detected.
- Improved: [#27110] The option to automatically open shops after construction now also closes them before construction.
- Change: [#27071] The gamepad deadzone has been raised from 11% to 25% by default to compensate for stick drift.
- Change: [#27100] Negative G-forces no longer turn red in the stats window and graph when below -2.50.
- Fix: [#1514] Wrong capitalisation for strings in the Guest List window.
- Fix: [#12516] Sprites past 65,536 pixels are drawn in the wrong place by the software renderer, most visibly in long scenario lists.
- Fix: [#15423] Crash when a guest or handyman uses a bin whose path addition object is not loaded.
- Fix: [#17409] When reading system settings, non-US dollar currencies are not recognised correctly.
- Fix: [#18151] Park value and company value are out of date after loading a save.
- Fix: [#19754, #27109] Some rides in RCT1 saves have a wrong number of cars per train.
- Fix: [#19755, #21320] RCT1 allows more cars per train on some rides than OpenRCT2.
- Fix: [#20882] When setting rides with preservation status in the Scenario Editor, some rides are not shown.
- Fix: [#21576] RCT1 Wooden wild mouse track designs with 2-car trains are not imported correctly.
- Fix: [#22298] [Plugin] Crash when changing a large scenery element whose object is not loaded.
- Fix: [#24457] Yellow is always rendered as third remap in Ride window.
- Fix: [#25400] The Inverted Flying RollerCoaster draws upright Twister track pieces for pieces it doesn’t have.
- Fix: [#26222] ‘Follow this on Main View’ follows the invisible first car on ride types that have one, making the view turn too early.
- Fix: [#26754] Switching window tabs by touch could crash the game on some Linux builds.
- Fix: [#26998] Crash when generating a `Simplex Height Map` with a higher width than height.
- Fix: [#27052] Unnamed rides in RCT2 base and Wacky Worlds scenarios have hardcoded English names.
- Fix: [#27056] [Plugin] Loading water palettes from plugin does not update the palette correctly.
- Fix: [#27070] The game keeps responding to input while the window is not focused (primarily gamepads).
- Fix: [#27084] [Plugin] `PermissionType` for `drag_path_area` is missing.
- Fix: [#27087] The ‘Update available’ widget is offset incorrectly.
- Fix: [#27093] Pause and fast forward buttons are shown in multiplayer.
- Fix: [#27113] Chat button is shown in editor mode.
- Fix: [#27133] [Plugin] Dropdown and spinner are not fully hidden with isVisible on creation.
- Fix: [#27134] Viewing track designs may cause network desyncs.
- Fix: [#27136] Guests keep waiting at a level crossing after the train has passed, due to faulty iteration over the track the train has vacated.
- Fix: [#27212] Chain lifts are blue in screenshots taken from the command line.
- Fix: [#27218] Tile inspector coordinate spinners are too short for coordinate 1000.
- Fix: [#27233] `openrct2 parkinfo objects` crashes when called with a scenario instead of save.
- Fix: [#27234] [Plugin] Setting `TrackElement.seatRotation` fails on every ride except mazes, where it does not apply.
2026-10-10 13:57:21 +02:00
Gymnasiast 8694e34836 Releasse v0.5.5
- Feature: [#26423] [Plugin] Add `PathNavigator` and `PathConnection` for exploring the footpath network as a graph.
- Feature: [#26827] [Plugin] Add map resize hook to scripting api.
- Feature: [#26877] Clear Scenery can now remove footpath additions, and remove walls separately from small scenery.
- Feature: [#26938] [Plugin] Allow getting and setting caret position for textbox while it is in focus.
- Improved: [#16269] Unnamed rides in the original Added Attractions & Loopy Landscapes scenarios now use their official names from Rollercoaster Tycoon Classic.
- Improved: [#19000] Add sprite font glyph for the Won (₩).
- Improved: [#21441] Add sprite font glyph for the Hryvnia (₴).
- Improved: [#22500] LandSetHeightAction has now proper error message title.
- Improved: [#23872] Loading a park outside the game now sets the folder of the load/save window, as loading one in-game does.
- Improved: [#25362] When dragging footpaths, they will now properly adapt to uneven terrain.
- Improved: [#26099] The ride type selection cheat has been moved into the ride operations tab.
- Improved: [#26099] The ride visiblity cheat has been moved into the ride colour/appearance tab.
- Improved: [#26441, #26958] Change result.position.z of SmallScenery- and WallPlaceAction to match the actual position of the placed tile element.
- Improved: [#26862] Add a Liquid Glass app icon for macOS 26 and later.
- Improved: [#26931] The save prompt now bounces the macOS dock icon, flashes the Windows taskbar button and marks Linux windows urgent when it blocks quitting an unfocused game.
- Improved: [#26936] Rain is now drawn next to the top toolbar, but only when it is centred.
- Improved: [#26996] Ride names in scenarios can now be autopatched.
- Fix: [#7858] Dropdowns do not close when an action by a plugin or another player in multiplayer closes their parent window.
- Fix: [#15891] Lower case hard sign is drawn as upper case.
- Fix: [#18197] Track Designs Manager does not autoload scenery.
- Fix: [#18415] Preview in the Track Designs Manager is not updated after deleting the first design.
- Fix: [#18782] Dropdowns do not close and become non-functional when mouse is released outside of the game window.
- Fix: [#21632] [Plugin] Crash when loading custom image larger than 300 by 300 pixels.
- Fix: [#22854] Network connections of plugins pile up every time another park is loaded.
- Fix: [#24520] The close button does not use the sprite font on languages using a TTF font when the enlarged UI is enabled.
- Fix: [#24610] Graph tabs on Finances window get a little bit longer every time you switch between them.
- Fix: [#25169] The convert command strips custom objects from the resulting park.
- Fix: [#25496] The guest pickup button does not grey out when the guest’s state changes while the window is open.
- Fix: [#25558] [Plugin] Image buttons ignore their explicit border setting when a theme draws borders around them.
- Fix: [#26056] Freeze when trying to download all objects on save where they are missing.
- Fix: [#26802] Opening rides with 0 or -1 water cars per train crash the game.
- Fix: [#26811] Crash when a ride points to a non-existing station object.
- Fix: [#26816] Water rides ignore zero clearances, preventing adjacent terrain modifications and building them anywhere.
- Fix: [#26880] Max negative G-Force stat on flat track erroneously reads as 0.49g.
- Fix: [#26903] Making a ride visible or invisible is always denied in multiplayer.
- Fix: [#26917] Tile Inspector does not show indestructible track status correctly when ‘Make all track pieces destructible’ cheat is enabled.
- Fix: [#26921] The bottom panel buttons for finances, park rating, date, etc. are not invalidating properly.
- Fix: [#26935] Windows opened on the title screen do not ‘flash’ around the edges when bringing them back into focus.
- Fix: [#26938] [Plugin] Caret in textbox not animating or blinking.
- Fix: [#26954] Land paint price is not updated when selecting columns or rows of tiles by holding down Ctrl.
- Fix: [#26965] When showing missing objects, some types show up as ‘Unknown type’.
- Fix: [#26965] The window with missing objects is displayed under the ‘Load game’ window.
- Fix: [#26992] A partial or no car is drawn on the ride vehicle tab if the ride has 0 or fewer cars per train.
- Fix: [#26996] Correct spelling of some rides in Heide-Park, Diamond Heights and Alton Towers.
- Fix: [#26996] Scenario patch for Okinawa Coast doesn’t work for CD versions of Wacky Worlds (meaning landscape ownership fixes do not get applied).
- Fix: [#27004] Windows are moved off-screen when mouse is released outside of the game window.
- Fix: [#27023] [Plugin] Transparent plugin sprites do not work correctly in software rendering mode.
2026-09-06 11:28:06 +02:00
Michael Steenbeek 42885ec965 Update GitHub checkout action to v7 (#26885) 2026-08-07 20:51:06 +00:00
Tulio Leao 4a7ee146ca Release v0.5.4
- Improved: [#26560] [Plugin] Scripts can now be used to trigger saving a game (limited to the user save folder).
- Improved: [#26638] Guests will no longer watch rides while they’re underground.
- Improved: [#26747] Exporting a sprite file now also outputs a JSON file, allowing for round-trip conversions.
- Improved: [#26763] The ride colour/appearance tab now visually separates fields using group boxes.
- Improved: [#26765] The ride operations tab now visually separates fields using group boxes.
- Improved: [#26839] Magnify picked-up peeps when viewport is in double or quadruple zoom.
- Fix: [#26288] Land bordering map edges does not blend at certain angles.
- Fix: [#26610] Player list is not updated automatically when a player joins or leaves.
- Fix: [#26639] Handymen could begin a task while another handyman was already doing the exact same task.
- Fix: [#26752] The Cut-away View window doesn’t display negative height values correctly on some platforms.
- Fix: [#26756] Guests cannot puke or litter on sloped path.
- Fix: [#26758] [Plugin] IPv6 addresses are reported incorrectly.
- Fix: [#26775] Maze gets wrong intensity boost from size (0.02 per tile instead of 0.01 per 2 tiles).
- Fix: [#26805] Park entrance path is sometimes invisible when placed.
- Fix: [#26826] Invalid ride types can be set when the “Allow arbitrary ride type changes” cheat is enabled.
- Fix: [#26842] Best staff award doesn’t need one of each staff type.
2026-08-02 07:38:40 -03:00
Michał Janiszewski 9ad3b333c7 Upgrade action-gh-release from v2 to v3 (#26755) 2026-07-06 22:46:30 +02:00
Michał Janiszewski f503f57bdb Release v0.5.3
- Feature: [#26308] Add all new track pieces to the inverted roller coaster.
- Feature: [#26442] Add cheat to disable grass growing.
- Improved: [#7921] On Linux, RCT2 and RCT1 installs in Wine are now automatically detected.
- Improved: [#26325] Changing the train type, length, or direction no longer resets the number of laps if there is just one train.
- Improved: [objects#437] Re-order St. Basil’s Cathedral pieces to be more consistent.
- Change: [#26689] A clear scenario editor can now be opened directly from the command line.
- Change: [objects#439] Drop numbers from Wacky Worlds scenery descriptions.
- Fix: [#24613] Incorrect sprites drawn for path elements without a valid object.
- Fix: [#26323] Ride stats do not reset when changing the number of trains changes the number of laps.
- Fix: [#26494] The limits for where walls on the path side of the first tile block the view of rides/scenery are wrong (original bug).
- Fix: [#26504] The boosts/penalties to excitement and nausea that air time provides are calculated wrong.
- Fix: [#26545] Game crashes when plugin API function generateGuest fails to generate a guest.
- Fix: [#26578] Crash when drawing path elements without a valid object.
- Fix: [#26605] Desync when placing a track design in multiplayer.
- Fix: [#26654] Fix Alton Towers stall and Rock’n’Roll Revival toilet being closed on scenario start.
- Fix: [#26722] Missing construction rights owned on UCES Sand Dune scenario.
- Fix: [objects#411] Some colours in green, acid green, pink and red water are inconsistent with natural water.
- Fix: [objects#436] St. Basil’s Cathedral building pieces are incorrectly labelled as “Kremlin” pieces.
- Fix: [objects#438] Some walls are not marked as see-through while they don’t fully block the view.
- Fix: [objects#440] Inconsistencies in scenario/park name capitalisation.
2026-07-05 18:24:58 +02:00
Michał Janiszewski 7d2958ea63 Release v0.5.2
- Improved: [#26322] [Plugin] Add footpath flags to FootpathSurfaceObject in the plugin API.
- Improved: [#26566] Improve the performance of sorting sprites.
- Fix: [#26350] [Plugin] ListViews altered by plugins post their creation are not invalidated.
- Fix: [#26565] Game crashes when switching to another tab in the guest window.
- Fix: [#26583] The default tab is not highlighted when opening a ride window.
- Fix: [#26602] Crash when locating the nearest mechanic for a ride that has not previously been inspected.
- Fix: [#26615] Missing junction path tile in Build your own Six Flags Over Texas.
- Fix: [#26616] Fix gap in buyable land in Build your own Six Flags Magic Mountain.
- Fix: [#26624] Tile elements selected by clicking on them with the tile inspector open do not always redraw correctly.
- Fix: [#26634] Add missing park patch file for Build your own Six Flags Great Adventure.
2026-06-07 12:17:24 +02:00
Tulio Leao 90bec9b246 Release v0.5.1
- Feature: [#24242] [Plugin] Add ride-breakdown hooktype.
- Feature: [#24879] [Plugin] Add methods for showing and hiding gridlines.
- Feature: [#26327] Add ‘guests entertained’ statistic to entertainers.
- Improved: [#26374] Add higher resolution app icons for Android.
- Improved: [#26386] Initial window scale and toolbar options on fresh Android installations.
- Change: [#26476] Limit creation of new station styles to prepare for more flexibility with ride stations and entrances.
- Fix: [#25581] Chart drawing issue on some platforms due to compiler optimisation.
- Fix: [#26019] Inverted and Inverted Flying Roller Coaster large half loops glitch with the train and don‘t draw in tunnels at some angles (original bug).
- Fix: [#26183] The ride stat graph placeholder text is not drawn in the expected position.
- Fix: [#26287] Game crashes upon connect/disconnect of physical keyboard.
- Fix: [#26299] Single Rail S-Bend sprites don’t fully connect to the next track piece at certain angles.
- Fix: [#26352] Large scenery items are incorrectly labelled as ‘banners’ in the tile inspector.
- Fix: [#26352] The label for path additions is using the wrong text colour in the tile inspector.
- Fix: [#26360] Inverted Lay-down Roller Coaster helices are invisible when loading old saves.
- Fix: [#26396] [Plugin] Socket interfaces were not closing properly and firing up correctly in parallel.
- Fix: [#26410] Tiles with water can draw incorrectly when there is something underwater and nothing above water.
- Fix: [#26418] Game crashes when a stack overflow occurs in plugin code.
- Fix: [#26419] Drop count & negative g’s stat requirements for Flying Roller Coaster don’t get nullified by having an inversion.
- Fix: [#26421] Wrong scenery tab highlighted when more than 64 scenery groups are selected.
- Fix: [#26425] Benches don’t reduce watching spots from 4 to 2 while other path additions do (should be reversed).
- Fix: [#26432] Guests choose to head for rides they have already ridden if they don’t have a map.
- Fix: [#26492] Drag tool shows per-tile error instead of total cost when running out of money midway through placement.
- Fix: [#26510] Displayed air time overflows after 655.35 seconds instead of the internal maximum of 1966.05 seconds.
2026-05-17 07:08:45 -03:00
Michał Janiszewski 5f1f39c08e Modify CI workflow to adjust Windows runners (#26262)
Updated CI configuration to use 'windows-latest' for win32 and 'windows-2025-vs2026' for arm64.
2026-05-17 06:36:34 -03:00
Basssiiie ec47de51b0 Publish plugin API types to NPM only on main repository (#26561) 2026-05-16 19:28:37 +02:00
Michał Janiszewski 0161681dc5 Reconfigure CI ubuntu images to explicitly target version (#26527) 2026-05-16 19:27:13 +02:00
Gymnasiast db26e11183 Remove file_filter from clang-tidy job
Originally added here and stops clang-tidy from checking headers: https://github.com/OpenRCT2/OpenRCT2/pull/23465/changes#diff-2b7b9696b464e236f8066c1c1d33c6c91c95160f813e2b3fe59ddf0e83057ebf
2026-05-08 21:52:52 +02:00
Marino Rottier 6e45d802ec Automatically publish plugin types to NPM (#26283)
* add workflow and package.json for publishing plugin TypeScript types

* move scripting-related files to scripting folder

* add support for trusted publishers

* fix path to scripting readme

* rename scripting README.md back to scripting.md

* support tagged/dev releases

* add workflow for development versions

* Update package.json website

* change dependencies in publish-plugin-types

* add timestamp to dev plugin versions

* note ScriptEngine.h grep dependency from CI

* use gh-describe to track release version for dev plugin types
2026-04-28 21:25:57 +02:00
Gymnasiast 7e79603a6f Revert "Use VS 2022 for the v0.5.0 release (for W7 compatibility)"
This reverts commit fc900a4ce1.
2026-04-12 13:26:30 +02:00
Gymnasiast 075993c2c6 Release v0.5.0
- Feature: [#23465] Change plugin JavaScript engine from Duktape to QuickJS-NG, allowing ES6+ features to be used in plugins.
- Feature: [#26178] Port of the Spinning Cars from RollerCoaster Tycoon 1.
- Improved: [#25314] Add unbanked and banked quarter helices to the Alpine, Corkscrew, Giga, Hybrid, Looping, Mine Ride, Mini, Multi-Dimension, Single Rail, Stand Up, Steeplechase and Twister tracks.
- Improved: [#26044] Simplify Android installation by bundling OpenRCT2 assets in APK.
- Improved: [#26293] Objects extracted from saves now have more information in their filenames.
- Improved: [objects#432] Allow saving scenery from RCT1 with track designs.
- Change: [#25962] The station style dropdown now shows entrance icons next to the labels for easier selection.
- Change: [#26175] The ride colour tab is made more compact by collapsing unavailable sections instead of only hiding them.
- Change: [#26178] Symmetric spinning trains and legacy ‘pre-reversed’ trains can no longer be reversed.
- Fix: [#10616] Quarter-tile trees cannot be placed on dry portions of half-water tiles.
- Fix: [#25128] Mute button displayed in wrong state after load.
- Fix: [#25460] Infinite loop when moving track design ghost queue over queue loop with zero clearances.
- Fix: [#25735] Ride synchronisation z-check works incorrectly.
- Fix: [#25919] Path drag tool error sound stacks when placement fails.
- Fix: [#25926] Path drag tool shows cost for single tile instead of total.
- Fix: [#25927] Wall drag tool error sound stacks and shows wrong cost.
- Fix: [#25962] Dropdown triangle glyphs are not optically centred.
- Fix: [#25993] Toggling “allow arbitrary ride type changes” does not resize open ride windows.
- Fix: [#26111] Vehicle colours tab can go out of bounds in certain edge cases.
- Fix: [#26118] Windows installers for releases are not signed properly.
- Fix: [#26128] The loan spinner widget does not appear on the same baseline as the text around it.
- Fix: [#26140] The time a guest has spent in a queue overflows back to 0 after it reaches 65535 (about a year).
- Fix: [#26159] The map generator window is not resized correctly in Enlarged UI mode.
- Fix: [#26196] The sprites of one angle of the Steeplechase left large turn are misaligned (original bug).
- Fix: [#26214] The wrong sprite is used for one angle of the gentle diagonal slope of Alpine, Hybrid and Single Rail tracks.
- Fix: [#26243] Increase max dropdown size from 512 to 1024 to accommodate parks with more than 512 rides.
- Fix: [#26306] Platform::FindApp fails to locate Homebrew-installed tools on macOS.
- Fix: [#26339] Crash when setting up a marketing campaign.
- Fix: [objects#430] The RCT1 Reverse Freefall car can be reversed and show broken sprites when doing so.
2026-04-12 11:03:20 +02:00
Gymnasiast fc900a4ce1 Use VS 2022 for the v0.5.0 release (for W7 compatibility)
This is intended as a temporary commit since #26262 was not settled at the time of release.
2026-04-12 11:02:08 +02:00
16cd1c07ff Swap Duktape for quickjs-ng
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2026-04-01 02:18:36 +11:00
Michał Janiszewski 9b460d2f75 Android: adapt CI to bundle the assets 2026-03-22 17:44:47 +01:00
Michał Janiszewski 892d60cbde Update ccache-action version to v1.2.21 (#26210) 2026-03-17 14:22:28 -03:00
Michał Janiszewski 983432c9a4 MSVC 2026 (#26204)
* Update internal vstool.cmd to better detect new versions

* Switch windows CI image to VS 2026

* Move ARM64 MSVC build back to VS2022
2026-03-16 11:28:16 +01:00
Michał Janiszewski 27e3c0af58 Post code formatting changes as suggestions in PR (#25211) 2026-03-16 06:40:12 +01:00
Tulio Leao 25c7379b46 Release v0.4.32
- Feature: [#22704] Rides can be made invisible more easily.
- Improved: [#21753] Tracked rides with cheated powered launch mode can change powered launch speed without extra cheats.
- Improved: [#25526] When a shop item cannot be recoloured, show a preview of the building instead.
- Improved: [#25941] The command line sprite build command is now faster.
- Improved: [#26002] Rides with newer track elements (like the zero G roll or diagonal brakes) can now be saved as track designs.
- Improved: [#26026] Profiler is now thread safe and supports JSON export with call graph data.
- Improved: [#26050] Add Danish translation to Windows installer.
- Improved: [#26091] When all rides are closed, the marketing window will no longer show the ride advertisement campaign.
- Change: [#26011] Audio resampling no longer depends on the third-party library libspeexdsp.
- Change: [#26049] Guest generation now starts slowing down above 52000 guests instead of 7000.
- Fix: [#14686, #23996, #25981] Preview images from different windows overwrite each other when using OpenGL.
- Fix: [#15128, #15626, #16331, #17443, #18626, #21597, #24175, #24971, #25963] Crash when loading corrupted RCT2/RCT1 save files with duplicate entity indices.
- Fix: [#23519] Title sequence cannot open .sea scenarios from RCTC.
- Fix: [#25237] Wrong colours on the Knight costume (original bug).
- Fix: [#25712, #25727] Crash during startup from window list race condition.
- Fix: [#25763] Crash when opening the Footpath window in Multiplayer.
- Fix: [#25910] Folders starting with numbers are sorted incorrectly (e.g. 1, 10, 2 instead of 1, 2, 10).
- Fix: [#25954] Guests display hats, balloons, and umbrellas while puking.
- Fix: [#25961] Fix crash when rendering malformed vehicles in the ride window.
- Fix: [#25978] Frozen peeps start clapping when the scenario is won.
- Fix: [#25999] Scenery picker tool does not pick the tertiary colour of large scenery correctly.
- Fix: [#26037] Selecting elements in the tile inspector list and changing all tiles of a track piece does not redraw correctly.
- Fix: [#26057] In the scrolling intro, the Infogrames logo is taken off the screen before it reaches the bottom (original bug).
- Fix: [#26058] RCT Classic scenarios with packed objects missing from scenario index.
- Fix: [#26083] You can advertise for closed food & drink stalls.
2026-03-01 06:09:42 -03:00
Michał Janiszewski efb14fffe1 CI: Use images v26 from ghcr (#26070)
https://github.com/OpenRCT2/openrct2-docker-build/pkgs/container/openrct2-build

This version adds `gxc` (libsawyer) to android image and removes speexdsp
2026-02-20 19:29:48 +00:00
Michał Janiszewski 1e3790cb77 Optimize Android CI by splitting builds and parallelizing ABIs (#26069)
`src/openrct2-android/app/build.gradle` now supports `abiFilter` and
`skipNativeBuild` properties, which can be used to selectively build
individual architectures. Each architecture is built in its own job and
after the upload/download artifacts dance they get merged in the
`android` job.

This improves cache locality for ccache by splitting it into
ABI-specific keys.

The parameters are optional, so no changes are required to build
instructions - all the supported architectures will be built by default.
2026-02-20 20:06:09 +01:00
Michał Janiszewski 4bb8bd1215 Only remove unsigned installers when having signed versions (#26047) 2026-02-17 18:47:05 +01:00
Michał Janiszewski fd96c8208c Cache gradle
This targets initial gradle task which takes over a minute in CI:
> `Calculating task graph as no cached configuration is available for tasks: app:assembleRelease`
2026-02-09 09:50:48 +01:00
Michał Janiszewski a427f41f9b CI: Use images v25
Leave AppImage on now-removed 24-jammy
2026-02-08 21:39:45 +01:00
Michał Janiszewski 1723925c5c Use better filtering for unsigned artifacts in the release (#25924) 2026-02-05 21:44:28 +01:00
Michał Janiszewski 40d974d891 Move some workflows to ubuntu-slim (#25939)
* Move some CI jobs to ubuntu-slim

ubuntu-slim is a single-CPU hosted runner that uses containers instead
of VMs. It's useful for quick 'maintenance' jobs.

* Move some workflows to ubuntu-slim

`ubuntu-slim` is a single-CPU hosted runner that uses containers instead of VMs. It's useful for quick 'maintenance' jobs.
2026-02-03 14:27:07 +01:00
Michał Janiszewski a78a508cae Move some CI jobs to ubuntu-slim (#25938)
ubuntu-slim is a single-CPU hosted runner that uses containers instead
of VMs. It's useful for quick 'maintenance' jobs.
2026-02-03 12:09:43 +01:00
Michał Janiszewski e39737536b Update GitHub Actions versions (#25936) 2026-02-03 08:39:54 +00:00
Michał Janiszewski c0a599a141 Update upload/download-artifact actions (#25922) 2026-02-02 13:22:27 +01:00
Michał Janiszewski dae57fccf6 Release v0.4.31
- Feature: [#25844] The sprite builder now also supports adding JSON-based palettes.
- Improved: [#3788] Self-intersecting track designs can now be placed.
- Improved: [#25719] The weather change dropdown now shows icons next to the weather types for easier selection.
- Improved: [#25765] The ‘View options’ and ‘Special track elements’ dropdowns no longer need click-and-hold.
- Improved: [#25858] macOS now supports the onboarding menu.
- Improved: [#25882] Maze construction now auto-removes trees.
- Improved: [objects#421] The vehicle tab of some rides now shows more of the vehicle.
- Change: [#25018] Add upkeep cost to booster pieces.
- Fix: [#4643, #25167] Many metal supports draw with a filled in top when they didn’t in vanilla, causing some slight misalignment and glitching.
- Fix: [#15009] Landscaping tools do not display estimates when the game is paused (original bug).
- Fix: [#18441] Replacing footpaths sometimes results in a spurious “Footpath in the way” error (original bug).
- Fix: [#20620] In-game console caret does not update when pasting.
- Fix: [#20652] Twister Roller Coaster design ‘u(0241)’ has no preview and cannot be built (bug in track design).
- Fix: [#23859] Wrong banner text displayed after loading a different park.
- Fix: [#25221] When trying to cancel game file discovery, the prompt reappears.
- Fix: [#25703, #25889] Crash when scanning scenarios with packed objects in parallel.
- Fix: [#25739] Game freezes when a tab in the New Ride window contains more than 384 items.
- Fix: [#25745] Crash when a player connection is aborted early.
- Fix: [#25775] Network download sizes are in bytes instead of the listed kibibytes.
- Fix: [#25799] The animated options tab icon of the news window does not always redraw.
- Fix: [#25850] Guests do not have their happiness penalised by low energy, high hunger, high thirst, high toilet.
- Fix: [#25850] Ride nausea generation is different compared to vanilla.
- Fix: [#25854] When a guest is at 0 happiness or energy, the game draws too big of a bar in the guest stats window.
- Fix: [#25862] Diagonal and inclined brakes are not counted when calculating upkeep cost.
- Fix: [#25873] Repainting a banner in OpenRCT2-specific colours results in an error message.
- Fix: [#25879] Guest window viewport doesn’t follow vehicle when they board a ride.
- Fix: [#25908] Crash from use-after-free in banner text formatting during multithreaded rendering.
- Fix: [objects#419] Alignment of RCT2 red, yellow and green queue previews is off.
- Fix: [objects#424] Jet Aeroplane decor has a hole in it.
- Fix: [objects#425] Capacity of ‘Blob from outer space ride’ is incorrectly listed.
2026-02-01 16:17:17 +01:00
mix bb39b5baee Fix #25749: Windows release builds are not built with LTCG (#25895) 2026-01-31 10:31:38 +01:00
Aaron van Geffen e6fa0e48d0 Rework palette information into palettes.dat (#25681)
* Rework all palette information into new palette.dat

* Harmonise order between sprites.json, SpriteIds.h, kPaletteToG1Offset

* Rename G1 counterparts for completeness/documentation

* Bump libsawyer to v1.4.0
2026-01-25 10:39:18 +01:00
Aaron van Geffen db94c4fcd6 Automatically apply basic pull request labels (#25770) 2026-01-13 09:52:34 +01:00
Michał Janiszewski b0f30a5bfa Release v0.4.30
- Improved: [#24912] Staff now use an appropriate standing animation while waiting at level crossings.
- Improved: [#25515] Path dragging can now be disabled via multiplayer group permissions.
- Improved: [#25529] The map selection grid no longer redraws every frame if it has not changed.
- Improved: [#25530] Wall dragging can now be cancelled without closing the Scenery window.
- Improved: [#25575] Updated the network protocol to a new format that supports larger packets, allowing clients to connect reliably to servers with many objects or large maps.
- Improved: [#25621] Added the Polish Złoty (PLN) to the list of available currencies.
- Improved: [#25625] Renewing and refurbishing rides now also resets the downtime.
- Improved: [#25662] The sprite build command is faster when building sprites from the same image file.
- Change: [#21912] Toilet income is now categorised as shop sales instead of ride tickets.
- Change: [#25403] Guests will not slide down the Spiral Slide if it's broken, even if they have already entered the ride structure.
- Change: [#25485] Make the enlarged pressed swatch sprite more pronounced.
- Change: [#25544] The default game window size is now 1280×720px instead of 640×480px.
- Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus.
- Fix: [#11617] Path corner connections are broken when hovering track design ghosts with paths over them in zero clearances.
- Fix: [#22484] Lingering ghost entrance after placing park entrance.
- Fix: [#24952] Duplicate track designs when running via Steam without having RCT1 linked.
- Fix: [#25187] On-ride photo platform does not render as ghost when placing track design.
- Fix: [#25229] Excessive logging of game actions, reduced to top-level game actions and filters ghost related ones.
- Fix: [#25469] Drawing in the ui.imageManager.draw callback causes an assertion.
- Fix: [#25524] The track construction arrow does not immediately change position when deleting track pieces.
- Fix: [#25552] Clear Scenery does not show an error message about insufficient money if cash is negative.
- Fix: [#25565] Chairlift station ends are missing tunnels at certain rotations.
- Fix: [#25569] Placing park entrances in multiplayer does not show for other players, causing desyncs.
- Fix: [#25571] Potential crash due to drawing a Crooked House ride.
- Fix: [#25588] When the master server becomes unreachable the server would not register again until a restart.
- Fix: [#25592] Log flume, river rapids, & splash boats can get control failure breakdown instead of brakes failure.
- Fix: [#25595] Invisible entrance is added to imported SV4 saves.
- Fix: [#25601] Inspection interval of a ride gets reset when opening the construction window.
- Fix: [#25628] Availability of AVX2 and SSE4.1 is not detected correctly.
- Fix: [#25639] Scenery window crashes when a no longer present object is still selected.
- Fix: [#25641] Desync because of mismatching inspection intervals.
- Fix: [#25642] The selection marker for purchasing land rights is not drawn with the correct colours.
- Fix: [#25646] It is possible to remove scenery and paths when setting staff patrol areas and purchasing land.
- Fix: [#25660] After saving a track design with scenery, that ride’s entrances and exits are visible in ‘Highlight path issues’ mode.
- Fix: [#25717] Umbrellas given to guests by means of cheats do not use the full (extended) range of colours.
2026-01-04 16:56:35 +01:00
Gymnasiast ebe87be3da Release v0.4.29
- Feature: [#25459] Wall line dragging tool.
- Improved: [#25028] Stalls now support colour presets, just like regular rides.
- Improved: [#25426] Building the track designs index is now quicker.
- Improved: [#25490] The ‘New Ride’ window can now be resized.
- Fix: [#6228] The saved queue line path connections are not preserved when placing track designs (original bug).
- Fix: [#14365] Track designs with scenery below the lowest track piece do not preview correctly.
- Fix: [#25451] Dropdown item tooltips stay open if the mouse is moved over an empty space.
- Fix: [#25454] Opening the land tool while building a path bridge or tunnel closes the Footpaths window.
- Fix: [#25461] Path connections in raised track designs are sometimes broken when placed.
- Fix: [#25467] Paths are not connected together correctly in track design previews.
- Fix: [#25476] When both RCT2 and RCT1 are present, autodetection fails.
- Fix: [#25480] The mini track design preview and price are misaligned in Enlarged UI mode.
- Fix: [#25488] Crash in headless mode.
- Fix: [#25494] The Go-Karts steep to flat track does not draw correctly in the flat side tunnel.
- Fix: [#25518] The virtual floor does not draw correctly if expanded on the positive x and y axes.
- Fix: [#25519] Crackling audio when sampling frequencies do not match.
- Fix: [objects#401] Round tunnels on down slopes glitch.
- Fix: [objects#404] Wooden Wild Mine cars incorrectly allow setting a third remap colour.
- Fix: [objects#408] Australian fountain sets have confusing naming.
- Fix: [objects#409] LIM Launched Coaster trains incorrectly have a 10% intensity modifier set (original bug).
- Fix: [objects#410] Large scenery from the Wacky Worlds Africa theming have incorrect previews when using specific versions of the RCT2 base game.
- Fix: [objects#415] Penguin bobsleigh trains show incorrect sprites on the 12° down slope (original bug).
2025-11-22 18:16:07 +01:00
Aaron van Geffen 5847457391 Release v0.4.28
- Feature: [#25286] Footpath area dragging tool.
- Feature: [#25379] Add an option to the command line screenshot function to draw debug segment heights.
- Improved: [#21375] The `load_object` console command now allows loading JSON objects.
- Improved: [#25297] Paths on the ground in SV4/SC4 no longer block supports of the paths above.
- Improved: [#25349] ‘Recent Messages’ window can now be fully themed.
- Improved: [#25433] Colour dropdown now uses bigger images in Enlarged UI mode.
- Change: [#25089] Peep actions and animations that cause them to stop moving no longer trigger when they are on a level crossing.
- Change: [#25337] Placing track designs with scenery that is obstructed no longer disables all of the scenery.
- Fix: [#20198] Guest inventory from RCT1 base game saves is not imported.
- Fix: [#20486] Multiplayer desync when placing track designs without any scenery.
- Fix: [#22779, #25330] Incorrect queue paths in Nevermore Park and Six Flags Holland scenarios (bug in the original scenarios).
- Fix: [#24975] The Corkscrew and LIM Launched (original bug) roller coaster quarter loop tunnels are too high.
- Fix: [#25139] Steam locomotive and tram claxons can sound louder than normal when approaching crossings that span multiple tiles.
- Fix: [#25190] Inserting a block brake while a coaster is simulating will cause the simulation to behave strangely.
- Fix: [#25206] System file picker does not show up on the Steam Deck.
- Fix: [#25272] Text colour dropdown in the Banner window is too narrow, resulting in truncated labels.
- Fix: [#25299] The Mine Train Coaster left large helix draws incorrect sprites at certain angles (original bug).
- Fix: [#25328] Spiral Slide in Blackpool Pleasure Beach has its entrance and exit the wrong way round (bug in the original scenario).
- Fix: [#25342] The Go-Karts medium right gentle sloped turn does not have a tunnel at the end.
- Fix: [#25349] Items in Recent Messages are too narrow if there is no scrollbar visible.
- Fix: [#25350] The scrolling intro background switches colour halfway through (original bug).
- Fix: [#25350] When skipping the scrolling intro, the screen does not get cleared properly.
- Fix: [#25350] Scrolling intro cannot be skipped using a mouse click.
- Fix: [#25358] The Stand Up Roller Coaster left corkscrew does not block supports correctly.
- Fix: [#25363] The Mine Train Coaster flat-to-steep track pieces do not block all metal supports.
- Fix: [#25369] The Go-Karts medium turns and small flat and sloped turns do not block metal supports correctly.
- Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently.
- Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports.
- Fix: [#25378] The land tool sometimes allows land to be raised through a maze.
- Fix: [#25380] The Lay-down Roller Coaster left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#25388] The Shortcut Keys window uses the wrong colours for separators, scrollbars and buttons.
- Fix: [#25401] Mazes can be built 2 units higher than their support limits.
- Fix: [#25404] Guests that have been removed with the remove all guests cheat will still be visible if they were sliding down the Spiral Slide.
- Fix: [#25410] Guest flags (e.g. tracking) not imported from RCT1.
2025-11-01 10:16:13 +01:00
Tulio Leao dbb9fd9dec Release v0.4.27
- Feature: [#25218] `sprite exportobject` command, which allows extracting images from an object.
- Feature: [#25274] New title sequence (see https://github.com/OpenRCT2/title-sequences/releases/tag/v0.4.26 for credits).
- Improved: [#2296, #2307] The land tool now takes sloped track and paths into account when modifying land.
- Change: [#25111] Frozen guests no longer finish consuming any food or drink they are carrying.
- Change: [#25161] Revert to the ‘fair ride price’ calculation of vanilla RCT2.
- Change: [#25201] Ride List: put unknown popularity and satisfaction last when sorting.
- Change: [#25228] [Plugin] The available staff costumes array is now ordered alphabetically by name.
- Change: [#25240] The LIM Launched Coaster now defaults to powered launch without passing station again (as it did in vanilla RCT2).
- Change: [#25248] Revert Crooked House & Circus default prices to vanilla values.
- Change: [#25266] Lightning and thunder have less chance of occurring during blizzards.
- Removed: [#25225] `sprite exportalldat`, replaced with `sprite exportobject`.
- Fix: [#24513] Ride/track designs can now be shifted underground as well.
- Fix: [#24682] The scenery window isn't high enough to accommodate all tool buttons when there are multiple rows of groups/tabs.
- Fix: [#24882] Guests are shown with hats and umbrellas whilst clapping.
- Fix: [#24998] Some custom small scenery objects do not load.
- Fix: [#25131] The Reverse Freefall Coaster On-ride photo section track has incorrectly coloured ties.
- Fix: [#25132] Crash when trying to use simulate on incomplete ride.
- Fix: [#25134] Vehicles visually glitch on diagonal steep slopes.
- Fix: [#25146] The support clearance height of the diagonal brakes for the Junior, inverted Flying and inverted Lay-down Roller Coasters is too high.
- Fix: [#25147] The wooden support clearance heights for steep Log Flume track pieces are too low.
- Fix: [#25159] One of the tiles on the Hybrid Coaster diagonal flat track does not block metal or wooden supports correctly.
- Fix: [#25160] The Go-Karts steep to flat track piece has incorrect wooden support clearance heights.
- Fix: [#25163] Some of the Junior Roller Coaster flat to steep track wooden support clearance heights are different to RCT1.
- Fix: [#25173] Desync when placing a park entrance in multiplayer.
- Fix: [#25179] The LIM Launched Roller Coaster inline twists have incorrect wooden support clearance heights (original bug).
- Fix: [#25201] Ride list sort order can be unstable when sorted in descending order.
- Fix: [#25207] Building a block brake on an LIM coaster does not automatically switch it to powered launch block sectioned mode.
- Fix: [#25238] The chance of thunder and lightning effects happening is lower than vanilla.
- Fix: [#25288] Water ride “chain” sound does not loop.
2025-10-04 05:43:14 -03:00
Michał Janiszewski 7f5a56e047 Update default permissions for pull requests (#25224)
Update permissions for actions for #25211 .

It needs to be done this way and *not* via token, because pull
requests have no access to secrets.

The default branch dictates what kind of access the default actions token has
(constrained by repo config in https://github.com/OpenRCT2/OpenRCT2/settings/actions)
2025-09-22 22:54:12 +02:00
Michał Janiszewski fdcfd8704b Mark git directory as safe for formatting job 2025-09-19 14:55:10 +02:00
Michał Janiszewski 159b705593 Update CI images to 24
This introduces git to formatting image
2025-09-19 14:55:10 +02:00
Michael Steenbeek 88e68a5e3b Prevent PRs marked "on hold" from going stale (#25188) 2025-09-17 00:23:59 +02:00
Michał Janiszewski d65b1144e8 Skip stripping of Linux binaries (#25037) 2025-09-08 23:11:13 +02:00
Michał Janiszewski 84fc3bcf5e Release v0.4.26
- Feature: [#24949] Add an option to the command line screenshot function to draw debug bounding boxes.
- Improved: [#9890, #18714] Rides using block-sectioned operating modes can now enter simulating mode without having to complete the circuit first.
- Improved: [#24734] Save files now use Zstd compression for faster saving and smaller files.
- Improved: [#24890] The ride list is now searchable.
- Improved: [#24893] The ride list now has headers, and can be sorted in both directions.
- Improved: [#24921] The command line sprite build command now prints out the images table entry for the compiled sprite file.
- Improved: [#24953] Opening the Scenario Editor, Track Designer or Track Designs Manager now display the progress bar.
- Improved: [#25027] Land style dropdown now has tooltips with the name of the land types.
- Improved: [#25057] The progress window now has a Go Karts variant.
- Change: [#23351] Diagonal sloped Go-Kart track can no longer be built without cheats if the karts do not have sprites for them.
- Change: [#24606] Increase Misc Entity limit from 1600 to 3200.
- Change: [#24974] Raise the Go-Karts maximum support height to allow 2 large sloped turns to be built on flat ground.
- Change: [#25024] Guests in mazes no longer jump during heavy snow or blizzards, as they would when it rains.
- Fix: [#12831] Zooming to cursor on land edges sometimes causes the camera to move to the wrong position.
- Fix: [#16988] AppImage version does not show changelog.
- Fix: [#19137] Non-inverted left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#23440] Quarter loops do not block metal supports correctly (original bug).
- Fix: [#24001] Sloped diagonal metal supports that are offset with a crossbeam draw incorrectly.
- Fix: [#24151] Sprites are cut off by 1 row of pixels when using OpenGL on Intel Macs.
- Fix: [#24173] Allow all game speeds between 1 and 8 when debugging tools are enabled.
- Fix: [#24745] Potential crash when lighting effects are enabled and loading a save or a new scenario.
- Fix: [#24835] Dive loop track pieces do not have tunnels.
- Fix: [#24884] Smooth map and add beaches functions use incorrect map size with height map image files.
- Fix: [#24915] LIM Launched (original bug), Corkscrew and Twister Roller Coaster inline twists have some incorrect tunnels.
- Fix: [#24916] LIM Launched inline twists can draw over land edges when built underground (original bug).
- Fix: [#24953] Crash when opening the Scenario Editor, Track Designer or Track Designs Manager.
- Fix: [#24955] Hybrid Zero G Rolls do not fully block metal supports.
- Fix: [#24958] Android: fix crash when device is offline.
- Fix: [#24961] Queues with corner connections set with the tile inspector draw incorrect sprites.
- Fix: [#24972] Fix crash when closing windows would open other windows.
- Fix: [#24986] LIM Launched Roller Coaster inline twists block metal supports on the wrong side (original bug).
- Fix: [#24989] Classic Wooden Roller Coaster small banked turns do not block metal supports correctly.
- Fix: [#24993] The Mine Train Coaster sloped left medium turn has an incorrectly rotated support at one angle.
- Fix: [#24994] The Alpine Coaster and Mine Ride left s-bends have an incorrectly rotated support at certain angles.
- Fix: [#25001] The Hybrid Coaster small banked sloped right turn and large sloped right turn to orthogonal have some incorrectly rotated supports.
- Fix: [#25002] The large right turn to diagonal on the Miniature Railway draws incorrectly at certain angles.
- Fix: [#25005] The Corkscrew Roller Coaster inline twist inverted supports draw below the track.
- Fix: [#25006] The Twister Roller Coaster inline twists do not draw in tunnels at some angles.
- Fix: [#25046] Zooming with the zoom buttons on the extra viewport is not focused on the centre of the viewport.
- Fix: [#25054] Panning a viewport in a window that is partially outside the game’s window can draw incorrectly or crash in software rendering.
- Fix: [#25062] Certain peep actions cannot be triggered if they are under or inside a track piece due to faulty verification of them being on a level crossing.
- Fix: [#25067] Progress bars can flicker when downloading maps in multiplayer mode.
- Fix: [#25075] The Hybrid Coaster quarter loops draw over land edges and walls directly next to them.
- Fix: [#25080] Water has missing land edges when opposite corners of the tile and adjacent tile are the same height and the others are lower.
2025-09-06 19:41:24 +02:00
Michał Janiszewski 66665c8a81 Use macos-15-built libraries v40 (#24939)
* Use macos-15-built libraries v40

Windows version is the same as v38, no need to update

* Use macos-15 in CI

* Build libopenrct2 statically

* Skip creating universal libopenrct2.dylib as it no longer exists

* Force static linking on macOS
2025-08-26 07:04:30 +02:00
Michał Janiszewski fd1a2c943b Run tests on macos amd64 (#24964)
We can't run aarch64 tests on amd64, but we can run amd64 on aarch64
using rosetta
2025-08-14 11:12:07 +03:00
Michał Janiszewski 81e956bbfd Add Trixie (#24950)
* Use CI images v23, add trixie

* Use per-linux-release cache key
2025-08-11 12:21:45 +00:00