fortnite-replay-analysis 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSproj/FortniteReplayAnalysis.csproj +15 -0
- package/CSproj/Program.cs +36 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayAnalysis +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayAnalysis.deps.json +932 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayAnalysis.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayAnalysis.pdb +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayAnalysis.runtimeconfig.json +15 -0
- package/CSproj/bin/Release/net8.0/linux-x64/FortniteReplayReader.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.CSharp.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.VisualBasic.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.VisualBasic.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.Win32.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Microsoft.Win32.Registry.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Newtonsoft.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/OozSharp.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.AppContext.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Buffers.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Collections.Concurrent.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Collections.Immutable.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Collections.NonGeneric.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Collections.Specialized.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Collections.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.Annotations.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.DataAnnotations.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.EventBasedAsync.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.TypeConverter.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ComponentModel.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Configuration.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Console.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Data.Common.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Data.DataSetExtensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Data.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.Contracts.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.Debug.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.DiagnosticSource.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.FileVersionInfo.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.Process.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.StackTrace.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.TextWriterTraceListener.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.Tools.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.TraceSource.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Diagnostics.Tracing.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Drawing.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Drawing.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Dynamic.Runtime.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Formats.Asn1.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Formats.Tar.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Globalization.Calendars.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Globalization.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Globalization.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Compression.Brotli.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Compression.FileSystem.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Compression.ZipFile.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Compression.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.FileSystem.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.FileSystem.DriveInfo.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.FileSystem.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.FileSystem.Watcher.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.FileSystem.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.IsolatedStorage.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.MemoryMappedFiles.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Pipes.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.Pipes.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.UnmanagedMemoryStream.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.IO.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Linq.Expressions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Linq.Parallel.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Linq.Queryable.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Memory.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Http.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Http.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.HttpListener.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Mail.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.NameResolution.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.NetworkInformation.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Ping.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Quic.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Requests.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Security.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.ServicePoint.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.Sockets.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.WebClient.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.WebHeaderCollection.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.WebProxy.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.WebSockets.Client.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.WebSockets.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Net.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Numerics.Vectors.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Numerics.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ObjectModel.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Private.CoreLib.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Private.DataContractSerialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Private.Uri.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Private.Xml.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Private.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.DispatchProxy.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Emit.ILGeneration.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Emit.Lightweight.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Emit.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Metadata.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.TypeExtensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Reflection.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Resources.Reader.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Resources.ResourceManager.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Resources.Writer.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.CompilerServices.VisualC.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Handles.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.InteropServices.JavaScript.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.InteropServices.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Intrinsics.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Loader.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Numerics.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Serialization.Formatters.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Serialization.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Serialization.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Serialization.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.Serialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Runtime.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Claims.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.Algorithms.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.Cng.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.Csp.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.Encoding.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.OpenSsl.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.X509Certificates.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Cryptography.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Principal.Windows.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.Principal.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.SecureString.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Security.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ServiceModel.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ServiceProcess.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.Encoding.CodePages.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.Encoding.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.Encoding.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.Encodings.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Text.RegularExpressions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Channels.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Overlapped.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Tasks.Dataflow.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Tasks.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Tasks.Parallel.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Tasks.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Thread.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.ThreadPool.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.Timer.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Threading.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Transactions.Local.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Transactions.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.ValueTuple.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Web.HttpUtility.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Windows.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.ReaderWriter.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.Serialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.XDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.XPath.XDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.XPath.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.XmlDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.XmlSerializer.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/System.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Unreal.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/Unreal.Encryption.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/WindowsBase.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/createdump +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libSystem.Globalization.Native.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libSystem.IO.Compression.Native.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libSystem.Native.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libSystem.Net.Security.Native.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libSystem.Security.Cryptography.Native.OpenSsl.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libclrgc.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libclrjit.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libcoreclr.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libcoreclrtraceptprovider.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libhostfxr.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libhostpolicy.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libmscordaccore.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/libmscordbi.so +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/mscorlib.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/netstandard.dll +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/publish/FortniteReplayAnalysis +0 -0
- package/CSproj/bin/Release/net8.0/linux-x64/publish/FortniteReplayAnalysis.pdb +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayAnalysis.deps.json +901 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayAnalysis.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayAnalysis.exe +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayAnalysis.pdb +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayAnalysis.runtimeconfig.json +15 -0
- package/CSproj/bin/Release/net8.0/win-x64/FortniteReplayReader.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.CSharp.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.DiaSymReader.Native.amd64.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.VisualBasic.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.VisualBasic.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.Win32.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Microsoft.Win32.Registry.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Newtonsoft.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/OozSharp.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.AppContext.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Buffers.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Collections.Concurrent.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Collections.Immutable.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Collections.NonGeneric.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Collections.Specialized.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Collections.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.Annotations.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.DataAnnotations.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.EventBasedAsync.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.TypeConverter.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ComponentModel.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Configuration.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Console.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Data.Common.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Data.DataSetExtensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Data.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.Contracts.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.Debug.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.DiagnosticSource.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.FileVersionInfo.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.Process.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.StackTrace.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.TextWriterTraceListener.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.Tools.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.TraceSource.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Diagnostics.Tracing.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Drawing.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Drawing.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Dynamic.Runtime.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Formats.Asn1.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Formats.Tar.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Globalization.Calendars.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Globalization.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Globalization.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Compression.Brotli.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Compression.FileSystem.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Compression.Native.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Compression.ZipFile.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Compression.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.FileSystem.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.FileSystem.DriveInfo.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.FileSystem.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.FileSystem.Watcher.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.FileSystem.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.IsolatedStorage.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.MemoryMappedFiles.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Pipes.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.Pipes.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.UnmanagedMemoryStream.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.IO.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Linq.Expressions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Linq.Parallel.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Linq.Queryable.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Memory.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Http.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Http.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.HttpListener.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Mail.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.NameResolution.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.NetworkInformation.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Ping.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Quic.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Requests.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Security.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.ServicePoint.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.Sockets.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.WebClient.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.WebHeaderCollection.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.WebProxy.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.WebSockets.Client.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.WebSockets.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Net.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Numerics.Vectors.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Numerics.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ObjectModel.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Private.CoreLib.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Private.DataContractSerialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Private.Uri.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Private.Xml.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Private.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.DispatchProxy.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Emit.ILGeneration.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Emit.Lightweight.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Emit.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Metadata.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.TypeExtensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Reflection.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Resources.Reader.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Resources.ResourceManager.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Resources.Writer.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.CompilerServices.VisualC.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Handles.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.InteropServices.JavaScript.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.InteropServices.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Intrinsics.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Loader.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Numerics.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Serialization.Formatters.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Serialization.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Serialization.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Serialization.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.Serialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Runtime.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.AccessControl.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Claims.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.Algorithms.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.Cng.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.Csp.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.Encoding.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.OpenSsl.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.Primitives.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.X509Certificates.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Cryptography.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Principal.Windows.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.Principal.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.SecureString.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Security.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ServiceModel.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ServiceProcess.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.Encoding.CodePages.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.Encoding.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.Encoding.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.Encodings.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.Json.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Text.RegularExpressions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Channels.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Overlapped.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Tasks.Dataflow.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Tasks.Extensions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Tasks.Parallel.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Tasks.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Thread.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.ThreadPool.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.Timer.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Threading.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Transactions.Local.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Transactions.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.ValueTuple.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Web.HttpUtility.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Web.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Windows.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.Linq.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.ReaderWriter.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.Serialization.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.XDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.XPath.XDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.XPath.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.XmlDocument.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.XmlSerializer.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.Xml.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/System.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Unreal.Core.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/Unreal.Encryption.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/WindowsBase.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/clretwrc.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/clrgc.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/clrjit.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/coreclr.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/createdump.exe +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/hostfxr.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/hostpolicy.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/mscordaccore.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/mscordaccore_amd64_amd64_8.0.324.11423.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/mscordbi.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/mscorlib.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/mscorrc.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/msquic.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/netstandard.dll +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/publish/FortniteReplayAnalysis.exe +0 -0
- package/CSproj/bin/Release/net8.0/win-x64/publish/FortniteReplayAnalysis.pdb +0 -0
- package/README.md +1 -0
- package/index.js +184 -0
- package/package.json +22 -0
- package/test.js +21 -0
package/index.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
const os = require('os');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const Decimal = require('decimal.js');
|
|
4
|
+
const { execFile } = require('child_process');
|
|
5
|
+
|
|
6
|
+
function getBinaryPath() { // OS判定して自己完結バイナリの実行ファイルパスを返す
|
|
7
|
+
const baseDir = path.resolve(__dirname, 'CSproj', 'bin', 'Release', 'net8.0');
|
|
8
|
+
|
|
9
|
+
switch (os.platform()) {
|
|
10
|
+
case 'win32':
|
|
11
|
+
return path.join(baseDir, 'win-x64', 'publish', 'FortniteReplayAnalysis.exe');
|
|
12
|
+
case 'linux':
|
|
13
|
+
return path.join(baseDir, 'linux-x64', 'publish', 'FortniteReplayAnalysis');
|
|
14
|
+
default:
|
|
15
|
+
throw new Error(`Unsupported platform: ${os.platform()}`);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function ReplayAnalysis(replayFilePath, { bot = false, sort = true } = {}) { // Fortniteのリプレイファイルを解析してプレイヤーデータを返す
|
|
20
|
+
return new Promise((resolve, reject) => {
|
|
21
|
+
const binPath = getBinaryPath();
|
|
22
|
+
|
|
23
|
+
execFile(binPath, [replayFilePath], (error, stdout, stderr) => {
|
|
24
|
+
if (error) {
|
|
25
|
+
reject(new Error(`Execution error: ${error.message}`));
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (stderr) {
|
|
29
|
+
console.warn(`Warning: ${stderr}`);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
const playerData = JSON.parse(stdout);
|
|
34
|
+
|
|
35
|
+
if (!Array.isArray(playerData)) {
|
|
36
|
+
reject(new Error(`Unexpected JSON format: playerData is not an array.`));
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 2位以下のDeathTimeDoubleを取得
|
|
41
|
+
const secondPlaceAliveTimes = playerData
|
|
42
|
+
.filter(p => p.Placement !== 1)
|
|
43
|
+
.map(p => p.DeathTimeDouble)
|
|
44
|
+
.filter(t => t !== null && t !== undefined);
|
|
45
|
+
|
|
46
|
+
// 2位がいなかったら0秒にする(または適宜)
|
|
47
|
+
const maxSecondPlaceAliveTime = secondPlaceAliveTimes.length > 0
|
|
48
|
+
? secondPlaceAliveTimes
|
|
49
|
+
.map(t => new Decimal(t))
|
|
50
|
+
.reduce((a, b) => Decimal.max(a, b))
|
|
51
|
+
: new Decimal(0);
|
|
52
|
+
|
|
53
|
+
const playerInfo = playerData.map(player => {
|
|
54
|
+
const aliveTimeDecimal = player.DeathTimeDouble === null
|
|
55
|
+
? maxSecondPlaceAliveTime.plus(new Decimal('1e-9'))
|
|
56
|
+
: new Decimal(player.DeathTimeDouble);
|
|
57
|
+
|
|
58
|
+
return {
|
|
59
|
+
partyNumber: player.TeamIndex,
|
|
60
|
+
Placement: player.Placement,
|
|
61
|
+
Kills: player.Kills,
|
|
62
|
+
TeamKills: player.TeamKills,
|
|
63
|
+
aliveTime: aliveTimeDecimal, // Decimalオブジェクトのまま保持
|
|
64
|
+
EpicId: player.EpicId,
|
|
65
|
+
PlayerName: player.PlayerName,
|
|
66
|
+
Platform: player.Platform,
|
|
67
|
+
IsBot: player.IsBot
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
let filteredAndSortedPlayerInfo = playerInfo;
|
|
72
|
+
if (!bot) {
|
|
73
|
+
filteredAndSortedPlayerInfo = filteredAndSortedPlayerInfo.filter(p => p.IsBot === false);
|
|
74
|
+
}
|
|
75
|
+
if (sort) {
|
|
76
|
+
filteredAndSortedPlayerInfo = filteredAndSortedPlayerInfo.sort((a, b) => a.Placement - b.Placement);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
resolve({
|
|
80
|
+
rawPlayerData: playerData, processedPlayerInfo: filteredAndSortedPlayerInfo,
|
|
81
|
+
});
|
|
82
|
+
} catch (jsonErr) {
|
|
83
|
+
reject(new Error(`JSON parse error: ${jsonErr.message}`));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function mergeScores(scoreArrays) { // 複数マッチの結果をマージしてパーティごとに集計
|
|
90
|
+
const map = new Map();
|
|
91
|
+
scoreArrays.forEach(scores =>
|
|
92
|
+
scores.forEach(p => {
|
|
93
|
+
const key = JSON.stringify([...p.partyMemberIdList].sort());
|
|
94
|
+
if (!map.has(key)) {
|
|
95
|
+
map.set(key, {
|
|
96
|
+
partyPlacement: null,
|
|
97
|
+
partyNumber: p.partyNumber,
|
|
98
|
+
partyScore: p.partyScore,
|
|
99
|
+
partyPoint: p.partyPoint,
|
|
100
|
+
partyKills: p.partyKills,
|
|
101
|
+
partyMemberList: [...p.partyMemberList],
|
|
102
|
+
matchList: [p.matchName],
|
|
103
|
+
partyVictoryRoyaleCount: p.partyVictoryRoyale ? 1 : 0,
|
|
104
|
+
partyAliveTimeByMatch: [
|
|
105
|
+
{ match: p.matchName, times: [...(p.partyAliveTimeList || [])] }
|
|
106
|
+
],
|
|
107
|
+
partyPlacementList: [p.partyPlacement]
|
|
108
|
+
});
|
|
109
|
+
} else {
|
|
110
|
+
const ex = map.get(key);
|
|
111
|
+
ex.matchList.push(p.matchName);
|
|
112
|
+
ex.partyScore += p.partyScore;
|
|
113
|
+
ex.partyKills += p.partyKills;
|
|
114
|
+
ex.partyPoint += p.partyPoint;
|
|
115
|
+
ex.partyVictoryRoyaleCount += p.partyVictoryRoyale ? 1 : 0;
|
|
116
|
+
ex.partyAliveTimeByMatch.push({
|
|
117
|
+
match: p.matchName,
|
|
118
|
+
times: [...(p.partyAliveTimeList || [])]
|
|
119
|
+
});
|
|
120
|
+
ex.partyPlacementList.push(p.partyPlacement);
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
return Array.from(map.values()).map(p => ({
|
|
126
|
+
...p,
|
|
127
|
+
partyPlacement: p.partyPlacementList.reduce((a, b) => a + b, 0) / p.partyPlacementList.length
|
|
128
|
+
}));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function sortScores(arr) { // 公式準拠のスコアソート関数
|
|
132
|
+
return arr.sort((a, b) => {
|
|
133
|
+
// 1. 累計獲得ポイント
|
|
134
|
+
if (b.partyScore !== a.partyScore) {
|
|
135
|
+
return b.partyScore - a.partyScore;
|
|
136
|
+
}
|
|
137
|
+
// 2. セッション中の累計 Victory Royale 回数
|
|
138
|
+
if (b.partyVictoryRoyaleCount !== a.partyVictoryRoyaleCount) {
|
|
139
|
+
return b.partyVictoryRoyaleCount - a.partyVictoryRoyaleCount;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// マッチ数(配置と生存時間の配列長を使う想定)
|
|
143
|
+
const aCount = (a.partyPlacementList || a.partyAliveTimeList || []).length || 1;
|
|
144
|
+
const bCount = (b.partyPlacementList || b.partyAliveTimeList || []).length || 1;
|
|
145
|
+
|
|
146
|
+
// 3. 平均撃破数
|
|
147
|
+
const aAvgKills = (a.partyKills || 0) / aCount;
|
|
148
|
+
const bAvgKills = (b.partyKills || 0) / bCount;
|
|
149
|
+
if (bAvgKills !== aAvgKills) {
|
|
150
|
+
return bAvgKills - aAvgKills;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// 4. 平均順位(小さいほうが上位)
|
|
154
|
+
const aAvgPlacement = (a.partyPlacementList || []).reduce((s, x) => s + x, 0) / aCount;
|
|
155
|
+
const bAvgPlacement = (b.partyPlacementList || []).reduce((s, x) => s + x, 0) / bCount;
|
|
156
|
+
if (aAvgPlacement !== bAvgPlacement) {
|
|
157
|
+
return aAvgPlacement - bAvgPlacement;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// 5. 全マッチの合計生存時間
|
|
161
|
+
const aTime = sumMaxAliveTime(a.partyAliveTimeByMatch);
|
|
162
|
+
const bTime = sumMaxAliveTime(b.partyAliveTimeByMatch);
|
|
163
|
+
const cmp = bTime.comparedTo(aTime);
|
|
164
|
+
if (cmp !== 0) return cmp;
|
|
165
|
+
|
|
166
|
+
// 6. 最終手段:1マッチ目のパーティ番号が小さい順
|
|
167
|
+
return a.partyNumber - b.partyNumber;
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function sumMaxAliveTime(aliveTimeByMatch) {
|
|
172
|
+
return (Array.isArray(aliveTimeByMatch) ? aliveTimeByMatch : [])
|
|
173
|
+
.reduce((sum, match) => {
|
|
174
|
+
const times = Array.isArray(match.times) ? match.times : [new Decimal(0)];
|
|
175
|
+
const maxTime = times.reduce((max, t) => (t.comparedTo(max) > 0 ? t : max), new Decimal(0));
|
|
176
|
+
return sum.plus(maxTime);
|
|
177
|
+
}, new Decimal(0));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
module.exports = {
|
|
181
|
+
ReplayAnalysis,
|
|
182
|
+
sortScores,
|
|
183
|
+
mergeScores
|
|
184
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fortnite-replay-analysis",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Fortniteのリプレイ解析をNode.jsから呼べる自己完結型C#バイナリラッパー",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "node test.js"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"fortnite",
|
|
11
|
+
"replay",
|
|
12
|
+
"analysis",
|
|
13
|
+
"decimal",
|
|
14
|
+
"csharp",
|
|
15
|
+
"nodejs"
|
|
16
|
+
],
|
|
17
|
+
"author": "yuyutti",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"decimal.js": "^10.5.0"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/test.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const { ReplayAnalysis } = require('./index.js');
|
|
4
|
+
|
|
5
|
+
(async () => {
|
|
6
|
+
try {
|
|
7
|
+
const replayFilePath = path.resolve(__dirname, 'replay', 'conoma-custam.replay'); // 実際のreplayファイルパス
|
|
8
|
+
const result = await ReplayAnalysis(replayFilePath, { bot: true, sort: true });
|
|
9
|
+
// jsoutputフォルダに出力
|
|
10
|
+
const outputDir = path.join(__dirname, 'jsoutput');
|
|
11
|
+
fs.mkdirSync(outputDir, { recursive: true });
|
|
12
|
+
const rawPath = path.join(outputDir, 'rawPlayerData.json');
|
|
13
|
+
const processedPath = path.join(outputDir, 'processedPlayerInfo.json');
|
|
14
|
+
|
|
15
|
+
fs.writeFileSync(rawPath, JSON.stringify(result.rawPlayerData, null, 4), 'utf8');
|
|
16
|
+
fs.writeFileSync(processedPath, JSON.stringify(result.processedPlayerInfo, null, 4), 'utf8');
|
|
17
|
+
|
|
18
|
+
} catch (error) {
|
|
19
|
+
console.error('エラー:', error);
|
|
20
|
+
}
|
|
21
|
+
})();
|