Implemented the missing EX score image font

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago
parent 05efd5a93b
commit 39ce7ccb52
  1. 8
      ArcadeReader.java
  2. 12
      readers/fonts/sdvx_EXScore
  3. BIN
      result.png
  4. 12
      sigPlace.java
  5. BIN
      sub.png
  6. BIN
      test.png

@ -642,5 +642,13 @@ public class ArcadeReader {
0.0/*pct*/, 0.0/*pct*/,
372/*maxcombo*/, 372/*maxcombo*/,
"{ex:5525,chip_scritical:341,chip_critical:185,chip_near:99,chip_error:8,long_scritical:345,long_error:17,vol_scritical:1096,vol_error:32,failed:false}"/*other*/); "{ex:5525,chip_scritical:341,chip_critical:185,chip_near:99,chip_error:8,long_scritical:345,long_error:17,vol_scritical:1096,vol_error:32,failed:false}"/*other*/);
test("sdvx8.png",SoundVoltexReader.class,
725020/*score*/,
SDVX_D/*rank*/,
new int[]{8,15,4,148,11,16,706}/*notes*/,
0/*difficulty*/,
0.0/*pct*/,
21/*maxcombo*/,
"{ex:457,chip_scritical:13,chip_critical:15,chip_near:31,chip_error:201,long_scritical:44,long_error:241,vol_scritical:91,vol_error:272,failed:true}"/*other*/);
} }
} }

@ -1,6 +1,6 @@
9 9
11 11
000111100010000110110000010110000011110000011110000011110000011110000011110000011010000011011111110 001111100010001110110000011110000011110000011110000011110000011110000011110000011110000011011111110
2 2
11 11
1111111111111111111111 1111111111111111111111
@ -12,16 +12,16 @@
1111110011111110000000110000001100000011000111100001111000000011000000110000001111111110 1111110011111110000000110000001100000011000111100001111000000011000000110000001111111110
8 8
11 11
0000111100001011000100110011001100100011010000111111111101111111000000110000001100000011 0000111100011011000110110011001101100011011000111111111101111111000000110000001100000011
8 8
11 11
1111111111111111110000001100000011111100111111100000001100000011000000110000001111111110 1111111111111111110000001100000011111110111111100000001100000011000000110000001111111110
9 9
11 11
001111111011111111110000000110000000111111100111111110110000011110000011110000011110000011011111110 001111111011111111110000000110000000111111100111111110110000011110000011110000011110000011011111110
0 8
0 11
1111111111111111000000110000011000000110000001000000110000001000000110000001100000110000
9 9
11 11
001111100010000110110000011110000011110000010011111110011111110110000010110000011110000011011111110 001111100010000110110000011110000011110000010011111110011111110110000010110000011110000011011111110

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@ -82,21 +82,21 @@ public class sigPlace {
final static int TRANSPARENT = new Color(0,0,0,0).getRGB(); final static int TRANSPARENT = new Color(0,0,0,0).getRGB();
public static void main(String[] args) { public static void main(String[] args) {
/*String fontName = "popn_noteCount"; /*String fontName = "sdvx_EXScore";
String value = "36"; String value = "00457";
Path f = Paths.get("tests","popn2.png"); Path f = Paths.get("tests","sdvx8.png");
BufferedImage img; BufferedImage img;
try { try {
img = ImageIO.read(f.toFile()); img = ImageIO.read(f.toFile());
Box scoreBox = new Box(1060,800,157,40); Box scoreBox = new Box(630,1142,110,16);
int[] arr = img.getRGB(scoreBox.x, scoreBox.y, scoreBox.w, scoreBox.h, null, 0, scoreBox.w); 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); BufferedImage newImg = new BufferedImage(scoreBox.w,scoreBox.h,BufferedImage.TYPE_INT_ARGB);
int width=scoreBox.w; int width=scoreBox.w;
final ColorRange TARGETCOLOR = new ColorRange(90,120,190,220,240,255); final ColorRange TARGETCOLOR = new ColorRange(230,255,180,255,20,255);
final ColorRange SEEKINGCOLOR = new ColorRange(85,255,165,255,220,255); final ColorRange SEEKINGCOLOR = new ColorRange(180,255,140,255,15,255);
final Color FINALCOLOR = Color.MAGENTA; final Color FINALCOLOR = Color.MAGENTA;
for (int i=0;i<arr.length;i++) { for (int i=0;i<arr.length;i++) {
Color col = new Color(arr[i],true); Color col = new Color(arr[i],true);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 285 B

Loading…
Cancel
Save