Skip to content

Commit 9e64077

Browse files
committed
♻️ Removed MD5 checks from contentpacks.
We need a more flexible solution: https://discord.com/channels/136544456244461568/189904947649708032/1321938559577624628
1 parent 849727e commit 9e64077

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

cmake/Macros.cmake

+1-2
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,11 @@ macro(lift_var)
155155
endforeach ()
156156
endmacro()
157157

158-
macro(dl_contentpack url name hash)
158+
macro(dl_contentpack url name)
159159
set(cname "CP_${name}")
160160
FetchContent_Declare(
161161
${cname}
162162
URL ${url}
163-
URL_MD5 ${hash}
164163
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
165164
SOURCE_DIR "${CMAKE_BINARY_DIR}/ContentPack/${name}"
166165
)

source/main/CMakeLists.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -580,12 +580,12 @@ if (WIN32 AND NOT ROR_BUILD_INSTALLER STREQUAL "Off")
580580
endif ()
581581

582582
if(NOT ROR_BUILD_INSTALLER STREQUAL "Offline")
583-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trucks-heavy-equipment.490/download" "HeavyEquipment" "49a6edcce914f3d5fd57204342091c62")
584-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-cars-light-vehicles.491/download" "LightVehicles" "1f5c074708f4c6d27391e612d41d871c")
585-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trailers-loads.492/download" "Loads" "c86e4d5c605f6c97efc4da25257061bb")
586-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-air-sea.495/download" "AirSea" "d5510617dfbc64791e4006522a5110de")
587-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trains.494/download" "Trains" "0927db107a7d8a164f57c9b45d57f773")
588-
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-terrains.496/download" "Terrains" "48374d3f90045b6cd9a8271f1531f4b4")
583+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trucks-heavy-equipment.490/download" "HeavyEquipment")
584+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-cars-light-vehicles.491/download" "LightVehicles")
585+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trailers-loads.492/download" "Loads")
586+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-air-sea.495/download" "AirSea")
587+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-trains.494/download" "Trains")
588+
dl_contentpack("http://forum.rigsofrods.org/resources/content-pack-terrains.496/download" "Terrains")
589589
endif ()
590590
else ()
591591
set(CPACK_GENERATOR ZIP)

0 commit comments

Comments
 (0)