chore: removal of annoying git submodules that didn’t work properly

This commit is contained in:
Michael Green
2023-02-22 20:38:58 +11:00
parent 2a3d5b9d5c
commit 44f1beaf69
29 changed files with 378 additions and 9 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "RomSignatureObject"]
path = RomSignatureObject
url = https://github.com/gaseous-project/RomSignatureObject.git

View File

@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 25.0.1704.4 VisualStudioVersion = 25.0.1704.4
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gaseous-identifier", "gaseous-identifier\gaseous-identifier.csproj", "{F5C42134-5372-430A-A9AE-1871981850DB}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gaseous-identifier-testapp", "gaseous-identifier\gaseous-identifier-testapp.csproj", "{F5C42134-5372-430A-A9AE-1871981850DB}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gaseous-ROMSignatureObject", "RomSignatureObject\Gaseous-ROMSignatureObject\Gaseous-ROMSignatureObject.csproj", "{08699C93-15CD-4E39-9053-D3C8056CE938}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gaseous-romsignatureobject", "gaseous-romsignatureobject\Gaseous-ROMSignatureObject.csproj", "{B0328A09-F50C-40BB-AC3D-040635AF927F}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -21,6 +21,10 @@ Global
{08699C93-15CD-4E39-9053-D3C8056CE938}.Debug|Any CPU.Build.0 = Debug|Any CPU {08699C93-15CD-4E39-9053-D3C8056CE938}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08699C93-15CD-4E39-9053-D3C8056CE938}.Release|Any CPU.ActiveCfg = Release|Any CPU {08699C93-15CD-4E39-9053-D3C8056CE938}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08699C93-15CD-4E39-9053-D3C8056CE938}.Release|Any CPU.Build.0 = Release|Any CPU {08699C93-15CD-4E39-9053-D3C8056CE938}.Release|Any CPU.Build.0 = Release|Any CPU
{B0328A09-F50C-40BB-AC3D-040635AF927F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0328A09-F50C-40BB-AC3D-040635AF927F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0328A09-F50C-40BB-AC3D-040635AF927F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0328A09-F50C-40BB-AC3D-040635AF927F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@@ -20,14 +20,12 @@
<None Remove="Support\Parsers\TOSEC\Copyright.txt" /> <None Remove="Support\Parsers\TOSEC\Copyright.txt" />
<None Remove="Support\Parsers\TOSEC\DevelopmentStatus.txt" /> <None Remove="Support\Parsers\TOSEC\DevelopmentStatus.txt" />
<None Remove="Newtonsoft.Json" /> <None Remove="Newtonsoft.Json" />
<None Remove="Objects\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Classes\" /> <Folder Include="Classes\" />
<Folder Include="Support\" /> <Folder Include="Support\" />
<Folder Include="Support\Parsers\" /> <Folder Include="Support\Parsers\" />
<Folder Include="Support\Parsers\TOSEC\" /> <Folder Include="Support\Parsers\TOSEC\" />
<Folder Include="Objects\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Support\Parsers\TOSEC\Systems.txt" /> <EmbeddedResource Include="Support\Parsers\TOSEC\Systems.txt" />
@@ -41,6 +39,6 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\RomSignatureObject\Gaseous-ROMSignatureObject\Gaseous-ROMSignatureObject.csproj" /> <ProjectReference Include="..\gaseous-romsignatureobject\Gaseous-ROMSignatureObject.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

BIN
gaseous-romsignatureobject/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>Gaseous_ROMSignatureObject</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,117 @@
using System;
using System.Collections.Generic;
namespace Gaseous_ROMSignatureObject
{
/// <summary>
/// Object returned by all signature engines containing metadata about the ROM's in the data files
///
/// This class was based on the TOSEC dataset, so may need to be expanded as new signature engines are added
/// </summary>
public class RomSignatureObject
{
public string? Name { get; set; }
public string? Description { get; set; }
public string? Category { get; set; }
public string? Version { get; set; }
public string? Author { get; set; }
public string? Email { get; set; }
public string? Homepage { get; set; }
public Uri? Url { get; set; }
public string? SourceType { get; set; }
public string SourceMd5 { get; set; } = "";
public string SourceSHA1 { get; set; } = "";
public List<Game> Games { get; set; } = new List<Game>();
public class Game
{
public string? Name { get; set; }
public string? Description { get; set; }
public string? Year { get; set; }
public string? Publisher { get; set; }
public DemoTypes Demo { get; set; }
public string? System { get; set; }
public string? SystemVariant { get; set; }
public string? Video { get; set; }
public string? Country { get; set; }
public string? Language { get; set; }
public string? Copyright { get; set; }
public List<Rom> Roms { get; set; } = new List<Rom>();
public int RomCount
{
get
{
return Roms.Count();
}
}
public enum DemoTypes
{
NotDemo = 0,
demo = 1,
demo_kiosk = 2,
demo_playable = 3,
demo_rolling = 4,
demo_slideshow = 5
}
public class Rom
{
public string? Name { get; set; }
public UInt64? Size { get; set; }
public string? Crc { get; set; }
public string? Md5 { get; set; }
public string? Sha1 { get; set; }
public string? DevelopmentStatus { get; set; }
public List<string> flags { get; set; } = new List<string>();
public RomTypes RomType { get; set; }
public string? RomTypeMedia { get; set; }
public string? MediaLabel { get; set; }
public enum RomTypes
{
/// <summary>
/// Media type is unknown
/// </summary>
Unknown = 0,
/// <summary>
/// Optical media
/// </summary>
Disc = 1,
/// <summary>
/// Magnetic media
/// </summary>
Disk = 2,
/// <summary>
/// Individual files
/// </summary>
File = 3,
/// <summary>
/// Individual pars
/// </summary>
Part = 4,
/// <summary>
/// Tape base media
/// </summary>
Tape = 5,
/// <summary>
/// Side of the media
/// </summary>
Side = 6
}
}
}
}
}

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"Gaseous-ROMSignatureObject/1.0.0": {
"runtime": {
"Gaseous-ROMSignatureObject.dll": {}
}
}
}
},
"libraries": {
"Gaseous-ROMSignatureObject/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>Gaseous_ROMSignatureObject</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Gaseous-ROMSignatureObject")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Gaseous-ROMSignatureObject")]
[assembly: System.Reflection.AssemblyTitleAttribute("Gaseous-ROMSignatureObject")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
dcc23f2b2fef12195f6a41d44e616c5e9171deb5

View File

@@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Gaseous_ROMSignatureObject
build_property.ProjectDir = /Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
d99a0ab321ea37181f1996193c5ebb0787582b08

View File

@@ -0,0 +1,12 @@
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/bin/Debug/net7.0/Gaseous-ROMSignatureObject.deps.json
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/bin/Debug/net7.0/Gaseous-ROMSignatureObject.dll
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/bin/Debug/net7.0/Gaseous-ROMSignatureObject.pdb
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.csproj.AssemblyReference.cache
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.GeneratedMSBuildEditorConfig.editorconfig
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.AssemblyInfoInputs.cache
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.AssemblyInfo.cs
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.csproj.CoreCompileInputs.cache
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.dll
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/refint/Gaseous-ROMSignatureObject.dll
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/Gaseous-ROMSignatureObject.pdb
/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/Debug/net7.0/ref/Gaseous-ROMSignatureObject.dll

View File

@@ -0,0 +1,61 @@
{
"format": 1,
"restore": {
"/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj": {}
},
"projects": {
"/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj",
"projectName": "Gaseous-ROMSignatureObject",
"projectPath": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj",
"packagesPath": "/Users/michaelgreen/.nuget/packages/",
"outputPath": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/michaelgreen/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/7.0.200/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/michaelgreen/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/michaelgreen/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/michaelgreen/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,66 @@
{
"version": 3,
"targets": {
"net7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0": []
},
"packageFolders": {
"/Users/michaelgreen/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj",
"projectName": "Gaseous-ROMSignatureObject",
"projectPath": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj",
"packagesPath": "/Users/michaelgreen/.nuget/packages/",
"outputPath": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/michaelgreen/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/7.0.200/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "QzFseClXWjOhiJwwzg5hojHFA6smvJmer7lTIdcxUdoP7JHfx0elP2vLsSQEXOjmZD+Koe+dG5lfwqTfBpFfLg==",
"success": true,
"projectFilePath": "/Users/michaelgreen/Development/gaseous-server/gaseous-romsignatureobject/Gaseous-ROMSignatureObject.csproj",
"expectedPackageFiles": [],
"logs": []
}