1
0
mirror of synced 2024-11-27 17:00:50 +01:00

Reject TJAP3, embrace OpenTaiko.

Keeping it slow with this one. I've got a ton of translation stuff that I need to do and then that's it. I cannot help any further due to my poor coding skillz 😭
- Replaced TJAPlayer3-f references in some error messages with OpenTaiko in Program.cs, along with some slight log modifications.
- Replaced Input Calibration chart metadata with OpenTaiko Developers instead of TJAPlayer3 Developers in CStage曲読み込み.cs.
- Fixed a tiny bug that I had while changing TJAPlayer3.cs. Oops.

BONUS CHANGE:
- If you check CActSelect曲リスト.cs, I have changed it to say "loading" instead of enumerating. It's more clear for the user and it saves a bit of coding space.
This commit is contained in:
TFD500 2024-07-17 07:39:01 -04:00
parent 968a445759
commit 72c8f71dda
5 changed files with 9 additions and 8 deletions

View File

View File

@ -91,8 +91,9 @@ namespace TJAPlayer3
osplatform = "osx";
else if (OperatingSystem.IsLinux())
osplatform = "linux";
// this is gonna be redundant code i hope? :3 -tfd
else
throw new PlatformNotSupportedException("TJAPlayer3-f does not support this OS.");
throw new PlatformNotSupportedException("OpenTaiko does not support this OS.");
string platform = "";
@ -111,7 +112,7 @@ namespace TJAPlayer3
platform = "arm64";
break;
default:
throw new PlatformNotSupportedException($"TJAPlayer3 does not support this Architecture. ({RuntimeInformation.ProcessArchitecture})");
throw new PlatformNotSupportedException($"OpenTaiko does not support this architecture. ({RuntimeInformation.ProcessArchitecture})");
}
FFmpeg.AutoGen.ffmpeg.RootPath = AppContext.BaseDirectory + @"FFmpeg/" + osplatform + "-" + platform + "/";
@ -127,7 +128,7 @@ namespace TJAPlayer3
mania.Run();
Trace.WriteLine( "" );
Trace.WriteLine( "遊んでくれてありがとう!" );
Trace.WriteLine( "Thank you for playing!" );
}
#if !DEBUG
catch( Exception e )
@ -135,7 +136,7 @@ namespace TJAPlayer3
Trace.WriteLine( "" );
Trace.Write( e.ToString() );
Trace.WriteLine( "" );
Trace.WriteLine( "エラーだゴメン!(涙" );
Trace.WriteLine( "An error has occured." );
AssemblyName asmApp = Assembly.GetExecutingAssembly().GetName();
//MessageBox.Show( "エラーが発生しました。\n" +
// e.ToString(), asmApp.Name + " Ver." + asmApp.Version.ToString().Substring(0, asmApp.Version.ToString().Length - 2) + " Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); // #23670 2011.2.28 yyagi to show error dialog

View File

@ -2949,7 +2949,7 @@ for (int i = 0; i < 3; i++) {
#endregion
#region [ Songs管理 ]
//---------------------
Trace.TraceInformation( "Initializing song list... );
Trace.TraceInformation( "Initializing song list..." );
Trace.Indent();
try
{

View File

@ -1082,14 +1082,14 @@ namespace TJAPlayer3
#region [ "曲データを検索しています" ]
try
{
this.txEnumeratingSongs = new CTexture(ft曲リスト用フォント.DrawText("Now enumerating songs.\nPlease wait...", Color.White));
this.txEnumeratingSongs = new CTexture(ft曲リスト用フォント.DrawText("Now loading songs.\nPlease wait...", Color.White));
this.txEnumeratingSongs.vcScaleRatio = new Vector3D<float>( 0.5f, 0.5f, 1f ); // 半分のサイズで表示する。
/*
using ( Bitmap image = new Bitmap( 640, 96 ) )
using ( Graphics graphics = Graphics.FromImage( image ) )
{
string[] s1 = { "曲データを検索しています。", "Now enumerating songs." };
string[] s1 = { "曲データを検索しています。", "Now loading songs." };
string[] s2 = { "そのまましばらくお待ち下さい。", "Please wait..." };
graphics.DrawString( s1[c], this.ft曲リスト用フォント, Brushes.DarkGray, (float) 2f, (float) 2f );
graphics.DrawString( s1[c], this.ft曲リスト用フォント, Brushes.White, (float) 0f, (float) 0f );

View File

@ -95,7 +95,7 @@ namespace TJAPlayer3
!TJAPlayer3.ConfigIni.bAutoPlay[0] &&
TJAPlayer3.ConfigIni.nPlayerCount == 1 &&
str曲タイトル == "Input Calibration" &&
strサブタイトル == "TJAPlayer3 Developers";
strサブタイトル == "OpenTaiko Developers";
this.strSTAGEFILE = CSkin.Path(@$"Graphics{Path.DirectorySeparatorChar}4_SongLoading{Path.DirectorySeparatorChar}Background.png");