1
0
mirror of synced 2025-02-17 11:08:33 +01:00

Reject TJAP3, embrace OpenTaiko. (#653)

* dtxmania / tjap3 removal (part 2)

Fixed some stuff with BSQ's supervision. Only doing log translation for now.

* ok hold on i updated it

* 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.

* Delete Readme.txt

i forgot to remove it, this is an extension of this specific PR: 72c8f71dda70d383a14f587f57dfeafb4fdaf82e (Reject TJAP3, embrace OpenTaiko)
This commit is contained in:
TFD500 2024-09-30 07:02:23 -04:00 committed by GitHub
parent 84f8d8ab2b
commit e8dd821f10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 8 deletions

View File

View File

@ -74,8 +74,9 @@ namespace OpenTaiko {
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 = "";
@ -93,7 +94,7 @@ namespace OpenTaiko {
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 + "/";
@ -107,8 +108,8 @@ namespace OpenTaiko {
using (var mania = new OpenTaiko())
mania.Run();
Trace.WriteLine("");
Trace.WriteLine("遊んでくれてありがとう!");
Trace.WriteLine( "" );
Trace.WriteLine( "Thank you for playing!" );
}
#if !DEBUG
catch( Exception e )
@ -117,6 +118,9 @@ namespace OpenTaiko {
Trace.WriteLine( "OpenTaiko ran into an unexpected error, and can't continue from here! Σ(っ °Д °;)っ" );
Trace.WriteLine( "More details: " );
Trace.Write( e.ToString() );
Trace.WriteLine( "" );
Trace.WriteLine( "An error has occured." );
AssemblyName asmApp = Assembly.GetExecutingAssembly().GetName();
}
#endif
// END #24606 2011.03.08 from

View File

@ -910,15 +910,16 @@ namespace OpenTaiko {
}
#endregion
#region [ "曲データを検索しています" ]
try {
this.txEnumeratingSongs = new CTexture(ft曲リスト用フォント.DrawText("Now enumerating songs.\nPlease wait...", Color.White));
this.txEnumeratingSongs.vcScaleRatio = new Vector3D<float>(0.5f, 0.5f, 1f); // 半分のサイズで表示する。
try
{
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