mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Rewrite RGBFIX
- Make it work inside pipelines - Add RGBFIX tests to the suite - Be more flexible in accepted MBC names - Add warnings for dangerous or nonsensical input params - Improve man page
This commit is contained in:
1
test/fix/.gitignore
vendored
Normal file
1
test/fix/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/padding*_*
|
||||
16
test/fix/README.md
Normal file
16
test/fix/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# RGBFIX tests
|
||||
|
||||
These tests check that RGBFIX behaves properly.
|
||||
|
||||
## Structure of a test
|
||||
|
||||
- `test.bin`: The file passed as input to RGBFIX.
|
||||
- `test.flags`: The command-line flags passed to RGBFIX's invocation.
|
||||
Actually, only the first line is considered; the rest of the file may contain comments about the test.
|
||||
- `test.gb`: The expected output.
|
||||
May not exist, generally when the test expects an error, in which case the comparison is skipped.
|
||||
- `test.err`: The expected error output.
|
||||
|
||||
## Special tests
|
||||
|
||||
- `noexist.err` is the expected error output when RGBFIX is given a non-existent input file.
|
||||
3
test/fix/bad-fix-char.bin
Normal file
3
test/fix/bad-fix-char.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
<EFBFBD><EFBFBD><1B>!H0<48>;<<>N˗<4E><CB97><EFBFBD>=<3D><><EFBFBD><EFBFBD>^{KC}b<12>Q<EFBFBD>&<14>3<EFBFBD> <20>/]<01><08><><EFBFBD>d<EFBFBD><64>Z=<3D><><EFBFBD>b<EFBFBD>a<EFBFBD>i:<3A>eS<65>><18><>U@<40>Ay<ae<61><65><EFBFBD>$vf<76>孈┚<13><>g<> VC<56><43>~><3E><><EFBFBD><EFBFBD><11><> <09>s_Cӛ<0C><>&nWFoK<04><18><>X`'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bl<17>{<7B><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><0F><><EFBFBD><EFBFBD>8<EFBFBD><38><EFBFBD><$:V<0F>"㳙ځh<DA81><68>D<EFBFBD><44>ж<15><>Qc<51><63><EFBFBD><1E>㸺Z<E3B8BA><5A>T<><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Vۼ<56>tŒ<0F><>4<EFBFBD>B<><1E>dT<><54> <09>I<1A><>
|
||||
<EFBFBD>(/<><D7BB>{h<>:<3A><>Qm<51>$*|
|
||||
3
test/fix/bad-fix-char.err
Normal file
3
test/fix/bad-fix-char.err
Normal file
@@ -0,0 +1,3 @@
|
||||
warning: Ignoring 'm' in fix spec
|
||||
warning: Ignoring 'a' in fix spec
|
||||
warning: Ignoring 'o' in fix spec
|
||||
1
test/fix/bad-fix-char.flags
Normal file
1
test/fix/bad-fix-char.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f lmao
|
||||
2
test/fix/color.bin
Normal file
2
test/fix/color.bin
Normal file
@@ -0,0 +1,2 @@
|
||||
<EFBFBD><EFBFBD>+2l}~<7E><>Ѧ<><D1A6>}<7D><>1x<31><78><EFBFBD><EFBFBD>&)Y<18>q*<2A><><EFBFBD><EFBFBD>ɒ<EFBFBD><C992>^ H<>p@v6}<7D><>[<5B><>&<26><><EFBFBD>h<EFBFBD><68><EFBFBD>Bn~<7E>T<EFBFBD>0<><30>uf<75>\<5C>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><13>Ñ<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD> 5^Bq<<3C>K<EFBFBD>"S%<25><>U!<0F><>r,7<10><16>g<16>4Ȩ<><C8A8><10><><EFBFBD><EFBFBD><EFBFBD><1C>hL<68><4C>؝<EFBFBD>)<29><1A><><EFBFBD>6U@<19>`ݑT<DD91>T<EFBFBD><0B><><EFBFBD>Dɦ<44>8z<38>5<EFBFBD><35>~A<>鱽ܜ<E9B1BD>|
|
||||
<EFBFBD>><3E>]<5D>/<2F>K<EFBFBD><4B><EFBFBD>d~<7E><>"gF*AU<>"W<>7]}<7D><>/<2F>}<<3C><>s[lx<07>ܔ}Ы[<5B><><EFBFBD>8<EFBFBD><1E><><EFBFBD><EFBFBD><EFBFBD>
|
||||
0
test/fix/color.err
Normal file
0
test/fix/color.err
Normal file
1
test/fix/color.flags
Normal file
1
test/fix/color.flags
Normal file
@@ -0,0 +1 @@
|
||||
-C
|
||||
2
test/fix/color.gb
Normal file
2
test/fix/color.gb
Normal file
@@ -0,0 +1,2 @@
|
||||
<EFBFBD><EFBFBD>+2l}~<7E><>Ѧ<><D1A6>}<7D><>1x<31><78><EFBFBD><EFBFBD>&)Y<18>q*<2A><><EFBFBD><EFBFBD>ɒ<EFBFBD><C992>^ H<>p@v6}<7D><>[<5B><>&<26><><EFBFBD>h<EFBFBD><68><EFBFBD>Bn~<7E>T<EFBFBD>0<><30>uf<75>\<5C>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><13>Ñ<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD> 5^Bq<<3C>K<EFBFBD>"S%<25><>U!<0F><>r,7<10><16>g<16>4Ȩ<><C8A8><10><><EFBFBD><EFBFBD><EFBFBD><1C>hL<68><4C>؝<EFBFBD>)<29><1A><><EFBFBD>6U@<19>`ݑT<DD91>T<EFBFBD><0B><><EFBFBD>Dɦ<44>8z<38>5<EFBFBD><35>~A<>鱽ܜ<E9B1BD>|
|
||||
<EFBFBD>><3E>]<5D>/<2F>K<EFBFBD><4B><EFBFBD>d~<7E><>"gF*AU<>"W<>7]}<7D><>/<2F>}<<3C><>s[lx<07>ܔ}Ы[<5B><><EFBFBD>8<EFBFBD><1E><><EFBFBD><EFBFBD><EFBFBD>
|
||||
BIN
test/fix/compatible.bin
Normal file
BIN
test/fix/compatible.bin
Normal file
Binary file not shown.
0
test/fix/compatible.err
Normal file
0
test/fix/compatible.err
Normal file
1
test/fix/compatible.flags
Normal file
1
test/fix/compatible.flags
Normal file
@@ -0,0 +1 @@
|
||||
-c
|
||||
BIN
test/fix/compatible.gb
Normal file
BIN
test/fix/compatible.gb
Normal file
Binary file not shown.
0
test/fix/empty.bin
Normal file
0
test/fix/empty.bin
Normal file
2
test/fix/empty.err
Normal file
2
test/fix/empty.err
Normal file
@@ -0,0 +1,2 @@
|
||||
FATAL: "<filename>" too short, expected at least 336 ($150) bytes, got only 0
|
||||
Fixing "<filename>" failed with 1 error
|
||||
0
test/fix/empty.flags
Normal file
0
test/fix/empty.flags
Normal file
0
test/fix/empty.gb
Normal file
0
test/fix/empty.gb
Normal file
BIN
test/fix/fix-override.bin
Normal file
BIN
test/fix/fix-override.bin
Normal file
Binary file not shown.
1
test/fix/fix-override.err
Normal file
1
test/fix/fix-override.err
Normal file
@@ -0,0 +1 @@
|
||||
warning: 'l' overriding 'L' in fix spec
|
||||
1
test/fix/fix-override.flags
Normal file
1
test/fix/fix-override.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f Ll
|
||||
BIN
test/fix/fix-override.gb
Normal file
BIN
test/fix/fix-override.gb
Normal file
Binary file not shown.
BIN
test/fix/gameid-trunc.bin
Normal file
BIN
test/fix/gameid-trunc.bin
Normal file
Binary file not shown.
1
test/fix/gameid-trunc.err
Normal file
1
test/fix/gameid-trunc.err
Normal file
@@ -0,0 +1 @@
|
||||
warning: Truncating game ID "FOUR!" to 4 chars
|
||||
1
test/fix/gameid-trunc.flags
Normal file
1
test/fix/gameid-trunc.flags
Normal file
@@ -0,0 +1 @@
|
||||
-i 'FOUR!'
|
||||
BIN
test/fix/gameid-trunc.gb
Normal file
BIN
test/fix/gameid-trunc.gb
Normal file
Binary file not shown.
BIN
test/fix/gameid.bin
Normal file
BIN
test/fix/gameid.bin
Normal file
Binary file not shown.
0
test/fix/gameid.err
Normal file
0
test/fix/gameid.err
Normal file
1
test/fix/gameid.flags
Normal file
1
test/fix/gameid.flags
Normal file
@@ -0,0 +1 @@
|
||||
-i RGBD
|
||||
BIN
test/fix/gameid.gb
Normal file
BIN
test/fix/gameid.gb
Normal file
Binary file not shown.
BIN
test/fix/global-large.bin
Normal file
BIN
test/fix/global-large.bin
Normal file
Binary file not shown.
0
test/fix/global-large.err
Normal file
0
test/fix/global-large.err
Normal file
1
test/fix/global-large.flags
Normal file
1
test/fix/global-large.flags
Normal file
@@ -0,0 +1 @@
|
||||
-fg
|
||||
BIN
test/fix/global-large.gb
Normal file
BIN
test/fix/global-large.gb
Normal file
Binary file not shown.
BIN
test/fix/global-larger.bin
Normal file
BIN
test/fix/global-larger.bin
Normal file
Binary file not shown.
0
test/fix/global-larger.err
Normal file
0
test/fix/global-larger.err
Normal file
1
test/fix/global-larger.flags
Normal file
1
test/fix/global-larger.flags
Normal file
@@ -0,0 +1 @@
|
||||
-fg
|
||||
BIN
test/fix/global-larger.gb
Normal file
BIN
test/fix/global-larger.gb
Normal file
Binary file not shown.
BIN
test/fix/global-trash.bin
Normal file
BIN
test/fix/global-trash.bin
Normal file
Binary file not shown.
0
test/fix/global-trash.err
Normal file
0
test/fix/global-trash.err
Normal file
1
test/fix/global-trash.flags
Normal file
1
test/fix/global-trash.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f G
|
||||
BIN
test/fix/global-trash.gb
Normal file
BIN
test/fix/global-trash.gb
Normal file
Binary file not shown.
BIN
test/fix/global.bin
Normal file
BIN
test/fix/global.bin
Normal file
Binary file not shown.
0
test/fix/global.err
Normal file
0
test/fix/global.err
Normal file
1
test/fix/global.flags
Normal file
1
test/fix/global.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f g
|
||||
BIN
test/fix/global.gb
Normal file
BIN
test/fix/global.gb
Normal file
Binary file not shown.
BIN
test/fix/header-edit.bin
Normal file
BIN
test/fix/header-edit.bin
Normal file
Binary file not shown.
0
test/fix/header-edit.err
Normal file
0
test/fix/header-edit.err
Normal file
2
test/fix/header-edit.flags
Normal file
2
test/fix/header-edit.flags
Normal file
@@ -0,0 +1,2 @@
|
||||
-Cf h
|
||||
Checks that the header checksum properly accounts for header modifications
|
||||
BIN
test/fix/header-edit.gb
Normal file
BIN
test/fix/header-edit.gb
Normal file
Binary file not shown.
BIN
test/fix/header-trash.bin
Normal file
BIN
test/fix/header-trash.bin
Normal file
Binary file not shown.
0
test/fix/header-trash.err
Normal file
0
test/fix/header-trash.err
Normal file
1
test/fix/header-trash.flags
Normal file
1
test/fix/header-trash.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f H
|
||||
BIN
test/fix/header-trash.gb
Normal file
BIN
test/fix/header-trash.gb
Normal file
Binary file not shown.
BIN
test/fix/header.bin
Normal file
BIN
test/fix/header.bin
Normal file
Binary file not shown.
0
test/fix/header.err
Normal file
0
test/fix/header.err
Normal file
1
test/fix/header.flags
Normal file
1
test/fix/header.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f h
|
||||
BIN
test/fix/header.gb
Normal file
BIN
test/fix/header.gb
Normal file
Binary file not shown.
BIN
test/fix/jp.bin
Normal file
BIN
test/fix/jp.bin
Normal file
Binary file not shown.
0
test/fix/jp.err
Normal file
0
test/fix/jp.err
Normal file
1
test/fix/jp.flags
Normal file
1
test/fix/jp.flags
Normal file
@@ -0,0 +1 @@
|
||||
-j
|
||||
BIN
test/fix/jp.gb
Normal file
BIN
test/fix/jp.gb
Normal file
Binary file not shown.
BIN
test/fix/logo-trash.bin
Normal file
BIN
test/fix/logo-trash.bin
Normal file
Binary file not shown.
0
test/fix/logo-trash.err
Normal file
0
test/fix/logo-trash.err
Normal file
1
test/fix/logo-trash.flags
Normal file
1
test/fix/logo-trash.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f L
|
||||
BIN
test/fix/logo-trash.gb
Normal file
BIN
test/fix/logo-trash.gb
Normal file
Binary file not shown.
BIN
test/fix/logo.bin
Normal file
BIN
test/fix/logo.bin
Normal file
Binary file not shown.
0
test/fix/logo.err
Normal file
0
test/fix/logo.err
Normal file
1
test/fix/logo.flags
Normal file
1
test/fix/logo.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f l
|
||||
BIN
test/fix/logo.gb
Normal file
BIN
test/fix/logo.gb
Normal file
Binary file not shown.
BIN
test/fix/mbc.bin
Normal file
BIN
test/fix/mbc.bin
Normal file
Binary file not shown.
0
test/fix/mbc.err
Normal file
0
test/fix/mbc.err
Normal file
1
test/fix/mbc.flags
Normal file
1
test/fix/mbc.flags
Normal file
@@ -0,0 +1 @@
|
||||
-m 177
|
||||
BIN
test/fix/mbc.gb
Normal file
BIN
test/fix/mbc.gb
Normal file
Binary file not shown.
BIN
test/fix/mbcless-ram.bin
Normal file
BIN
test/fix/mbcless-ram.bin
Normal file
Binary file not shown.
1
test/fix/mbcless-ram.err
Normal file
1
test/fix/mbcless-ram.err
Normal file
@@ -0,0 +1 @@
|
||||
warning: MBC "ROM" has no RAM, but RAM size was set to 2
|
||||
1
test/fix/mbcless-ram.flags
Normal file
1
test/fix/mbcless-ram.flags
Normal file
@@ -0,0 +1 @@
|
||||
-m ROM -r 2
|
||||
BIN
test/fix/mbcless-ram.gb
Normal file
BIN
test/fix/mbcless-ram.gb
Normal file
Binary file not shown.
3
test/fix/new-lic-trunc.bin
Normal file
3
test/fix/new-lic-trunc.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
<EFBFBD><13><>i& <20><><EFBFBD>y<EFBFBD><79>S<EFBFBD><53><EFBFBD><EFBFBD>aJ<04><><EFBFBD>'ZD<5A>y<EFBFBD><79><EFBFBD>1n<31>
|
||||
<EFBFBD><13><>9<EFBFBD>Q<EFBFBD>H<EFBFBD>p<EFBFBD><18>yF<79><15><><EFBFBD><EFBFBD><EFBFBD>ߘ<EFBFBD><DF98>8^<5E><>]<5D>b<EFBFBD><62> F<19><>mœ<6D>
|
||||
<EFBFBD><14>ьM<D18C><4D>F<EFBFBD><46>W<EFBFBD><57>w<16>k<EFBFBD><6B><EFBFBD> O`<60><><EFBFBD><18>U<EFBFBD>0<EFBFBD><30>r<EFBFBD><72><EFBFBD><EFBFBD>Ιܥ<CE99><DCA5>7"<1D><>"f<><66><EFBFBD><EFBFBD>fw<08> X<><58>:<3A><EFBFBD><DEB8>Xp<58>V<EFBFBD>Ī\-<2D>`x<><78><EFBFBD>*N<><4E>y<EFBFBD>a4<0E>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܊<EFBFBD>p<EFBFBD><70><EFBFBD>.7<EFBFBD>c+<2B>Q<EFBFBD><51>Վ<EFBFBD>B<EFBFBD>He<48>z<EFBFBD><7A><EFBFBD>1<EFBFBD>O<n_&KHh<48><05><>v<13><><EFBFBD>x<EFBFBD><78><07>Y<EFBFBD><59><1D>A<7F><41><EFBFBD><EFBFBD>;C<>o<EFBFBD>l<EFBFBD><6C>:<3A><0C><><EFBFBD><EFBFBD>̒<0F>ܩ!<21>f<><16><16><>P<EFBFBD>`@<12>:<3A>z<EFBFBD>v<EFBFBD><76><EFBFBD>d<EFBFBD><64>Z<EFBFBD>"<22>a*m*.:?<3F><><EFBFBD><EFBFBD><EFBFBD>Y˛c3<63>Ƞ>#`<60><>\_<>w<EFBFBD><77><EFBFBD>
|
||||
1
test/fix/new-lic-trunc.err
Normal file
1
test/fix/new-lic-trunc.err
Normal file
@@ -0,0 +1 @@
|
||||
warning: Truncating new licensee "HOMEBREW" to 2 chars
|
||||
1
test/fix/new-lic-trunc.flags
Normal file
1
test/fix/new-lic-trunc.flags
Normal file
@@ -0,0 +1 @@
|
||||
-k HOMEBREW
|
||||
3
test/fix/new-lic-trunc.gb
Normal file
3
test/fix/new-lic-trunc.gb
Normal file
@@ -0,0 +1,3 @@
|
||||
<EFBFBD><13><>i& <20><><EFBFBD>y<EFBFBD><79>S<EFBFBD><53><EFBFBD><EFBFBD>aJ<04><><EFBFBD>'ZD<5A>y<EFBFBD><79><EFBFBD>1n<31>
|
||||
<EFBFBD><13><>9<EFBFBD>Q<EFBFBD>H<EFBFBD>p<EFBFBD><18>yF<79><15><><EFBFBD><EFBFBD><EFBFBD>ߘ<EFBFBD><DF98>8^<5E><>]<5D>b<EFBFBD><62> F<19><>mœ<6D>
|
||||
<EFBFBD><14>ьM<D18C><4D>F<EFBFBD><46>W<EFBFBD><57>w<16>k<EFBFBD><6B><EFBFBD> O`<60><><EFBFBD><18>U<EFBFBD>0<EFBFBD><30>r<EFBFBD><72><EFBFBD><EFBFBD>Ιܥ<CE99><DCA5>7"<1D><>"f<><66><EFBFBD><EFBFBD>fw<08> X<><58>:<3A><EFBFBD><DEB8>Xp<58>V<EFBFBD>Ī\-<2D>`x<><78><EFBFBD>*N<><4E>y<EFBFBD>a4<0E>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܊<EFBFBD>p<EFBFBD><70><EFBFBD>.7<EFBFBD>c+<2B>Q<EFBFBD><51>Վ<EFBFBD>B<EFBFBD>He<48>z<EFBFBD><7A><EFBFBD>1<EFBFBD>O<n_&KHh<48><05><>v<13><><EFBFBD>x<EFBFBD><78><07>Y<EFBFBD><59><1D>A<7F><41><EFBFBD><EFBFBD>;C<>o<EFBFBD>l<EFBFBD><6C>:<3A><0C><><EFBFBD><EFBFBD>̒<0F>ܩ!<21>f<><16><16><>P<EFBFBD>`@<12>:<3A>z<EFBFBD>v<EFBFBD><76><EFBFBD>d<EFBFBD><64>Z<EFBFBD>"<22>a*m*.:?<3F><><EFBFBD><EFBFBD><EFBFBD>YHOc3<63>Ƞ>#`<60><>\_<>w<EFBFBD><77><EFBFBD>
|
||||
3
test/fix/new-lic.bin
Normal file
3
test/fix/new-lic.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
<EFBFBD><13><>i& <20><><EFBFBD>y<EFBFBD><79>S<EFBFBD><53><EFBFBD><EFBFBD>aJ<04><><EFBFBD>'ZD<5A>y<EFBFBD><79><EFBFBD>1n<31>
|
||||
<EFBFBD><13><>9<EFBFBD>Q<EFBFBD>H<EFBFBD>p<EFBFBD><18>yF<79><15><><EFBFBD><EFBFBD><EFBFBD>ߘ<EFBFBD><DF98>8^<5E><>]<5D>b<EFBFBD><62> F<19><>mœ<6D>
|
||||
<EFBFBD><14>ьM<D18C><4D>F<EFBFBD><46>W<EFBFBD><57>w<16>k<EFBFBD><6B><EFBFBD> O`<60><><EFBFBD><18>U<EFBFBD>0<EFBFBD><30>r<EFBFBD><72><EFBFBD><EFBFBD>Ιܥ<CE99><DCA5>7"<1D><>"f<><66><EFBFBD><EFBFBD>fw<08> X<><58>:<3A><EFBFBD><DEB8>Xp<58>V<EFBFBD>Ī\-<2D>`x<><78><EFBFBD>*N<><4E>y<EFBFBD>a4<0E>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܊<EFBFBD>p<EFBFBD><70><EFBFBD>.7<EFBFBD>c+<2B>Q<EFBFBD><51>Վ<EFBFBD>B<EFBFBD>He<48>z<EFBFBD><7A><EFBFBD>1<EFBFBD>O<n_&KHh<48><05><>v<13><><EFBFBD>x<EFBFBD><78><07>Y<EFBFBD><59><1D>A<7F><41><EFBFBD><EFBFBD>;C<>o<EFBFBD>l<EFBFBD><6C>:<3A><0C><><EFBFBD><EFBFBD>̒<0F>ܩ!<21>f<><16><16><>P<EFBFBD>`@<12>:<3A>z<EFBFBD>v<EFBFBD><76><EFBFBD>d<EFBFBD><64>Z<EFBFBD>"<22>a*m*.:?<3F><><EFBFBD><EFBFBD><EFBFBD>Y˛c3<63>Ƞ>#`<60><>\_<>w<EFBFBD><77><EFBFBD>
|
||||
0
test/fix/new-lic.err
Normal file
0
test/fix/new-lic.err
Normal file
1
test/fix/new-lic.flags
Normal file
1
test/fix/new-lic.flags
Normal file
@@ -0,0 +1 @@
|
||||
-k HB
|
||||
3
test/fix/new-lic.gb
Normal file
3
test/fix/new-lic.gb
Normal file
@@ -0,0 +1,3 @@
|
||||
<EFBFBD><13><>i& <20><><EFBFBD>y<EFBFBD><79>S<EFBFBD><53><EFBFBD><EFBFBD>aJ<04><><EFBFBD>'ZD<5A>y<EFBFBD><79><EFBFBD>1n<31>
|
||||
<EFBFBD><13><>9<EFBFBD>Q<EFBFBD>H<EFBFBD>p<EFBFBD><18>yF<79><15><><EFBFBD><EFBFBD><EFBFBD>ߘ<EFBFBD><DF98>8^<5E><>]<5D>b<EFBFBD><62> F<19><>mœ<6D>
|
||||
<EFBFBD><14>ьM<D18C><4D>F<EFBFBD><46>W<EFBFBD><57>w<16>k<EFBFBD><6B><EFBFBD> O`<60><><EFBFBD><18>U<EFBFBD>0<EFBFBD><30>r<EFBFBD><72><EFBFBD><EFBFBD>Ιܥ<CE99><DCA5>7"<1D><>"f<><66><EFBFBD><EFBFBD>fw<08> X<><58>:<3A><EFBFBD><DEB8>Xp<58>V<EFBFBD>Ī\-<2D>`x<><78><EFBFBD>*N<><4E>y<EFBFBD>a4<0E>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܊<EFBFBD>p<EFBFBD><70><EFBFBD>.7<EFBFBD>c+<2B>Q<EFBFBD><51>Վ<EFBFBD>B<EFBFBD>He<48>z<EFBFBD><7A><EFBFBD>1<EFBFBD>O<n_&KHh<48><05><>v<13><><EFBFBD>x<EFBFBD><78><07>Y<EFBFBD><59><1D>A<7F><41><EFBFBD><EFBFBD>;C<>o<EFBFBD>l<EFBFBD><6C>:<3A><0C><><EFBFBD><EFBFBD>̒<0F>ܩ!<21>f<><16><16><>P<EFBFBD>`@<12>:<3A>z<EFBFBD>v<EFBFBD><76><EFBFBD>d<EFBFBD><64>Z<EFBFBD>"<22>a*m*.:?<3F><><EFBFBD><EFBFBD><EFBFBD>YHBc3<63>Ƞ>#`<60><>\_<>w<EFBFBD><77><EFBFBD>
|
||||
2
test/fix/noexist.err
Normal file
2
test/fix/noexist.err
Normal file
@@ -0,0 +1,2 @@
|
||||
FATAL: Failed to open "noexist" for reading+writing: No such file or directory
|
||||
Fixing "noexist" failed with 1 error
|
||||
BIN
test/fix/old-lic-hex.bin
Normal file
BIN
test/fix/old-lic-hex.bin
Normal file
Binary file not shown.
0
test/fix/old-lic-hex.err
Normal file
0
test/fix/old-lic-hex.err
Normal file
1
test/fix/old-lic-hex.flags
Normal file
1
test/fix/old-lic-hex.flags
Normal file
@@ -0,0 +1 @@
|
||||
-l 0x2a
|
||||
BIN
test/fix/old-lic-hex.gb
Normal file
BIN
test/fix/old-lic-hex.gb
Normal file
Binary file not shown.
2
test/fix/old-lic.bin
Normal file
2
test/fix/old-lic.bin
Normal file
@@ -0,0 +1,2 @@
|
||||
<EFBFBD>EZ/:<3A><><EFBFBD><7F><7F>Ѐ<EFBFBD><02>J/<2F><><EFBFBD><EFBFBD>_<<3C>&<26>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>XgAP
|
||||
`<60>1@Wh<><68>||ø<>e뻬e^"7(*YV<59><56>T<EFBFBD><54><EFBFBD>OY!<21><03><04>̔]<5D><><EFBFBD>=<3D><01><>y<EFBFBD>V~x<>a<>]<5D>;<3B><><EFBFBD>¡<EFBFBD>zUm<0C><>z:d@֪<>b<EFBFBD> 'vʆq<02>W<EFBFBD><14>_<EFBFBD><5F><17><><EFBFBD>2)G<05>v(k<><6B><EFBFBD>g,<2C>p*@<40><>!<21>Dõ<44>0k<14><><01><><EFBFBD>e<EFBFBD>%ǚod<6F><64><EFBFBD>$r<11><><EFBFBD><<3C>:<3A><>cgi<67>"aF'=f<><66><1F><>EcVcL.03"w),<2C> HQi<51>D<EFBFBD>f<EFBFBD>3<EFBFBD>s(-$?a0<61>@<40><>.O<>B{y<>z<EFBFBD>ʫ<1A> h<>/\<0B>S<>]<5D>o<EFBFBD><6F>m'2D#/gr<67>W3<>Χ<><CEA7>&U<><55><EFBFBD>EgMh<4D>-A<>6<><36><EFBFBD><EFBFBD><EFBFBD>4M|1<>q0O<30><4F>*$<24>O<EFBFBD>/n<><6E><EFBFBD>g<EFBFBD><67>2R<32><52>Q<EFBFBD>X<>_<07><><EFBFBD>[숔<>p<EFBFBD><70>\<5C>)ƧTS<54>T<EFBFBD>aP*'[<0F>x<EFBFBD><78>>߅<>Ub[Ԧ<>9s<39><73>I<EFBFBD><49>P
|
||||
0
test/fix/old-lic.err
Normal file
0
test/fix/old-lic.err
Normal file
1
test/fix/old-lic.flags
Normal file
1
test/fix/old-lic.flags
Normal file
@@ -0,0 +1 @@
|
||||
-l 42
|
||||
2
test/fix/old-lic.gb
Normal file
2
test/fix/old-lic.gb
Normal file
@@ -0,0 +1,2 @@
|
||||
<EFBFBD>EZ/:<3A><><EFBFBD><7F><7F>Ѐ<EFBFBD><02>J/<2F><><EFBFBD><EFBFBD>_<<3C>&<26>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>XgAP
|
||||
`<60>1@Wh<><68>||ø<>e뻬e^"7(*YV<59><56>T<EFBFBD><54><EFBFBD>OY!<21><03><04>̔]<5D><><EFBFBD>=<3D><01><>y<EFBFBD>V~x<>a<>]<5D>;<3B><><EFBFBD>¡<EFBFBD>zUm<0C><>z:d@֪<>b<EFBFBD> 'vʆq<02>W<EFBFBD><14>_<EFBFBD><5F><17><><EFBFBD>2)G<05>v(k<><6B><EFBFBD>g,<2C>p*@<40><>!<21>Dõ<44>0k<14><><01><><EFBFBD>e<EFBFBD>%ǚod<6F><64><EFBFBD>$r<11><><EFBFBD><<3C>:<3A><>cgi<67>"aF'=f<><66><1F><>EcVcL.03"w),<2C> HQi<51>D<EFBFBD>f<EFBFBD>3<EFBFBD>s(-$?a0<61>@<40><>.O<>B{y<>z<EFBFBD>ʫ<1A> h<>/\<0B>S<>]<5D>o<EFBFBD><6F>m'2D#/gr<67>W3<>Χ<><CEA7>&U<><55><EFBFBD>EgMh<4D>-A<>*6<><36><EFBFBD><EFBFBD><EFBFBD>4M|1<>q0O<30><4F>*$<24>O<EFBFBD>/n<><6E><EFBFBD>g<EFBFBD><67>2R<32><52>Q<EFBFBD>X<>_<07><><EFBFBD>[숔<>p<EFBFBD><70>\<5C>)ƧTS<54>T<EFBFBD>aP*'[<0F>x<EFBFBD><78>>߅<>Ub[Ԧ<>9s<39><73>I<EFBFBD><49>P
|
||||
BIN
test/fix/padding-bigperfect.bin
Normal file
BIN
test/fix/padding-bigperfect.bin
Normal file
Binary file not shown.
0
test/fix/padding-bigperfect.err
Normal file
0
test/fix/padding-bigperfect.err
Normal file
1
test/fix/padding-bigperfect.flags
Normal file
1
test/fix/padding-bigperfect.flags
Normal file
@@ -0,0 +1 @@
|
||||
-p0xff
|
||||
BIN
test/fix/padding-bigperfect.gb
Normal file
BIN
test/fix/padding-bigperfect.gb
Normal file
Binary file not shown.
BIN
test/fix/padding-imperfect.bin
Normal file
BIN
test/fix/padding-imperfect.bin
Normal file
Binary file not shown.
0
test/fix/padding-imperfect.err
Normal file
0
test/fix/padding-imperfect.err
Normal file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user