diff --git a/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj b/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj deleted file mode 100644 index 06287911..00000000 --- a/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - netstandard2.0 - - - 8.0 - - - - - - diff --git a/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj.user b/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj.user deleted file mode 100644 index 4ed71907..00000000 --- a/AxibugEmuOnline.GameScreenConvert/AxibugEmuOnline.GameScreenConvert.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - <_LastSelectedProfileId>G:\Sin365\AxibugEmuOnline\AxibugEmuOnline.GameScreenConvert\Properties\PublishProfiles\FolderProfile.pubxml - - \ No newline at end of file diff --git a/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml b/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml deleted file mode 100644 index 659e1eea..00000000 --- a/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Release - Any CPU - bin\Release\netstandard2.0\publish\ - FileSystem - <_TargetId>Folder - - \ No newline at end of file diff --git a/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml.user b/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml.user deleted file mode 100644 index 090649b1..00000000 --- a/AxibugEmuOnline.GameScreenConvert/Properties/PublishProfiles/FolderProfile.pubxml.user +++ /dev/null @@ -1,10 +0,0 @@ - - - - - True|2025-01-08T10:23:00.0935802Z||;True|2025-01-08T17:56:27.1142682+08:00||; - - - \ No newline at end of file diff --git a/AxibugEmuOnline.GameScreenConvert/ScreenConvert.cs b/AxibugEmuOnline.GameScreenConvert/ScreenConvert.cs deleted file mode 100644 index 67afe96c..00000000 --- a/AxibugEmuOnline.GameScreenConvert/ScreenConvert.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace AxibugEmuOnline.GameScreenConvert -{ - public static class ScreenConvert - { - /// - /// 转换 - /// - /// - /// enum RomPlatformType - ///{ - /// Invalid = 0; - /// Nes = 1; - /// Master_System = 2; - /// Game_Gear = 3; - /// Game_Boy = 4; - /// Game_Boy_Color = 5; - /// Coleco_Vision = 6; - /// SC_3000 = 7; - /// SG_1000 = 8; - /// All = 999; - ///} - /// - /// - /// - /// 品质0~100 - /// - /// - public static bool Convert(int platform, byte[] srcData, out byte[] imageData) - { - IScreenConvert convert = default; - switch (platform) - { - case 1://nes - // - break; - default: - convert = new SampleScreenConvert(); - break; - } - return convert.ScreenDataToRGBA32Data(platform, srcData, out imageData); - } - } - - public interface IScreenConvert - { - - bool ScreenDataToRGBA32Data(int platform, byte[] srcData, out byte[] imageData); - } - - public class SampleScreenConvert : IScreenConvert - { - public bool ScreenDataToRGBA32Data(int platform, byte[] srcData, out byte[] imageData) - { - imageData = null; - //TODO 这里加上自己从原始数据中的颜色处理 比如颜色查找表 - //System.Span 也是可用的 - //统一处理成RGBA32的通道顺序 - return imageData != null; - } - } -}