Skip to content

Commit cb5dd0d

Browse files
updatepo.shsfan5
updatepo.sh
authored andcommittedJun 16, 2021
Update minetest.conf.example and dummy translation file
1 parent ce0541f commit cb5dd0d

File tree

2 files changed

+127
-67
lines changed

2 files changed

+127
-67
lines changed
 

‎minetest.conf.example

+87-42
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# type: bool
3131
# pitch_move = false
3232

33-
# Fast movement (via the "special" key).
33+
# Fast movement (via the "Aux1" key).
3434
# This requires the "fast" privilege on the server.
3535
# type: bool
3636
# fast_move = false
@@ -61,7 +61,7 @@
6161
# type: float
6262
# mouse_sensitivity = 0.2
6363

64-
# If enabled, "special" key instead of "sneak" key is used for climbing down and
64+
# If enabled, "Aux1" key instead of "Sneak" key is used for climbing down and
6565
# descending.
6666
# type: bool
6767
# aux1_descends = false
@@ -70,7 +70,7 @@
7070
# type: bool
7171
# doubletap_jump = false
7272

73-
# If disabled, "special" key is used to fly fast if both fly and fast mode are
73+
# If disabled, "Aux1" key is used to fly fast if both fly and fast mode are
7474
# enabled.
7575
# type: bool
7676
# always_fly_fast = true
@@ -107,10 +107,10 @@
107107
# type: bool
108108
# fixed_virtual_joystick = false
109109

110-
# (Android) Use virtual joystick to trigger "aux" button.
111-
# If enabled, virtual joystick will also tap "aux" button when out of main circle.
110+
# (Android) Use virtual joystick to trigger "Aux1" button.
111+
# If enabled, virtual joystick will also tap "Aux1" button when out of main circle.
112112
# type: bool
113-
# virtual_joystick_triggers_aux = false
113+
# virtual_joystick_triggers_aux1 = false
114114

115115
# Enable joysticks
116116
# type: bool
@@ -188,7 +188,7 @@
188188
# Key for moving fast in fast mode.
189189
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
190190
# type: key
191-
# keymap_special1 = KEY_KEY_E
191+
# keymap_aux1 = KEY_KEY_E
192192

193193
# Key for opening the chat window.
194194
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
@@ -570,19 +570,18 @@
570570
# trilinear_filter = false
571571

572572
# Filtered textures can blend RGB values with fully-transparent neighbors,
573-
# which PNG optimizers usually discard, sometimes resulting in a dark or
574-
# light edge to transparent textures. Apply this filter to clean that up
575-
# at texture load time.
573+
# which PNG optimizers usually discard, often resulting in dark or
574+
# light edges to transparent textures. Apply a filter to clean that up
575+
# at texture load time. This is automatically enabled if mipmapping is enabled.
576576
# type: bool
577577
# texture_clean_transparent = false
578578

579579
# When using bilinear/trilinear/anisotropic filters, low-resolution textures
580580
# can be blurred, so automatically upscale them with nearest-neighbor
581581
# interpolation to preserve crisp pixels. This sets the minimum texture size
582582
# for the upscaled textures; higher values look sharper, but require more
583-
# memory. Powers of 2 are recommended. Setting this higher than 1 may not
584-
# have a visible effect unless bilinear/trilinear/anisotropic filtering is
585-
# enabled.
583+
# memory. Powers of 2 are recommended. This setting is ONLY applies if
584+
# bilinear/trilinear/anisotropic filtering is enabled.
586585
# This is also used as the base node texture size for world-aligned
587586
# texture autoscaling.
588587
# type: int
@@ -662,6 +661,68 @@
662661
# type: bool
663662
# enable_waving_plants = false
664663

664+
#### Dynamic shadows
665+
666+
# Set to true to enable Shadow Mapping.
667+
# Requires shaders to be enabled.
668+
# type: bool
669+
# enable_dynamic_shadows = false
670+
671+
# Set the shadow strength.
672+
# Lower value means lighter shadows, higher value means darker shadows.
673+
# type: float min: 0.05 max: 1
674+
# shadow_strength = 0.2
675+
676+
# Maximum distance to render shadows.
677+
# type: float min: 10 max: 1000
678+
# shadow_map_max_distance = 120.0
679+
680+
# Texture size to render the shadow map on.
681+
# This must be a power of two.
682+
# Bigger numbers create better shadowsbut it is also more expensive.
683+
# type: int min: 128 max: 8192
684+
# shadow_map_texture_size = 1024
685+
686+
# Sets shadow texture quality to 32 bits.
687+
# On false, 16 bits texture will be used.
688+
# This can cause much more artifacts in the shadow.
689+
# type: bool
690+
# shadow_map_texture_32bit = true
691+
692+
# Enable poisson disk filtering.
693+
# On true uses poisson disk to make "soft shadows". Otherwise uses PCF filtering.
694+
# type: bool
695+
# shadow_poisson_filter = true
696+
697+
# Define shadow filtering quality
698+
# This simulates the soft shadows effect by applying a PCF or poisson disk
699+
# but also uses more resources.
700+
# type: enum values: 0, 1, 2
701+
# shadow_filters = 1
702+
703+
# Enable colored shadows.
704+
# On true translucent nodes cast colored shadows. This is expensive.
705+
# type: bool
706+
# shadow_map_color = false
707+
708+
# Set the shadow update time.
709+
# Lower value means shadows and map updates faster, but it consume more resources.
710+
# Minimun value 0.001 seconds max value 0.2 seconds
711+
# type: float min: 0.001 max: 0.2
712+
# shadow_update_time = 0.2
713+
714+
# Set the soft shadow radius size.
715+
# Lower values mean sharper shadows bigger values softer.
716+
# Minimun value 1.0 and max value 10.0
717+
# type: float min: 1 max: 10
718+
# shadow_soft_radius = 1.0
719+
720+
# Set the tilt of Sun/Moon orbit in degrees
721+
# Value of 0 means no tilt / vertical orbit.
722+
# Minimun value 0.0 and max value 60.0
723+
# type: float min: 0 max: 60
724+
# shadow_sky_body_orbit_tilt = 0.0
725+
665726
### Advanced
666727

667728
# Arm inertia, gives a more realistic movement of
@@ -694,11 +755,11 @@
694755
# type: float min: 0 max: 0.25
695756
# near_plane = 0.1
696757

697-
# Width component of the initial window size.
758+
# Width component of the initial window size. Ignored in fullscreen mode.
698759
# type: int min: 1
699760
# screen_w = 1024
700761

701-
# Height component of the initial window size.
762+
# Height component of the initial window size. Ignored in fullscreen mode.
702763
# type: int min: 1
703764
# screen_h = 600
704765

@@ -710,10 +771,6 @@
710771
# type: bool
711772
# fullscreen = false
712773

713-
# Bits per pixel (aka color depth) in fullscreen mode.
714-
# type: int
715-
# fullscreen_bpp = 24
716-
717774
# Vertical screen synchronization.
718775
# type: bool
719776
# vsync = false
@@ -1011,7 +1068,7 @@
10111068
# font_path_italic = fonts/Arimo-Italic.ttf
10121069

10131070
# type: filepath
1014-
# font_path_bolditalic = fonts/Arimo-BoldItalic.ttf
1071+
# font_path_bold_italic = fonts/Arimo-BoldItalic.ttf
10151072

10161073
# Font size of the monospace font in point (pt).
10171074
# type: int min: 1
@@ -1031,19 +1088,7 @@
10311088
# mono_font_path_italic = fonts/Cousine-Italic.ttf
10321089

10331090
# type: filepath
1034-
# mono_font_path_bolditalic = fonts/Cousine-BoldItalic.ttf
1035-
1036-
# Font size of the fallback font in point (pt).
1037-
# type: int min: 1
1038-
# fallback_font_size = 15
1039-
1040-
# Shadow offset (in pixels) of the fallback font. If 0, then shadow will not be drawn.
1041-
# type: int
1042-
# fallback_font_shadow = 1
1043-
1044-
# Opaqueness (alpha) of the shadow behind the fallback font, between 0 and 255.
1045-
# type: int min: 0 max: 255
1046-
# fallback_font_shadow_alpha = 128
1091+
# mono_font_path_bold_italic = fonts/Cousine-BoldItalic.ttf
10471092

10481093
# Path of the fallback font.
10491094
# If “freetype” setting is enabled: Must be a TrueType font.
@@ -1364,6 +1409,11 @@
13641409
# type: string
13651410
# chat_message_format = <@name> @message
13661411

1412+
# If the execution of a chat command takes longer than this specified time in
1413+
# seconds, add the time information to the chat command message
1414+
# type: float
1415+
# chatcommand_msg_time_threshold = 0.1
1416+
13671417
# A message to be displayed to all clients when the server shuts down.
13681418
# type: string
13691419
# kick_msg_shutdown = Server shutting down.
@@ -1682,7 +1732,7 @@
16821732

16831733
# Set the language. Leave empty to use the system language.
16841734
# A restart is required after changing this.
1685-
# type: enum values: , ar, ca, cs, da, de, dv, el, en, eo, es, et, eu, fil, fr, hu, id, it, ja, ja_KS, jbo, kk, kn, lo, lt, ms, my, nb, nl, nn, pl, pt, pt_BR, ro, ru, sl, sr_Cyrl, sv, sw, th, tr, uk, vi
1735+
# type: enum values: , be, bg, ca, cs, da, de, el, en, eo, es, et, eu, fi, fr, gd, gl, hu, id, it, ja, jbo, kk, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt_BR, ro, ru, sk, sl, sr_Cyrl, sr_Latn, sv, sw, tr, uk, vi, zh_CN, zh_TW
16861736
# language =
16871737

16881738
# Level of logging to be written to debug.txt:
@@ -1714,10 +1764,9 @@
17141764

17151765
## Advanced
17161766

1717-
# Default timeout for cURL, stated in milliseconds.
1718-
# Only has an effect if compiled with cURL.
1767+
# Maximum time an interactive request (e.g. server list fetch) may take, stated in milliseconds.
17191768
# type: int
1720-
# curl_timeout = 5000
1769+
# curl_timeout = 20000
17211770

17221771
# Limits number of parallel HTTP requests. Affects:
17231772
# - Media fetch if server uses remote_media setting.
@@ -1727,14 +1776,10 @@
17271776
# type: int
17281777
# curl_parallel_limit = 8
17291778

1730-
# Maximum time in ms a file download (e.g. a mod download) may take.
1779+
# Maximum time a file download (e.g. a mod download) may take, stated in milliseconds.
17311780
# type: int
17321781
# curl_file_download_timeout = 300000
17331782

1734-
# Makes DirectX work with LuaJIT. Disable if it causes troubles.
1735-
# type: bool
1736-
# high_precision_fpu = true
1737-
17381783
# Replaces the default main menu with a custom one.
17391784
# type: string
17401785
# main_menu_script =

‎src/settings_translation_file.cpp

+40-25
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fake_function() {
1111
gettext("Pitch move mode");
1212
gettext("If enabled, makes move directions relative to the player's pitch when flying or swimming.");
1313
gettext("Fast movement");
14-
gettext("Fast movement (via the \"special\" key).\nThis requires the \"fast\" privilege on the server.");
14+
gettext("Fast movement (via the \"Aux1\" key).\nThis requires the \"fast\" privilege on the server.");
1515
gettext("Noclip");
1616
gettext("If enabled together with fly mode, player is able to fly through solid nodes.\nThis requires the \"noclip\" privilege on the server.");
1717
gettext("Cinematic mode");
@@ -24,12 +24,12 @@ fake_function() {
2424
gettext("Invert vertical mouse movement.");
2525
gettext("Mouse sensitivity");
2626
gettext("Mouse sensitivity multiplier.");
27-
gettext("Special key for climbing/descending");
28-
gettext("If enabled, \"special\" key instead of \"sneak\" key is used for climbing down and\ndescending.");
27+
gettext("Aux1 key for climbing/descending");
28+
gettext("If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down and\ndescending.");
2929
gettext("Double tap jump for fly");
3030
gettext("Double-tapping the jump key toggles fly mode.");
3131
gettext("Always fly and fast");
32-
gettext("If disabled, \"special\" key is used to fly fast if both fly and fast mode are\nenabled.");
32+
gettext("If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\nenabled.");
3333
gettext("Place repetition interval");
3434
gettext("The time in seconds it takes between repeated node placements when holding\nthe place button.");
3535
gettext("Automatic jumping");
@@ -44,8 +44,8 @@ fake_function() {
4444
gettext("The length in pixels it takes for touch screen interaction to start.");
4545
gettext("Fixed virtual joystick");
4646
gettext("(Android) Fixes the position of virtual joystick.\nIf disabled, virtual joystick will center to first-touch's position.");
47-
gettext("Virtual joystick triggers aux button");
48-
gettext("(Android) Use virtual joystick to trigger \"aux\" button.\nIf enabled, virtual joystick will also tap \"aux\" button when out of main circle.");
47+
gettext("Virtual joystick triggers Aux1 button");
48+
gettext("(Android) Use virtual joystick to trigger \"Aux1\" button.\nIf enabled, virtual joystick will also tap \"Aux1\" button when out of main circle.");
4949
gettext("Enable joysticks");
5050
gettext("Enable joysticks");
5151
gettext("Joystick ID");
@@ -76,7 +76,7 @@ fake_function() {
7676
gettext("Key for placing.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
7777
gettext("Inventory key");
7878
gettext("Key for opening the inventory.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
79-
gettext("Special key");
79+
gettext("Aux1 key");
8080
gettext("Key for moving fast in fast mode.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
8181
gettext("Chat key");
8282
gettext("Key for opening the chat window.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
@@ -233,9 +233,9 @@ fake_function() {
233233
gettext("Trilinear filtering");
234234
gettext("Use trilinear filtering when scaling textures.");
235235
gettext("Clean transparent textures");
236-
gettext("Filtered textures can blend RGB values with fully-transparent neighbors,\nwhich PNG optimizers usually discard, sometimes resulting in a dark or\nlight edge to transparent textures. Apply this filter to clean that up\nat texture load time.");
236+
gettext("Filtered textures can blend RGB values with fully-transparent neighbors,\nwhich PNG optimizers usually discard, often resulting in dark or\nlight edges to transparent textures. Apply a filter to clean that up\nat texture load time. This is automatically enabled if mipmapping is enabled.");
237237
gettext("Minimum texture size");
238-
gettext("When using bilinear/trilinear/anisotropic filters, low-resolution textures\ncan be blurred, so automatically upscale them with nearest-neighbor\ninterpolation to preserve crisp pixels. This sets the minimum texture size\nfor the upscaled textures; higher values look sharper, but require more\nmemory. Powers of 2 are recommended. Setting this higher than 1 may not\nhave a visible effect unless bilinear/trilinear/anisotropic filtering is\nenabled.\nThis is also used as the base node texture size for world-aligned\ntexture autoscaling.");
238+
gettext("When using bilinear/trilinear/anisotropic filters, low-resolution textures\ncan be blurred, so automatically upscale them with nearest-neighbor\ninterpolation to preserve crisp pixels. This sets the minimum texture size\nfor the upscaled textures; higher values look sharper, but require more\nmemory. Powers of 2 are recommended. This setting is ONLY applies if\nbilinear/trilinear/anisotropic filtering is enabled.\nThis is also used as the base node texture size for world-aligned\ntexture autoscaling.");
239239
gettext("FSAA");
240240
gettext("Use multi-sample antialiasing (MSAA) to smooth out block edges.\nThis algorithm smooths out the 3D viewport while keeping the image sharp,\nbut it doesn't affect the insides of textures\n(which is especially noticeable with transparent textures).\nVisible spaces appear between nodes when shaders are disabled.\nIf set to 0, MSAA is disabled.\nA restart is required after changing this option.");
241241
gettext("Undersampling");
@@ -261,6 +261,29 @@ fake_function() {
261261
gettext("Set to true to enable waving leaves.\nRequires shaders to be enabled.");
262262
gettext("Waving plants");
263263
gettext("Set to true to enable waving plants.\nRequires shaders to be enabled.");
264+
gettext("Dynamic shadows");
265+
gettext("Dynamic shadows");
266+
gettext("Set to true to enable Shadow Mapping.\nRequires shaders to be enabled.");
267+
gettext("Shadow strength");
268+
gettext("Set the shadow strength.\nLower value means lighter shadows, higher value means darker shadows.");
269+
gettext("Shadow map max distance in nodes to render shadows");
270+
gettext("Maximum distance to render shadows.");
271+
gettext("Shadow map texture size");
272+
gettext("Texture size to render the shadow map on.\nThis must be a power of two.\nBigger numbers create better shadowsbut it is also more expensive.");
273+
gettext("Shadow map texture in 32 bits");
274+
gettext("Sets shadow texture quality to 32 bits.\nOn false, 16 bits texture will be used.\nThis can cause much more artifacts in the shadow.");
275+
gettext("Poisson filtering");
276+
gettext("Enable poisson disk filtering.\nOn true uses poisson disk to make \"soft shadows\". Otherwise uses PCF filtering.");
277+
gettext("Shadow filter quality");
278+
gettext("Define shadow filtering quality\nThis simulates the soft shadows effect by applying a PCF or poisson disk\nbut also uses more resources.");
279+
gettext("Colored shadows");
280+
gettext("Enable colored shadows. \nOn true translucent nodes cast colored shadows. This is expensive.");
281+
gettext("Map update time");
282+
gettext("Set the shadow update time.\nLower value means shadows and map updates faster, but it consume more resources.\nMinimun value 0.001 seconds max value 0.2 seconds");
283+
gettext("Soft shadow radius");
284+
gettext("Set the soft shadow radius size.\nLower values mean sharper shadows bigger values softer.\nMinimun value 1.0 and max value 10.0");
285+
gettext("Sky Body Orbit Tilt");
286+
gettext("Set the tilt of Sun/Moon orbit in degrees\nValue of 0 means no tilt / vertical orbit.\nMinimun value 0.0 and max value 60.0");
264287
gettext("Advanced");
265288
gettext("Arm inertia");
266289
gettext("Arm inertia, gives a more realistic movement of\nthe arm when the camera moves.");
@@ -275,15 +298,13 @@ fake_function() {
275298
gettext("Near plane");
276299
gettext("Camera 'near clipping plane' distance in nodes, between 0 and 0.25\nOnly works on GLES platforms. Most users will not need to change this.\nIncreasing can reduce artifacting on weaker GPUs.\n0.1 = Default, 0.25 = Good value for weaker tablets.");
277300
gettext("Screen width");
278-
gettext("Width component of the initial window size.");
301+
gettext("Width component of the initial window size. Ignored in fullscreen mode.");
279302
gettext("Screen height");
280-
gettext("Height component of the initial window size.");
303+
gettext("Height component of the initial window size. Ignored in fullscreen mode.");
281304
gettext("Autosave screen size");
282305
gettext("Save window size automatically when modified.");
283306
gettext("Full screen");
284307
gettext("Fullscreen mode.");
285-
gettext("Full screen BPP");
286-
gettext("Bits per pixel (aka color depth) in fullscreen mode.");
287308
gettext("VSync");
288309
gettext("Vertical screen synchronization.");
289310
gettext("Field of view");
@@ -303,7 +324,7 @@ fake_function() {
303324
gettext("Texture path");
304325
gettext("Path to texture directory. All textures are first searched from here.");
305326
gettext("Video driver");
306-
gettext("The rendering back-end for Irrlicht.\nA restart is required after changing this.\nNote: On Android, stick with OGLES1 if unsure! App may fail to start otherwise.\nOn other platforms, OpenGL is recommended.\nShaders are supported by OpenGL (desktop only) and OGLES2 (experimental)");
327+
gettext("The rendering back-end.\nA restart is required after changing this.\nNote: On Android, stick with OGLES1 if unsure! App may fail to start otherwise.\nOn other platforms, OpenGL is recommended.\nShaders are supported by OpenGL (desktop only) and OGLES2 (experimental)");
307328
gettext("Cloud radius");
308329
gettext("Radius of cloud area stated in number of 64 node cloud squares.\nValues larger than 26 will start to produce sharp cutoffs at cloud area corners.");
309330
gettext("View bobbing factor");
@@ -407,12 +428,6 @@ fake_function() {
407428
gettext("Bold monospace font path");
408429
gettext("Italic monospace font path");
409430
gettext("Bold and italic monospace font path");
410-
gettext("Fallback font size");
411-
gettext("Font size of the fallback font in point (pt).");
412-
gettext("Fallback font shadow");
413-
gettext("Shadow offset (in pixels) of the fallback font. If 0, then shadow will not be drawn.");
414-
gettext("Fallback font shadow alpha");
415-
gettext("Opaqueness (alpha) of the shadow behind the fallback font, between 0 and 255.");
416431
gettext("Fallback font path");
417432
gettext("Path of the fallback font.\nIf “freetype” setting is enabled: Must be a TrueType font.\nIf “freetype” setting is disabled: Must be a bitmap or XML vectors font.\nThis font will be used for certain languages or if the default font is unavailable.");
418433
gettext("Chat font size");
@@ -542,6 +557,8 @@ fake_function() {
542557
gettext("If enabled, actions are recorded for rollback.\nThis option is only read when server starts.");
543558
gettext("Chat message format");
544559
gettext("Format of player chat messages. The following strings are valid placeholders:\n@name, @message, @timestamp (optional)");
560+
gettext("Chat command time message threshold");
561+
gettext("If the execution of a chat command takes longer than this specified time in\nseconds, add the time information to the chat command message");
545562
gettext("Shutdown message");
546563
gettext("A message to be displayed to all clients when the server shuts down.");
547564
gettext("Crash message");
@@ -679,14 +696,12 @@ fake_function() {
679696
gettext("IPv6");
680697
gettext("Enable IPv6 support (for both client and server).\nRequired for IPv6 connections to work at all.");
681698
gettext("Advanced");
682-
gettext("cURL timeout");
683-
gettext("Default timeout for cURL, stated in milliseconds.\nOnly has an effect if compiled with cURL.");
699+
gettext("cURL interactive timeout");
700+
gettext("Maximum time an interactive request (e.g. server list fetch) may take, stated in milliseconds.");
684701
gettext("cURL parallel limit");
685702
gettext("Limits number of parallel HTTP requests. Affects:\n- Media fetch if server uses remote_media setting.\n- Serverlist download and server announcement.\n- Downloads performed by main menu (e.g. mod manager).\nOnly has an effect if compiled with cURL.");
686703
gettext("cURL file download timeout");
687-
gettext("Maximum time in ms a file download (e.g. a mod download) may take.");
688-
gettext("High-precision FPU");
689-
gettext("Makes DirectX work with LuaJIT. Disable if it causes troubles.");
704+
gettext("Maximum time a file download (e.g. a mod download) may take, stated in milliseconds.");
690705
gettext("Main menu script");
691706
gettext("Replaces the default main menu with a custom one.");
692707
gettext("Engine profiling data print interval");

0 commit comments

Comments
 (0)
Please sign in to comment.