@@ -1289,6 +1289,9 @@ const char *RenamesMap3To4::csharp_signals_renames[][2] = {
1289
1289
};
1290
1290
1291
1291
const char *RenamesMap3To4::project_settings_renames[][2 ] = {
1292
+ // Project setting paths in scripts include the category, but in project.godot,
1293
+ // the category is the section delimiter, so we need to support the paths without it.
1294
+ // The project.godot remaps are defined in the project_godot_renames, keep them in sync!
1292
1295
{ " audio/channel_disable_threshold_db" , " audio/buses/channel_disable_threshold_db" },
1293
1296
{ " audio/channel_disable_time" , " audio/buses/channel_disable_time" },
1294
1297
{ " audio/default_bus_layout" , " audio/buses/default_bus_layout" },
@@ -1298,6 +1301,10 @@ const char *RenamesMap3To4::project_settings_renames[][2] = {
1298
1301
{ " audio/output_latency" , " audio/driver/output_latency" },
1299
1302
{ " audio/output_latency.web" , " audio/driver/output_latency.web" },
1300
1303
{ " audio/video_delay_compensation_ms" , " audio/video/video_delay_compensation_ms" },
1304
+ { " display/window/size/width" , " display/window/size/viewport_width" },
1305
+ { " display/window/size/height" , " display/window/size/viewport_height" },
1306
+ { " display/window/size/test_width" , " display/window/size/window_width_override" },
1307
+ { " display/window/size/test_height" , " display/window/size/window_height_override" },
1301
1308
{ " display/window/vsync/use_vsync" , " display/window/vsync/vsync_mode" },
1302
1309
{ " editor/main_run_args" , " editor/run/main_run_args" },
1303
1310
{ " gui/common/swap_ok_cancel" , " gui/common/swap_cancel_ok" },
@@ -1325,10 +1332,52 @@ const char *RenamesMap3To4::project_settings_renames[][2] = {
1325
1332
{ " rendering/quality/shadow_atlas/size.mobile" , " rendering/lights_and_shadows/shadow_atlas/size.mobile" },
1326
1333
{ " rendering/vram_compression/import_etc2" , " rendering/textures/vram_compression/import_etc2_astc" },
1327
1334
{ " rendering/vram_compression/import_s3tc" , " rendering/textures/vram_compression/import_s3tc_bptc" },
1335
+
1336
+ { nullptr , nullptr },
1337
+ };
1338
+
1339
+ const char *RenamesMap3To4::project_godot_renames[][2 ] = {
1340
+ // Should be kept in sync with project_settings_renames.
1341
+ { " channel_disable_threshold_db" , " buses/channel_disable_threshold_db" },
1342
+ { " channel_disable_time" , " buses/channel_disable_time" },
1343
+ { " default_bus_layout" , " buses/default_bus_layout" },
1344
+ // { "driver", "driver/driver" }, -- Risk of conflicts.
1345
+ { " enable_audio_input" , " driver/enable_input" },
1346
+ // { "mix_rate", "driver/mix_rate" }, -- Risk of conflicts.
1347
+ { " output_latency" , " driver/output_latency" },
1348
+ { " output_latency.web" , " driver/output_latency.web" },
1349
+ { " video_delay_compensation_ms" , " video/video_delay_compensation_ms" },
1328
1350
{ " window/size/width" , " window/size/viewport_width" },
1329
1351
{ " window/size/height" , " window/size/viewport_height" },
1330
1352
{ " window/size/test_width" , " window/size/window_width_override" },
1331
1353
{ " window/size/test_height" , " window/size/window_height_override" },
1354
+ { " window/vsync/use_vsync" , " window/vsync/vsync_mode" },
1355
+ { " main_run_args" , " run/main_run_args" },
1356
+ { " common/swap_ok_cancel" , " common/swap_cancel_ok" },
1357
+ { " limits/debugger_stdout/max_chars_per_second" , " limits/debugger/max_chars_per_second" },
1358
+ { " limits/debugger_stdout/max_errors_per_second" , " limits/debugger/max_errors_per_second" },
1359
+ { " limits/debugger_stdout/max_messages_per_frame" , " limits/debugger/max_queued_messages" },
1360
+ { " limits/debugger_stdout/max_warnings_per_second" , " limits/debugger/max_warnings_per_second" },
1361
+ { " ssl/certificates" , " tls/certificate_bundle_override" },
1362
+ { " 2d/thread_model" , " 2d/run_on_thread" }, // TODO: Not sure.
1363
+ { " environment/default_clear_color" , " environment/defaults/default_clear_color" },
1364
+ { " environment/default_environment" , " environment/defaults/default_environment" },
1365
+ { " quality/depth_prepass/disable_for_vendors" , " driver/depth_prepass/disable_for_vendors" },
1366
+ { " quality/depth_prepass/enable" , " driver/depth_prepass/enable" },
1367
+ { " quality/shading/force_blinn_over_ggx" , " shading/overrides/force_blinn_over_ggx" },
1368
+ { " quality/shading/force_blinn_over_ggx.mobile" , " shading/overrides/force_blinn_over_ggx.mobile" },
1369
+ { " quality/shading/force_lambert_over_burley" , " shading/overrides/force_lambert_over_burley" },
1370
+ { " quality/shading/force_lambert_over_burley.mobile" , " shading/overrides/force_lambert_over_burley.mobile" },
1371
+ { " quality/shading/force_vertex_shading" , " shading/overrides/force_vertex_shading" },
1372
+ { " quality/shading/force_vertex_shading.mobile" , " shading/overrides/force_vertex_shading.mobile" },
1373
+ { " quality/shadow_atlas/quadrant_0_subdiv" , " lights_and_shadows/shadow_atlas/quadrant_0_subdiv" },
1374
+ { " quality/shadow_atlas/quadrant_1_subdiv" , " lights_and_shadows/shadow_atlas/quadrant_1_subdiv" },
1375
+ { " quality/shadow_atlas/quadrant_2_subdiv" , " lights_and_shadows/shadow_atlas/quadrant_2_subdiv" },
1376
+ { " quality/shadow_atlas/quadrant_3_subdiv" , " lights_and_shadows/shadow_atlas/quadrant_3_subdiv" },
1377
+ { " quality/shadow_atlas/size" , " lights_and_shadows/shadow_atlas/size" },
1378
+ { " quality/shadow_atlas/size.mobile" , " lights_and_shadows/shadow_atlas/size.mobile" },
1379
+ { " vram_compression/import_etc2" , " textures/vram_compression/import_etc2_astc" },
1380
+ { " vram_compression/import_s3tc" , " textures/vram_compression/import_s3tc_bptc" },
1332
1381
1333
1382
{ nullptr , nullptr },
1334
1383
};
0 commit comments