mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 01:27:52 -06:00
chore: merge origin/main
This commit is contained in:
commit
87839ea6c0
59 files changed
+312
-315
No files matched your search
Vendored
+6
-6
@@ -1,5 +1,5 @@
|
||||
=== setup
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where do you play?^[[0m
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where to install?^[[0m
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -337,7 +337,7 @@
|
||||
|
||||
^[[0;7;35m > Install^[[0m
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -534,8 +534,8 @@
|
||||
=== cores
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Cores^[[0m
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and a core with no
|
||||
extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a core with no extra
|
||||
file reads only those.
|
||||
|
||||
^[[0;7;35m > Filter (/ to type)^[[0m
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -657,7 +657,7 @@
|
||||
=== confirm
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
|
||||
BIOS folder: ^[[0;1m~/.config/retroarch/system^[[0m
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -917,7 +917,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -1,5 +1,5 @@
|
||||
=== setup
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where do you play?^[[0m
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where to install?^[[0m
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
^[[0;33m1 wrong copy^[[0m: backed up, replaced.
|
||||
^[[0;7;35m > Install^[[0m
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Options ^[[0;2m?^[[0m Help
|
||||
@@ -170,7 +170,7 @@
|
||||
=== cores
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Cores^[[0m
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -209,7 +209,7 @@
|
||||
=== confirm
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
|
||||
BIOS folder: ^[[0;1m~/.co.../retroarch/system^[[0m
|
||||
|
||||
Vendored
+5
-5
@@ -1,5 +1,5 @@
|
||||
=== setup
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where do you play?^[[0m
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where to install?^[[0m
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
^[[0;7;35m > Install^[[0m
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Options ^[[0;2m?^[[0m Help
|
||||
@@ -209,7 +209,7 @@
|
||||
=== cores
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Cores^[[0m
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -257,7 +257,7 @@
|
||||
=== confirm
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
|
||||
BIOS folder: ^[[0;1m~/.co.../retroarch/system^[[0m
|
||||
@@ -362,7 +362,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Options ^[[0;2m?^[[0m Help
|
||||
|
||||
Vendored
+6
-6
@@ -1,5 +1,5 @@
|
||||
=== setup
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where do you play?^[[0m
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where to install?^[[0m
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
|
||||
^[[0;7;35m > Install^[[0m
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -326,8 +326,8 @@
|
||||
=== cores
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Cores^[[0m
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
^[[0;7;35m > Filter (/ to type)^[[0m
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -401,7 +401,7 @@
|
||||
=== confirm
|
||||
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
|
||||
BIOS folder: ^[[0;1m~/.config/retroarch/system^[[0m
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -565,7 +565,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and a core with no
|
||||
extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a core with no extra
|
||||
file reads only those.
|
||||
|
||||
> Filter (/ to type)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (/ to type)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options ? Help
|
||||
Vendored
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options ? Help
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options ? Help
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
A Continue B Quit
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
A Continue B Quit
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -426,7 +426,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -441,7 +441,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -674,7 +674,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -687,7 +687,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -703,8 +703,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (with a keyboard)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -778,7 +778,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -791,7 +791,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -807,7 +807,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1079,7 +1079,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -1100,7 +1100,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
A Continue B Quit
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
A Continue B Quit
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -426,7 +426,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -441,7 +441,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -674,7 +674,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -687,7 +687,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -703,8 +703,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (with a keyboard)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -778,7 +778,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -791,7 +791,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -807,7 +807,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1079,7 +1079,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -1100,7 +1100,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
A Continue B Quit
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
A Continue B Quit
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -426,7 +426,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -441,7 +441,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -674,7 +674,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -687,7 +687,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -703,8 +703,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (with a keyboard)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -778,7 +778,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -791,7 +791,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -807,7 +807,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1079,7 +1079,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install B Back Y Options
|
||||
@@ -1100,7 +1100,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
Enter Continue Esc Quit ? Help
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
Enter Continue Esc Quit ? Help
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -385,7 +385,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Enter Install Esc Back o Options
|
||||
@@ -401,7 +401,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Enter Install Esc Back o Options
|
||||
@@ -416,7 +416,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -649,7 +649,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -662,7 +662,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -678,8 +678,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (/ to type)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -811,7 +811,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -824,7 +824,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -840,7 +840,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1157,7 +1157,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Enter Install Esc Back o Options
|
||||
@@ -1178,7 +1178,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
A Continue R2 Quit
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
A Continue R2 Quit
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -439,7 +439,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install R2 Back L2 Options
|
||||
@@ -455,7 +455,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install R2 Back L2 Options
|
||||
@@ -470,7 +470,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -703,7 +703,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -716,7 +716,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -732,8 +732,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (with a keyboard)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -807,7 +807,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -820,7 +820,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -836,7 +836,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1153,7 +1153,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
A Install R2 Back L2 Options
|
||||
@@ -1174,7 +1174,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+15
-15
@@ -1,5 +1,5 @@
|
||||
=== setup 40x12
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ES-DE: files go to each emulator.
|
||||
Start Continue B Quit
|
||||
=== setup 40x15
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
Start Continue B Quit
|
||||
=== setup 80x24
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
@@ -439,7 +439,7 @@
|
||||
1 wrong copy: backed up, replaced.
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Start Install B Back
|
||||
@@ -455,7 +455,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Start Install B Back
|
||||
@@ -470,7 +470,7 @@
|
||||
|
||||
> Install
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
@@ -703,7 +703,7 @@
|
||||
=== cores 40x12
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -716,7 +716,7 @@
|
||||
=== cores 40x15
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the
|
||||
Untick the cores not in use: the
|
||||
platform's own files are always
|
||||
kept, and a core with no extra file
|
||||
reads only those.
|
||||
@@ -732,8 +732,8 @@
|
||||
=== cores 80x24
|
||||
RetroBIOS: Cores
|
||||
|
||||
Untick the cores you do not use: the platform's own files are always kept, and
|
||||
a core with no extra file reads only those.
|
||||
Untick the cores not in use: the platform's own files are always kept, and a
|
||||
core with no extra file reads only those.
|
||||
|
||||
> Filter (Select shows a keyboard)
|
||||
[ ] mesen 1 file, 8.0 KB
|
||||
@@ -865,7 +865,7 @@
|
||||
=== confirm 40x12
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -878,7 +878,7 @@
|
||||
=== confirm 40x15
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices.
|
||||
Counted again for these choices.
|
||||
Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.co.../retroarch/system
|
||||
@@ -894,7 +894,7 @@
|
||||
=== confirm 80x24
|
||||
RetroBIOS: Confirm
|
||||
|
||||
Counted again for your choices. Nothing is written before Install.
|
||||
Counted again for these choices. Nothing is written before Install.
|
||||
1 file to download, 16.0 KB
|
||||
BIOS folder: ~/.config/retroarch/system
|
||||
0 in place, 1 missing, 0 wrong copies
|
||||
@@ -1211,7 +1211,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy from your old card or a folder
|
||||
Copy from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
Start Install B Back
|
||||
@@ -1232,7 +1232,7 @@
|
||||
Only what starts: no
|
||||
Show the games
|
||||
Choose systems
|
||||
Copy the BIOS files from your old card or a folder
|
||||
Copy the BIOS files from an old card or a folder
|
||||
Options
|
||||
Quit
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
RetroBIOS: Where do you play?
|
||||
RetroBIOS: Where to install?
|
||||
|
||||
Found on this machine:
|
||||
|
||||
|
||||
@@ -6221,7 +6221,7 @@ class TheRepairCommandWritesTheFileNamed(unittest.TestCase):
|
||||
with self.assertRaises(DatabaseUnreadable) as caught:
|
||||
load_database(str(typo))
|
||||
message = str(caught.exception)
|
||||
self.assertIn(f"Did you mean {typo.with_name('database.json')}?", message)
|
||||
self.assertIn(f"Close match: {typo.with_name('database.json')}", message)
|
||||
self.assertNotIn("generate_db.py", message)
|
||||
|
||||
|
||||
@@ -7123,7 +7123,7 @@ class PlatformSystemTypoGetsTheClosestNames(unittest.TestCase):
|
||||
)
|
||||
self.assertIsNone(result)
|
||||
printed = out.getvalue()
|
||||
self.assertIn("Did you mean: sony-playstation", printed)
|
||||
self.assertIn("Close matches: sony-playstation", printed)
|
||||
self.assertIn("--platform retroarch --list-systems", printed)
|
||||
self.assertNotIn("3do", printed)
|
||||
|
||||
@@ -7423,7 +7423,7 @@ class ATargetTypoIsAnErrorInEveryTool(unittest.TestCase):
|
||||
output = proc.stdout + proc.stderr
|
||||
self.assertNotEqual(proc.returncode, 0)
|
||||
self.assertNotIn("Traceback", output)
|
||||
self.assertIn("Did you mean: switch?", output)
|
||||
self.assertIn("Close matches: switch.", output)
|
||||
self.assertIn("verify.py --platform retroarch --list-targets", output)
|
||||
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ class CoreResolutionTests(unittest.TestCase):
|
||||
self.assertEqual(cf.load_core_info_record(record), {"a": "2", "b": "1"})
|
||||
with self.assertRaises(cf.InputMissing) as raised:
|
||||
cf.record_core_info({"a": "2", "ghosts": "1"}, ["ghost"], record)
|
||||
self.assertIn("Did you mean: ghosts?", str(raised.exception))
|
||||
self.assertIn("Close matches: ghosts.", str(raised.exception))
|
||||
|
||||
def test_record_errors_are_one_line(self):
|
||||
"""A mistyped core and an empty offline cache ended on a traceback."""
|
||||
|
||||
@@ -1782,7 +1782,7 @@ class TheMuosApp(unittest.TestCase):
|
||||
proc = device.run([str(app / "mux_launch.sh"), str(app)], keys="\r", FAKE_CURL="7",
|
||||
RB_CONSOLE=device.console, RB_BIOS_DEST=str(sd2))
|
||||
self.assertEqual(proc.returncode, 0, proc.stderr.decode())
|
||||
self.assertIn("Copy the BIOS files from your other card?", device.screen)
|
||||
self.assertIn("Copy the BIOS files from the other card?", device.screen)
|
||||
self.assertIn(str(sd1), device.screen)
|
||||
[call] = device.tui_calls()
|
||||
self.assertEqual(call["args"], ["--tui", "--from", str(sd1), "--from-pack", str(pack),
|
||||
@@ -1899,8 +1899,8 @@ class TheToolsEntry(unittest.TestCase):
|
||||
RB_CONSOLE=device.console, RB_OTHER_CARDS=f"{roms}:{roms2}")
|
||||
self.assertEqual(proc.returncode, 1)
|
||||
screen = " ".join(device.screen.split())
|
||||
self.assertIn(f"Copy the BIOS files from your other card? {roms} holds files", screen)
|
||||
self.assertIn("with it, the files on your other card are copied too", screen)
|
||||
self.assertIn(f"Copy the BIOS files from the other card? {roms} holds files", screen)
|
||||
self.assertIn("with it, the files on the other card are copied too", screen)
|
||||
self.assertEqual(device.tui_calls(), [])
|
||||
|
||||
def test_amberelec_console(self):
|
||||
|
||||
@@ -5240,7 +5240,7 @@ class ATypoGetsTheClosestName(unittest.TestCase):
|
||||
err = io.StringIO()
|
||||
with contextlib.redirect_stderr(err), self.assertRaises(SystemExit):
|
||||
install.normalize_platform("spruce")
|
||||
self.assertIn("Did you mean: spruceOS?", err.getvalue())
|
||||
self.assertIn("Close matches: spruceOS.", err.getvalue())
|
||||
# The distinct names --list-platforms prints: Batocera is both a
|
||||
# platform and a system it recognises.
|
||||
names = [*install.AVAILABLE_PLATFORMS,
|
||||
@@ -5254,7 +5254,7 @@ class ATypoGetsTheClosestName(unittest.TestCase):
|
||||
with contextlib.redirect_stderr(err), self.assertRaises(SystemExit) as raised:
|
||||
install.normalize_platform("batocra")
|
||||
self.assertEqual(raised.exception.code, 2)
|
||||
self.assertIn("Did you mean: batocera?", err.getvalue())
|
||||
self.assertIn("Close matches: batocera.", err.getvalue())
|
||||
self.assertNotIn("recalbox", err.getvalue())
|
||||
|
||||
def test_a_system_is_found_inside_its_full_id(self):
|
||||
@@ -5272,7 +5272,7 @@ class ATypoGetsTheClosestName(unittest.TestCase):
|
||||
with self.assertRaises(ValueError) as raised:
|
||||
install.resolve_choices(["swanstaton"], known, "core")
|
||||
text = str(raised.exception)
|
||||
self.assertIn("Did you mean: swanstation?", text)
|
||||
self.assertIn("Close matches: swanstation.", text)
|
||||
self.assertIn("--list-cores lists all 201", text)
|
||||
self.assertNotIn("core17", text)
|
||||
|
||||
@@ -5287,7 +5287,7 @@ class ATypoGetsTheClosestName(unittest.TestCase):
|
||||
err = io.StringIO()
|
||||
with contextlib.redirect_stderr(err), self.assertRaises(SystemExit):
|
||||
install._unknown_target("swich", "retroarch", {"switch": {}, "desktop": {}})
|
||||
self.assertIn("Did you mean: switch?", err.getvalue())
|
||||
self.assertIn("Close matches: switch.", err.getvalue())
|
||||
self.assertIn("--list-targets", err.getvalue())
|
||||
|
||||
|
||||
@@ -7423,7 +7423,7 @@ class KeptFilesEndToEnd(unittest.TestCase, _SyntheticTree):
|
||||
proc = _install_run(self.env, "--platform", "retroarch", "--dest", str(self.bios),
|
||||
"--dry-run", "--no-input")
|
||||
self.assertEqual(proc.returncode, 0, proc.stderr)
|
||||
self.assertIn("Would keep 1 file you have (11 B)", proc.stdout)
|
||||
self.assertIn("Would keep 1 file already there (11 B)", proc.stdout)
|
||||
self.assertIn(str(self.home / install.BACKUP_DIR), proc.stdout)
|
||||
self.assertFalse((self.home / install.BACKUP_DIR).exists())
|
||||
self.assertEqual((self.bios / "b.bin").read_bytes(), b"other bytes")
|
||||
@@ -7440,7 +7440,7 @@ class KeptFilesEndToEnd(unittest.TestCase, _SyntheticTree):
|
||||
self.assertEqual((self.bios / "b.bin").read_bytes(), self.FILES["bios/A/b.bin"])
|
||||
runs = list((self.home / install.BACKUP_DIR).iterdir())
|
||||
self.assertEqual(len(runs), 1)
|
||||
self.assertIn("Kept 1 file you had (11 B), which the collection's copies "
|
||||
self.assertIn("Kept 1 file already there (11 B), which the collection's copies "
|
||||
f"replaced, in {runs[0]}", proc.stdout)
|
||||
self.assertIn(f"--restore {runs[0]}", proc.stdout)
|
||||
# a.bin held the expected bytes: it is not among the kept files.
|
||||
|
||||
@@ -442,7 +442,7 @@ class MisplacedInTheBiosFolder(Scratch):
|
||||
out = self.check()
|
||||
self.assertIn("4 of these files are in the BIOS folder in the wrong place: a run "
|
||||
"without --check copies them where the cores open them, and leaves "
|
||||
"your copies as they are.", out)
|
||||
"the copies found as they are.", out)
|
||||
self.assertFalse((self.dest / "scph5501.bin").exists())
|
||||
|
||||
def test_dry_run_counts_them_and_writes_nothing(self):
|
||||
|
||||
@@ -1040,7 +1040,7 @@ class OneOfflineVocabulary(Scratch):
|
||||
self.assertEqual(proc.returncode, 3, out)
|
||||
self.assertNotIn("to fetch them", out)
|
||||
self.assertIn("4 files need the internet, which --offline does not use.", out)
|
||||
self.assertIn("Copy them from your old card or a folder (--from)", out)
|
||||
self.assertIn("Copy them from an old card or a folder (--from)", out)
|
||||
|
||||
def test_the_screen_says_missing_not_failed(self):
|
||||
"""On the full screen: "Finished with errors, 20 failed"."""
|
||||
|
||||
@@ -326,7 +326,7 @@ class CommandLineChoices(unittest.TestCase):
|
||||
("genesis", "sega-mega-drive"), ("gb", "nintendo-gb")):
|
||||
with self.subTest(typed=typed), self.assertRaises(ValueError) as ctx:
|
||||
install.resolve_choices([typed], known, "system")
|
||||
self.assertIn(f"Did you mean: {meant}", str(ctx.exception))
|
||||
self.assertIn(f"Close matches: {meant}", str(ctx.exception))
|
||||
|
||||
def test_a_short_name_for_a_system_the_list_lacks_is_not_suggested(self):
|
||||
with self.assertRaises(ValueError) as ctx:
|
||||
@@ -1345,7 +1345,7 @@ class ThePlatformsOwnSystemNamesAreAccepted(unittest.TestCase):
|
||||
self.assertIn("nintendo-gba (gba)", listing.stdout)
|
||||
typo = repo.run("--system", "psxx", "--no-input")
|
||||
self.assertEqual(typo.returncode, 2)
|
||||
self.assertIn("Did you mean: sony-playstation", typo.stderr)
|
||||
self.assertIn("Close matches: sony-playstation", typo.stderr)
|
||||
|
||||
|
||||
|
||||
@@ -1484,7 +1484,7 @@ class SystemNamesResolveOneWay(unittest.TestCase):
|
||||
with self.assertRaises(ValueError) as caught:
|
||||
self._resolve("psx,psxx")
|
||||
self.assertIn("unknown system psxx", str(caught.exception))
|
||||
self.assertIn("Did you mean: psx?", str(caught.exception))
|
||||
self.assertIn("Close matches: psx.", str(caught.exception))
|
||||
|
||||
|
||||
class AnUnknownNativeNameIsRefusedBeforeAnyWork(unittest.TestCase):
|
||||
@@ -1504,7 +1504,7 @@ class AnUnknownNativeNameIsRefusedBeforeAnyWork(unittest.TestCase):
|
||||
cwd=REPO_ROOT, capture_output=True, text=True, timeout=300,
|
||||
)
|
||||
self.assertEqual(proc.returncode, 2, proc.stdout + proc.stderr)
|
||||
self.assertIn("unknown system psxx. Did you mean: psx?", proc.stderr)
|
||||
self.assertIn("unknown system psxx. Close matches: psx.", proc.stderr)
|
||||
self.assertNotIn("Traceback", proc.stderr)
|
||||
self.assertFalse((REPO_ROOT / "tmp" / "never").exists())
|
||||
|
||||
@@ -1634,7 +1634,7 @@ class ThePlatformsOwnListAlone(unittest.TestCase):
|
||||
|
||||
class AnIdAnotherSetupUses(unittest.TestCase):
|
||||
"""The Neo Geo card offers `--system snk-neogeo`, and RetroArch, which
|
||||
files neogeo.zip under arcade, answered "Did you mean: snk-neogeo-cd?"."""
|
||||
files neogeo.zip under arcade, answered "Close matches: snk-neogeo-cd."."""
|
||||
|
||||
KNOWN = ["arcade", "snk-neogeo-cd", "sony-playstation"]
|
||||
HOLDERS = {"snk-neogeo": ["arcade"]}
|
||||
@@ -1649,12 +1649,12 @@ class AnIdAnotherSetupUses(unittest.TestCase):
|
||||
for typed in ("snk-neogeo", "SNK-NeoGeo", "neogeo", "mvs", "aes"):
|
||||
with self.subTest(typed=typed):
|
||||
text = self._refusal(typed)
|
||||
self.assertIn("Did you mean: arcade?", text)
|
||||
self.assertIn("Close matches: arcade.", text)
|
||||
self.assertIn("neogeo.zip", text)
|
||||
self.assertNotIn("snk-neogeo-cd", text)
|
||||
|
||||
def test_a_typo_still_gets_the_closest_names(self):
|
||||
self.assertIn("Did you mean: snk-neogeo-cd", self._refusal("snk-neogeo-dc", {}))
|
||||
self.assertIn("Close matches: snk-neogeo-cd", self._refusal("snk-neogeo-dc", {}))
|
||||
|
||||
def test_holders_are_read_from_the_file_list(self):
|
||||
files = [
|
||||
@@ -1676,7 +1676,7 @@ class AnIdAnotherSetupUses(unittest.TestCase):
|
||||
capture_output=True, text=True, timeout=120, check=False,
|
||||
stdin=subprocess.DEVNULL)
|
||||
self.assertEqual(proc.returncode, 2, proc.stdout + proc.stderr)
|
||||
self.assertIn("Did you mean: arcade?", proc.stderr)
|
||||
self.assertIn("Close matches: arcade.", proc.stderr)
|
||||
self.assertNotIn("snk-neogeo-cd", proc.stderr)
|
||||
self.assertFalse(never.exists())
|
||||
|
||||
|
||||
+58
-58
@@ -822,7 +822,7 @@ class PlanWarnings(unittest.TestCase):
|
||||
state = checked_state({"free": 1024, "writable": False, "cores": []})
|
||||
text = " ".join(install.tui_view(state, 120, 40))
|
||||
self.assertIn("Not enough free space: 1.0 MB needed.", text)
|
||||
self.assertIn("You cannot write to this folder: choose another one.", text)
|
||||
self.assertIn("This folder cannot be written to: choose another one.", text)
|
||||
# sudo changes the home folder: the advice names this one.
|
||||
self.assertIn("Or run it as root, this folder named: sudo python3 install.py "
|
||||
f"--platform retroarch --dest {SYSTEM_DIR}",
|
||||
@@ -1556,10 +1556,10 @@ class SmallFixes(unittest.TestCase):
|
||||
def test_numbers_from_before_the_options_say_so(self):
|
||||
state = checked_state()
|
||||
state.stack.append("systems")
|
||||
self.assertNotIn("before your options", "\n".join(install.tui_view(state, 80, 24)))
|
||||
self.assertNotIn("before the options", "\n".join(install.tui_view(state, 80, 24)))
|
||||
state.regions = ["japan"]
|
||||
footer = "\n".join(install.tui_view(state, 80, 24)[-3:])
|
||||
self.assertIn("before your options", footer)
|
||||
self.assertIn("before the options", footer)
|
||||
|
||||
def test_a_cores_folder_implies_the_installed_cores(self):
|
||||
state = checked_state()
|
||||
@@ -2163,7 +2163,7 @@ class CopyFromAnOldCard(unittest.TestCase):
|
||||
state = checked_state()
|
||||
row = next(i for i, r in enumerate(install.tui_rows(state)) if r.action == "fromcard")
|
||||
self.assertEqual(install.tui_rows(state)[row].label,
|
||||
"Copy the BIOS files from your old card or a folder")
|
||||
"Copy the BIOS files from an old card or a folder")
|
||||
state.focus["plan"] = row
|
||||
state.home = old
|
||||
with mock.patch.object(install, "_mounted_cards", return_value=[]):
|
||||
@@ -2231,7 +2231,7 @@ class CopyFromAnOldCard(unittest.TestCase):
|
||||
# a fix copies, and the screen says the user's
|
||||
# copy stays.
|
||||
self.assertIn("1 file is in the wrong place, it will be copied where the emulators "
|
||||
"read it, your copy left as it is.", text)
|
||||
"read it, the copy left as it is.", text)
|
||||
row = next(i for i, r in enumerate(install.tui_rows(state)) if r.action == "misplaced")
|
||||
state.focus["plan"] = row
|
||||
press(state, "enter")
|
||||
@@ -2252,7 +2252,7 @@ class CopyFromAnOldCard(unittest.TestCase):
|
||||
state.finished = [("scph5500.bin", True, ""), ("gba_bios.bin", True, "")]
|
||||
text = " ".join(" ".join(install.tui_outcome(state)[1]).split())
|
||||
self.assertIn("1 file copied from the wrong place in the BIOS folder, 1 downloaded. "
|
||||
"Your copies in the wrong place were left as they are.", text)
|
||||
"The copies in the wrong place were left as they are.", text)
|
||||
|
||||
def test_a_local_copy_is_no_download_speed(self):
|
||||
state = checked_state()
|
||||
@@ -2688,7 +2688,7 @@ class CardsSpaceAndConfirm(unittest.TestCase):
|
||||
state = self.unavailable_state()
|
||||
_title, lines = install.tui_outcome(state)
|
||||
self.assertIn("Not available here, and needed to start its emulator: gba_extra.bin "
|
||||
"(Game Boy Advance). Your own copy goes in the BIOS folder.", lines)
|
||||
"(Game Boy Advance). An owned copy goes in the BIOS folder.", lines)
|
||||
self.assertNotIn("collection", " ".join(lines))
|
||||
|
||||
def test_it_is_left_out_when_it_does_not_concern_the_run(self):
|
||||
@@ -3819,7 +3819,7 @@ class BackTicksAndSaveFolder(unittest.TestCase):
|
||||
rows = [row.action for row in install.tui_rows(state)]
|
||||
text = " ".join(" ".join(install.tui_view(state, 120, 40)).split())
|
||||
self.assertEqual(rows, ["back"])
|
||||
self.assertIn("Copy them from your old card or a folder", text)
|
||||
self.assertIn("Copy them from an old card or a folder", text)
|
||||
state.found = [{"event": "found", "platform": "retroarch",
|
||||
"dest": FILES[0]["dest"], "folder": "/media/old",
|
||||
"path": "/media/old/x", "member": "", "reason": ""}]
|
||||
@@ -3850,7 +3850,7 @@ class BackTicksAndSaveFolder(unittest.TestCase):
|
||||
state = checked_state()
|
||||
state.stack.append("misplaced")
|
||||
self.assertEqual(install._pager_items(state)[0],
|
||||
"They are copied where the emulators read them. Your copies stay "
|
||||
"They are copied where the emulators read them. The copies found stay "
|
||||
"where they are.")
|
||||
|
||||
def test_the_save_folder_is_a_line_of_its_own(self):
|
||||
@@ -4280,9 +4280,9 @@ class AGoesIntoASubfolder(unittest.TestCase):
|
||||
with mock.patch.object(install, "_mounted_cards", return_value=[self.card]):
|
||||
install._browse_to(self.state, self.home)
|
||||
self.assertEqual(self.focused().label, ".cache/")
|
||||
self.assertIn("No setup reads BIOS files in your home folder", self.state.status)
|
||||
self.assertIn("No setup reads BIOS files in the home folder", self.state.status)
|
||||
screen = " ".join(" ".join(install.tui_view(self.state, 80, 24)).split())
|
||||
self.assertIn("No setup reads BIOS files in your home folder.", screen)
|
||||
self.assertIn("No setup reads BIOS files in the home folder.", screen)
|
||||
|
||||
def test_on_windows_the_other_drives_are_passed_over(self):
|
||||
"""The card rows are drive roots there (E:\\): at D:\\ the first
|
||||
@@ -4857,7 +4857,7 @@ class EndToEnd(unittest.TestCase):
|
||||
def test_three_presses_install_everything(self):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
screen = term.wait("Where do you play?")
|
||||
screen = term.wait("Where to install?")
|
||||
self.assertIn("> RetroArch", screen)
|
||||
term.send("\r")
|
||||
screen = term.wait("files to download")
|
||||
@@ -4906,7 +4906,7 @@ class EndToEnd(unittest.TestCase):
|
||||
self.assertIn("6 files installed", proc.stdout)
|
||||
else:
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
screen = term.wait("files to download")
|
||||
self.assertIn("6 files to download", screen)
|
||||
@@ -5065,7 +5065,7 @@ class EndToEnd(unittest.TestCase):
|
||||
def test_ctrl_c_on_the_first_screen(self):
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\x03")
|
||||
self.assertEqual(term.close(), 130)
|
||||
self.assertIn(b"\x1b[?2004l\x1b[0m\x1b[?25h\x1b[?1049l", term.raw)
|
||||
@@ -5075,7 +5075,7 @@ class EndToEnd(unittest.TestCase):
|
||||
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
mark = len(term.raw)
|
||||
os.kill(term.pid, signal.SIGTSTP)
|
||||
end = time.monotonic() + 10
|
||||
@@ -5100,11 +5100,11 @@ class EndToEnd(unittest.TestCase):
|
||||
"""The terminal gone, the farewell has nowhere to go: the code is
|
||||
129 (SIGHUP), not 120 from the flush failing at exit."""
|
||||
self.repo()
|
||||
for screen_name, keys_first in (("Where do you play?", ()),
|
||||
for screen_name, keys_first in (("Where to install?", ()),
|
||||
("files to download", ("\r",))):
|
||||
with self.subTest(screen=screen_name):
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send(*keys_first)
|
||||
term.wait(screen_name)
|
||||
os.close(term.fd)
|
||||
@@ -5153,12 +5153,12 @@ class EndToEnd(unittest.TestCase):
|
||||
self.repo()
|
||||
self.env[install.TUI_IDLE_ENV] = "1"
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
self.assertEqual(term.close(), install.QUIT_CODE)
|
||||
self.assertIn("No button pressed, closing.", term.after())
|
||||
# A key pressed, the screen stays: the person is there.
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send(DOWN)
|
||||
end = time.monotonic() + 2.5
|
||||
while time.monotonic() < end:
|
||||
@@ -5188,7 +5188,7 @@ class EndToEnd(unittest.TestCase):
|
||||
with self.subTest(env=env):
|
||||
self.env.update(env)
|
||||
term = self.start(cols=40, rows=12)
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
screen = term.wait(bar)
|
||||
self.assertEqual(screen.splitlines()[-1].strip(), bar)
|
||||
term.send("q")
|
||||
@@ -5199,7 +5199,7 @@ class EndToEnd(unittest.TestCase):
|
||||
def test_resize_redraws(self):
|
||||
self.repo()
|
||||
term = self.start(cols=40, rows=15)
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.resize(100, 30)
|
||||
term.send(DOWN)
|
||||
screen = term.wait("> Another setup or folder")
|
||||
@@ -5207,7 +5207,7 @@ class EndToEnd(unittest.TestCase):
|
||||
term.resize(30, 10)
|
||||
term.wait("40x12 or more, now 30x10")
|
||||
term.resize(40, 12)
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("q")
|
||||
self.assertEqual(term.close(), install.QUIT_CODE)
|
||||
|
||||
@@ -5285,7 +5285,7 @@ class EndToEnd(unittest.TestCase):
|
||||
self.env.pop("NO_COLOR", None)
|
||||
self.env.update({"TERM": "xterm", **env})
|
||||
term = self.start()
|
||||
screen = term.wait("Where do you play?")
|
||||
screen = term.wait("Where to install?")
|
||||
self.assertIn("> RetroArch", screen)
|
||||
screens[name] = screen
|
||||
# pyte reads the colours drawn: RetroBIOS in the accent.
|
||||
@@ -5518,7 +5518,7 @@ class TheTerminalComesBack(unittest.TestCase):
|
||||
def ended(self, how) -> Pty:
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
# Every way out below starts with the clicks asked for, written
|
||||
# right after the frame.
|
||||
term.settle()
|
||||
@@ -5578,7 +5578,7 @@ class TheTerminalComesBack(unittest.TestCase):
|
||||
job control it stops, and fg brings the screen back."""
|
||||
term = self.shell()
|
||||
self.typed(term, f"{shlex.quote(sys.executable)} {REPO_ROOT / 'install.py'} --tui")
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
mark = len(term.raw)
|
||||
term.send("\x1a")
|
||||
end = time.monotonic() + 10
|
||||
@@ -5593,7 +5593,7 @@ class TheTerminalComesBack(unittest.TestCase):
|
||||
while b"\x1b[?1049h" not in term.raw[mark:] and time.monotonic() < end:
|
||||
term._pump(0.05)
|
||||
self.assertIn(b"\x1b[?1049h", term.raw[mark:])
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
self.assertFalse(termios.tcgetattr(term.fd)[3] & termios.ECHO)
|
||||
# The clicks come back with the screen.
|
||||
term.settle()
|
||||
@@ -5615,7 +5615,7 @@ class TheTerminalComesBack(unittest.TestCase):
|
||||
term = Pty(["--tui"], self.env, program=program)
|
||||
self.addCleanup(lambda term=term: term.status is None
|
||||
and os.killpg(term.pid, 9))
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\x1a")
|
||||
screen = term.wait("Ctrl-Z is ignored")
|
||||
self.assertIn("no shell started this installer", " ".join(screen.split()))
|
||||
@@ -5671,7 +5671,7 @@ class TheTerminalComesBack(unittest.TestCase):
|
||||
self.addCleanup(lambda: term.status is None and os.killpg(term.pid, 9))
|
||||
term.wait("PROMPT$")
|
||||
self.typed(term, f"sh {REPO_ROOT / 'install.sh'} --jobs 1")
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("to download")
|
||||
term.send("\r")
|
||||
@@ -6238,7 +6238,7 @@ class ConfirmRefusalsAndCardRows(unittest.TestCase):
|
||||
# Back alone, no word of an Install.
|
||||
self.assertNotIn("before Install", text)
|
||||
self.assertNotIn("backup folder", text)
|
||||
self.assertIn("Copy them from your old card", text)
|
||||
self.assertIn("Copy them from an old card", text)
|
||||
# The short names at 40 columns, as every screen of that width.
|
||||
self.assertEqual(view[-1].strip(), "A Back ? Help")
|
||||
|
||||
@@ -6763,7 +6763,7 @@ class WhatEachScreenOffers(unittest.TestCase):
|
||||
self.assertIn("handhelds come after RetroArch", " ".join(text.split()))
|
||||
state.pad = "keys"
|
||||
text = " ".join(" ".join(install.tui_view(state, 80, 24)).split())
|
||||
self.assertIn("type your device's name (/)", text)
|
||||
self.assertIn("type the device's name (/)", text)
|
||||
self.assertIn("Filter by setup or device name",
|
||||
[what for _key, what in install._help_lines(state)])
|
||||
# Something found here: the list keeps its order.
|
||||
@@ -6776,7 +6776,7 @@ class WhatEachScreenOffers(unittest.TestCase):
|
||||
with mock.patch.object(install, "_ask", side_effect=["bittboy"]), \
|
||||
contextlib.redirect_stdout(io.StringIO()) as out:
|
||||
self.assertEqual(install._choose_platform("Which?"), "MiyooCFW")
|
||||
self.assertIn("your device's name", out.getvalue())
|
||||
self.assertIn("the device's name", out.getvalue())
|
||||
choices = install._line_setups()
|
||||
onion = [name for name, _label in choices].index("Onion") + 1
|
||||
with mock.patch.object(install, "_ask", side_effect=["miyoo mini+", str(onion)]), \
|
||||
@@ -6848,7 +6848,7 @@ class WhatEachScreenOffers(unittest.TestCase):
|
||||
self.assertIn("Not in from1: ", text)
|
||||
self.assertIn("Run the installer again with a pack (--from-pack)", text)
|
||||
self.assertNotIn("They are not in", text)
|
||||
self.assertNotIn("Copy them from your old card", text)
|
||||
self.assertNotIn("Copy them from an old card", text)
|
||||
|
||||
def test_the_card_browser_focuses_the_card_asked_for(self):
|
||||
"""The muOS card, listed first, was focused for Onion."""
|
||||
@@ -7324,7 +7324,7 @@ class _LineModeFindings(_CardFixtures):
|
||||
with mock.patch.object(install, "_folder_writable", return_value=False), \
|
||||
mock.patch.object(install, "_on_read_only_mount", return_value=False):
|
||||
lines = install.folder_warnings("retroarch", self.root, [], hint, True, False)
|
||||
self.assertIn("You cannot write to this folder: run it again with another --dest.",
|
||||
self.assertIn("This folder cannot be written to: run it again with another --dest.",
|
||||
lines)
|
||||
self.assertNotIn("choose another one", " ".join(lines))
|
||||
with mock.patch.object(install, "_folder_writable", return_value=False), \
|
||||
@@ -8191,7 +8191,7 @@ class LineModeAndScreenDecideAlike(_LineModeFindings, _OutsideTextFindings,
|
||||
listing = self.listing("retroarch", files)
|
||||
args = _args(manifest=listing, dest=self.here, declared_only=False)
|
||||
text, asked = self.line_run(args, ["c", "1"])
|
||||
self.assertIn("Counted again for your choices. Nothing is written before Enter.", text)
|
||||
self.assertIn("Counted again for these choices. Nothing is written before Enter.", text)
|
||||
self.assertIn("RetroArch: 1 file, 3 B, for 1 of 2 systems.", text)
|
||||
self.assertIn("Enter) install these", text)
|
||||
self.assertEqual(asked[-1], "> ")
|
||||
@@ -8524,7 +8524,7 @@ class LineModeAndScreenDecideAlike(_LineModeFindings, _OutsideTextFindings,
|
||||
self.assertNotRegex(text, r"Narrowed (\d+) to \1 files")
|
||||
text, _asked = self.line_run(_args(**args), ["c", "1", ""])
|
||||
# The menu counted the choice again before Enter: said once.
|
||||
self.assertIn("Counted again for your choices", text)
|
||||
self.assertIn("Counted again for these choices", text)
|
||||
self.assertNotIn("Narrowed", text)
|
||||
args = _args(manifest=self.counted_list(), dest=self.here, declared_only=False,
|
||||
dry_run=True, no_input=True, system=["doom"])
|
||||
@@ -8864,7 +8864,7 @@ class PacksWordingAndDocs(unittest.TestCase):
|
||||
state.dest = state.home
|
||||
lines = " ".join(str(line) for line in install._plan_lines(state.check, state.dest,
|
||||
state))
|
||||
self.assertIn("No setup reads BIOS files in your home folder.", lines)
|
||||
self.assertIn("No setup reads BIOS files in the home folder.", lines)
|
||||
|
||||
def test_systems_seen_and_left_unchanged_keep_the_exact_plan(self):
|
||||
"""Opening Choose systems on a --system plan and
|
||||
@@ -10695,14 +10695,14 @@ class MouseOnAPty(unittest.TestCase):
|
||||
def test_taps_choose_a_row_and_press_the_bar(self):
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.settle()
|
||||
self.assertIn(install._MOUSE_ON.encode(), term.raw)
|
||||
row = self.line_of(term, "Another setup")
|
||||
self.click(term, 60, row)
|
||||
term.settle()
|
||||
self.assertTrue(term.screen.buffer[row][3].reverse, term.text())
|
||||
self.assertIn("Where do you play?", term.text())
|
||||
self.assertIn("Where to install?", term.text())
|
||||
self.click(term, 60, row)
|
||||
term.wait("Which setup?")
|
||||
# The bar's ? Help, pressed by a click.
|
||||
@@ -11340,7 +11340,7 @@ class TapsOnAPty(unittest.TestCase):
|
||||
def test_taps_on_systems_tick_and_write_nothing(self):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
row = self.line_of(term, "Choose systems")
|
||||
@@ -11367,7 +11367,7 @@ class TapsOnAPty(unittest.TestCase):
|
||||
def test_the_result_is_left_by_a_tap_on_exit(self):
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("files to download")
|
||||
row = self.line_of(term, "> Install")
|
||||
@@ -12245,7 +12245,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
def test_one_tap_on_the_bar_install_installs_nothing(self):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
term.settle()
|
||||
@@ -12260,7 +12260,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
def test_a_double_tap_on_continue_neither_quits_nor_installs(self):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.settle()
|
||||
col, line = self.bar_entry(term, "Continue")
|
||||
report = sgr(col + 1, line + 1) + sgr(col + 1, line + 1, release=True)
|
||||
@@ -12282,7 +12282,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
with self.subTest(gap=gap):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.settle()
|
||||
time.sleep(install.TUI_TAP_SETTLE)
|
||||
col, line = self.bar_entry(term, "Continue")
|
||||
@@ -12292,7 +12292,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
time.sleep(gap)
|
||||
os.write(term.fd, (press + release).encode())
|
||||
screen = term.settle(0.8)
|
||||
self.assertNotIn("Where do you play?", screen)
|
||||
self.assertNotIn("Where to install?", screen)
|
||||
self.assertNotIn("Quit?", screen)
|
||||
term.wait("> Install")
|
||||
self.assertEqual(repo.installed(), [])
|
||||
@@ -12302,7 +12302,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
def test_continue_then_install_in_one_cell_stops_on_confirm(self):
|
||||
repo = self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
row = self.line_of(term, "Choose systems")
|
||||
@@ -12328,7 +12328,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
report = sgr(col + 1, line + 1) + sgr(col + 1, line + 1, release=True)
|
||||
time.sleep(install.TUI_TAP_SETTLE)
|
||||
term.send(report + report)
|
||||
term.wait("Counted again for your choices")
|
||||
term.wait("Counted again for these choices")
|
||||
screen = term.settle(0.6)
|
||||
self.assertIn("RetroBIOS: Confirm", screen)
|
||||
self.assertEqual(repo.installed(), [])
|
||||
@@ -12345,7 +12345,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
|
||||
repo = self.repo(GameDataRepository)
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
for _step in range(8):
|
||||
@@ -12388,7 +12388,7 @@ class TapsOnAPtySeeFirst(unittest.TestCase):
|
||||
def test_two_taps_on_a_region_untick_it_where_it_was(self):
|
||||
self.repo()
|
||||
term = self.start()
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
term.send("o")
|
||||
@@ -12472,7 +12472,7 @@ class ChoiceStateInBothModes(unittest.TestCase):
|
||||
text, asked = self.line_run(_args(manifest=self.game_listing(), dest=self.here,
|
||||
declared_only=False),
|
||||
["c", "2", "g", ""])
|
||||
menu = text.rsplit("Counted again for your choices", 1)[1]
|
||||
menu = text.rsplit("Counted again for these choices", 1)[1]
|
||||
self.assertIn("RetroArch: sega-dreamcast holds only game data: nothing is left to "
|
||||
"install.", menu)
|
||||
self.assertNotIn("0 files, 0 B", menu)
|
||||
@@ -12894,9 +12894,9 @@ class DriveIsACardByItsFiles(unittest.TestCase):
|
||||
|
||||
# The note on drives with a bios folder and no handheld's folder.
|
||||
UNPROVEN_TWO = ("DATA and STICK have a bios folder but no folder a handheld system "
|
||||
"writes. Pick one below if your files go there.")
|
||||
"writes. Pick one below if the BIOS files go there.")
|
||||
UNPROVEN_ONE = ("DATA has a bios folder but no folder a handheld system writes. Pick "
|
||||
"it below if your files go there.")
|
||||
"it below if the BIOS files go there.")
|
||||
|
||||
def test_the_layouts_handhelds_write_are_cards(self):
|
||||
"""ArkOS's EASYROMS, AmberELEC's GAMES and EmuELEC's EEROMS, each
|
||||
@@ -13054,7 +13054,7 @@ class TheSettleRunsFromTheFrameShown(unittest.TestCase):
|
||||
env = {**self.env, "SLOW": "0.5"}
|
||||
term = Pty([], env, 80, 24, program=[sys.executable, str(wrapper)])
|
||||
self.addCleanup(lambda: term.status is None and os.kill(term.pid, 9))
|
||||
term.wait("Where do you play?")
|
||||
term.wait("Where to install?")
|
||||
term.send("\r")
|
||||
term.wait("> Install")
|
||||
term.settle()
|
||||
@@ -13823,7 +13823,7 @@ class ProvenCardsAndCounts(unittest.TestCase):
|
||||
text, _asked = self.line_run(_args(manifest=listing, dest=dest, platform="retroarch",
|
||||
declared_only=False, dry_run=True), [])
|
||||
self.assertIn("Not available here: jazz2/Source/Anims.j2a (Jazz Jackrabbit 2), game "
|
||||
"data its game reads. Copy it from your own copy of the game into "
|
||||
"data its game reads. Copy it from an owned copy of the game into "
|
||||
f"{dest / 'jazz2' / 'Source'}{os.sep}.", text)
|
||||
self.assertEqual(install.not_installable_words(37, 1, {"not_found": 37}),
|
||||
"Not installable: 37 files are not in the collection, 1 of them "
|
||||
@@ -14019,7 +14019,7 @@ class ProvenCardsAndCounts(unittest.TestCase):
|
||||
mounts = [data, stick]
|
||||
state, text, rows = self.folder_screen(mounts)
|
||||
self.assertIn("DATA and STICK have a bios folder but no folder a handheld system "
|
||||
"writes. Pick one below if your files go there.", text)
|
||||
"writes. Pick one below if the BIOS files go there.", text)
|
||||
labels = [row.label for row in rows]
|
||||
self.assertIn("DATA: bios (drive)", labels)
|
||||
self.assertIn("STICK: bios (drive)", labels)
|
||||
@@ -14174,7 +14174,7 @@ class ProvenCardsAndCounts(unittest.TestCase):
|
||||
declared_only=False, dry_run=True),
|
||||
["c", "", "2"])
|
||||
self.assertIn("Every core's extra files are kept: Enter keeps them all", text)
|
||||
head = text.rsplit("Counted again for your choices", 1)[1]
|
||||
head = text.rsplit("Counted again for these choices", 1)[1]
|
||||
self.assertIn("1 of 2 cores", head)
|
||||
self.assertEqual(install.cores_words(0, 2), "0 of 2 cores")
|
||||
self.assertEqual(install.cores_words(2, 2), "all cores")
|
||||
@@ -14294,7 +14294,7 @@ class CoresListAndFolderFailures(unittest.TestCase):
|
||||
text, _asked = self.line_run(
|
||||
_args(manifest=listing, dest=self.root / "dest", declared_only=False,
|
||||
dry_run=True, no_game_data=no_game_data), ["c", "", "1"])
|
||||
head = text.rsplit("Counted again for your choices", 1)[1]
|
||||
head = text.rsplit("Counted again for these choices", 1)[1]
|
||||
self.assertIn(f"1 of {len(expected)} cores", head)
|
||||
state.cores = ["mesen"]
|
||||
self.assertIn(f"1 of {len(expected)}",
|
||||
@@ -14450,7 +14450,7 @@ class CoresListAndFolderFailures(unittest.TestCase):
|
||||
state.os_type = "android"
|
||||
for cols, rows in ((40, 12), (80, 24)):
|
||||
text = self.text(state, cols, rows)
|
||||
self.assertIn("You cannot write to this folder", text)
|
||||
self.assertIn("This folder cannot be written to", text)
|
||||
self.assertNotIn("sudo", text)
|
||||
|
||||
# Root cause 4: every proven card named, the real marker said.
|
||||
@@ -14559,7 +14559,7 @@ class CoresListAndFolderFailures(unittest.TestCase):
|
||||
state = checked_state()
|
||||
state.regions = ["japan"]
|
||||
text = self.text(state, 100, 30)
|
||||
self.assertIn("For your choice: regions ranked.", text)
|
||||
self.assertIn("For this choice: regions ranked.", text)
|
||||
self.assertNotIn(" --region.", text)
|
||||
|
||||
def test_offline_choice_of_systems_is_never_about_0_files(self):
|
||||
|
||||
@@ -293,10 +293,10 @@ class RecordsNameNoLocalPath(unittest.TestCase):
|
||||
|
||||
def test_the_summary_names_the_options(self) -> None:
|
||||
root = Path("/srv/run/tmp/pack_probe/retroarch/installer")
|
||||
out = (f"Copy it from your own copy of the game into {root / 'system'}/jazz2/Source/.\n"
|
||||
out = (f"Copy it from an owned copy of the game into {root / 'system'}/jazz2/Source/.\n"
|
||||
f"Saves go to {root / 'saves'}.\n")
|
||||
summary = pp.installer_summary(out, root / "system", root / "saves")
|
||||
self.assertEqual(summary, "Copy it from your own copy of the game into <dest>/jazz2/Source/. "
|
||||
self.assertEqual(summary, "Copy it from an owned copy of the game into <dest>/jazz2/Source/. "
|
||||
"Saves go to <save-dir>.")
|
||||
|
||||
def test_no_committed_record_holds_a_local_path(self) -> None:
|
||||
|
||||
+1
-1
@@ -440,7 +440,7 @@ class TheScreens(unittest.TestCase):
|
||||
])
|
||||
summary = [s for s in shown if s[:2] == ("list", "summary")][0][2]
|
||||
self.assertEqual(summary["info:result"][0], "Installed: 2 files")
|
||||
self.assertEqual(summary["info:kept:1"][0], "Kept 1 file you had (100 B)")
|
||||
self.assertEqual(summary["info:kept:1"][0], "Kept 1 file already there (100 B)")
|
||||
self.assertIn("/roms/retrobios-backup/20261022-153000", summary["info:kept:1"][1])
|
||||
self.assertEqual(self.calls(), [
|
||||
"--check --events",
|
||||
|
||||
@@ -5639,7 +5639,7 @@ class TestSelectionNamesWhatMatchedNothing(unittest.TestCase):
|
||||
def test_a_misspelt_emulator_suggests(self):
|
||||
with self.assertRaises(SystemExit) as caught:
|
||||
profile_sync.select_profiles(self.PROFILES, self._args(emulator="handyy"))
|
||||
self.assertIn("Did you mean: handy", str(caught.exception.code))
|
||||
self.assertIn("Close matches: handy", str(caught.exception.code))
|
||||
|
||||
def test_a_matching_filter_selects(self):
|
||||
selected = profile_sync.select_profiles(self.PROFILES, self._args(system="atari-lynx"))
|
||||
|
||||
@@ -1045,7 +1045,7 @@ class UnknownRegionSaysWhatToType(unittest.TestCase):
|
||||
with self.assertRaises(ValueError) as caught:
|
||||
region.parse_requested("uss")
|
||||
message = str(caught.exception)
|
||||
self.assertIn("Did you mean: us", message)
|
||||
self.assertIn("Close matches: us", message)
|
||||
self.assertIn("Short forms: jp", message)
|
||||
|
||||
def test_the_installer_says_the_same(self):
|
||||
@@ -1058,7 +1058,7 @@ class UnknownRegionSaysWhatToType(unittest.TestCase):
|
||||
spec.loader.exec_module(install)
|
||||
with self.assertRaises(ValueError) as caught:
|
||||
install.canonical_region("europ")
|
||||
self.assertIn("Did you mean: europe", str(caught.exception))
|
||||
self.assertIn("Close matches: europe", str(caught.exception))
|
||||
self.assertIn("Short forms:", str(caught.exception))
|
||||
|
||||
|
||||
|
||||
@@ -92,7 +92,8 @@ class TrustItemsSayWhereItWrites(unittest.TestCase):
|
||||
self.assertIn("--restore", text)
|
||||
|
||||
def test_home_shows_the_same_items(self):
|
||||
home = _page("index.md")
|
||||
# A term's first use on the page carries its gloss.
|
||||
home = re.sub(r"</?abbr[^>]*>", "", _page("index.md"))
|
||||
for item in siteguides.TRUST_ITEMS:
|
||||
self.assertIn(f"- {item}", home)
|
||||
self.assertNotIn("only in your BIOS folder", home)
|
||||
@@ -1036,7 +1037,7 @@ class GetIndex(unittest.TestCase):
|
||||
class HomeAndWhichPack(unittest.TestCase):
|
||||
def test_the_home_step_does_not_promise_a_zip(self):
|
||||
text = _plain_page("index.md")
|
||||
self.assertIn("**Run one command.** Some setups have a ZIP.", text)
|
||||
self.assertIn("**Paste it, press Enter.** Some setups have a ZIP.", text)
|
||||
self.assertNotIn("or download a ZIP file", text)
|
||||
|
||||
def test_which_pack_answers_ios(self):
|
||||
|
||||
@@ -67,18 +67,9 @@ NAMES: dict[str, str] = {
|
||||
}
|
||||
|
||||
# Program output quoted word for word. INSTALLER holds install.py's own
|
||||
# messages, which the pass over the installer's wording rewrites, and empties
|
||||
# this list with it. SOURCE holds what an emulator prints, quoted in its
|
||||
# messages, empty since the installer speaks without pronouns. SOURCE holds what an emulator prints, quoted in its
|
||||
# profile from the emulator's code, which this project does not write.
|
||||
INSTALLER: dict[str, str] = {
|
||||
"Where do you play?": "title of the installer's first screen",
|
||||
"Copy the BIOS files from your old card or a folder": "installer menu row",
|
||||
"copy the BIOS files from your other card": "installer menu row on a two-card handheld",
|
||||
"if your files go there.": "installer hint for a card with no handheld system folder",
|
||||
"See [Files you already had]": (
|
||||
"link label in the generated options table of wiki/installer.md, "
|
||||
"kept by generate_installer_doc"),
|
||||
}
|
||||
INSTALLER: dict[str, str] = {}
|
||||
SOURCE: dict[str, str] = {
|
||||
"You do not have a ROM image installed for Model": "sdltrs message, emulators/sdl2trs.yml",
|
||||
"You might not get sound because": "lindbergh-loader message, emulators/lindbergh-loader.yml",
|
||||
|
||||
@@ -129,7 +129,7 @@ class AMistypedPlatformIsNamed(unittest.TestCase):
|
||||
)
|
||||
self.assertNotEqual(proc.returncode, 0)
|
||||
self.assertNotIn("Traceback", proc.stderr, proc.stderr)
|
||||
self.assertIn("Did you mean 'batocera'?", proc.stderr)
|
||||
self.assertIn("Close match: 'batocera'.", proc.stderr)
|
||||
self.assertFalse(out.exists())
|
||||
|
||||
def test_the_names_the_site_prints_are_accepted(self):
|
||||
@@ -175,7 +175,7 @@ class CrossReferenceAnswersForTheEmulatorAsked(unittest.TestCase):
|
||||
proc = self._run("--emulator", "dolhpin")
|
||||
self.assertNotEqual(proc.returncode, 0)
|
||||
self.assertNotIn("Traceback", proc.stderr)
|
||||
self.assertIn("Did you mean: dolphin", proc.stderr)
|
||||
self.assertIn("Close matches: dolphin", proc.stderr)
|
||||
listing = self._run("--list-emulators")
|
||||
self.assertEqual(listing.returncode, 0)
|
||||
self.assertIn("dolphin", listing.stdout.split())
|
||||
@@ -562,7 +562,7 @@ class ATypoGetsTheNearestNames(unittest.TestCase):
|
||||
def test_suggestions_follow_the_typed_name(self):
|
||||
hint = common.suggest_names(["sony-playstaton"],
|
||||
["3do", "apple-ii", "sony-playstation"], "--list-systems")
|
||||
self.assertEqual(hint, "Did you mean: sony-playstation? --list-systems lists all 3.")
|
||||
self.assertEqual(hint, "Close matches: sony-playstation. --list-systems lists all 3.")
|
||||
self.assertEqual(common.suggest_names(["zzz"], ["3do"], "--list-systems"),
|
||||
"Known: 3do.")
|
||||
many = [f"system-{i}" for i in range(40)]
|
||||
|
||||
@@ -49,7 +49,7 @@ class ABuildbotNameSelectsItsProfile(unittest.TestCase):
|
||||
def test_an_unknown_name_still_gets_a_hint(self):
|
||||
with self.assertRaises(common.ProfileSelectionError) as caught:
|
||||
common.select_emulator_profiles(["pcsx3"], self.PROFILES)
|
||||
self.assertIn("Did you mean", str(caught.exception))
|
||||
self.assertIn("Close match", str(caught.exception))
|
||||
|
||||
def test_cross_reference_reports_the_resolved_profile(self):
|
||||
"""cross_reference filtered on the typed name, found no profile under
|
||||
@@ -81,7 +81,7 @@ class AMistypedTargetGetsTheClosestName(unittest.TestCase):
|
||||
with self.assertRaises(ValueError) as caught:
|
||||
common.load_target_config("p", "swich", tmp)
|
||||
message = str(caught.exception)
|
||||
self.assertIn("Did you mean: switch?", message)
|
||||
self.assertIn("Close matches: switch.", message)
|
||||
self.assertIn("lists all 31", message)
|
||||
self.assertNotIn("board-0", message)
|
||||
|
||||
@@ -244,7 +244,7 @@ class AMistypedTargetAcrossAllPlatforms(unittest.TestCase):
|
||||
common.build_target_cores_cache(
|
||||
platforms, "swich", str(REPO_ROOT / "platforms"), is_all=True
|
||||
)
|
||||
self.assertIn("Did you mean: switch (", str(caught.exception))
|
||||
self.assertIn("Close matches: switch (", str(caught.exception))
|
||||
self.assertIn("retroarch", str(caught.exception))
|
||||
self.assertEqual(out.getvalue(), "")
|
||||
|
||||
@@ -258,7 +258,7 @@ class AMistypedDataKeyGetsTheClosestName(unittest.TestCase):
|
||||
cwd=REPO_ROOT, capture_output=True, text=True, check=False,
|
||||
)
|
||||
self.assertEqual(proc.returncode, 1)
|
||||
self.assertIn("unknown key: dolphin-sis. Did you mean: dolphin-sys? --dry-run lists all",
|
||||
self.assertIn("unknown key: dolphin-sis. Close matches: dolphin-sys. --dry-run lists all",
|
||||
proc.stderr)
|
||||
self.assertNotIn("ppsspp-assets", proc.stderr)
|
||||
|
||||
|
||||
Reference in new issue
Block a user