ehbrs-tools 0.23.0 → 0.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.avm.yml +4 -0
- data/.rspec +1 -0
- data/.rubocop.yml +39 -0
- data/Gemfile.lock +269 -0
- data/exe/ehbrs +2 -2
- data/lib/ehbrs/tools/runner/cooking_book/build.rb +52 -0
- data/lib/ehbrs/tools/runner/cooking_book.rb +32 -0
- data/lib/ehbrs/tools/runner/finances/bb_browser.rb +66 -0
- data/lib/ehbrs/{runner/videos/series.rb → tools/runner/finances.rb} +4 -4
- data/lib/ehbrs/tools/runner/fs/selected.rb +81 -0
- data/lib/ehbrs/tools/runner/fs/used_space.rb +161 -0
- data/lib/ehbrs/tools/runner/fs.rb +18 -0
- data/lib/ehbrs/tools/runner/google/translate.rb +89 -0
- data/lib/ehbrs/tools/runner/google.rb +18 -0
- data/lib/ehbrs/tools/runner/music/selected.rb +28 -0
- data/lib/ehbrs/tools/runner/music.rb +18 -0
- data/lib/ehbrs/tools/runner/self/test.rb +27 -0
- data/lib/ehbrs/tools/runner/self.rb +18 -0
- data/lib/ehbrs/tools/runner/telegram/send_message.rb +31 -0
- data/lib/ehbrs/tools/runner/telegram.rb +28 -0
- data/lib/ehbrs/tools/runner/vg/ips.rb +134 -0
- data/lib/ehbrs/tools/runner/vg/wii.rb +74 -0
- data/lib/ehbrs/tools/runner/vg.rb +18 -0
- data/lib/ehbrs/tools/runner/videos/extract.rb +70 -0
- data/lib/ehbrs/tools/runner/videos/probe.rb +34 -0
- data/lib/ehbrs/tools/runner/videos/series/rename.rb +74 -0
- data/lib/ehbrs/tools/runner/videos/series.rb +20 -0
- data/lib/ehbrs/tools/runner/videos/unsupported.rb +61 -0
- data/lib/ehbrs/{runner/web_utils → tools/runner}/videos.rb +3 -3
- data/lib/ehbrs/tools/runner/web_utils/videos/download.rb +75 -0
- data/lib/ehbrs/tools/runner/web_utils/videos/upload.rb +77 -0
- data/lib/ehbrs/tools/runner/web_utils/videos.rb +20 -0
- data/lib/ehbrs/tools/runner/web_utils.rb +26 -0
- data/lib/ehbrs/tools/runner.rb +21 -0
- data/lib/ehbrs/tools/version.rb +1 -1
- data/spec/code/rubocop_spec.rb +3 -0
- data/spec/lib/ehbrs/cooking_book/recipe/measure_spec.rb +21 -0
- data/spec/lib/ehbrs/observers/base_spec.rb +93 -0
- data/spec/lib/ehbrs/tools/runner/fs/used_space_spec.rb +61 -0
- data/spec/lib/ehbrs/tools/runner/vg/ips_spec.rb +31 -0
- data/spec/lib/ehbrs/tools/runner/vg/ips_spec_files/expected.rom +0 -0
- data/spec/lib/ehbrs/tools/runner/vg/ips_spec_files/patch_0.ips +0 -0
- data/spec/lib/ehbrs/tools/runner/vg/ips_spec_files/patch_1.ips +0 -0
- data/spec/lib/ehbrs/tools/runner/vg/ips_spec_files/source.rom +0 -0
- data/spec/lib/ehbrs/tools/runner/videos/probe_spec.rb +19 -0
- data/spec/lib/ehbrs/tools/runner/videos/probe_spec_files/fixed.target.yaml +105 -0
- data/spec/lib/ehbrs/tools/runner/videos/unsupported_spec.rb +75 -0
- data/spec/lib/ehbrs/tools/runner/videos/unsupported_spec_files/dts_audio.probe.yaml +90 -0
- data/spec/lib/ehbrs/tools/runner_spec.rb +16 -0
- data/spec/lib/ehbrs/vg/wii/game_file_spec.rb +21 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec.rb +11 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump +27 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml +22 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump +28 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml +21 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump +16 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml +19 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump +28 -0
- data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml +23 -0
- data/spec/lib/ehbrs/vg/wii/wit/path_spec.rb +33 -0
- data/spec/spec_helper/videos.rb +30 -0
- data/spec/spec_helper/videos_files/stub_source.mp4 +0 -0
- data/spec/spec_helper.rb +7 -0
- data/vendor/aranha-parsers/aranha-parsers.gemspec +2 -2
- data/vendor/aranha-parsers/lib/aranha/parsers/rspec/setup.rb +15 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/{spec → rspec}/source_target_fixtures_example.rb +0 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/rspec.rb +11 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address.rb +10 -8
- data/vendor/aranha-parsers/lib/aranha/parsers/version.rb +1 -1
- data/vendor/aranha-parsers/spec/lib/rubocop_check_spec.rb +1 -1
- data/vendor/aranha-parsers/spec/spec_helper.rb +2 -9
- data/vendor/aranha-selenium/aranha-selenium.gemspec +2 -2
- data/vendor/aranha-selenium/lib/aranha/selenium/version.rb +1 -1
- data/vendor/aranha-selenium/spec/rubocop_check_spec.rb +1 -5
- data/vendor/aranha-selenium/spec/spec_helper.rb +2 -98
- data/vendor/eac_cli/eac_cli.gemspec +3 -3
- data/vendor/eac_cli/lib/eac_cli/config/entry.rb +0 -2
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/rubocop_spec.rb +1 -1
- data/vendor/eac_cli/spec/spec_helper.rb +2 -101
- data/vendor/eac_config/eac_config.gemspec +2 -2
- data/vendor/eac_config/lib/eac_config/version.rb +1 -1
- data/vendor/eac_config/spec/rubocop_spec.rb +1 -1
- data/vendor/eac_config/spec/spec_helper.rb +2 -15
- data/vendor/eac_docker/eac_docker.gemspec +2 -2
- data/vendor/eac_docker/lib/eac_docker/container.rb +7 -3
- data/vendor/eac_docker/lib/eac_docker/debug.rb +15 -0
- data/vendor/eac_docker/lib/eac_docker/images/coded.rb +4 -0
- data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +16 -2
- data/vendor/eac_docker/lib/eac_docker/rspec/setup.rb +17 -0
- data/vendor/eac_docker/lib/eac_docker/rspec.rb +2 -10
- data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
- data/vendor/eac_docker/spec/rubocop_spec.rb +1 -1
- data/vendor/eac_docker/spec/spec_helper.rb +2 -104
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +4 -4
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +1 -1
- data/vendor/eac_ruby_base0/spec/spec_helper.rb +2 -101
- data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +15 -3
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +75 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +35 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +51 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +20 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +17 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +12 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +49 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +65 -0
- data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +1 -1
- data/vendor/eac_ruby_utils/spec/spec_helper.rb +6 -6
- data/vendor/ehbrs_ruby_utils/ehbrs_ruby_utils.gemspec +6 -3
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/finances/bb_browser/docker_image.rb +18 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/patches/object/template.rb +6 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/version.rb +1 -1
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/stream.rb +11 -1
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file/rename.rb +28 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file.rb +11 -8
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb +13 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml +28 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml +7 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml +49 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml +7 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml +43 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml +7 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml +59 -0
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml +7 -0
- data/vendor/ehbrs_ruby_utils/spec/rubocop_check_spec.rb +1 -5
- data/vendor/ehbrs_ruby_utils/spec/spec_helper.rb +2 -98
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Dockerfile +44 -0
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile +35 -0
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/README.md +16 -0
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/context/firefox.service +8 -0
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/context/startbrowser.sh +9 -0
- metadata +149 -40
- data/lib/ehbrs/runner/cooking_book/build.rb +0 -50
- data/lib/ehbrs/runner/cooking_book.rb +0 -30
- data/lib/ehbrs/runner/finances/bb_browser.rb +0 -35
- data/lib/ehbrs/runner/finances.rb +0 -16
- data/lib/ehbrs/runner/fs/selected.rb +0 -79
- data/lib/ehbrs/runner/fs/used_space.rb +0 -159
- data/lib/ehbrs/runner/fs.rb +0 -16
- data/lib/ehbrs/runner/google/translate.rb +0 -87
- data/lib/ehbrs/runner/google.rb +0 -16
- data/lib/ehbrs/runner/music/selected.rb +0 -26
- data/lib/ehbrs/runner/music.rb +0 -16
- data/lib/ehbrs/runner/self/test.rb +0 -25
- data/lib/ehbrs/runner/self.rb +0 -16
- data/lib/ehbrs/runner/telegram/send_message.rb +0 -29
- data/lib/ehbrs/runner/telegram.rb +0 -26
- data/lib/ehbrs/runner/vg/ips.rb +0 -132
- data/lib/ehbrs/runner/vg/wii.rb +0 -72
- data/lib/ehbrs/runner/vg.rb +0 -16
- data/lib/ehbrs/runner/videos/extract.rb +0 -68
- data/lib/ehbrs/runner/videos/probe.rb +0 -32
- data/lib/ehbrs/runner/videos/series/rename.rb +0 -72
- data/lib/ehbrs/runner/videos/unsupported.rb +0 -59
- data/lib/ehbrs/runner/videos.rb +0 -16
- data/lib/ehbrs/runner/web_utils/videos/download.rb +0 -63
- data/lib/ehbrs/runner/web_utils/videos/upload.rb +0 -75
- data/lib/ehbrs/runner/web_utils.rb +0 -24
- data/lib/ehbrs/runner.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb +0 -35
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/stubbed_ssh.rb +0 -44
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
Dump of file /home/eduardo/storage/roms/wii/games_untested/Pikmin 2 - New Play Control_ [R92P01].wia
|
3
|
+
|
4
|
+
Real path: /mnt/storage/eduardo/roms/wii/games_untested/Pikmin 2 - New Play Control_ [R92P01].wia
|
5
|
+
Virtual size: 118240000/hex = 4699979776 = 4482 MiB
|
6
|
+
Scrubbed size: 7af30000/hex = 2062745600 = 1967 MiB, 43.9%, 62950*32K
|
7
|
+
WIA file size: 63d2da4e/hex = 1674762830 = 1597 MiB, 35.6%, 81.2%
|
8
|
+
File & disc type: WIA/WII (v1.00,LZMA2.7@100) & Wii
|
9
|
+
Disc & part IDs: disc=R92P01, ticket=R92P, tmd=R92P, boot=R92P01
|
10
|
+
Disc name: PIKMIN2 for Wii
|
11
|
+
DB title: Pikmin 2
|
12
|
+
ID Region: PAL [PAL ]
|
13
|
+
Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
|
14
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
15
|
+
Partitions: 1 [encrypted, well signed]
|
16
|
+
Directories: 593
|
17
|
+
Files: 2376
|
18
|
+
|
19
|
+
1 partition table with 1 partition:
|
20
|
+
|
21
|
+
index type offset .. end off size/hex = size/dec = MiB status
|
22
|
+
----------------------------------------------------------------------------------------
|
23
|
+
0 part.tab 40020 .. 40028 8 = 8 1 partition
|
24
|
+
----------------------------------------------------------------------------------------
|
25
|
+
0.0 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed
|
26
|
+
----------------------------------------------------------------------------------------
|
27
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
Real path: "/mnt/storage/eduardo/roms/wii/games_untested/Pikmin 2 - New Play Control_
|
3
|
+
[R92P01].wia"
|
4
|
+
Virtual size: 118240000/hex = 4699979776 = 4482 MiB
|
5
|
+
Scrubbed size: 7af30000/hex = 2062745600 = 1967 MiB, 43.9%, 62950*32K
|
6
|
+
WIA file size: 63d2da4e/hex = 1674762830 = 1597 MiB, 35.6%, 81.2%
|
7
|
+
File & disc type/type: WIA
|
8
|
+
File & disc type/platform_acronym: WII
|
9
|
+
File & disc type/type_extra: v1.00,LZMA2.7@100
|
10
|
+
File & disc type/platform_name: Wii
|
11
|
+
Disc & part IDs/disc: R92P01
|
12
|
+
Disc & part IDs/ticket: R92P
|
13
|
+
Disc & part IDs/tmd: R92P
|
14
|
+
Disc & part IDs/boot: R92P01
|
15
|
+
Disc name: PIKMIN2 for Wii
|
16
|
+
DB title: Pikmin 2
|
17
|
+
ID Region: PAL [PAL ]
|
18
|
+
Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
|
19
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
20
|
+
Partitions: 1 [encrypted, well signed]
|
21
|
+
Directories: '593'
|
22
|
+
Files: '2376'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
Dump of file pikmin2_pal.iso
|
3
|
+
|
4
|
+
Real path: /mnt/storage/eduardo/roms/wii/games_untested/pikmin2_pal.iso
|
5
|
+
ISO file size: 118240000/hex = 4699979776 = 4482 MiB
|
6
|
+
Scrubbed size: 85790000/hex = 2239299584 = 2136 MiB, 47.6%, 68338*32K
|
7
|
+
File & disc type: ISO/WII & Wii
|
8
|
+
Disc & part IDs: disc=R92P01, ticket=R92P, tmd=R92P, boot=R92P01
|
9
|
+
Disc name: PIKMIN2 for Wii
|
10
|
+
DB title: Pikmin 2
|
11
|
+
ID Region: PAL [PAL ]
|
12
|
+
Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
|
13
|
+
System menu: v386 = 3.4E
|
14
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
15
|
+
Partitions: 2 [encrypted, well signed]
|
16
|
+
Directories: 598
|
17
|
+
Files: 2421
|
18
|
+
|
19
|
+
1 partition table with 2 partitions:
|
20
|
+
|
21
|
+
index type offset .. end off size/hex = size/dec = MiB status
|
22
|
+
----------------------------------------------------------------------------------------
|
23
|
+
0 part.tab 40020 .. 40030 10 = 16 2 partitions
|
24
|
+
----------------------------------------------------------------------------------------
|
25
|
+
0.0 UPDATE 1 50000 .. a8b8000 a868000 = 176586752 = 168 enc,signed
|
26
|
+
0.1 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed
|
27
|
+
----------------------------------------------------------------------------------------
|
28
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
Real path: "/mnt/storage/eduardo/roms/wii/games_untested/pikmin2_pal.iso"
|
3
|
+
ISO file size: 118240000/hex = 4699979776 = 4482 MiB
|
4
|
+
Scrubbed size: 85790000/hex = 2239299584 = 2136 MiB, 47.6%, 68338*32K
|
5
|
+
File & disc type/type: ISO
|
6
|
+
File & disc type/platform_acronym: WII
|
7
|
+
File & disc type/type_extra:
|
8
|
+
File & disc type/platform_name: Wii
|
9
|
+
Disc & part IDs/disc: R92P01
|
10
|
+
Disc & part IDs/ticket: R92P
|
11
|
+
Disc & part IDs/tmd: R92P
|
12
|
+
Disc & part IDs/boot: R92P01
|
13
|
+
Disc name: PIKMIN2 for Wii
|
14
|
+
DB title: Pikmin 2
|
15
|
+
ID Region: PAL [PAL ]
|
16
|
+
Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
|
17
|
+
System menu: v386 = 3.4E
|
18
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
19
|
+
Partitions: 2 [encrypted, well signed]
|
20
|
+
Directories: '598'
|
21
|
+
Files: '2421'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
Dump of file /home/eduardo/storage/roms/gc/RESIDENT EVIL CVX [GCDE08]/disc2.iso
|
3
|
+
|
4
|
+
Real path: /mnt/storage/eduardo/roms/wii/disk/games/RESIDENT EVIL CVX [GCDE08]/disc2.iso
|
5
|
+
ISO file size: 57058000/hex = 1459978240 = 1392 MiB
|
6
|
+
Scrubbed size: 4fcf8000/hex = 1338998784 = 1277 MiB, 91.7%, 40863*32K
|
7
|
+
File & disc type: ISO/GC & GameCube
|
8
|
+
Disc & part IDs: disc=GCDE08, ticket=...., tmd=-, boot=GCDE08
|
9
|
+
Disc name: RESIDENT EVIL CVX
|
10
|
+
DB title: Resident Evil Code: Veronica X
|
11
|
+
ID Region: NTSC/USA [USA ]
|
12
|
+
BI2 Region: 1 [USA]
|
13
|
+
Partitions: 1 []
|
14
|
+
Directories: 4
|
15
|
+
Files: 54
|
16
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
Real path: "/mnt/storage/eduardo/roms/wii/disk/games/RESIDENT EVIL CVX [GCDE08]/disc2.iso"
|
3
|
+
ISO file size: 57058000/hex = 1459978240 = 1392 MiB
|
4
|
+
Scrubbed size: 4fcf8000/hex = 1338998784 = 1277 MiB, 91.7%, 40863*32K
|
5
|
+
File & disc type/type: ISO
|
6
|
+
File & disc type/platform_acronym: GC
|
7
|
+
File & disc type/type_extra:
|
8
|
+
File & disc type/platform_name: GameCube
|
9
|
+
Disc & part IDs/disc: GCDE08
|
10
|
+
Disc & part IDs/ticket: "...."
|
11
|
+
Disc & part IDs/tmd: "-"
|
12
|
+
Disc & part IDs/boot: GCDE08
|
13
|
+
Disc name: RESIDENT EVIL CVX
|
14
|
+
DB title: 'Resident Evil Code: Veronica X'
|
15
|
+
ID Region: NTSC/USA [USA ]
|
16
|
+
BI2 Region: 1 [USA]
|
17
|
+
Partitions: 1 []
|
18
|
+
Directories: '4'
|
19
|
+
Files: '54'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
Dump of file /home/eduardo/storage/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0
|
3
|
+
|
4
|
+
Real path: /mnt/storage/eduardo/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0
|
5
|
+
Virtual size: 118240000/hex = 4699979776 = 4482 MiB
|
6
|
+
Scrubbed size: d0b28000/hex = 3501359104 = 3339 MiB, 74.5%, 106853*32K
|
7
|
+
WBFS file size: d1200000/hex = 3508535296 = 3346 MiB, 74.7%, 100.2%
|
8
|
+
WBFS fragments: 1+0 = a ratio of 0.00 additional_fragments/GiB
|
9
|
+
File & disc type: WBFS/WII & Wii
|
10
|
+
Disc & part IDs: disc=RMGE01, ticket=RMGE, tmd=RMGE, boot=RMGE01, wbfs=RMGE01
|
11
|
+
Disc name: SUPER MARIO GALAXY
|
12
|
+
DB title: Super Mario Galaxy
|
13
|
+
ID Region: NTSC/USA [USA ]
|
14
|
+
Region setting: 1 [USA] / Jap=128 USA=6 ?=128 Eur=128,128,128,128,128,128 Kor=128
|
15
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
16
|
+
Partitions: 1 [encrypted, scrubbed, well signed]
|
17
|
+
Directories: 79
|
18
|
+
Files: 2383
|
19
|
+
|
20
|
+
1 partition table with 1 partition:
|
21
|
+
|
22
|
+
index type offset .. end off size/hex = size/dec = MiB status
|
23
|
+
----------------------------------------------------------------------------------------
|
24
|
+
0 part.tab 40020 .. 40028 8 = 8 1 partition
|
25
|
+
----------------------------------------------------------------------------------------
|
26
|
+
0.0 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed,scrub
|
27
|
+
----------------------------------------------------------------------------------------
|
28
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
Real path: "/mnt/storage/eduardo/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0"
|
3
|
+
Virtual size: 118240000/hex = 4699979776 = 4482 MiB
|
4
|
+
Scrubbed size: d0b28000/hex = 3501359104 = 3339 MiB, 74.5%, 106853*32K
|
5
|
+
WBFS file size: d1200000/hex = 3508535296 = 3346 MiB, 74.7%, 100.2%
|
6
|
+
WBFS fragments: 1+0 = a ratio of 0.00 additional_fragments/GiB
|
7
|
+
File & disc type/type: WBFS
|
8
|
+
File & disc type/platform_acronym: WII
|
9
|
+
File & disc type/type_extra:
|
10
|
+
File & disc type/platform_name: Wii
|
11
|
+
Disc & part IDs/disc: RMGE01
|
12
|
+
Disc & part IDs/ticket: RMGE
|
13
|
+
Disc & part IDs/tmd: RMGE
|
14
|
+
Disc & part IDs/boot: RMGE01
|
15
|
+
Disc & part IDs/wbfs: RMGE01
|
16
|
+
Disc name: SUPER MARIO GALAXY
|
17
|
+
DB title: Super Mario Galaxy
|
18
|
+
ID Region: NTSC/USA [USA ]
|
19
|
+
Region setting: 1 [USA] / Jap=128 USA=6 ?=128 Eur=128,128,128,128,128,128 Kor=128
|
20
|
+
System version: 00000001-00000021 = IOS 0x21 = IOS 33
|
21
|
+
Partitions: 1 [encrypted, scrubbed, well signed]
|
22
|
+
Directories: '79'
|
23
|
+
Files: '2383'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'ehbrs/vg/wii/wit/path'
|
4
|
+
|
5
|
+
RSpec.describe ::Ehbrs::Vg::Wii::Wit::Path do
|
6
|
+
describe '#parse' do
|
7
|
+
context 'when type is present' do
|
8
|
+
let(:source) { 'WbFs:path/to/file.wbfs' }
|
9
|
+
let(:instance) { described_class.parse(source) }
|
10
|
+
|
11
|
+
it { expect(instance.type).to eq('WBFS') }
|
12
|
+
it { expect(instance.path.to_s).to eq('path/to/file.wbfs') }
|
13
|
+
end
|
14
|
+
|
15
|
+
context 'when type is blank' do
|
16
|
+
let(:source) { 'path/to/file.wbfs' }
|
17
|
+
let(:instance) { described_class.parse(source) }
|
18
|
+
|
19
|
+
it { expect(instance.type).to eq('') }
|
20
|
+
it { expect(instance.path.to_s).to eq('path/to/file.wbfs') }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe '#change?' do
|
25
|
+
let(:with_type) { described_class.new('ISO', 'path/to/file.wbfs') }
|
26
|
+
let(:without_type) { described_class.new(nil, 'path/to/file.wbfs') }
|
27
|
+
|
28
|
+
it { expect(with_type.change?(without_type)).to eq(false) }
|
29
|
+
it { expect(without_type.change?(with_type)).to eq(true) }
|
30
|
+
|
31
|
+
context 'when'
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/fs/temp'
|
4
|
+
|
5
|
+
::RSpec.configure do |config|
|
6
|
+
config.before do
|
7
|
+
videos_temp_dir
|
8
|
+
end
|
9
|
+
|
10
|
+
config.after do
|
11
|
+
videos_temp_dir.remove
|
12
|
+
end
|
13
|
+
|
14
|
+
def videos_temp_dir
|
15
|
+
@videos_temp_dir ||= ::EacRubyUtils::Fs::Temp.directory
|
16
|
+
end
|
17
|
+
|
18
|
+
def stub_video_source_file
|
19
|
+
@stub_video_source_file ||= ::Pathname.new(__dir__).join('videos_files', 'stub_source.mp4')
|
20
|
+
end
|
21
|
+
|
22
|
+
def stub_video(ffmpeg_args, output_path = nil)
|
23
|
+
output_path ||= videos_temp_dir.file
|
24
|
+
::Ehbrs::Executables.ffmpeg.command.append(
|
25
|
+
['-i', stub_video_source_file.to_s, *ffmpeg_args, output_path.to_s]
|
26
|
+
).execute!
|
27
|
+
|
28
|
+
output_path
|
29
|
+
end
|
30
|
+
end
|
Binary file
|
data/spec/spec_helper.rb
ADDED
@@ -15,9 +15,9 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.add_dependency 'activesupport', '>= 4.0.0'
|
16
16
|
s.add_dependency 'addressable', '~> 2.7'
|
17
17
|
s.add_dependency 'curb', '~> 0.9.10'
|
18
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
18
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.74'
|
19
19
|
s.add_dependency 'httpclient', '~> 2.8', '>= 2.8.3'
|
20
20
|
s.add_dependency 'ofx-parser', '~> 1.1.0'
|
21
21
|
|
22
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.
|
22
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.3', '>= 0.3.3'
|
23
23
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Aranha
|
6
|
+
module Parsers
|
7
|
+
module Rspec
|
8
|
+
module Setup
|
9
|
+
def self.extended(_setup_obj)
|
10
|
+
require 'aranha/parsers/rspec/source_target_fixtures_example'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/vendor/aranha-parsers/lib/aranha/parsers/{spec → rspec}/source_target_fixtures_example.rb
RENAMED
File without changes
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'active_support/core_ext/module/delegation'
|
4
|
-
require 'eac_ruby_utils/
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
5
|
require 'yaml'
|
6
6
|
|
7
7
|
module Aranha
|
8
8
|
module Parsers
|
9
9
|
class SourceAddress
|
10
|
-
|
10
|
+
require_sub __FILE__
|
11
11
|
|
12
12
|
class << self
|
13
13
|
SUBS = [
|
@@ -35,12 +35,8 @@ module Aranha
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
def initialize(source)
|
41
|
-
@sub = self.class.detect_sub(source)
|
42
|
-
end
|
43
|
-
|
38
|
+
enable_simple_cache
|
39
|
+
common_constructor :source
|
44
40
|
delegate :content, :url, to: :sub
|
45
41
|
|
46
42
|
def to_s
|
@@ -50,6 +46,12 @@ module Aranha
|
|
50
46
|
def serialize
|
51
47
|
sub.serialize.strip + "\n"
|
52
48
|
end
|
49
|
+
|
50
|
+
private
|
51
|
+
|
52
|
+
def sub_uncached
|
53
|
+
self.class.detect_sub(source)
|
54
|
+
end
|
53
55
|
end
|
54
56
|
end
|
55
57
|
end
|
@@ -1,11 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
RSpec.configure do |config|
|
7
|
-
config.example_status_persistence_file_path = ::File.join(::Dir.tmpdir, 'aranha-parsers_rspec')
|
8
|
-
|
9
|
-
require 'eac_ruby_gem_support/rspec'
|
10
|
-
::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
|
11
|
-
end
|
3
|
+
require 'eac_ruby_utils/rspec/default_setup'
|
4
|
+
::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*', 'Gemfile']
|
14
14
|
|
15
|
-
s.add_dependency '
|
15
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.70'
|
16
16
|
s.add_dependency 'selenium-webdriver', '~> 3.142', '>= 3.142.3'
|
17
17
|
|
18
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.
|
18
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.3'
|
19
19
|
end
|
@@ -1,100 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
6
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
7
|
-
# files.
|
8
|
-
#
|
9
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
10
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
11
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
12
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
13
|
-
# a separate helper file that requires the additional dependencies and performs
|
14
|
-
# the additional setup, and require it from the spec files that actually need
|
15
|
-
# it.
|
16
|
-
#
|
17
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
18
|
-
RSpec.configure do |config|
|
19
|
-
# rspec-expectations config goes here. You can use an alternate
|
20
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
21
|
-
# assertions if you prefer.
|
22
|
-
config.expect_with :rspec do |expectations|
|
23
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
24
|
-
# and `failure_message` of custom matchers include text for helper methods
|
25
|
-
# defined using `chain`, e.g.:
|
26
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
27
|
-
# # => "be bigger than 2 and smaller than 4"
|
28
|
-
# ...rather than:
|
29
|
-
# # => "be bigger than 2"
|
30
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
31
|
-
end
|
32
|
-
|
33
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
34
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
35
|
-
config.mock_with :rspec do |mocks|
|
36
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
37
|
-
# a real object. This is generally recommended, and will default to
|
38
|
-
# `true` in RSpec 4.
|
39
|
-
mocks.verify_partial_doubles = true
|
40
|
-
end
|
41
|
-
|
42
|
-
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
43
|
-
# have no way to turn it off -- the option exists only for backwards
|
44
|
-
# compatibility in RSpec 3). It causes shared context metadata to be
|
45
|
-
# inherited by the metadata hash of host groups and examples, rather than
|
46
|
-
# triggering implicit auto-inclusion in groups with matching metadata.
|
47
|
-
config.shared_context_metadata_behavior = :apply_to_host_groups
|
48
|
-
|
49
|
-
# The settings below are suggested to provide a good initial experience
|
50
|
-
# with RSpec, but feel free to customize to your heart's content.
|
51
|
-
# # This allows you to limit a spec run to individual examples or groups
|
52
|
-
# # you care about by tagging them with `:focus` metadata. When nothing
|
53
|
-
# # is tagged with `:focus`, all examples get run. RSpec also provides
|
54
|
-
# # aliases for `it`, `describe`, and `context` that include `:focus`
|
55
|
-
# # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
56
|
-
# config.filter_run_when_matching :focus
|
57
|
-
#
|
58
|
-
# # Allows RSpec to persist some state between runs in order to support
|
59
|
-
# # the `--only-failures` and `--next-failure` CLI options. We recommend
|
60
|
-
# # you configure your source control system to ignore this file.
|
61
|
-
# config.example_status_persistence_file_path = "spec/examples.txt"
|
62
|
-
#
|
63
|
-
# # Limits the available syntax to the non-monkey patched syntax that is
|
64
|
-
# # recommended. For more details, see:
|
65
|
-
# # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
66
|
-
# # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
67
|
-
# # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
68
|
-
# config.disable_monkey_patching!
|
69
|
-
#
|
70
|
-
# # This setting enables warnings. It's recommended, but in some cases may
|
71
|
-
# # be too noisy due to issues in dependencies.
|
72
|
-
# config.warnings = true
|
73
|
-
#
|
74
|
-
# # Many RSpec users commonly either run the entire suite or an individual
|
75
|
-
# # file, and it's useful to allow more verbose output when running an
|
76
|
-
# # individual spec file.
|
77
|
-
# if config.files_to_run.one?
|
78
|
-
# # Use the documentation formatter for detailed output,
|
79
|
-
# # unless a formatter has already been configured
|
80
|
-
# # (e.g. via a command-line flag).
|
81
|
-
# config.default_formatter = "doc"
|
82
|
-
# end
|
83
|
-
#
|
84
|
-
# # Print the 10 slowest examples and example groups at the
|
85
|
-
# # end of the spec run, to help surface which specs are running
|
86
|
-
# # particularly slow.
|
87
|
-
# config.profile_examples = 10
|
88
|
-
#
|
89
|
-
# # Run specs in random order to surface order dependencies. If you find an
|
90
|
-
# # order dependency and want to debug it, you can fix the order by providing
|
91
|
-
# # the seed, which is printed after each run.
|
92
|
-
# # --seed 1234
|
93
|
-
# config.order = :random
|
94
|
-
#
|
95
|
-
# # Seed global randomization in this process using the `--seed` CLI option.
|
96
|
-
# # Setting this allows you to use `--seed` to deterministically reproduce
|
97
|
-
# # test failures related to randomization by passing the same `--seed` value
|
98
|
-
# # as the one that triggered the failure.
|
99
|
-
# Kernel.srand config.seed
|
100
|
-
end
|
3
|
+
require 'eac_ruby_utils/rspec/default_setup'
|
4
|
+
::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
|