mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 13:02:08 +00:00
Created and utilized StartupTextHelper.cs
This commit is contained in:
parent
81468c1d25
commit
baf3764baa
2 changed files with 64 additions and 7 deletions
61
src/Ryujinx/Common/StartupTextHelper.cs
Normal file
61
src/Ryujinx/Common/StartupTextHelper.cs
Normal file
|
|
@ -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<string> 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, "");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue