diff --git a/src/Ryujinx/Common/StartupTextHelper.cs b/src/Ryujinx/Common/StartupTextHelper.cs new file mode 100644 index 000000000..ceada1b2e --- /dev/null +++ b/src/Ryujinx/Common/StartupTextHelper.cs @@ -0,0 +1,61 @@ +using Ryujinx.Common.Logging; +using System; +using System.Collections.Generic; + +namespace Ryujinx.Common +{ + // My code is crappy and I know it. Props to VewDev for assisting me in these shenanigans. + public class StartupTextHelper + { + public static void StartupSplash() + { + // Ryubing Logo Print + Logger.Notice.Print(LogClass.Application, " ___ __ _ "); + Logger.Notice.Print(LogClass.Application, @" / _ \ __ __ __ __ / / (_) ___ ___ _"); + Logger.Notice.Print(LogClass.Application, @" / , _/ / // // // / / _ \ / / / _ \ / _ `/"); + Logger.Notice.Print(LogClass.Application, @"/_/|_| \_, / \_,_/ /_.__//_/ /_//_/ \_, / "); + Logger.Notice.Print(LogClass.Application, " /___/ /___/ "); + + // Do some randomizing. Literally just put another entry here to allow it to be picked. + List splashes = new() + { + "Ryubing is my middle name", + "Giving it 110 percent!", + "I don't think therefore I don't am!", + "All hail egg", + "Insert cringy joke here", + "ITS RYUBINGING TIME", + "I hate mondays...", + "Fantastical!", + "Now with 100% more humor!", + //"Wishlist party cosmos!", + "\"Not S&P approved\" has been approved by S&P", + "ARE YOU NOT ENTERTAINED?", + "It's an emulator!", + "Now the real game begins", + "Cooked fresh since 2018!", + "Must've been the wind...", + "I used to be an adventurer like you before I took an arrow to the knee", + "Ryubing!", + "May contain nuts!", + "May include occasional pop culture references!", + "100% organically grown!", + "Have a nice day : )", + "Spoats car!", // I love my inside jokes. + "Bottom text", + "Im sorry dave. I'm afraid I can't do that.", + "That's no moon", + "Sir, finishing this fight.", + + }; + Random randomobj = new(); + int randindex = randomobj.Next(0, splashes.Count); + + // Print the dang thing + Logger.Notice.Print(LogClass.Application, ""); + Logger.Notice.Print(LogClass.Application, splashes[randindex]); + Logger.Notice.Print(LogClass.Application, ""); + } + + } +} diff --git a/src/Ryujinx/Program.cs b/src/Ryujinx/Program.cs index 17d941962..ca1ed5f61 100644 --- a/src/Ryujinx/Program.cs +++ b/src/Ryujinx/Program.cs @@ -431,13 +431,9 @@ namespace Ryujinx.Ava internal static void PrintSystemInfo() { - Logger.Notice.Print(LogClass.Application, " ___ __ _ "); - Logger.Notice.Print(LogClass.Application, @" / _ \ __ __ __ __ / / (_) ___ ___ _"); - Logger.Notice.Print(LogClass.Application, @" / , _/ / // // // / / _ \ / / / _ \ / _ `/"); - Logger.Notice.Print(LogClass.Application, @"/_/|_| \_, / \_,_/ /_.__//_/ /_//_/ \_, / "); - Logger.Notice.Print(LogClass.Application, " /___/ /___/ "); - - + + StartupTextHelper.StartupSplash(); + Logger.Notice.Print(LogClass.Application, $"{RyujinxApp.FullAppName} Version: {Version}"); Logger.Notice.Print(LogClass.Application, $".NET Runtime: {RuntimeInformation.FrameworkDescription}"); SystemInfo.Gather().Print();