forked from libretro/RetroArch
-
Notifications
You must be signed in to change notification settings - Fork 2
/
msg_hash_el.c
2270 lines (2247 loc) · 103 KB
/
msg_hash_el.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
* Copyright (C) 2016-2017 - Brad Parker
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <compat/strl.h>
#include <string/stdstring.h>
#include "../msg_hash.h"
#include "../verbosity.h"
#ifdef RARCH_INTERNAL
#include "../configuration.h"
int menu_hash_get_help_el_enum(enum msg_hash_enums msg, char *s, size_t len)
{
settings_t *settings = config_get_ptr();
if (msg == MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM)
{
snprintf(s, len,
"TODO/FIXME - Fill in message here."
);
return 0;
}
if (msg <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END &&
msg >= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN)
{
unsigned idx = msg - MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN;
switch (idx)
{
case RARCH_FAST_FORWARD_KEY:
snprintf(s, len,
"Αλλαγή ανάμεσα σε γρήγορη και \n"
"κανονική ταχύτητα."
);
break;
case RARCH_FAST_FORWARD_HOLD_KEY:
snprintf(s, len,
"Κρατήστε πατημένο για γρήγορη ταχύτητα. \n"
" \n"
"Αφήνοντας το κουμπί απενεργοποιείται η γρήγορη ταχύτητα."
);
break;
case RARCH_SLOWMOTION_KEY:
snprintf(s, len,
"Αλλάζει την αργή ταχύτητα.");
break;
case RARCH_SLOWMOTION_HOLD_KEY:
snprintf(s, len,
"Κρατήστε για αρχή ταχύτητα.");
break;
case RARCH_PAUSE_TOGGLE:
snprintf(s, len,
"Αλλαγή ανάμεσα σε κατάσταση παύσης και μη παύσης.");
break;
case RARCH_FRAMEADVANCE:
snprintf(s, len,
"Προπόρευση καρέ κατά την παύση περιεχομένου.");
break;
case RARCH_SHADER_NEXT:
snprintf(s, len,
"Εφαρμόζει την επόμενη σκίαση στο ευρετήριο.");
break;
case RARCH_SHADER_PREV:
snprintf(s, len,
"Εφαρμόζει την προηγούμενη σκίαση στο ευρετήριο.");
break;
case RARCH_CHEAT_INDEX_PLUS:
case RARCH_CHEAT_INDEX_MINUS:
case RARCH_CHEAT_TOGGLE:
snprintf(s, len,
"Κωδικοί.");
break;
case RARCH_RESET:
snprintf(s, len,
"Επαναφορά του περιεχομένου.");
break;
case RARCH_SCREENSHOT:
snprintf(s, len,
"Λήψη στιγμιοτύπου.");
break;
case RARCH_MUTE:
snprintf(s, len,
"Σίγαση/κατάργηση σίγασης ήχου.");
break;
case RARCH_OSK:
snprintf(s, len,
"Ενεργοποιεί το πληκτρολόγιο οθόνης.");
break;
case RARCH_NETPLAY_GAME_WATCH:
snprintf(s, len,
"Εναλλαγή λειτουργίας παιχνιδιού/παρακολούθησης Netplay.");
break;
case RARCH_ENABLE_HOTKEY:
{
/* Work around C89 limitations */
const char *t =
"Ενεργοποίηση άλλων πλήκτρων εντολών. \n"
" \n"
"Εάν αυτό το πλήκτρο είναι συνδεδεμένο είτε με\n"
"ένα πληκτρολόγιο ή κάποιο κουμπί χειριστιερίου, \n"
"όλα τα υπόλοιπα κουμπιά εντολών θα ενεργοποιηθούν μόνο \n";
const char *u =
"εάν και αυτό είναι πατημένο την ίδια στιγμή. \n"
" \n"
"Διαφορετικά, όλα τα κουμπιά εντολών πληκτρολογίου \n"
"μπορούν να απενεργοποιηθούν από τον χρήστη.";
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
case RARCH_VOLUME_UP:
snprintf(s, len,
"Αυξάνει την ένταση του ήχου.");
break;
case RARCH_VOLUME_DOWN:
snprintf(s, len,
"Μειώνει την ένταση του ήχου.");
break;
case RARCH_OVERLAY_NEXT:
snprintf(s, len,
"Αλλάζει στο επόμενο επικάλλυμα. Επαναφέρεται.");
break;
case RARCH_DISK_EJECT_TOGGLE:
snprintf(s, len,
"Ενεργοποιεί την αφαίρεση δίσκων. \n"
" \n"
"Χρησιμοποιείται για περιεχόμενο με πολλούς δίσκους. ");
break;
case RARCH_DISK_NEXT:
case RARCH_DISK_PREV:
snprintf(s, len,
"Αλλάζει ανάμεσα σε εικόνες δίσκων. Χρησιμοποιείστε μετά την εξαγωγή. \n"
" \n"
"Ολοκληρώστε πατώντας εξαγωγή ξανά.");
break;
case RARCH_GRAB_MOUSE_TOGGLE:
snprintf(s, len,
"Ενεργοποίηση ελέγχου ποντικιού. \n"
" \n"
"Όταν το ποντίκι ελέγχεται, το RetroArch κρύβει το \n"
"ποντίκι, και κρατάει τον δρομέα μέσα στο \n"
"παράθυρο για να επιτρέψει την σχετική εισαγωγή \n"
"ώστε να λειτουργήσει καλύτερα.");
break;
case RARCH_GAME_FOCUS_TOGGLE:
snprintf(s, len,
"Ενεργοποίηση εστίασης παιχνιδιού.\n"
" \n"
"Όταν ένα παιχνίδι έχει την εστίαση, το RetroArch θα απενεργοποιήσει \n"
"τα κουμπιά εντολών και θα κρατήσει τον δρομέα του ποντικιού μέσα στο παράθυρο.");
break;
case RARCH_MENU_TOGGLE:
snprintf(s, len, "Ενεργοποιεί το μενού.");
break;
case RARCH_LOAD_STATE_KEY:
snprintf(s, len,
"Φορτώνει κατάσταση.");
break;
case RARCH_FULLSCREEN_TOGGLE_KEY:
snprintf(s, len,
"Ενεργοποιεί την πλήρη οθόνη.");
break;
case RARCH_QUIT_KEY:
snprintf(s, len,
"Κουμπί καθαρής εξόδου από το RetroArch. \n"
" \n"
"Η απότομη απενεργοποίηση της λειτουργίας του θα \n"
"τερματίσει το RetroArch χωρίς να αποθηκεύσει την RAM κ.α."
#ifdef __unix__
"\nΣε Unix-likes, SIGINT/SIGTERM επιτρέπουν την \n"
"καθαρή απενεργοποίηση."
#endif
"");
break;
case RARCH_STATE_SLOT_PLUS:
case RARCH_STATE_SLOT_MINUS:
snprintf(s, len,
"Θυρίδες κατάστασης. \n"
" \n"
"Με την θυρίδα τοποθετημένη στο 0, το όνομα της αποθηκευμένης κατάστασης είναι \n"
"*.state (ή οτιδήποτε έχει καθοριστεί στην γραμμή εντολών). \n"
" \n"
"Όταν η θυρίδα δεν είναι 0, η διαδρομή θα είναι <διαδρομή><d>, \n"
"όπου <d> είναι ο αριθμός θυρίδας.");
break;
case RARCH_SAVE_STATE_KEY:
snprintf(s, len,
"Αποθηκεύει την κατάσταση.");
break;
case RARCH_REWIND:
snprintf(s, len,
"Κρατήστε το κουμπί για επιστροφή προς τα πίσω. \n"
" \n"
"Η επιστροφή προς τα πίσω πρέπει να είναι ενεργοποιημένη.");
break;
case RARCH_BSV_RECORD_TOGGLE:
snprintf(s, len,
"Αλλαγή ανάμεσα σε εγγραφή ή όχι.");
break;
default:
if (string_is_empty(s))
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
break;
}
return 0;
}
switch (msg)
{
case MENU_ENUM_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS:
snprintf(s, len, "Στοιχεία σύνδεσης για τον \n"
"λογαριασμό Retro Achievements. \n"
" \n"
"Επισκεφθείτε το retroachievements.org και εγγραφείτε \n"
"για δωρεάν λογαριασμό. \n"
" \n"
"Μετά την ολοκλήρωση της εγγραφής, πρέπει να \n"
"εισάγετε το όνομα χρήστη και τον κωδικό στο \n"
"RetroArch.");
break;
case MENU_ENUM_LABEL_CHEEVOS_USERNAME:
snprintf(s, len, "Όνομα χρήστη για τον λογαριασμό σας στο Retro Achievements.");
break;
case MENU_ENUM_LABEL_CHEEVOS_PASSWORD:
snprintf(s, len, "Κωδικός για τον λογαριασμό σας στο Retro Achievements.");
break;
case MENU_ENUM_LABEL_USER_LANGUAGE:
{
/* Work around C89 limitations */
const char *t =
"Τοπικοποίηση του μενού και όλων των μηνυμάτων \n"
"ανάλογα με την γλώσσα που έχετε επιλέξει \n"
"εδώ. \n"
" \n"
"Χρειάζεται επανεκκίνηση για να ενεργοποιηθούν \n"
"οι αλλαγές. \n";
const char *u =
" \n"
"Σημείωση: πιθανόν να μην έχουν εφαρμοστεί \n"
"όλες οι γλώσσες. \n"
" \n"
"Σε περίπτωση που μία γλώσσα δεν έχει εφαρμοστεί, \n"
"χρησιμοποιούμε τα Αγγλικά.";
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
case MENU_ENUM_LABEL_VIDEO_FONT_PATH:
snprintf(s, len, "Αλλαγή της γραμματοσειράς που χρησιμοποιείται \n"
"για το κείμενο της Οθόνης Απεικόνισης.");
break;
case MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS:
snprintf(s, len, "Αυτόματη φόρτωση επιλογών πυρήνα βάση περιεχομένου.");
break;
case MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE:
snprintf(s, len, "Αυτόματη φόρτωση ρυθμίσεων παράκαμψης.");
break;
case MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE:
snprintf(s, len, "Αυτόματη φόρτωση αρχείων αναδιοργάνωσης πλήκτρων.");
break;
case MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE:
snprintf(s, len, "Οργάνωση καταστάσεων αποθήκευσης σε φακέλους \n"
"ονομασμένες με βάση τον πυρήνα libretro που χρησιμοποιούν.");
break;
case MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE:
snprintf(s, len, "Οργάνωση αρχείων αποθήκευσης σε φακέλους \n"
"ονομασμένα με βάση τον πυρήνα libretro που χρησιμοποιούν.");
break;
case MENU_ENUM_LABEL_RESUME_CONTENT:
snprintf(s, len, "Έξοδος από το μενού και επιστροφή \n"
"στο περιεχόμενο.");
break;
case MENU_ENUM_LABEL_RESTART_CONTENT:
snprintf(s, len, "Επανεκκινεί το περιεχόμενο από την αρχή.");
break;
case MENU_ENUM_LABEL_CLOSE_CONTENT:
snprintf(s, len, "Κλείνει το περιεχόμενο και το αποφορτώνει από την \n"
"μνήμη.");
break;
case MENU_ENUM_LABEL_UNDO_LOAD_STATE:
snprintf(s, len, "Εάν μία κατάσταση φορτώθηκε, το περιεχόμενο \n"
"θα επανέλθει στην κατάσταση πριν την φόρτωση.");
break;
case MENU_ENUM_LABEL_UNDO_SAVE_STATE:
snprintf(s, len, "Εάν μία κατάσταση αντικαταστάθηκε, θα \n"
"επανέλθει στην προηγούμενη κατάσταση αποθήκευσης.");
break;
case MENU_ENUM_LABEL_TAKE_SCREENSHOT:
snprintf(s, len, "Δημιουργία στιγμιοτύπου. \n"
" \n"
"Το στιγμιότυπο θα αποθηκευθεί στην \n"
"Διαδρομή Στιγμιοτύπων.");
break;
case MENU_ENUM_LABEL_ADD_TO_FAVORITES:
snprintf(s, len, "Προσθήκη της καταχώρισης στα Αγαπημένα.");
break;
case MENU_ENUM_LABEL_RUN:
snprintf(s, len, "Έναρξη περιεχομένου.");
break;
case MENU_ENUM_LABEL_INFORMATION:
snprintf(s, len, "Προβολή περισσότερων μεταδεδομένων πληροφοριών \n"
"σχετικά με το περιεχόμενο.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CONFIG:
snprintf(s, len, "Αρχείο Διαμόρφωσης.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_COMPRESSED_ARCHIVE:
snprintf(s, len, "Συμπιεσμένο αρχείο.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_RECORD_CONFIG:
snprintf(s, len, "Αρχείο διαμόρφωσης καταγραφών.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CURSOR:
snprintf(s, len, "Αρχείο ερωτήματος βάσης δεδομένων.");
break;
case MENU_ENUM_LABEL_FILE_CONFIG:
snprintf(s, len, "Αρχείο Διαμόρφωσης.");
break;
case MENU_ENUM_LABEL_SCAN_THIS_DIRECTORY:
snprintf(s, len,
"Επέλεξε αυτό για να ανιχνεύσεις περιεχόμενο στην \n"
"τρέχουσα διαδρομή.");
break;
case MENU_ENUM_LABEL_USE_THIS_DIRECTORY:
snprintf(s, len,
"Επέλεξε αυτό για να ορίσεις αυτήν ως την διαδρομή.");
break;
case MENU_ENUM_LABEL_CONTENT_DATABASE_DIRECTORY:
snprintf(s, len,
"Ευρετήριο Βάσης Δεδομένων Περιεχομένου. \n"
" \n"
"Διαδρομή για το ευρετήριο της βάσης δεδομένων \n"
"περιεχομένου.");
break;
case MENU_ENUM_LABEL_THUMBNAILS_DIRECTORY:
snprintf(s, len,
"Ευρετήριο Μικρογραφιών. \n"
" \n"
"Για την αποθήκευση αρχείων μικρογραφιών.");
break;
case MENU_ENUM_LABEL_LIBRETRO_INFO_PATH:
snprintf(s, len,
"Ευρετήριο Πληροφοριών Πυρήνων. \n"
" \n"
"Ένα ευρετήριο για το που να ψάξεις \n"
"για πληφοροφίες των πυρήνων libretro.");
break;
case MENU_ENUM_LABEL_PLAYLIST_DIRECTORY:
snprintf(s, len,
"Ευρετήριο Λιστών Αναπαραγωγής. \n"
" \n"
"Αποθηκέυστε όλα τα αρχεία λιστών αναπαραγωγής \n"
"σε αυτό το ευρετήριο.");
break;
case MENU_ENUM_LABEL_DUMMY_ON_CORE_SHUTDOWN:
snprintf(s, len,
"Μερικοί πυρήνες μπορεί να έχουν \n"
"λειτουργία απενεργοποίησης. \n"
" \n"
"If this option is left disabled, \n"
"selecting the shutdown procedure \n"
"would trigger RetroArch being shut \n"
"down. \n"
" \n"
"Enabling this option will load a \n"
"dummy core instead so that we remain \n"
"inside the menu and RetroArch won't \n"
"shutdown.");
break;
case MENU_ENUM_LABEL_CHECK_FOR_MISSING_FIRMWARE:
snprintf(s, len,
"Some cores might need \n"
"firmware or bios files. \n"
" \n"
"If this option is disabled, \n"
"it will try to load even if such \n"
"firmware is missing. \n");
break;
case MENU_ENUM_LABEL_PARENT_DIRECTORY:
snprintf(s, len,
"Go back to the parent directory.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_SHADER_PRESET:
snprintf(s, len,
"Shader preset file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_SHADER:
snprintf(s, len,
"Shader file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_REMAP:
snprintf(s, len,
"Remap controls file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CHEAT:
snprintf(s, len,
"Cheat file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_OVERLAY:
snprintf(s, len,
"Overlay file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_RDB:
snprintf(s, len,
"Database file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_FONT:
snprintf(s, len,
"TrueType font file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE:
snprintf(s, len,
"Plain file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN:
snprintf(s, len,
"Video. \n"
" \n"
"Select it to open this file with the \n"
"video player.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN:
snprintf(s, len,
"Music. \n"
" \n"
"Select it to open this file with the \n"
"music player.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE:
snprintf(s, len,
"Image file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER:
snprintf(s, len,
"Image. \n"
" \n"
"Select it to open this file with the \n"
"image viewer.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION:
snprintf(s, len,
"Libretro core. \n"
" \n"
"Selecting this will associate this core \n"
"to the game.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CORE:
snprintf(s, len,
"Libretro core. \n"
" \n"
"Select this file to have RetroArch load this core.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY:
snprintf(s, len,
"Directory. \n"
" \n"
"Select it to open this directory.");
break;
case MENU_ENUM_LABEL_CACHE_DIRECTORY:
snprintf(s, len,
"Cache Directory. \n"
" \n"
"Content decompressed by RetroArch will be \n"
"temporarily extracted to this directory.");
break;
case MENU_ENUM_LABEL_HISTORY_LIST_ENABLE:
snprintf(s, len,
"If enabled, every content loaded \n"
"in RetroArch will be automatically \n"
"added to the recent history list.");
break;
case MENU_ENUM_LABEL_RGUI_BROWSER_DIRECTORY:
snprintf(s, len,
"File Browser Directory. \n"
" \n"
"Sets start directory for menu file browser.");
break;
case MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR:
snprintf(s, len,
"Influence how input polling is done inside \n"
"RetroArch. \n"
" \n"
"Early - Input polling is performed before \n"
"the frame is processed. \n"
"Normal - Input polling is performed when \n"
"polling is requested. \n"
"Late - Input polling is performed on \n"
"first input state request per frame.\n"
" \n"
"Setting it to 'Early' or 'Late' can result \n"
"in less latency, \n"
"depending on your configuration.\n\n"
"Will be ignored when using netplay."
);
break;
case MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND:
snprintf(s, len,
"Hide input descriptors that were not set \n"
"by the core.");
break;
case MENU_ENUM_LABEL_VIDEO_REFRESH_RATE:
snprintf(s, len,
"Video refresh rate of your monitor. \n"
"Used to calculate a suitable audio input rate.");
break;
case MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE:
snprintf(s, len,
"Forcibly disable sRGB FBO support. Some Intel \n"
"OpenGL drivers on Windows have video problems \n"
"with sRGB FBO support enabled.");
break;
case MENU_ENUM_LABEL_AUDIO_ENABLE:
snprintf(s, len,
"Enable audio output.");
break;
case MENU_ENUM_LABEL_AUDIO_SYNC:
snprintf(s, len,
"Synchronize audio (recommended).");
break;
case MENU_ENUM_LABEL_AUDIO_LATENCY:
snprintf(s, len,
"Desired audio latency in milliseconds. \n"
"Might not be honored if the audio driver \n"
"can't provide given latency.");
break;
case MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE:
snprintf(s, len,
"Allow cores to set rotation. If false, \n"
"rotation requests are honored, but ignored.\n\n"
"Used for setups where one manually rotates \n"
"the monitor.");
break;
case MENU_ENUM_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW:
snprintf(s, len,
"Show the input descriptors set by the core \n"
"instead of the default ones.");
break;
case MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE:
snprintf(s, len,
"Number of entries that will be kept in \n"
"content history playlist.");
break;
case MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN:
snprintf(s, len,
"To use windowed mode or not when going \n"
"fullscreen.");
break;
case MENU_ENUM_LABEL_VIDEO_FONT_SIZE:
snprintf(s, len,
"Font size for on-screen messages.");
break;
case MENU_ENUM_LABEL_SAVESTATE_AUTO_INDEX:
snprintf(s, len,
"Automatically increment slot index on each save, \n"
"generating multiple savestate files. \n"
"When the content is loaded, state slot will be \n"
"set to the highest existing value (last savestate).");
break;
case MENU_ENUM_LABEL_FPS_SHOW:
snprintf(s, len,
"Enables displaying the current frames \n"
"per second.");
break;
case MENU_ENUM_LABEL_VIDEO_FONT_ENABLE:
snprintf(s, len,
"Show and/or hide onscreen messages.");
break;
case MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_X:
case MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_Y:
snprintf(s, len,
"Offset for where messages will be placed \n"
"onscreen. Values are in range [0.0, 1.0].");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE:
snprintf(s, len,
"Enable or disable the current overlay.");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU:
snprintf(s, len,
"Hide the current overlay from appearing \n"
"inside the menu.");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_SHOW_PHYSICAL_INPUTS:
snprintf(s, len,
"Show keyboard/controller button presses on \n"
"the onscreen overlay.");
break;
case MENU_ENUM_LABEL_INPUT_OVERLAY_SHOW_PHYSICAL_INPUTS_PORT:
snprintf(s, len,
"Select the port to listen for controller input \n"
"to display on the onscreen overlay.");
break;
case MENU_ENUM_LABEL_OVERLAY_PRESET:
snprintf(s, len,
"Path to input overlay.");
break;
case MENU_ENUM_LABEL_OVERLAY_OPACITY:
snprintf(s, len,
"Overlay opacity.");
break;
case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
snprintf(s, len,
"Input bind timer timeout (in seconds). \n"
"Amount of seconds to wait until proceeding \n"
"to the next bind.");
break;
case MENU_ENUM_LABEL_INPUT_BIND_HOLD:
snprintf(s, len,
"Input bind hold time (in seconds). \n"
"Amount of seconds to hold an input to bind it.");
break;
case MENU_ENUM_LABEL_OVERLAY_SCALE:
snprintf(s, len,
"Overlay scale.");
break;
case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE:
snprintf(s, len,
"Audio output samplerate.");
break;
case MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT:
snprintf(s, len,
"Set to true if hardware-rendered cores \n"
"should get their private context. \n"
"Avoids having to assume hardware state changes \n"
"inbetween frames."
);
break;
case MENU_ENUM_LABEL_CORE_LIST:
snprintf(s, len,
"Load Core. \n"
" \n"
"Browse for a libretro core \n"
"implementation. Where the browser \n"
"starts depends on your Core Directory \n"
"path. If blank, it will start in root. \n"
" \n"
"If Core Directory is a directory, the menu \n"
"will use that as top folder. If Core \n"
"Directory is a full path, it will start \n"
"in the folder where the file is.");
break;
case MENU_ENUM_LABEL_VALUE_MENU_ENUM_CONTROLS_PROLOG:
snprintf(s, len,
"You can use the following controls below \n"
"on either your gamepad or keyboard in order\n"
"to control the menu: \n"
" \n"
);
break;
case MENU_ENUM_LABEL_WELCOME_TO_RETROARCH:
snprintf(s, len,
"Welcome to RetroArch\n"
);
break;
case MENU_ENUM_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING_DESC:
{
/* Work around C89 limitations */
char u[501];
const char *t =
"RetroArch relies on an unique form of\n"
"audio/video synchronization where it needs to be\n"
"calibrated against the refresh rate of your\n"
"display for best performance results.\n"
" \n"
"If you experience any audio crackling or video\n"
"tearing, usually it means that you need to\n"
"calibrate the settings. Some choices below:\n"
" \n";
snprintf(u, sizeof(u), /* can't inline this due to the printf arguments */
"a) Go to '%s' -> '%s', and enable\n"
"'Threaded Video'. Refresh rate will not matter\n"
"in this mode, framerate will be higher,\n"
"but video might be less smooth.\n"
"b) Go to '%s' -> '%s', and look at\n"
"'%s'. Let it run for\n"
"2048 frames, then press 'OK'.",
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
case MENU_ENUM_LABEL_VALUE_HELP_SCANNING_CONTENT_DESC:
snprintf(s, len,
"To scan for content, go to '%s' and\n"
"select either '%s' or %s'.\n"
" \n"
"Files will be compared to database entries.\n"
"If there is a match, it will add an entry\n"
"to a collection.\n"
" \n"
"You can then easily access this content by\n"
"going to '%s' ->\n"
"'%s'\n"
"instead of having to go through the\n"
"filebrowser everytime.\n"
" \n"
"NOTE: Content for some cores might still not be\n"
"scannable.",
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ADD_CONTENT_LIST),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CONTENT_COLLECTION_LIST)
);
break;
case MENU_ENUM_LABEL_VALUE_EXTRACTING_PLEASE_WAIT:
snprintf(s, len,
"Welcome to RetroArch\n"
"\n"
"Extracting assets, please wait.\n"
"This might take a while...\n"
);
break;
case MENU_ENUM_LABEL_INPUT_DRIVER:
{
const char *lbl = settings ? settings->arrays.input_driver : NULL;
if (string_is_equal(lbl, msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DRIVER_UDEV)))
snprintf(s, len,
"udev Input driver. \n"
" \n"
"It uses the recent evdev joypad API \n"
"for joystick support. It supports \n"
"hotplugging and force feedback. \n"
" \n"
"The driver reads evdev events for keyboard \n"
"support. It also supports keyboard callback, \n"
"mice and touchpads. \n"
" \n"
"By default in most distros, /dev/input nodes \n"
"are root-only (mode 600). You can set up a udev \n"
"rule which makes these accessible to non-root."
);
else if (string_is_equal(lbl,
msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DRIVER_LINUXRAW)))
snprintf(s, len,
"linuxraw Input driver. \n"
" \n"
"This driver requires an active TTY. Keyboard \n"
"events are read directly from the TTY which \n"
"makes it simpler, but not as flexible as udev. \n" "Mice, etc, are not supported at all. \n"
" \n"
"This driver uses the older joystick API \n"
"(/dev/input/js*).");
else
snprintf(s, len,
"Input driver.\n"
" \n"
"Depending on video driver, it might \n"
"force a different input driver.");
}
break;
case MENU_ENUM_LABEL_LOAD_CONTENT_LIST:
snprintf(s, len,
"Load Content. \n"
"Browse for content. \n"
" \n"
"To load content, you need a \n"
"'Core' to use, and a content file. \n"
" \n"
"To control where the menu starts \n"
"to browse for content, set \n"
"'File Browser Directory'. \n"
"If not set, it will start in root. \n"
" \n"
"The browser will filter out \n"
"extensions for the last core set \n"
"in 'Load Core', and use that core \n"
"when content is loaded."
);
break;
case MENU_ENUM_LABEL_LOAD_CONTENT_HISTORY:
snprintf(s, len,
"Loading content from history. \n"
" \n"
"As content is loaded, content and libretro \n"
"core combinations are saved to history. \n"
" \n"
"The history is saved to a file in the same \n"
"directory as the RetroArch config file. If \n"
"no config file was loaded in startup, history \n"
"will not be saved or loaded, and will not exist \n"
"in the main menu."
);
break;
case MENU_ENUM_LABEL_VIDEO_DRIVER:
snprintf(s, len,
"Current Video driver.");
if (string_is_equal(settings->arrays.video_driver, "gl"))
{
snprintf(s, len,
"OpenGL Video driver. \n"
" \n"
"This driver allows libretro GL cores to \n"
"be used in addition to software-rendered \n"
"core implementations.\n"
" \n"
"Performance for software-rendered and \n"
"libretro GL core implementations is \n"
"dependent on your graphics card's \n"
"underlying GL driver).");
}
else if (string_is_equal(settings->arrays.video_driver, "sdl2"))
{
snprintf(s, len,
"SDL 2 Video driver.\n"
" \n"
"This is an SDL 2 software-rendered video \n"
"driver.\n"
" \n"
"Performance for software-rendered libretro \n"
"core implementations is dependent \n"
"on your platform SDL implementation.");
}
else if (string_is_equal(settings->arrays.video_driver, "sdl1"))
{
snprintf(s, len,
"SDL Video driver.\n"
" \n"
"This is an SDL 1.2 software-rendered video \n"
"driver.\n"
" \n"
"Performance is considered to be suboptimal. \n"
"Consider using it only as a last resort.");
}
else if (string_is_equal(settings->arrays.video_driver, "d3d"))
{
snprintf(s, len,
"Direct3D Video driver. \n"
" \n"
"Performance for software-rendered cores \n"
"is dependent on your graphic card's \n"
"underlying D3D driver).");
}
else if (string_is_equal(settings->arrays.video_driver, "exynos"))
{
snprintf(s, len,
"Exynos-G2D Video Driver. \n"
" \n"
"This is a low-level Exynos video driver. \n"
"Uses the G2D block in Samsung Exynos SoC \n"
"for blit operations. \n"
" \n"
"Performance for software rendered cores \n"
"should be optimal.");
}
else if (string_is_equal(settings->arrays.video_driver, "drm"))
{
snprintf(s, len,
"Plain DRM Video Driver. \n"
" \n"
"This is a low-level video driver using. \n"
"libdrm for hardware scaling using \n"
"GPU overlays.");
}
else if (string_is_equal(settings->arrays.video_driver, "sunxi"))
{
snprintf(s, len,
"Sunxi-G2D Video Driver. \n"
" \n"
"This is a low-level Sunxi video driver. \n"
"Uses the G2D block in Allwinner SoCs.");
}
break;
case MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN:
snprintf(s, len,
"Audio DSP plugin.\n"
" Processes audio before it's sent to \n"
"the driver."
);
break;
case MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER:
{
const char *lbl = settings ? settings->arrays.audio_resampler : NULL;
if (string_is_equal(lbl, msg_hash_to_str(
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_SINC)))
strlcpy(s,
"Windowed SINC implementation.", len);
else if (string_is_equal(lbl, msg_hash_to_str(
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_CC)))
strlcpy(s,
"Convoluted Cosine implementation.", len);
else if (string_is_empty(s))
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
}
break;
case MENU_ENUM_LABEL_CRT_SWITCH_RESOLUTION: snprintf(s, len, "SET CRT");
break;
case MENU_ENUM_LABEL_CRT_SWITCH_RESOLUTION_SUPER: snprintf(s, len, "SET CRT SUPER");
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET:
snprintf(s, len,
"Load Shader Preset. \n"
" \n"
" Load a shader preset directly. \n"
"The menu shader menu is updated accordingly. \n"
" \n"
"If the CGP uses scaling methods which are not \n"
"simple, (i.e. source scaling, same scaling \n"
"factor for X/Y), the scaling factor displayed \n"
"in the menu might not be correct."
);
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_SCALE_PASS:
snprintf(s, len,
"Scale for this pass. \n"
" \n"
"The scale factor accumulates, i.e. 2x \n"
"for first pass and 2x for second pass \n"
"will give you a 4x total scale. \n"
" \n"
"If there is a scale factor for last \n"
"pass, the result is stretched to \n"
"screen with the filter specified in \n"
"'Default Filter'. \n"
" \n"
"If 'Don't Care' is set, either 1x \n"
"scale or stretch to fullscreen will \n"
"be used depending if it's not the last \n"
"pass or not."
);
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_NUM_PASSES:
snprintf(s, len,
"Shader Passes. \n"
" \n"
"RetroArch allows you to mix and match various \n"
"shaders with arbitrary shader passes, with \n"
"custom hardware filters and scale factors. \n"
" \n"
"This option specifies the number of shader \n"
"passes to use. If you set this to 0, and use \n"
"Apply Shader Changes, you use a 'blank' shader. \n"
" \n"
"The Default Filter option will affect the \n"
"stretching filter.");
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS:
snprintf(s, len,
"Shader Parameters. \n"
" \n"
"Modifies current shader directly. Will not be \n"
"saved to CGP/GLSLP preset file.");
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
snprintf(s, len,
"Shader Preset Parameters. \n"
" \n"
"Modifies shader preset currently in menu."
);
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_PASS:
snprintf(s, len,
"Path to shader. \n"
" \n"
"All shaders must be of the same \n"
"type (i.e. CG, GLSL or HLSL). \n"
" \n"
"Set Shader Directory to set where \n"
"the browser starts to look for \n"
"shaders."
);
break;
case MENU_ENUM_LABEL_CONFIGURATION_SETTINGS:
snprintf(s, len,
"Determines how configuration files \n"
"are loaded and prioritized.");
break;
case MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT:
snprintf(s, len,
"Saves config to disk on exit.\n"
"Useful for menu as settings can be\n"