Use assets.json as single source of truth for OpenRCT2 assets (#25968)

* Use assets.json as single source of truth for OpenRCT2 assets

This ensures there's single source of truth for all downloadable assets.
I figured the "version" information is actually redundant because we can
embed the whole URL as the "zipversion", therefore this is dropped now.

The newly-introdcued MSBuild task uses Roslyn-based code and I updated
`DownloadDependency` task to RoslynCodeTaskFactory as well.

* Rename OpenMSX to OpenMusic
This commit is contained in:
Michał Janiszewski authored and GitHub committed 2026-02-12 21:44:42 +01:00
1 parent 8ff9efa3a1
commit 37545dfd5e
5 files changed
+159 -56

No files matched your search

+3 -7
View File
@@ -235,32 +235,28 @@ if(MACOS_BUNDLE)
set(OBJECTS_DIR ${CMAKE_BINARY_DIR}/object)
set(TITLE_SEQUENCE_DIR ${CMAKE_BINARY_DIR}/sequence)
download_openrct2_zip(
ZIP_VERSION ${OBJECTS_VERSION}
DOWNLOAD_DIR ${OBJECTS_DIR}
ZIP_URL ${OBJECTS_URL}
SHA256 ${OBJECTS_SHA256}
)
download_openrct2_zip(
ZIP_VERSION ${TITLE_SEQUENCE_VERSION}
DOWNLOAD_DIR ${TITLE_SEQUENCE_DIR}
ZIP_URL ${TITLE_SEQUENCE_URL}
SHA256 ${TITLE_SEQUENCE_SHA256}
)
# Download opensfx and openmsx
# Download opensfx and openmusic
set(ASSET_PACK_DIR ${CMAKE_BINARY_DIR}/assetpack)
download_openrct2_zip(
ZIP_VERSION ${OPENSFX_VERSION}
DOWNLOAD_DIR ${CMAKE_BINARY_DIR}
ZIP_URL ${OPENSFX_URL}
SHA256 ${OPENSFX_SHA256}
)
download_openrct2_zip(
ZIP_VERSION ${OPENMSX_VERSION}
DOWNLOAD_DIR ${CMAKE_BINARY_DIR}
ZIP_URL ${OPENMSX_URL}
SHA256 ${OPENMSX_SHA256}
ZIP_URL ${OPENMUSIC_URL}
SHA256 ${OPENMUSIC_SHA256}
)
# Copy downloaded data