All fonts are now completed! (#1)
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
@ -59,6 +59,6 @@ public class ArcadeReader {
|
||||
*
|
||||
*/
|
||||
public static void retrieveData(Path img) {
|
||||
new SoundVoltexReader().interpretBoxes(img);
|
||||
new LoveLiveReader().interpretBoxes(img);
|
||||
}
|
||||
}
|
||||
|
BIN
lovelive10.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive11.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive12.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive3.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive4.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive5.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive6.png
Normal file
After Width: | Height: | Size: 1.9 MiB |
BIN
lovelive7.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive8.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
lovelive9.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
@ -169,8 +169,8 @@ public class DDRReader extends Reader{
|
||||
ImageIO.write(cutImg,"png",output.toFile());
|
||||
String dataString = readAllBoxes(output);
|
||||
String[] data = dataString.split(Pattern.quote("\n"));
|
||||
String[] ja_data = data[0].split(Pattern.quote(","));
|
||||
String[] en_data = data[2].split(Pattern.quote(","));
|
||||
String[] ja_data = parseOutCommas(data[0]).split(Pattern.quote(","));
|
||||
String[] en_data = parseOutCommas(data[2]).split(Pattern.quote(","));
|
||||
trimAllData(ja_data);
|
||||
trimAllData(en_data);
|
||||
System.out.println(Arrays.toString(ja_data));
|
||||
|
@ -135,8 +135,8 @@ public class ITGReader extends Reader{
|
||||
ImageIO.write(cutImg,"png",output.toFile());
|
||||
String dataString = readAllBoxes(output);
|
||||
String[] data = dataString.split(Pattern.quote("\n"));
|
||||
String[] ja_data = data[0].split(Pattern.quote(","));
|
||||
String[] en_data = data[2].split(Pattern.quote(","));
|
||||
String[] ja_data = parseOutCommas(data[0]).split(Pattern.quote(","));
|
||||
String[] en_data = parseOutCommas(data[2]).split(Pattern.quote(","));
|
||||
trimAllData(ja_data);
|
||||
trimAllData(en_data);
|
||||
System.out.println(Arrays.toString(ja_data));
|
||||
|
@ -226,8 +226,8 @@ public class LoveLiveReader extends Reader{
|
||||
ImageIO.write(cutImg,"png",output.toFile());
|
||||
String dataString = readAllBoxes(output);
|
||||
String[] data = dataString.split(Pattern.quote("\n"));
|
||||
String[] ja_data = data[0].split(Pattern.quote(","));
|
||||
String[] en_data = data[2].split(Pattern.quote(","));
|
||||
String[] ja_data = parseOutCommas(data[0]).split(Pattern.quote(","));
|
||||
String[] en_data = parseOutCommas(data[2]).split(Pattern.quote(","));
|
||||
trimAllData(ja_data);
|
||||
trimAllData(en_data);
|
||||
System.out.println(Arrays.toString(ja_data));
|
||||
|
@ -171,8 +171,8 @@ public class PopnReader extends Reader{
|
||||
ImageIO.write(cutImg,"png",output.toFile());
|
||||
String dataString = readAllBoxes(output);
|
||||
String[] data = dataString.split(Pattern.quote("\n"));
|
||||
String[] ja_data = data[0].split(Pattern.quote(","));
|
||||
String[] en_data = data[2].split(Pattern.quote(","));
|
||||
String[] ja_data = parseOutCommas(data[0]).split(Pattern.quote(","));
|
||||
String[] en_data = parseOutCommas(data[2]).split(Pattern.quote(","));
|
||||
trimAllData(ja_data);
|
||||
trimAllData(en_data);
|
||||
System.out.println(Arrays.toString(ja_data));
|
||||
|
@ -35,6 +35,26 @@ public abstract class Reader{
|
||||
protected void init() {
|
||||
sig_data = new String[readRegions.size()];
|
||||
}
|
||||
String parseOutCommas(String str) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
boolean insideStr = false;
|
||||
for (int i=0;i<str.length();i++) {
|
||||
if (i>0) {
|
||||
if (str.charAt(i)=='\''&&str.charAt(i-1)!='\\') {
|
||||
insideStr=!insideStr;
|
||||
}
|
||||
} else
|
||||
if (str.charAt(i)=='\'') {
|
||||
insideStr=!insideStr;
|
||||
}
|
||||
if (insideStr&&str.charAt(i)==',') {
|
||||
sb.append('،');
|
||||
} else {
|
||||
sb.append(str.charAt(i));
|
||||
}
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
String readAllBoxes(Path img) {
|
||||
try {
|
||||
Process p = Runtime.getRuntime().exec(new String[]{"python3","runocr.py","ja",img.toAbsolutePath().toString()});
|
||||
@ -69,7 +89,7 @@ public abstract class Reader{
|
||||
for (int i=0;i<en_data.length;i+=10) {
|
||||
int spacing=0;
|
||||
for (int j=0;j<readRegions.size();j++) {
|
||||
int midpoint=(Integer.parseInt(en_data[i+1])+Integer.parseInt(en_data[i+5]))/2;
|
||||
int midpoint=(int)(Double.parseDouble(en_data[i+1])+Double.parseDouble(en_data[i+5]))/2;
|
||||
if (midpoint>=spacing&&midpoint<=spacing+readRegions.get(j).h+REGION_PADDING
|
||||
/*&&accuracy[j]<Double.parseDouble(en_data[i+9]) Only for jp string testing.*/) {
|
||||
System.out.print("[");
|
||||
@ -94,7 +114,7 @@ public abstract class Reader{
|
||||
for (int i=0;i<jp_data.length;i+=10) {
|
||||
int spacing=0;
|
||||
for (int j=0;j<readRegions.size();j++) {
|
||||
int midpoint=(Integer.parseInt(jp_data[i+1])+Integer.parseInt(jp_data[i+5]))/2;
|
||||
int midpoint=(int)(Double.parseDouble(jp_data[i+1])+Double.parseDouble(jp_data[i+5]))/2;
|
||||
if (midpoint>=spacing&&midpoint<=spacing+readRegions.get(j).h+REGION_PADDING
|
||||
&&accuracy[j]<Double.parseDouble(jp_data[i+9])) {
|
||||
System.out.print("JP[");
|
||||
|
@ -349,8 +349,8 @@ public class SoundVoltexReader extends Reader{
|
||||
ImageIO.write(cutImg,"png",output.toFile());
|
||||
String dataString = readAllBoxes(output);
|
||||
String[] data = dataString.split(Pattern.quote("\n"));
|
||||
String[] ja_data = data[0].split(Pattern.quote(","));
|
||||
String[] en_data = data[2].split(Pattern.quote(","));
|
||||
String[] ja_data = parseOutCommas(data[0]).split(Pattern.quote(","));
|
||||
String[] en_data = parseOutCommas(data[2]).split(Pattern.quote(","));
|
||||
trimAllData(ja_data);
|
||||
trimAllData(en_data);
|
||||
System.out.println(Arrays.toString(ja_data));
|
||||
|
@ -4,27 +4,27 @@
|
||||
18
|
||||
40
|
||||
000000000001110000000000000111111000000000011111111100000001111111111111000111111111111111011111111111111111111111111111111110111111111111111110011111111111111110011111111111111110011111111111111110001111001111111110000000001111111110000000001111111110000000001111111110000000001111111110000000001111111100000000001111111100000000001111111100000000011111111100000000011111111100000000011111111100000000011111111100000000011111111100000000011111111100000000011111111100000000011111111000000000011111111000000000111111111000000000111111111000000000111111111000000000111111111000000000111111111000000000111111111000000000111111111000000000111111111000000000111111110000000000111111110000000001111111110000000001111111110000
|
||||
0
|
||||
0
|
||||
|
||||
29
|
||||
40
|
||||
00000000000111111110000000000000000001111111111111100000000000001111111111111111110000000000111111111111111111110000000011111111111111111111110000001111111111111111111111110000111111111111111111111111100011111111111111111111111111100111111111111000111111111111011111111111000000011111111110111111111100000000011111111100011111110000000000111111111100001111000000000000111111111000001100000000000001111111110000000000000000000011111111100000000000000000000111111110000000000000000000011111111100000000000000000000111111111000000000000000000011111111110000000000000000001111111111000000000000000000111111111110000000000000000011111111111000000000000000001111111111110000000000000000111111111111000000000000000011111111111100000000000000001111111111110000000000000001111111111111000000000000000111111111111000000000000000011111111111100000000000000011111111111100000000000000001111111111110000000000000000111111111110000000000000000111111111110000000011111111011111111111111111111111111110111111111111111111111111111101111111111111111111111111111011111111111111111111111111110111111111111111111111111111100111111111111111111111111111001111111111111111111111111110
|
||||
30
|
||||
41
|
||||
000000000000000111100000000000000000000000001111111000000000001111000000011111111110000000111111100000011111111111000000111111111100111111111111100000111111111110111111111111100000011111111111111111111111110000001111111110000111111111110000001111110000000001111111110000001111000000000001111111110000000100000000000001111111110000000000000000000001111111110000000000000000000011111111100000000000000000000111111111100000000000000000011111111111000000000000000001111111111110000000000000001111111111111100000000000001111111111111111000000000000000111111111111111111000000000000111111111111111111110000000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011100000000011111111111000000000000000000001111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000001111111111000000000000000000111111111111000000000000000011111111111110000000000000011111111111111110000000111111111111111111111100011111111111111111111111111000001111111111111111111111110000001111111111111111111111100000001111111111111111111111000000001111111111111111111100000000001111111111111111100000000000000111111111111000000000000000
|
||||
000000001111111111100000000000000011111111111111111000000000001111111111111111111110000000111111111111111111111111000000111111111111111111111111100000111111111111111111111111100000011111111111111111111111110000001111111110000111111111110000001111110000000001111111110000001111000000000001111111110000000100000000000001111111110000000000000000000001111111110000000000000000000011111111100000000000000000000111111111100000000000000000011111111111000000000000000001111111111110000000000000001111111111111100000000000001111111111111111000000000000000111111111111111111000000000000111111111111111111110000000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011100000000011111111111000000000000000000001111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000001111111111000000000000000000111111111111000000000000000011111111111110000000000000011111111111111110000000111111111111111111111100011111111111111111111111111000001111111111111111111111110000001111111111111111111111100000001111111111111111111111000000001111111111111111111100000000001111111111111111100000000000000111111111111000000000000000
|
||||
32
|
||||
40
|
||||
00000000000000111000000000000000000000000000011111000000000000000000000000000111111100000000000000000000000011111111110000000000000000000001111111111110000000000000000000111111111111000000000000000000001111111111100000000000000000000111111111110000000000000000000011111111111000000000000000000001111111111100000000000000000000011111111110000000000000000000001111111111000000000000000000000111111111110011111000000000000001111111111000111111110000000000111111111100001111111100000000001111111110000011111111000000000111111111100000111111110000000001111111110000001111111100000000111111111000000111111111000000001111111110000001111111110000000111111111000000011111111100000001111111110000000111111111000000111111111000000001111111110000001111111110000000011111111100000011111111100000000111111111001111111111111000000001111111111111111111111111000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111001111111111111111111111111111110000111111111111111111111111000000000011111111111111111110000000000000000000000011111111100000000000000000000000111111111000000000000000000000001111111110000000000000000000000011111111100000000000000000000000111111111000000000000000000000001111111110000000
|
||||
30
|
||||
46
|
||||
000000000000000110000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000001101000000000000000000000000011111111100000000011111000000011111111111100000111111000000011111111111111110111111000000011111111111111111011111000000011111111111111111111111000000111111111111111111111111000000111111111011111111111111000000111111110011111111111100000000111111110011100000000000000001111111110000000000000000000001111111110000000000000000000001111111100000000000000000000001111111100000000000000000000011111111100000000000000000000011111111101111111111000000000011111111111111111111111000000011111111111111111111111110000011111111111111111111111111000111111111111111111111111111100111111111111111111111111111110111111111111111111111111111110001111111111000000111111111111000111111000000000001111111111000001100000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000001111111111000000000000000000011111111110000000000000000000111111111110000000000000000001111111111110000000000000001111111111111100000000000001111111111111111000000000111111111111111111111000000011111111111111111111110000000011111111111111111111100000000001111111111111111110000000000001111111111111111000000000000000111111111111100000000000000000111111111110000000000000000000111111100000000000000000
|
||||
42
|
||||
000001111100000000000000000000000001111111100000000000000000000011111111100000000011111000000011111111111111111111111000000011111111111111111111111000000011111111111111111111111000000011111111111111111111111000000111111111111111111111111000000111111111011111111111111000000111111110011111111111100000000111111110011100000000000000001111111110000000000000000000001111111110000000000000000000001111111100000000000000000000001111111100000000000000000000011111111100000000000000000000011111111101111111111000000000011111111111111111111111000000011111111111111111111111110000011111111111111111111111111000111111111111111111111111111100111111111111111111111111111110111111111111111111111111111110001111111111000000111111111111000111111000000000001111111111000001100000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000001111111111000000000000000000011111111110000000000000000000111111111110000000000000000001111111111110000000000000001111111111111100000000000001111111111111111000000000111111111111111111111000000011111111111111111111110000000011111111111111111111100000000001111111111111111110000000000001111111111111111000000000000000111111111111100000000000000000111111111110000000000000000000111111100000000000000000
|
||||
31
|
||||
40
|
||||
0000000000000000011000000000000000000000000000111110000000000000000000000000111111100000000000000000000000111111111100000000000000000000111111111111000000000000000000111111111111100000000000000000111111111111100000000000000000111111111111000000000000000000111111111111000000000000000000111111111111000000000000000000111111111111000000000000000000011111111111000000000000000000011111111111000000000000000000011111111111000000000000000000001111111111000000000000000000001111111111001111111000000000000111111111111111111111100000000111111111111111111111111000000011111111111111111111111111000011111111111111111111111111100001111111111111111111111111111000111111110011111111111111111110111111111001111111111111111111011111111100111000000111111111101111111100000000000001111111110111111110000000000000111111111011111111000000000000001111111111111111100000000000000111111111111111110000000000000011111111111111111000000000000001111111101111111110000000000001111111110111111111000000000001111111111011111111110000000001111111111100111111111110000001111111111100011111111111111111111111111110000111111111111111111111111110000001111111111111111111111110000000111111111111111111111111000000000111111111111111111110000000000001111111111111111110000000
|
||||
0
|
||||
0
|
||||
|
||||
0
|
||||
0
|
||||
|
||||
30
|
||||
41
|
||||
000000000000000000000000001000000000000001111111111111111100111111111111111111111111111100111111111111111111111111111110111111111111111111111111111110011111111111111111111111111111011111111111111111111111111111011111111111111111111111111111011111111111111111001111111111011111111000000000011111111110000000000000000000011111111110000000000000000000111111111100000000000000000001111111111000000000000000000001111111111000000000000000000011111111110000000000000000000111111111100000000000000000000111111111100000000000000000001111111111000000000000000000001111111111000000000000000000011111111110000000000000000000011111111100000000000000000000111111111100000000000000000000111111111000000000000000000001111111111000000000000000000001111111111000000000000000000011111111110000000000000000000011111111110000000000000000000111111111100000000000000000000111111111100000000000000000001111111111100000000000000000001111111111000000000000000000001111111111000000000000000000011111111110000000000000000000011111111110000000000000000000011111111110000000000000000000111111111110000000000000000000111111111100000000000000000000111111111100000000000000000001111111111100000000000000000001111111111100000000000000000000001111111000000000000000
|
||||
31
|
||||
40
|
||||
0000000000111111111110000000000000000011111111111111111000000000000111111111111111111111000000000111111111111111111111111000000111111111111111111111111110000111111111111111111111111111110111111111111111111111111111111011111111111000000111111111111001111111111000000000011111111000111111111000000000000111111000111111111000000000000010111100011111111100000000000111001100000111111111000000011111110000000011111111110000111111111100000001111111111101111111111111000000011111111111111111111111110000000111111111111111111111110000000001111111111111111111100000000000001111111111111110000000000000000111111111111111000000000000000111111111111111111000000000000111111111111111111111000000000111111111111111111111110000000111111111110011111111111100000011111111110000011111111111000011111111110000000111111111100001111111110000000001111111111000111111110000000000011111111100111111111000000000000111111110011111111100000000000011111111001111111110000000000001111111100111111111000000000001111111110011111111110000000000111111111000111111111110000001111111111100011111111111111111111111111100000111111111111111111111111110000001111111111111111111111110000000111111111111111111111110000000000111111111111111111110000000000001111111111111111110000000
|
||||
34
|
||||
40
|
||||
0000000000001111111111110000000000000000000111111111111111111000000000000001111111111111111111111100000000001111111111111111111111111000000001111111111111111111111111111000001111111111111111111111111111110001111111111111111111111111111110001111111111111110111111111111111000111111111110000000000111111111000111111111100000000000000111111000011111111100000000000000000111100001111111110000000000000010001100001111111110000000000000011111110000111111111000000000000011111111100011111111100000000000011111111110000111111110000000000011111111111000011111111100000000011111111111000001111111111100001111111111111100000111111111111111111111111111110000001111111111111111111111111111000000111111111111111111111111111100000001111111111111111111111111100000000011111111111111111111111110000000000011111111111111111111111000000000000011111111100011111111100000000000000000000000001111111110000000000000000000000000111111110000000000000000000000000011111111000000000000000000000000011111111100000000000000000000000001111111110000000000000000000000000111111110000000000000000000000000011111111000000000000000000000000011111111100000000000000000000000001111111110000000000000000000000000111111111000000000000000000000000011111111000000000000000000000000001111111100000000000000000000000001111111110000000000000000000000000111111111000000000000000000000000011111111100000000
|
||||
|
@ -1,30 +1,30 @@
|
||||
0
|
||||
0
|
||||
|
||||
11
|
||||
24
|
||||
000000111000000111111000011111110011111111100111111111011111111110011111111100000011111000000111110000001111100000011111000000111110000001111100000011111000000111110000001111100000011111000000111110000001111100000011111000000111110000001111110000011111000000111110
|
||||
0
|
||||
0
|
||||
|
||||
0
|
||||
0
|
||||
|
||||
0
|
||||
0
|
||||
|
||||
0
|
||||
0
|
||||
|
||||
17
|
||||
24
|
||||
000001111111100000000111111111100000011111111111100001111111111111100111111000011111101111100000011111011110000000011101111100000000000011111001111100000111111111111110001111111111111110011111111111111110111111111111111101111110000011111111111000000011111111110000000111111111100011001111111111000000011111011111000000111110111110000011111101111111111111110001111111111111100001111111111110000001111111111000
|
||||
0
|
||||
0
|
||||
|
||||
000001111111000000000111111111100000011111111111100001111111111111000111111000111111001111100000111110011110000000111111111100010001111111111000100011111111110011100011111111100111000111111110001110001111111100011100011111111000111000111111111001100011111111110011000111111111100010001111101111000000011111011111000001111100111110000111111001111111111111110001111111111111000001111111111100000001111111110000
|
||||
10
|
||||
24
|
||||
000000111000001111110001111111011111111101111111111111111111011111111100000111110000011111000001111100000111110000011111000001111100000111110000011111000001111100000111110000011111000001111100000111110000011111000001111100000111110000011111
|
||||
17
|
||||
23
|
||||
0000111111111000000011111111111000001111111111111000011111111111111001111110000111110011110000000111100111100000001111101111000000011111011100000001111110000000000011111000000000001111110000000001111111000000000111111100000000111111110000000011111111000000001111111000000000111111100000000011111100000000001111110000000000011111000000000000111111111111111111111111111111111111111111111111111
|
||||
17
|
||||
24
|
||||
000011111111100000001111111111100000111111111111100011111111111111100111111000011111011111000000011111111110000000111111111100000001111101111100000111110011111110111111100011111111111110000011111111111100011111111111111000111111111111111011111100000111111111110000000111111111000000000111111110000000001111111110000000111111111110000001111111111111111111111011111111111111100011111111111110000011111111111000
|
||||
000011111111100000001111111111100000111111111111100011111111111111100111111000011111001111000000011110011110000000111100000000000001111000000000000111110000000011111111100000011111111110000000111111111000000001111111111000000001111111111000000000000111111000000000000111110110000000001111111110000000011111111110000000111111111110000011111101111111111111111011111111111111100011111111111110000011111111111000
|
||||
18
|
||||
24
|
||||
000000000111100000000000001111110000000000001111111000000000011111111000000000011111111000000000111111111000000001111111111000000001111011111000000011111011111000000111110011111000000111110011111000001111100011111000011111100011111000011111000011111000111110000011111000111111111111111110111111111111111111111111111111111111111111111111111111011111111111111110000000000011111000000000000011111000000000000011111000000000000011111000
|
||||
17
|
||||
24
|
||||
000011111111000000001111111111100000111111111111100011111111111111000111111001111111011111000000111110111110000000111111111100000001111111111000000011111111110000000111111111100000011111111111100001111111011111111111111110111111111111111100011111111111111000011111110111110000000000001111100100000000011111111110000001111101111010000101111001111111111111100011111111111111000011111111111100000011111111110000
|
||||
000111111111111000011111111111111000111111111111110011111111111111100111111111111110001111100000000000011111000000000000111110000000000001111111111100000011111111111100000111111111111110001111111111111110011111111111111100111100000011111100000000000011111000000011000111110000000111001111101010000000011111111110000000111111111110000011111111111111111111110011111111111111100011111111111110000011111111110000
|
||||
17
|
||||
24
|
||||
000001111111100000000111111111100000011111111111100001111111111111100111111000011111101111100000011111011110000000011101111100000000000011111011111100000111111111111110001111111111111110011111111111111110111111111111111101111110000011111111111000000011111111110001000111111111100011001111111111000000011111011111000000111110111110000011111101111111111111110001111111111111100001111111111110000001111111111000
|
||||
16
|
||||
24
|
||||
111111111111110011111111111111101111111111111111111111111111111111111111111111110000000000011111000000000011111000000000011111100000000001111100000000001111110000000001111110000000000111110000000000111111000000000111111000000000011111000000000011111100000000001111100000000000111110000000000111110000000000011111000000000001111100000000000111110000000000011111000000000001111100000000
|
||||
17
|
||||
24
|
||||
000011111111100000001111111111100000111111111111100011111111111111100111110000111111011111000000011111111110000000111111111100000001111101111100000111110011111111111111100011111111111110000111111111111000001111111111111100111111111111111011111100000111111111110000000111111111000000000111111110000000001111111110000000111111111110000011111111111111111111111011111111111111100011111111111110000011111111111000
|
||||
17
|
||||
24
|
||||
000011111111000000001111111111100000111111111111100011111111111111000111111001111111011111000000111110111110000000111111111100000001111111111000000011111111110000000111111111100000011111111111100001111111011111111111111110111111111111111100011111111111111000011111110111110000000000001111100100000000011111111110000001111101111110000111111001111111111111100011111111111111000011111111111100000011111111110000
|
||||
|
@ -1,30 +1,30 @@
|
||||
20
|
||||
29
|
||||
0000111111111110000000001111111111110000001111111111111111000011111111111111110001111111111111111100011111111111111111001111111000001111111111111100000011111111111111000000001111111111110000000011111111111100000000111111111111000000001111111111110000000011111111111100000000111111111111000000001111111111110000000011111111111100000000111111111111000000001111111111110000000011111111111100000000111111111111000000011111111111111000000111111111111111000011111110111111111011111111000011111111111111110000111111111111111100000011111111111100000000111111111111000000000000111100000000
|
||||
11
|
||||
27
|
||||
000001111100000111111000111111111011111111111111111111111111111111111111111111111111111100000111111000001111110000011111100000111111000001111110000011111100000111111000001111110000011111100000111111000001111110000011111100000111111000001111110000011111100000111111000001111110000011111100000111111
|
||||
20
|
||||
27
|
||||
000000111111110000000000011111111110000000011111111111110000000111111111111110000011111100011111110001111110000001111000011111000000011111000111110000000011111001111000000000111110011110000000000111100111100000000001111001111000000000011110111110000000000111111111100000000001111111111000000000011111111110000000000111111111100000000001111001111000000000011110011110000000001111101111100000000001111001111000000000111110011110000000011111100111111000001111110000111110000001111100001111111111111110000001111111111111100000001111111111100000
|
||||
9
|
||||
27
|
||||
000001110000011110001111111001111111111111111111111111111111111111001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111000001111
|
||||
20
|
||||
27
|
||||
000011111111111100000000111111111111000000111111111111111100001111111111111111001111111111111111111011111111111111111110111111000000011111111111110000000011111111111100000000111111111111000000011111110000000000001111111100000000000011111111000000000011111111000000000001111111110000000011111111110000000000111111111100000000111111111100000000011111111111000000001111111100000000000011111111000000000011111111000000000000111111110000000000001111111111111111110011111111111111111110111111111111111111111111111111111111111111111111111111111111
|
||||
000011111111111100000000111111111111000000111111111111111100001111111111111111001111111111111111111011111111111111111110111111000000011111111111110000000011111111111100000000111111111111000000011111110000000000001111111100000000000011111111000000000011111111000000000001111111110000000001111111110000000000111111111100000000111111111100000000011111111111000000001111111100000000000011111111000000000011111111000000000000111111110000000000001111111111111111110011111111111111111110111111111111111111111111111111111111111111111111111111111111
|
||||
21
|
||||
29
|
||||
000011111111111000000000111111111111100000011111111111111110000011111111111111111000011111111111111111100011111111001111111100011111100000011111100011111100000011111100000100000000011111100000000000000011111100000000001111111111100000000011111111111100000001111111111110000000001111111111110000000000111111111111100000000011111111111100000000000001111111100000000000000011111110000000000000011111110011110000000011111110111110000000011111111111111000000011111111111111100000011111110111111110001111111100011111111111111111100011111111111111111100000111111111111110000000111111111111110000000000011111100000000
|
||||
20
|
||||
27
|
||||
000000000001111000000000000000111111000000000000011111110000000000000111111100000000000011111111000000000000111111110000000000011111111100000000001111101111000000000011110011110000000000111100111100000000111110001111000000001111100011110000000111110000111100000011111100001111000000111110000011110000001111000000111100000111110000001111000011111000000011110000111111111111111111111111111111111111111111111111111111111111111111111111111111110011111111111111111000000000000011111000000000000000111100000000000000001111000000000000000011110000
|
||||
22
|
||||
28
|
||||
0000000000011111100000000000000001111110000000000000011111111110000000000001111111111000000000000111111111100000000000111111111110000000000111111111111000000000011111111111100000000111111111111110000000011111111111111000000001111110011111100000000111111001111110000001111110000111111000000111111000011111100000111111100001111110000011111110000111111000011111100000011111100001111110000011111110001111111111111111111110111111111111111111111111111111111111111111110111111111111111111111011111111111111111111000011111111111111111100000000000000111111000000000000000011111100000000000000001111110000000000000000111111000
|
||||
19
|
||||
27
|
||||
000000000000001000000011111111111111000011111111111111110001111111111111111000111111111111111000011110000000000000001111000000000000001111100000000000000111110000000000000011111000000000000001111111111111100000111111111111110000011111111111111110001111111111111111000111111000001111111011110000000001111100000000000000111110000000000000011111000000000000000111100000000000000011110111100000000011111011110000000000111111111100000001111110111111000000111110011111111111111111000111111111111111000001111111111111000
|
||||
21
|
||||
29
|
||||
000000111111111110000000000111111111111000000011111111111111100000011111111111111110001111111111111111110001111111100111111110001111110000001111110001111110000001111110011111100000000000000011111100000000000000111111111111111110000111111111111111111000111111111111111111110111111111111111111110111111111100111111110111111111100111111110111111110000001111111111111110000001111111111111100000000111111111111100000000111111011111110000001111111001111110000001111111001111110000001111110001111111100111111110000111111111111111110000111111111111111110000011111111111111000000011111111111111000000000001111110000000
|
||||
19
|
||||
27
|
||||
000000111111111000000000111111111100000001111111111111100000111111111111110000111111000011111110011111000000011111011111000000001111101111100000000011100111100000000000000011110000000000000011111001111111100000111110111111110000011111111111111110001111111111111111000111111100001111111011111100000011111101111100000000111111111100000000001111111110000000000111101111000000000011110111100000000001111011110000000000111101111110000001111110011111000000111111001111111111111111000011111111111111000000111111111111000
|
||||
0
|
||||
0
|
||||
|
||||
0
|
||||
0
|
||||
|
||||
011111111111111110001111111111111111111111111111111111111111111111111111111101111111111111111110111111111111111111000000000000011111100000000000001111110000000000011111111000000000001111111100000000000111111000000000000111111100000000000111111100000000000011111100000000000111111110000000000011111111000000000001111110000000000001111111000000000001111111100000000000111111110000000000011111100000000000001111110000000000000111111000000000000111111100000000000011111110000000000001111111000000000000111111000000000
|
||||
21
|
||||
29
|
||||
000001111111111110000000011111111111110000000111111111111111100000111111111111111100011111111111111111110011111111111111111110011111100000000111111011111100000000111111011111100000000111111011111100000001111111011111111111111111110011111111111111111100000111111111111111100000111111111111111100001111111111111111100011111111111111111110011111110000011111111011111100000011111111011111100000000111111111111100000000111111111111100000000111111011111100000000111111011111100000011111111011111111010111111111011111111111111111110011111111111111111100000111111111111111100000111111111111110000000000011111100000000
|
||||
21
|
||||
29
|
||||
000011111111111100000000011111111111100000001111111111111111000001111111111111111000001111111111111111110011111111111111111110111111110000001111110111111110000001111110111111000000001111110111111000000001111110111111000000001111111111111000000001111111011111110000011111111011111110000111111111001111111111111111111001111111111111111111000011111111111111111000011111111111111111000000001111001111110000000001111001111110001111000000001111110011111000000001111110011111110000111111110011111111001111111110001111111111111111000001111111111111111000000011111111111110000000011111111111100000000000001111100000000
|
||||
|
@ -1,15 +1,15 @@
|
||||
0
|
||||
0
|
||||
|
||||
54
|
||||
51
|
||||
000000000000000000001111111111111111111111111110000000000000000000000000111111111111111111111111111100000000000000000000000001111111111111111111111111111111111100000000000000000011111111111111111111111111111111111100000000000000000111111111111111111111111111111111111100000000000000001111111111111111111111111111111111111100000000000000011111111111111111111111111111111111111100000000000000111111111111111111111111111111111111111100000000000000111111111111111111111111111111111111111110000000000000111111111111111111111111111111111111111110000000000111111111111111111111111111111111111111111110000000000111111111111111111111111111111111111111111110000000001111111111111111111111111111111111111111111111000000011111111111111111111111111111111111111111111111000000011111111111111111111111111111111111111111111111000000111111100000000000000000000000000111111111111111000001111111100000000000000000000000000111111111111111000011111111100000000000000000000000000111111111111111000111111111100000000000000000000000000111111111111111000111111111000000000000000000000000000111111111111111001111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111110111111111111000000000000000000000000000111111111111110111111111111000000000000000000000000000111111111111100111111111111000000000000000000000000000111111111111000111111111111000000000000000000000000000111111111110000111111111111000000000000000000000000000111111111100000111111111111000000000000000000000000000111111111000000111111111111000000000000000000000111111111111110000000111111111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111110000000000111111111111111111111111111111111111111111100000000000111111111111111111111111111111111111111100000000000000111111111111111111111111111111111111111100000000000000111111111111111111111111111111111111110000000000000000111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111000000000000000000111111111111111111111111111111111110000000000000000000111111111111111111111111111111111100000000000000000000
|
||||
27
|
||||
49
|
||||
000000000001111111111111100000000000111111111111111100000000001111111111111111100000000011111111111111111100000000111111111111111111100000001111111111111111111100000011111111111111111111100000111111111111111111111100011111111111111111111111100111111111111111111111111100111111111111111111111111100111111111111111111111111100011111111111111111111111100000000000000111111111111100000000000000111111111111110000000000000111111111111110000000000000111111111111110000000000000111111111111110000000000000111111111111110000000000000111111111111111000000000000111111111111111000000000000111111111111111000000000000111111111111111000000000000111111111111111000000000000111111111111111000000000000111111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111111000000000000011111111111110000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100000000000000011111111111100
|
||||
52
|
||||
52
|
||||
0111111111111111111111111111111111111110000000000000111111111111111111111111111111111111111110000000000011111111111111111111111111111111111111111100000000001111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111100000001111111111111111111111111111111111111111111111000000011111111111111111111111111111111111111111111110000001111111111111111111111111111111111111111111111100000111111111111111111111111111111111111111111111111000011111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111110011111111111111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111110000000000000000000000000000000000000111111111111111000000000000000000000000000000000000011111111111111100000000000000000000000000000000000001111111111111110000000000000000000000000000000000000111111111111111000000000000000000111111111000000000011111111111111100000000000000111111111111111000000001111111111111110000000000001111111111111111110000000111111111111111000000000001111111111111111111100000011111111111111100000000001111111111111111111111000001111111111111110000000001111111111111111111111110000111111111111111000000001111111111111111111111111100011111111111111100000001111111111111111111111111111001111111111111110000001111111111111111111111111111110111111111111111000001111111111111111111111111111111111111111111111100001111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111001111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111000000000000001111111111111111111111110011111111111100000000000000000000111110111111111100001111111111110000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000111111111111000000000000000000001111111111111111110011111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111
|
||||
0
|
||||
0
|
||||
|
||||
51
|
||||
51
|
||||
011111111111111111111111111111111111100000000000000111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000011111111111111111111111111111111111111100000000000011111111111111111111111111111111111111110000000000000000001111111111111111111111111111111111100000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000111111111111110000000000000000001111111111111111001111111111111110000000000000001111111111111111111111111111111111111000000000000001111111111111111111111111111111111111000000000000011111111111111111111111111111111111111000000000000111111111111111111111111111111111111111000000000001111111111111111111111111111111111111111000000000011111111111111111111111111111111111111111000000000111111111111111111111111110111111111111111000000001111111111111111111111111100111111111111111000000011111111111111111111111111000111111111111111000000111111111111111111111111110000111111111111111000001111111111111111111111111100000111111111111111000011111111111111111111111111000000111111111111111000011111111111111111111111110000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000000111111111111111000000000000000000000000000000000111111111111111111011111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111110011111111111111111111111111111111111110011111111000011111111111111111111111111111111110000000000000000011111111111111111111111111111111100000000000000000011111111111111111111111111111111000000000000000000011111111111111111111111111111110000000000000000000011111111111111111111111111111100000000000000000000011111111111111111111111111111000000000000000000000011111111111111111111111111110000000000000000000000011111111111111111111111111100000000000000000000000
|
||||
54
|
||||
51
|
||||
000000000000000000000011111111111111111111000000000000000000000000000000001111111111111111111111110000000000000000000000000000011111111111111111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000011111111111111111111111111110000000000000000000000000111111111111111111111111111110000000000000000000000001111111111111111111111111111110000000000000000000000011111111111111111111111111111110000000000000000000000111111111111111111111111111111110000000000000000000001111111111111111111111111111111110000000000000000000011111111111111111111111111111111110000000000000000000011111111111111111111111111111111110000000000000000000111111111111111111111111111111111110000000000000000001111111111111111111111111111111111110000000000000000001111100000000000000000111111111111110000000000000000011111100000000000000000111111111111110000000000000000011111100000000000000000111111111111110000000000000000111111100000000000000000111111111111110000000000000001111111000000000000000000111111111111110000000000000011111111000000000000000000111111111111111000000000000111111111000000000000000000111111111111111000000000001111111111000000000000000000111111111111111000000000011111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000000000111111111111111000000000111111111111000000000000011111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000011111111111111111111110000000000000000000000000000000011111111111111111111100000000000000000000000000000000011111111111110000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000011111111111100000000000
|
||||
|
@ -1,6 +1,6 @@
|
||||
0
|
||||
0
|
||||
|
||||
33
|
||||
30
|
||||
000000000001111111111111111111110000000000011111111111111111111110000000000111111111111111111111110000000001111111111111111111111110000000001111111111111111111111110000000111111111111111111111111110000000111111111111111111111111111000001111111111111111111111111111000011110000000000000000111111111000111110000000000000000111111111001111110000000000000000111111111011111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111110111111110000000000000000111111100111111110000000000000000111111000111111110000000000000000111110000111111111111111111111111111100000111111111111111111111111111000000111111111111111111111111110000000111111111111111111111111000000000111111111111111111111110000000000111111111111111111111100000000000111111111111111111111000000000000
|
||||
16
|
||||
30
|
||||
000000011111111000000011111111100000011111111110000011111111111000011111111111100111111111111110111111111111111011111111111111100000000111111110000000011111111100000001111111110000000111111111000000011111111100000001111111110000000111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111000000000111111100000000011111110000000001111111000000000111111100000000011111110
|
||||
@ -10,9 +10,9 @@
|
||||
30
|
||||
30
|
||||
111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111111000000111111111111111111111111100000000000000000000000000111110000000000000000000000000111111100000000000000000000000111111111000000000011111111111111111111000000001111111111111111111111000000011111111111111111111111000000111111111111111111111111000001111111111111111111111111000011111111111111110111111111000111111111111111100111111111001111111111111111000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111000000000111111111111111111100000000000111111111111111111000000000000111111111111111110000000000000
|
||||
0
|
||||
0
|
||||
|
||||
33
|
||||
30
|
||||
000000000000011111111111111000000000000000001111111111111111000000000000000001111111111111111000000000000000011111111111111111000000000000001111111111111111111000000000000011111111111111111111000000000000011111111111111111111000000000000111111111111111111111000000000001110000000000111111111000000000011110000000000111111111000000000011110000000000111111111000000000111110000000000111111111000000001111110000000000111111111000000011111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000011111111111110000000000000000000011111111000000000000000000000000011111111000000000000000000000000011111110000000
|
||||
31
|
||||
30
|
||||
111111111111111111111111111111011111111111111111111111111111101111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000111111110000000000000000000000011111111000000000000000000000001111111100000111111111110000000111111110000111111111111100000011111111000011111111111111000001111111100011111111111111110000111111110011111111111111111100011111111011111111111111111111001111111111111111111111111111110111111111111111111111111111111100000000000000001111111111111110000000000000000000000111111111000000000000000000000011111111100000000000000000000001111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111100111111111111111111111111111100011111111111111111111111111000001111111111111111111111111000000
|
||||
|
BIN
result.png
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 33 KiB |
BIN
sdvx1.png
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.1 MiB |
BIN
sdvx2.png
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
BIN
sdvx3.png
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.0 MiB |
BIN
sdvx4.png
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
BIN
sdvx5.png
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
@ -81,18 +81,18 @@ public class sigPlace {
|
||||
final static int TRANSPARENT = new Color(0,0,0,0).getRGB();
|
||||
|
||||
public static void main(String[] args) {
|
||||
/*String fontName = "sdvx_littleScore";
|
||||
String value = "9328";
|
||||
String fontName = "sdvx_largeScore";
|
||||
String value = "301";
|
||||
Path f = Paths.get("sdvx1.png");
|
||||
BufferedImage img;
|
||||
try {
|
||||
img = ImageIO.read(f.toFile());
|
||||
Box scoreBox = new Box(717,1096,146,34);
|
||||
Box scoreBox = new Box(476,1075,242,57);
|
||||
|
||||
int[] arr = img.getRGB(scoreBox.x, scoreBox.y, scoreBox.w, scoreBox.h, null, 0, scoreBox.w);
|
||||
|
||||
BufferedImage newImg = new BufferedImage(scoreBox.w,scoreBox.h,BufferedImage.TYPE_INT_ARGB);
|
||||
|
||||
int width=scoreBox.w;
|
||||
|
||||
final ColorRange TARGETCOLOR = new ColorRange(160,255,170,255,190,255);
|
||||
final ColorRange SEEKINGCOLOR = new ColorRange(26,255,53,255,80,255);
|
||||
@ -100,7 +100,7 @@ public class sigPlace {
|
||||
for (int i=0;i<arr.length;i++) {
|
||||
Color col = new Color(arr[i],true);
|
||||
if (TARGETCOLOR.colorInRange(col)) {
|
||||
seek(arr,i,SEEKINGCOLOR,FINALCOLOR,scoreBox.w);
|
||||
seek(arr,i,SEEKINGCOLOR,FINALCOLOR,width);
|
||||
}
|
||||
}
|
||||
for (int i=0;i<arr.length;i++) {
|
||||
@ -115,8 +115,8 @@ public class sigPlace {
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}*/
|
||||
ArcadeReader.retrieveData(Paths.get("sdvx4.png"));
|
||||
}
|
||||
//ArcadeReader.retrieveData(Paths.get("lovelive2.png"));
|
||||
/* Path secretFile = Paths.get(".clientsecret");
|
||||
List<String> data;
|
||||
try {
|
||||
|
BIN
sub.png
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 683 B |