Future Tone bot simple functionality to save score screenshots for

future testing.
secondmonitor
sigonasr2 4 years ago
parent 807a6fb266
commit 016f0ea1dc
  1. 1
      DivaBot/.settings/org.eclipse.core.resources.prefs
  2. BIN
      DivaBot/TypeFace_API.jar
  3. 16
      DivaBot/TypeFace_API.jardesc
  4. 6
      DivaBot/colorData
  5. 1098
      DivaBot/src/sig/FutureToneBot.java
  6. 2
      DivaBot/src/sig/MyRobot.java
  7. 16
      DivaBot/src/sig/Result.java
  8. 8
      DivaBot/src/sig/TypeFace2.java

@ -1,3 +1,4 @@
eclipse.preferences.version=1
encoding//src/sig/FutureToneBot.java=UTF-8
encoding//src/sig/MyRobot.java=UTF-8
encoding/colorData=UTF-8

Binary file not shown.

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
<jardesc>
<jar path="DivaBot/TypeFace_API.jar"/>
<options buildIfNeeded="true" compress="true" descriptionLocation="/DivaBot/TypeFace_API.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>
<manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
<sealing sealJar="false">
<packagesToSeal/>
<packagesToUnSeal/>
</sealing>
</manifest>
<selectedElements exportClassFiles="true" exportJavaFiles="true" exportOutputFolder="false">
<javaElement handleIdentifier="=DivaBot/src"/>
</selectedElements>
</jardesc>

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -81,7 +81,7 @@ public class MyRobot{
static SongData SONGS[];
//static String SONGNAMES[] = new String[] {"Yellow","The secret garden","Tell Your World","愛言葉","Weekender Girl","歌に形はないけれど","えれくとりっく・えんじぇぅ","神曲","カンタレラ","巨大少女","クローバー♣クラブ","恋スルVOC@LOID","桜ノ雨","39","深海シティアンダーグラウンド","深海少女","積乱雲グラフィティ","千年の独奏歌","ダブルラリアット","ハジメテノオト","初めての恋が終わる時","packaged","Palette","FREELY TOMORROW","from Y to Y","みくみくにしてあげる♪","メルト","モノクロ∞ブルースカイ","ゆめゆめ","16 -out of the gravity-","ACUTE","インタビュア","LOL -lots of laugh-","Glory 3usi9","soundless voice","ジェミニ","白い雪のプリンセスは","スキキライ","タイムマシン","Dear","DECORATOR","トリコロール・エア・ライン","Nostalogic","Hand in Hand","Fire◎Flower","ブラック★ロックシューター","メテオ","ワールドイズマイン","アマツキツネ","erase or zero","エレクトロサチュレイタ","on the rocks","からくりピエロ","カラフル×メロディ","Catch the Wave","キャットフード","サマーアイドル","shake it!","Just Be Friends","スイートマジック","SPiCa -39's Giving Day Edition-","番凩","テレカクシ思春期","天樂","どういうことなの!?","東京テディベア","どりーみんチュチュ","トリノコシティ","ネトゲ廃人シュプレヒコール","No Logic","ハイハハイニ","はじめまして地球人さん","*ハロー、プラネット。 (I.M.PLSE-EDIT)","Hello, Worker","忘却心中","magnet","右肩の蝶","結ンデ開イテ羅刹ト骸","メランコリック","リモコン","ルカルカ★ナイトフィーバー","炉心融解","WORLD'S END UMBRELLA","アカツキアライヴァル","アゲアゲアゲイン","1925","え?あぁ、そう。","エイリアンエイリアン","ODDS&ENDS","君の体温","こっち向いて Baby","壊セ壊セ","39みゅーじっく!","サンドリヨン","SING&SMILE","スノーマン","DYE","なりすましゲンガー","ヒバナ","ヒビカセ","ブラックゴールド","ミラクルペイント","指切り","ありふれたせかいせいふく","アンハッピーリフレイン","大江戸ジュリアナイト","ゴーストルール","こちら、幸福安心委員会です。","孤独の果て -extend edition-","ジターバグ","Sweet Devil","砂の惑星","テオ","初音ミクの消失 -DEAD END-","秘密警察","妄想スケッチ","リンちゃんなう!","ローリンガール","ロキ","ロミオとシンデレラ","エンヴィキャットウォーク","骸骨楽団とリリア","サイハテ","ジグソーパズル","千本桜","ピアノ×フォルテ×スキャンダル","Blackjack","ぽっぴっぽー","裏表ラバーズ","Sadistic.Music∞Factory","デンパラダイム","二次元ドリームフィーバー","ネガポジ*コンティニューズ","初音ミクの激唱","ワールズエンド・ダンスホール","ココロ","システマティック・ラヴ","Knife","二息歩行","PIANOGIRL","夢喰い白黒バク","ブレス・ユア・ブレス","恋は戦争","あなたの歌姫","Starduster","StargazeR","リンリンシグナル","Rosary Pale","多重未来のカルテット~QUARTET THEME~","LIKE THE WIND","AFTER BURNER"};
static SongInfo SONGNAMES[] = new SongInfo[] {};
static String NEWSONGS[] = new String[] {"裏表ラバーズ"};
static String NEWSONGS[] = new String[] {"ブラック★ロックシューター","メテオ"};
int SCREEN_X;
int SCREEN_Y;
int WINDOW_X;

@ -4,13 +4,13 @@ import java.awt.image.BufferedImage;
import java.io.File;
public class Result {
String songName;
String difficulty;
int cool,fine,safe,sad,worst;
float percent;
boolean fail;
String mod;
int combo,score;
public String songName;
public String difficulty;
public int cool,fine,safe,sad,worst;
public float percent;
public boolean fail;
public String mod;
public int combo,score;
public Result(String song,String diff,int cool,int fine,int safe,int sad,int worst,float percent) {
this.songName=song;
this.difficulty=diff;
@ -36,7 +36,7 @@ public class Result {
public String display() {
return new StringBuilder(Integer.toString(cool)).append("/").append(fine)
.append("/").append(safe).append("/").append(sad).append("/").append(worst).append(" ").append(percent).append("%")
.append(" ").append(combo).append(" ").append(score).toString();
.toString();
}
public String displayDebug() {
return new StringBuilder(Integer.toString(cool)).append(",").append(fine)

@ -130,13 +130,13 @@ public class TypeFace2 {
//second part: 1123
String decimal = "";
String integer = "";
xpointer=1180;
xpointer=1182;
ypointer=165;
BufferedImage test = null;
trialloop:
while (ypointer<168) {
xpointer=1180;
xpointer=1182;
while (xpointer>1132) {
int foundIndex = -1;
for (int i=0;i<10;i++) {
@ -190,8 +190,8 @@ public class TypeFace2 {
}
} else
if (fontCol.equals(Color.GREEN)) {
if ((pixelCol.getRed()<99
&& pixelCol.getGreen()<176 && pixelCol.getBlue()>130)) {
if ((pixelCol.getRed()<105
&& pixelCol.getGreen()<176 && pixelCol.getBlue()>120)) {
if (debug) {
test.setRGB(x, y, pixelCol.getRGB());
}

Loading…
Cancel
Save