├── js ├── cs-decomp │ ├── dotnet │ │ ├── .stamp │ │ ├── package.json │ │ ├── icudt.dat │ │ ├── dotnet.wasm │ │ ├── managed │ │ │ ├── System.dll │ │ │ ├── mscorlib.dll │ │ │ ├── Mono.Cecil.dll │ │ │ ├── System.Core.dll │ │ │ ├── System.Data.dll │ │ │ ├── System.IO.dll │ │ │ ├── System.Linq.dll │ │ │ ├── System.Net.dll │ │ │ ├── System.Web.dll │ │ │ ├── System.Xml.dll │ │ │ ├── WindowsBase.dll │ │ │ ├── netstandard.dll │ │ │ ├── wasmDecomp.dll │ │ │ ├── wasmDecomp.pdb │ │ │ ├── System.Memory.dll │ │ │ ├── Microsoft.CSharp.dll │ │ │ ├── System.Buffers.dll │ │ │ ├── System.Console.dll │ │ │ ├── System.Drawing.dll │ │ │ ├── System.IO.Pipes.dll │ │ │ ├── System.Net.Http.dll │ │ │ ├── System.Net.Mail.dll │ │ │ ├── System.Net.Ping.dll │ │ │ ├── System.Net.Quic.dll │ │ │ ├── System.Numerics.dll │ │ │ ├── System.Runtime.dll │ │ │ ├── System.Security.dll │ │ │ ├── System.Text.Json.dll │ │ │ ├── System.Threading.dll │ │ │ ├── System.Windows.dll │ │ │ ├── System.Xml.Linq.dll │ │ │ ├── System.Xml.XPath.dll │ │ │ ├── System.AppContext.dll │ │ │ ├── System.Collections.dll │ │ │ ├── System.Data.Common.dll │ │ │ ├── System.Formats.Tar.dll │ │ │ ├── System.Net.Sockets.dll │ │ │ ├── System.ObjectModel.dll │ │ │ ├── System.Private.Uri.dll │ │ │ ├── System.Private.Xml.dll │ │ │ ├── System.Reflection.dll │ │ │ ├── System.ValueTuple.dll │ │ │ ├── Microsoft.VisualBasic.dll │ │ │ ├── System.ComponentModel.dll │ │ │ ├── System.Configuration.dll │ │ │ ├── System.Formats.Asn1.dll │ │ │ ├── System.Globalization.dll │ │ │ ├── System.IO.Compression.dll │ │ │ ├── System.IO.FileSystem.dll │ │ │ ├── System.Linq.Parallel.dll │ │ │ ├── System.Linq.Queryable.dll │ │ │ ├── System.Net.Http.Json.dll │ │ │ ├── System.Net.Primitives.dll │ │ │ ├── System.Net.Requests.dll │ │ │ ├── System.Net.Security.dll │ │ │ ├── System.Net.WebClient.dll │ │ │ ├── System.Net.WebProxy.dll │ │ │ ├── System.Net.WebSockets.dll │ │ │ ├── System.Runtime.Loader.dll │ │ │ ├── System.ServiceProcess.dll │ │ │ ├── System.Text.Encoding.dll │ │ │ ├── System.Transactions.dll │ │ │ ├── System.Xml.XDocument.dll │ │ │ ├── ICSharpCode.Decompiler.dll │ │ │ ├── System.Dynamic.Runtime.dll │ │ │ ├── System.Linq.Expressions.dll │ │ │ ├── System.Net.HttpListener.dll │ │ │ ├── System.Net.ServicePoint.dll │ │ │ ├── System.Numerics.Vectors.dll │ │ │ ├── System.Private.CoreLib.dll │ │ │ ├── System.Private.Xml.Linq.dll │ │ │ ├── System.Reflection.Emit.dll │ │ │ ├── System.Resources.Reader.dll │ │ │ ├── System.Resources.Writer.dll │ │ │ ├── System.Runtime.Handles.dll │ │ │ ├── System.Runtime.Numerics.dll │ │ │ ├── System.Security.Claims.dll │ │ │ ├── System.ServiceModel.Web.dll │ │ │ ├── System.Threading.Tasks.dll │ │ │ ├── System.Threading.Thread.dll │ │ │ ├── System.Threading.Timer.dll │ │ │ ├── System.Web.HttpUtility.dll │ │ │ ├── System.Xml.ReaderWriter.dll │ │ │ ├── System.Xml.XmlDocument.dll │ │ │ ├── Microsoft.VisualBasic.Core.dll │ │ │ ├── Microsoft.Win32.Primitives.dll │ │ │ ├── Microsoft.Win32.Registry.dll │ │ │ ├── System.Diagnostics.Debug.dll │ │ │ ├── System.Diagnostics.Process.dll │ │ │ ├── System.Diagnostics.Tools.dll │ │ │ ├── System.Diagnostics.Tracing.dll │ │ │ ├── System.Drawing.Primitives.dll │ │ │ ├── System.IO.IsolatedStorage.dll │ │ │ ├── System.Net.NameResolution.dll │ │ │ ├── System.Reflection.Metadata.dll │ │ │ ├── System.Runtime.Extensions.dll │ │ │ ├── System.Runtime.Intrinsics.dll │ │ │ ├── System.Security.Principal.dll │ │ │ ├── System.Text.Encodings.Web.dll │ │ │ ├── System.Threading.Channels.dll │ │ │ ├── System.Transactions.Local.dll │ │ │ ├── System.Xml.Serialization.dll │ │ │ ├── System.Xml.XPath.XDocument.dll │ │ │ ├── System.Xml.XmlSerializer.dll │ │ │ ├── System.Collections.Immutable.dll │ │ │ ├── System.Diagnostics.Contracts.dll │ │ │ ├── System.IO.Compression.Brotli.dll │ │ │ ├── System.IO.FileSystem.Watcher.dll │ │ │ ├── System.IO.MemoryMappedFiles.dll │ │ │ ├── System.Net.WebSockets.Client.dll │ │ │ ├── System.Reflection.Extensions.dll │ │ │ ├── System.Reflection.Primitives.dll │ │ │ ├── System.Runtime.Serialization.dll │ │ │ ├── System.Security.Cryptography.dll │ │ │ ├── System.Security.SecureString.dll │ │ │ ├── System.Threading.Overlapped.dll │ │ │ ├── System.Threading.ThreadPool.dll │ │ │ ├── System.Collections.Concurrent.dll │ │ │ ├── System.Collections.NonGeneric.dll │ │ │ ├── System.Collections.Specialized.dll │ │ │ ├── System.Data.DataSetExtensions.dll │ │ │ ├── System.Diagnostics.StackTrace.dll │ │ │ ├── System.Diagnostics.TraceSource.dll │ │ │ ├── System.Globalization.Calendars.dll │ │ │ ├── System.Globalization.Extensions.dll │ │ │ ├── System.IO.Compression.ZipFile.dll │ │ │ ├── System.IO.FileSystem.DriveInfo.dll │ │ │ ├── System.IO.FileSystem.Primitives.dll │ │ │ ├── System.IO.Pipes.AccessControl.dll │ │ │ ├── System.IO.UnmanagedMemoryStream.dll │ │ │ ├── System.Net.NetworkInformation.dll │ │ │ ├── System.Net.WebHeaderCollection.dll │ │ │ ├── System.Reflection.DispatchProxy.dll │ │ │ ├── System.Runtime.InteropServices.dll │ │ │ ├── System.Security.AccessControl.dll │ │ │ ├── System.Text.Encoding.CodePages.dll │ │ │ ├── System.Text.Encoding.Extensions.dll │ │ │ ├── System.Text.RegularExpressions.dll │ │ │ ├── System.Threading.Tasks.Dataflow.dll │ │ │ ├── System.Threading.Tasks.Parallel.dll │ │ │ ├── System.ComponentModel.Annotations.dll │ │ │ ├── System.ComponentModel.Primitives.dll │ │ │ ├── System.IO.Compression.FileSystem.dll │ │ │ ├── System.Reflection.TypeExtensions.dll │ │ │ ├── System.Resources.ResourceManager.dll │ │ │ ├── System.Runtime.Serialization.Json.dll │ │ │ ├── System.Runtime.Serialization.Xml.dll │ │ │ ├── System.Security.Cryptography.Cng.dll │ │ │ ├── System.Security.Cryptography.Csp.dll │ │ │ ├── System.Security.Principal.Windows.dll │ │ │ ├── System.Threading.Tasks.Extensions.dll │ │ │ ├── System.ComponentModel.TypeConverter.dll │ │ │ ├── System.Diagnostics.DiagnosticSource.dll │ │ │ ├── System.Diagnostics.FileVersionInfo.dll │ │ │ ├── System.IO.FileSystem.AccessControl.dll │ │ │ ├── System.Reflection.Emit.ILGeneration.dll │ │ │ ├── System.Reflection.Emit.Lightweight.dll │ │ │ ├── System.Security.Cryptography.OpenSsl.dll │ │ │ ├── System.ComponentModel.DataAnnotations.dll │ │ │ ├── System.ComponentModel.EventBasedAsync.dll │ │ │ ├── System.Runtime.CompilerServices.Unsafe.dll │ │ │ ├── System.Security.Cryptography.Encoding.dll │ │ │ ├── System.Private.DataContractSerialization.dll │ │ │ ├── System.Runtime.CompilerServices.VisualC.dll │ │ │ ├── System.Runtime.InteropServices.JavaScript.dll │ │ │ ├── System.Runtime.Serialization.Formatters.dll │ │ │ ├── System.Runtime.Serialization.Primitives.dll │ │ │ ├── System.Security.Cryptography.Algorithms.dll │ │ │ ├── System.Security.Cryptography.Primitives.dll │ │ │ ├── System.Diagnostics.TextWriterTraceListener.dll │ │ │ ├── System.Security.Cryptography.X509Certificates.dll │ │ │ └── System.Runtime.InteropServices.RuntimeInformation.dll │ │ ├── dotnet.timezones.blat │ │ ├── README.md │ │ ├── supportFiles │ │ │ └── 0_runtimeconfig.bin │ │ └── wasmDecomp.runtimeconfig.json │ └── decompiler.js ├── preview │ ├── basePreview.js │ └── audio.js ├── config.js ├── vendor │ └── _lz4.wasm ├── crunch │ ├── crunch_native.wasm │ └── crunch.js ├── encoders │ ├── encoders_bg.wasm │ ├── encoders.js │ └── package.json ├── unityfs │ ├── texture2d_native.wasm │ ├── classes │ │ ├── runtimeAnimatorController.js │ │ ├── cubemap.js │ │ ├── flareLayer.js │ │ ├── particleSystemRenderer.js │ │ ├── audioListener.js │ │ ├── behaviour.js │ │ ├── canvasRenderer.js │ │ ├── meshFilter.js │ │ ├── component.js │ │ ├── editorExtension.js │ │ ├── monoBehaviour.js │ │ ├── namedObject.js │ │ ├── texture.js │ │ ├── animation.js │ │ ├── gameObject.js │ │ ├── physicMaterial.js │ │ ├── meshRenderer.js │ │ ├── animatorOverrideController.js │ │ ├── textAsset.js │ │ ├── assetBundle.js │ │ ├── pptr.js │ │ ├── transform.js │ │ ├── animator.js │ │ └── monoScript.js │ ├── webFile.js │ ├── objectReader.js │ ├── buildTarget.js │ ├── stream.js │ ├── basicTypes.js │ └── unityFile.js ├── assetparser │ ├── assetparser_bg.wasm │ ├── assetparser.js │ ├── package.json │ ├── assetparser.d.ts │ ├── assetparser_bg.wasm.d.ts │ └── README.md ├── godot │ ├── extensions │ │ ├── baseExtension.js │ │ ├── oggSampleExtension.js │ │ ├── mp3SampleExtension.js │ │ ├── fontFileExtension.js │ │ └── wavSampleExtension.js │ ├── type.js │ ├── godotFile.js │ ├── compressedData.js │ └── pckFile.js ├── xna │ └── types │ │ ├── object.js │ │ ├── system.js │ │ ├── baseType.js │ │ └── media.js ├── defaultTree.js ├── unreal │ ├── utils.js │ └── unrealTree.js ├── utils.js └── main.js ├── encoders ├── .cargo │ └── config.toml ├── .gitignore ├── src │ ├── lib.rs │ ├── utils.rs │ ├── compress.rs │ └── pngenc.rs ├── crunch_bindings.js ├── .idea │ ├── misc.xml │ ├── vcs.xml │ ├── .gitignore │ ├── serialmonitor_settings.xml │ ├── discord.xml │ ├── modules.xml │ ├── encoders.iml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── .appveyor.yml ├── tests │ └── web.rs ├── Cargo.toml ├── LICENSE_MIT └── README.md ├── logo.xcf ├── public ├── ads.txt ├── icon.png ├── System.dll ├── dotnet.wasm ├── favicon.ico ├── fmod.wasm ├── fmodL.wasm ├── icudt.dat ├── System.IO.dll ├── mscorlib.dll ├── Mono.Cecil.dll ├── System.Core.dll ├── System.Data.dll ├── System.Linq.dll ├── System.Net.dll ├── System.Web.dll ├── System.Xml.dll ├── WindowsBase.dll ├── netstandard.dll ├── wasmDecomp.dll ├── wasmDecomp.pdb ├── System.Buffers.dll ├── System.Console.dll ├── System.Drawing.dll ├── System.Memory.dll ├── System.Runtime.dll ├── System.Windows.dll ├── fmod_reduced.wasm ├── Microsoft.CSharp.dll ├── System.AppContext.dll ├── System.IO.Pipes.dll ├── System.Net.Http.dll ├── System.Net.Mail.dll ├── System.Net.Ping.dll ├── System.Net.Quic.dll ├── System.Numerics.dll ├── System.Reflection.dll ├── System.Security.dll ├── System.Text.Json.dll ├── System.Threading.dll ├── System.ValueTuple.dll ├── System.Xml.Linq.dll ├── System.Xml.XPath.dll ├── dotnet.timezones.blat ├── robots.txt ├── System.Collections.dll ├── System.Data.Common.dll ├── System.Formats.Asn1.dll ├── System.Formats.Tar.dll ├── System.Net.Requests.dll ├── System.Net.Security.dll ├── System.Net.Sockets.dll ├── System.Net.WebProxy.dll ├── System.ObjectModel.dll ├── System.Private.Uri.dll ├── System.Private.Xml.dll ├── System.Transactions.dll ├── ICSharpCode.Decompiler.dll ├── Microsoft.VisualBasic.dll ├── System.ComponentModel.dll ├── System.Configuration.dll ├── System.Dynamic.Runtime.dll ├── System.Globalization.dll ├── System.IO.Compression.dll ├── System.IO.FileSystem.dll ├── System.Linq.Parallel.dll ├── System.Linq.Queryable.dll ├── System.Net.Http.Json.dll ├── System.Net.Primitives.dll ├── System.Net.WebClient.dll ├── System.Net.WebSockets.dll ├── System.Private.CoreLib.dll ├── System.Reflection.Emit.dll ├── System.Runtime.Handles.dll ├── System.Runtime.Loader.dll ├── System.Security.Claims.dll ├── System.ServiceProcess.dll ├── System.Text.Encoding.dll ├── System.Threading.Tasks.dll ├── System.Threading.Timer.dll ├── System.Web.HttpUtility.dll ├── System.Xml.XDocument.dll ├── System.Xml.XmlDocument.dll ├── Microsoft.Win32.Registry.dll ├── System.Diagnostics.Debug.dll ├── System.Diagnostics.Tools.dll ├── System.Linq.Expressions.dll ├── System.Net.HttpListener.dll ├── System.Net.ServicePoint.dll ├── System.Numerics.Vectors.dll ├── System.Private.Xml.Linq.dll ├── System.Resources.Reader.dll ├── System.Resources.Writer.dll ├── System.Runtime.Numerics.dll ├── System.ServiceModel.Web.dll ├── System.Threading.Thread.dll ├── System.Xml.ReaderWriter.dll ├── System.Xml.Serialization.dll ├── System.Xml.XmlSerializer.dll ├── Microsoft.VisualBasic.Core.dll ├── Microsoft.Win32.Primitives.dll ├── System.Diagnostics.Process.dll ├── System.Diagnostics.Tracing.dll ├── System.Drawing.Primitives.dll ├── System.IO.IsolatedStorage.dll ├── System.IO.MemoryMappedFiles.dll ├── System.Net.NameResolution.dll ├── System.Reflection.Metadata.dll ├── System.Runtime.Extensions.dll ├── System.Runtime.Intrinsics.dll ├── System.Security.Principal.dll ├── System.Text.Encodings.Web.dll ├── System.Threading.Channels.dll ├── System.Threading.Overlapped.dll ├── System.Threading.ThreadPool.dll ├── System.Transactions.Local.dll ├── System.Xml.XPath.XDocument.dll ├── System.Collections.Concurrent.dll ├── System.Collections.Immutable.dll ├── System.Collections.NonGeneric.dll ├── System.Data.DataSetExtensions.dll ├── System.Diagnostics.Contracts.dll ├── System.Diagnostics.StackTrace.dll ├── System.IO.Compression.Brotli.dll ├── System.IO.Compression.ZipFile.dll ├── System.IO.FileSystem.Watcher.dll ├── System.IO.Pipes.AccessControl.dll ├── System.Net.NetworkInformation.dll ├── System.Net.WebSockets.Client.dll ├── System.Reflection.Extensions.dll ├── System.Reflection.Primitives.dll ├── System.Runtime.Serialization.dll ├── System.Security.AccessControl.dll ├── System.Security.Cryptography.dll ├── System.Security.SecureString.dll ├── System.Collections.Specialized.dll ├── System.ComponentModel.Primitives.dll ├── System.Diagnostics.TraceSource.dll ├── System.Globalization.Calendars.dll ├── System.Globalization.Extensions.dll ├── System.IO.Compression.FileSystem.dll ├── System.IO.FileSystem.DriveInfo.dll ├── System.IO.FileSystem.Primitives.dll ├── System.IO.UnmanagedMemoryStream.dll ├── System.Net.WebHeaderCollection.dll ├── System.Reflection.DispatchProxy.dll ├── System.Reflection.TypeExtensions.dll ├── System.Resources.ResourceManager.dll ├── System.Runtime.InteropServices.dll ├── System.Runtime.Serialization.Xml.dll ├── System.Security.Cryptography.Cng.dll ├── System.Security.Cryptography.Csp.dll ├── System.Text.Encoding.CodePages.dll ├── System.Text.Encoding.Extensions.dll ├── System.Text.RegularExpressions.dll ├── System.Threading.Tasks.Dataflow.dll ├── System.Threading.Tasks.Parallel.dll ├── System.ComponentModel.Annotations.dll ├── System.Diagnostics.FileVersionInfo.dll ├── System.IO.FileSystem.AccessControl.dll ├── System.Reflection.Emit.Lightweight.dll ├── System.Runtime.Serialization.Json.dll ├── System.Security.Principal.Windows.dll ├── System.Threading.Tasks.Extensions.dll ├── System.ComponentModel.DataAnnotations.dll ├── System.ComponentModel.EventBasedAsync.dll ├── System.ComponentModel.TypeConverter.dll ├── System.Diagnostics.DiagnosticSource.dll ├── System.Reflection.Emit.ILGeneration.dll ├── System.Security.Cryptography.Encoding.dll ├── System.Security.Cryptography.OpenSsl.dll ├── System.Runtime.CompilerServices.Unsafe.dll ├── System.Runtime.CompilerServices.VisualC.dll ├── System.Runtime.Serialization.Formatters.dll ├── System.Runtime.Serialization.Primitives.dll ├── System.Security.Cryptography.Algorithms.dll ├── System.Security.Cryptography.Primitives.dll ├── System.Diagnostics.TextWriterTraceListener.dll ├── System.Private.DataContractSerialization.dll ├── System.Runtime.InteropServices.JavaScript.dll ├── System.Security.Cryptography.X509Certificates.dll ├── System.Runtime.InteropServices.RuntimeInformation.dll ├── humans.txt ├── browserconfig.xml ├── site.webmanifest ├── sitemap-old.xml ├── sitemap.xml ├── 0_runtimeconfig.bin └── wasmDecomp.runtimeconfig.json ├── assetparser ├── .cargo │ └── config.toml ├── .gitignore ├── src │ ├── lib.rs │ ├── utils.rs │ └── binary.rs ├── tests │ └── web.rs ├── .appveyor.yml ├── Cargo.toml ├── LICENSE_MIT └── README.md ├── css ├── sheet.png ├── vendor │ └── jstree │ │ ├── 32px.png │ │ ├── 40px.png │ │ └── throbber.gif ├── hexview.css └── tree.css ├── crunch ├── unitycrunch.o ├── crunch.h ├── unitycrunch.h ├── build.sh ├── crunch.cpp ├── unitycrunch.cpp ├── dllmain.cpp └── dllexport.h ├── dotnet-utils ├── Mono.Cecil.dll ├── MonoMod.Utils.dll ├── Mono.Cecil.Mdb.dll ├── Mono.Cecil.Pdb.dll ├── Mono.Cecil.Rocks.dll ├── MonoMod.RuntimeDetour.dll ├── ICSharpCode.Decompiler.dll ├── Properties │ ├── AssemblyInfo.cs │ └── launchSettings.json ├── runtimeconfig.template.json ├── .vscode │ ├── launch.json │ └── tasks.json ├── index.html ├── README.md ├── wasmDecomp.csproj └── main.js ├── .editorconfig ├── .gitignore ├── vite.config.js ├── package.json ├── LICENSE.txt └── .github └── workflows └── main.yml /js/cs-decomp/dotnet/.stamp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/package.json: -------------------------------------------------------------------------------- 1 | { "type":"module" } -------------------------------------------------------------------------------- /encoders/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | target = "wasm32-unknown-unknown" 3 | -------------------------------------------------------------------------------- /logo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/logo.xcf -------------------------------------------------------------------------------- /public/ads.txt: -------------------------------------------------------------------------------- 1 | google.com, pub-2171931658322943, DIRECT, f08c47fec0942fa0 2 | -------------------------------------------------------------------------------- /assetparser/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | target = "wasm32-unknown-unknown" 3 | -------------------------------------------------------------------------------- /css/sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/css/sheet.png -------------------------------------------------------------------------------- /js/preview/basePreview.js: -------------------------------------------------------------------------------- 1 | export class BasePreview { 2 | constructor() { 3 | } 4 | } -------------------------------------------------------------------------------- /public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/icon.png -------------------------------------------------------------------------------- /encoders/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | bin/ 5 | pkg/ 6 | wasm-pack.log 7 | -------------------------------------------------------------------------------- /public/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.dll -------------------------------------------------------------------------------- /public/dotnet.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/dotnet.wasm -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/fmod.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/fmod.wasm -------------------------------------------------------------------------------- /public/fmodL.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/fmodL.wasm -------------------------------------------------------------------------------- /public/icudt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/icudt.dat -------------------------------------------------------------------------------- /assetparser/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | bin/ 5 | pkg/ 6 | wasm-pack.log 7 | -------------------------------------------------------------------------------- /crunch/unitycrunch.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/crunch/unitycrunch.o -------------------------------------------------------------------------------- /js/config.js: -------------------------------------------------------------------------------- 1 | export const isDebug = ['localhost', '127.0.0.1'].includes(window.location.hostname); 2 | -------------------------------------------------------------------------------- /js/vendor/_lz4.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/vendor/_lz4.wasm -------------------------------------------------------------------------------- /public/System.IO.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.dll -------------------------------------------------------------------------------- /public/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/mscorlib.dll -------------------------------------------------------------------------------- /public/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Mono.Cecil.dll -------------------------------------------------------------------------------- /public/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Core.dll -------------------------------------------------------------------------------- /public/System.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Data.dll -------------------------------------------------------------------------------- /public/System.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Linq.dll -------------------------------------------------------------------------------- /public/System.Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.dll -------------------------------------------------------------------------------- /public/System.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Web.dll -------------------------------------------------------------------------------- /public/System.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.dll -------------------------------------------------------------------------------- /public/WindowsBase.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/WindowsBase.dll -------------------------------------------------------------------------------- /public/netstandard.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/netstandard.dll -------------------------------------------------------------------------------- /public/wasmDecomp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/wasmDecomp.dll -------------------------------------------------------------------------------- /public/wasmDecomp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/wasmDecomp.pdb -------------------------------------------------------------------------------- /public/System.Buffers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Buffers.dll -------------------------------------------------------------------------------- /public/System.Console.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Console.dll -------------------------------------------------------------------------------- /public/System.Drawing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Drawing.dll -------------------------------------------------------------------------------- /public/System.Memory.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Memory.dll -------------------------------------------------------------------------------- /public/System.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.dll -------------------------------------------------------------------------------- /public/System.Windows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Windows.dll -------------------------------------------------------------------------------- /public/fmod_reduced.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/fmod_reduced.wasm -------------------------------------------------------------------------------- /css/vendor/jstree/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/css/vendor/jstree/32px.png -------------------------------------------------------------------------------- /css/vendor/jstree/40px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/css/vendor/jstree/40px.png -------------------------------------------------------------------------------- /dotnet-utils/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/Mono.Cecil.dll -------------------------------------------------------------------------------- /encoders/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod utils; 2 | pub mod pngenc; 3 | pub mod texdec; 4 | pub mod fp16; 5 | pub mod compress; 6 | -------------------------------------------------------------------------------- /js/crunch/crunch_native.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/crunch/crunch_native.wasm -------------------------------------------------------------------------------- /js/encoders/encoders_bg.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/encoders/encoders_bg.wasm -------------------------------------------------------------------------------- /public/Microsoft.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Microsoft.CSharp.dll -------------------------------------------------------------------------------- /public/System.AppContext.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.AppContext.dll -------------------------------------------------------------------------------- /public/System.IO.Pipes.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Pipes.dll -------------------------------------------------------------------------------- /public/System.Net.Http.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Http.dll -------------------------------------------------------------------------------- /public/System.Net.Mail.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Mail.dll -------------------------------------------------------------------------------- /public/System.Net.Ping.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Ping.dll -------------------------------------------------------------------------------- /public/System.Net.Quic.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Quic.dll -------------------------------------------------------------------------------- /public/System.Numerics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Numerics.dll -------------------------------------------------------------------------------- /public/System.Reflection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.dll -------------------------------------------------------------------------------- /public/System.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.dll -------------------------------------------------------------------------------- /public/System.Text.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.Json.dll -------------------------------------------------------------------------------- /public/System.Threading.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.dll -------------------------------------------------------------------------------- /public/System.ValueTuple.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ValueTuple.dll -------------------------------------------------------------------------------- /public/System.Xml.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.Linq.dll -------------------------------------------------------------------------------- /public/System.Xml.XPath.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.XPath.dll -------------------------------------------------------------------------------- /public/dotnet.timezones.blat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/dotnet.timezones.blat -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /css/vendor/jstree/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/css/vendor/jstree/throbber.gif -------------------------------------------------------------------------------- /dotnet-utils/MonoMod.Utils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/MonoMod.Utils.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/icudt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/icudt.dat -------------------------------------------------------------------------------- /public/System.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Collections.dll -------------------------------------------------------------------------------- /public/System.Data.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Data.Common.dll -------------------------------------------------------------------------------- /public/System.Formats.Asn1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Formats.Asn1.dll -------------------------------------------------------------------------------- /public/System.Formats.Tar.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Formats.Tar.dll -------------------------------------------------------------------------------- /public/System.Net.Requests.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Requests.dll -------------------------------------------------------------------------------- /public/System.Net.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Security.dll -------------------------------------------------------------------------------- /public/System.Net.Sockets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Sockets.dll -------------------------------------------------------------------------------- /public/System.Net.WebProxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.WebProxy.dll -------------------------------------------------------------------------------- /public/System.ObjectModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ObjectModel.dll -------------------------------------------------------------------------------- /public/System.Private.Uri.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Private.Uri.dll -------------------------------------------------------------------------------- /public/System.Private.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Private.Xml.dll -------------------------------------------------------------------------------- /public/System.Transactions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Transactions.dll -------------------------------------------------------------------------------- /dotnet-utils/Mono.Cecil.Mdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/Mono.Cecil.Mdb.dll -------------------------------------------------------------------------------- /dotnet-utils/Mono.Cecil.Pdb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/Mono.Cecil.Pdb.dll -------------------------------------------------------------------------------- /dotnet-utils/Mono.Cecil.Rocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/Mono.Cecil.Rocks.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/dotnet.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/dotnet.wasm -------------------------------------------------------------------------------- /js/unityfs/texture2d_native.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/unityfs/texture2d_native.wasm -------------------------------------------------------------------------------- /public/ICSharpCode.Decompiler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/ICSharpCode.Decompiler.dll -------------------------------------------------------------------------------- /public/Microsoft.VisualBasic.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Microsoft.VisualBasic.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.dll -------------------------------------------------------------------------------- /public/System.Configuration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Configuration.dll -------------------------------------------------------------------------------- /public/System.Dynamic.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Dynamic.Runtime.dll -------------------------------------------------------------------------------- /public/System.Globalization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Globalization.dll -------------------------------------------------------------------------------- /public/System.IO.Compression.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Compression.dll -------------------------------------------------------------------------------- /public/System.IO.FileSystem.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.FileSystem.dll -------------------------------------------------------------------------------- /public/System.Linq.Parallel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Linq.Parallel.dll -------------------------------------------------------------------------------- /public/System.Linq.Queryable.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Linq.Queryable.dll -------------------------------------------------------------------------------- /public/System.Net.Http.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Http.Json.dll -------------------------------------------------------------------------------- /public/System.Net.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.Primitives.dll -------------------------------------------------------------------------------- /public/System.Net.WebClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.WebClient.dll -------------------------------------------------------------------------------- /public/System.Net.WebSockets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.WebSockets.dll -------------------------------------------------------------------------------- /public/System.Private.CoreLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Private.CoreLib.dll -------------------------------------------------------------------------------- /public/System.Reflection.Emit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Emit.dll -------------------------------------------------------------------------------- /public/System.Runtime.Handles.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Handles.dll -------------------------------------------------------------------------------- /public/System.Runtime.Loader.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Loader.dll -------------------------------------------------------------------------------- /public/System.Security.Claims.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Claims.dll -------------------------------------------------------------------------------- /public/System.ServiceProcess.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ServiceProcess.dll -------------------------------------------------------------------------------- /public/System.Text.Encoding.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.Encoding.dll -------------------------------------------------------------------------------- /public/System.Threading.Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Tasks.dll -------------------------------------------------------------------------------- /public/System.Threading.Timer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Timer.dll -------------------------------------------------------------------------------- /public/System.Web.HttpUtility.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Web.HttpUtility.dll -------------------------------------------------------------------------------- /public/System.Xml.XDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.XDocument.dll -------------------------------------------------------------------------------- /public/System.Xml.XmlDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.XmlDocument.dll -------------------------------------------------------------------------------- /js/assetparser/assetparser_bg.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/assetparser/assetparser_bg.wasm -------------------------------------------------------------------------------- /public/Microsoft.Win32.Registry.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Microsoft.Win32.Registry.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.Debug.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.Debug.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.Tools.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.Tools.dll -------------------------------------------------------------------------------- /public/System.Linq.Expressions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Linq.Expressions.dll -------------------------------------------------------------------------------- /public/System.Net.HttpListener.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.HttpListener.dll -------------------------------------------------------------------------------- /public/System.Net.ServicePoint.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.ServicePoint.dll -------------------------------------------------------------------------------- /public/System.Numerics.Vectors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Numerics.Vectors.dll -------------------------------------------------------------------------------- /public/System.Private.Xml.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Private.Xml.Linq.dll -------------------------------------------------------------------------------- /public/System.Resources.Reader.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Resources.Reader.dll -------------------------------------------------------------------------------- /public/System.Resources.Writer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Resources.Writer.dll -------------------------------------------------------------------------------- /public/System.Runtime.Numerics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Numerics.dll -------------------------------------------------------------------------------- /public/System.ServiceModel.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ServiceModel.Web.dll -------------------------------------------------------------------------------- /public/System.Threading.Thread.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Thread.dll -------------------------------------------------------------------------------- /public/System.Xml.ReaderWriter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.ReaderWriter.dll -------------------------------------------------------------------------------- /public/System.Xml.Serialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.Serialization.dll -------------------------------------------------------------------------------- /public/System.Xml.XmlSerializer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.XmlSerializer.dll -------------------------------------------------------------------------------- /dotnet-utils/MonoMod.RuntimeDetour.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/MonoMod.RuntimeDetour.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.dll -------------------------------------------------------------------------------- /public/Microsoft.VisualBasic.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Microsoft.VisualBasic.Core.dll -------------------------------------------------------------------------------- /public/Microsoft.Win32.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/Microsoft.Win32.Primitives.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.Process.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.Process.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.Tracing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.Tracing.dll -------------------------------------------------------------------------------- /public/System.Drawing.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Drawing.Primitives.dll -------------------------------------------------------------------------------- /public/System.IO.IsolatedStorage.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.IsolatedStorage.dll -------------------------------------------------------------------------------- /public/System.IO.MemoryMappedFiles.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.MemoryMappedFiles.dll -------------------------------------------------------------------------------- /public/System.Net.NameResolution.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.NameResolution.dll -------------------------------------------------------------------------------- /public/System.Reflection.Metadata.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Metadata.dll -------------------------------------------------------------------------------- /public/System.Runtime.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Extensions.dll -------------------------------------------------------------------------------- /public/System.Runtime.Intrinsics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Intrinsics.dll -------------------------------------------------------------------------------- /public/System.Security.Principal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Principal.dll -------------------------------------------------------------------------------- /public/System.Text.Encodings.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.Encodings.Web.dll -------------------------------------------------------------------------------- /public/System.Threading.Channels.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Channels.dll -------------------------------------------------------------------------------- /public/System.Threading.Overlapped.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Overlapped.dll -------------------------------------------------------------------------------- /public/System.Threading.ThreadPool.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.ThreadPool.dll -------------------------------------------------------------------------------- /public/System.Transactions.Local.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Transactions.Local.dll -------------------------------------------------------------------------------- /public/System.Xml.XPath.XDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Xml.XPath.XDocument.dll -------------------------------------------------------------------------------- /dotnet-utils/ICSharpCode.Decompiler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/dotnet-utils/ICSharpCode.Decompiler.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/mscorlib.dll -------------------------------------------------------------------------------- /public/System.Collections.Concurrent.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Collections.Concurrent.dll -------------------------------------------------------------------------------- /public/System.Collections.Immutable.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Collections.Immutable.dll -------------------------------------------------------------------------------- /public/System.Collections.NonGeneric.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Collections.NonGeneric.dll -------------------------------------------------------------------------------- /public/System.Data.DataSetExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Data.DataSetExtensions.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.Contracts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.Contracts.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.StackTrace.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.StackTrace.dll -------------------------------------------------------------------------------- /public/System.IO.Compression.Brotli.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Compression.Brotli.dll -------------------------------------------------------------------------------- /public/System.IO.Compression.ZipFile.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Compression.ZipFile.dll -------------------------------------------------------------------------------- /public/System.IO.FileSystem.Watcher.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.FileSystem.Watcher.dll -------------------------------------------------------------------------------- /public/System.IO.Pipes.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Pipes.AccessControl.dll -------------------------------------------------------------------------------- /public/System.Net.NetworkInformation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.NetworkInformation.dll -------------------------------------------------------------------------------- /public/System.Net.WebSockets.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.WebSockets.Client.dll -------------------------------------------------------------------------------- /public/System.Reflection.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Extensions.dll -------------------------------------------------------------------------------- /public/System.Reflection.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Primitives.dll -------------------------------------------------------------------------------- /public/System.Runtime.Serialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Serialization.dll -------------------------------------------------------------------------------- /public/System.Security.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.AccessControl.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.dll -------------------------------------------------------------------------------- /public/System.Security.SecureString.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.SecureString.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/dotnet.timezones.blat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/dotnet.timezones.blat -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Mono.Cecil.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Core.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Data.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Linq.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Web.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/WindowsBase.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/WindowsBase.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/netstandard.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/netstandard.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/wasmDecomp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/wasmDecomp.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/wasmDecomp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/wasmDecomp.pdb -------------------------------------------------------------------------------- /public/System.Collections.Specialized.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Collections.Specialized.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.Primitives.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.TraceSource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.TraceSource.dll -------------------------------------------------------------------------------- /public/System.Globalization.Calendars.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Globalization.Calendars.dll -------------------------------------------------------------------------------- /public/System.Globalization.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Globalization.Extensions.dll -------------------------------------------------------------------------------- /public/System.IO.Compression.FileSystem.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.Compression.FileSystem.dll -------------------------------------------------------------------------------- /public/System.IO.FileSystem.DriveInfo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.FileSystem.DriveInfo.dll -------------------------------------------------------------------------------- /public/System.IO.FileSystem.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.FileSystem.Primitives.dll -------------------------------------------------------------------------------- /public/System.IO.UnmanagedMemoryStream.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.UnmanagedMemoryStream.dll -------------------------------------------------------------------------------- /public/System.Net.WebHeaderCollection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Net.WebHeaderCollection.dll -------------------------------------------------------------------------------- /public/System.Reflection.DispatchProxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.DispatchProxy.dll -------------------------------------------------------------------------------- /public/System.Reflection.TypeExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.TypeExtensions.dll -------------------------------------------------------------------------------- /public/System.Resources.ResourceManager.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Resources.ResourceManager.dll -------------------------------------------------------------------------------- /public/System.Runtime.InteropServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.InteropServices.dll -------------------------------------------------------------------------------- /public/System.Runtime.Serialization.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Serialization.Xml.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.Cng.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.Cng.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.Csp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.Csp.dll -------------------------------------------------------------------------------- /public/System.Text.Encoding.CodePages.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.Encoding.CodePages.dll -------------------------------------------------------------------------------- /public/System.Text.Encoding.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.Encoding.Extensions.dll -------------------------------------------------------------------------------- /public/System.Text.RegularExpressions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Text.RegularExpressions.dll -------------------------------------------------------------------------------- /public/System.Threading.Tasks.Dataflow.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Tasks.Dataflow.dll -------------------------------------------------------------------------------- /public/System.Threading.Tasks.Parallel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Tasks.Parallel.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Memory.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Memory.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.Annotations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.Annotations.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.FileVersionInfo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.FileVersionInfo.dll -------------------------------------------------------------------------------- /public/System.IO.FileSystem.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.IO.FileSystem.AccessControl.dll -------------------------------------------------------------------------------- /public/System.Reflection.Emit.Lightweight.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Emit.Lightweight.dll -------------------------------------------------------------------------------- /public/System.Runtime.Serialization.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Serialization.Json.dll -------------------------------------------------------------------------------- /public/System.Security.Principal.Windows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Principal.Windows.dll -------------------------------------------------------------------------------- /public/System.Threading.Tasks.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Threading.Tasks.Extensions.dll -------------------------------------------------------------------------------- /encoders/src/utils.rs: -------------------------------------------------------------------------------- 1 | pub fn set_panic_hook() { 2 | #[cfg(feature = "console_error_panic_hook")] 3 | console_error_panic_hook::set_once(); 4 | } 5 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Microsoft.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Microsoft.CSharp.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Buffers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Buffers.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Console.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Console.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Drawing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Drawing.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Pipes.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Pipes.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Http.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Http.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Mail.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Mail.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Ping.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Ping.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Quic.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Quic.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Numerics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Numerics.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.Json.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Windows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Windows.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.Linq.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.XPath.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.XPath.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.DataAnnotations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.DataAnnotations.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.EventBasedAsync.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.EventBasedAsync.dll -------------------------------------------------------------------------------- /public/System.ComponentModel.TypeConverter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.ComponentModel.TypeConverter.dll -------------------------------------------------------------------------------- /public/System.Diagnostics.DiagnosticSource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.DiagnosticSource.dll -------------------------------------------------------------------------------- /public/System.Reflection.Emit.ILGeneration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Reflection.Emit.ILGeneration.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.Encoding.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.Encoding.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.OpenSsl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.OpenSsl.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.AppContext.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.AppContext.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Collections.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Data.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Data.Common.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Formats.Tar.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Formats.Tar.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Sockets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Sockets.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ObjectModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ObjectModel.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Private.Uri.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Private.Uri.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Private.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Private.Xml.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ValueTuple.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ValueTuple.dll -------------------------------------------------------------------------------- /public/System.Runtime.CompilerServices.Unsafe.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.CompilerServices.Unsafe.dll -------------------------------------------------------------------------------- /public/System.Runtime.CompilerServices.VisualC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.CompilerServices.VisualC.dll -------------------------------------------------------------------------------- /public/System.Runtime.Serialization.Formatters.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Serialization.Formatters.dll -------------------------------------------------------------------------------- /public/System.Runtime.Serialization.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.Serialization.Primitives.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.Algorithms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.Algorithms.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Microsoft.VisualBasic.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Microsoft.VisualBasic.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Configuration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Configuration.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Formats.Asn1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Formats.Asn1.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Globalization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Globalization.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Compression.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Compression.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.FileSystem.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.FileSystem.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Linq.Parallel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Linq.Parallel.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Linq.Queryable.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Linq.Queryable.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Http.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Http.Json.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Requests.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Requests.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.Security.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.WebClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.WebClient.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.WebProxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.WebProxy.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.WebSockets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.WebSockets.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Loader.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Loader.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ServiceProcess.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ServiceProcess.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.Encoding.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.Encoding.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Transactions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Transactions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.XDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.XDocument.dll -------------------------------------------------------------------------------- /js/godot/extensions/baseExtension.js: -------------------------------------------------------------------------------- 1 | import {ResourceType} from "../type"; 2 | 3 | export class BaseExtension extends ResourceType { 4 | static type = null; 5 | } -------------------------------------------------------------------------------- /js/unityfs/classes/runtimeAnimatorController.js: -------------------------------------------------------------------------------- 1 | import {NamedObject} from "./namedObject"; 2 | 3 | export class RuntimeAnimatorController extends NamedObject {} 4 | -------------------------------------------------------------------------------- /public/System.Diagnostics.TextWriterTraceListener.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Diagnostics.TextWriterTraceListener.dll -------------------------------------------------------------------------------- /public/System.Private.DataContractSerialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Private.DataContractSerialization.dll -------------------------------------------------------------------------------- /public/System.Runtime.InteropServices.JavaScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.InteropServices.JavaScript.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/ICSharpCode.Decompiler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/ICSharpCode.Decompiler.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Dynamic.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Dynamic.Runtime.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Linq.Expressions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Linq.Expressions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.HttpListener.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.HttpListener.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.ServicePoint.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.ServicePoint.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Numerics.Vectors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Numerics.Vectors.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Private.CoreLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Private.CoreLib.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Private.Xml.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Private.Xml.Linq.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Emit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Emit.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Resources.Reader.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Resources.Reader.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Resources.Writer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Resources.Writer.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Handles.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Handles.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Numerics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Numerics.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Claims.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Claims.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ServiceModel.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ServiceModel.Web.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Tasks.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Thread.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Thread.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Timer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Timer.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Web.HttpUtility.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Web.HttpUtility.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.ReaderWriter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.ReaderWriter.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.XmlDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.XmlDocument.dll -------------------------------------------------------------------------------- /encoders/crunch_bindings.js: -------------------------------------------------------------------------------- 1 | export const unpack_crunch = async data => {return new Uint8Array(0)}; 2 | export const unpack_unity_crunch = async data => {return new Uint8Array(0)}; -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Microsoft.VisualBasic.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Microsoft.VisualBasic.Core.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Microsoft.Win32.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Microsoft.Win32.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/Microsoft.Win32.Registry.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/Microsoft.Win32.Registry.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.Debug.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.Debug.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.Process.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.Process.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.Tools.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.Tools.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.Tracing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.Tracing.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Drawing.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Drawing.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.IsolatedStorage.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.IsolatedStorage.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.NameResolution.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.NameResolution.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Metadata.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Metadata.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Extensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Intrinsics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Intrinsics.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Principal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Principal.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.Encodings.Web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.Encodings.Web.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Channels.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Channels.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Transactions.Local.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Transactions.Local.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.Serialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.Serialization.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.XPath.XDocument.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.XPath.XDocument.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Xml.XmlSerializer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Xml.XmlSerializer.dll -------------------------------------------------------------------------------- /public/System.Security.Cryptography.X509Certificates.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Security.Cryptography.X509Certificates.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Collections.Immutable.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Collections.Immutable.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.Contracts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.Contracts.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Compression.Brotli.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Compression.Brotli.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.FileSystem.Watcher.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.FileSystem.Watcher.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.MemoryMappedFiles.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.MemoryMappedFiles.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.WebSockets.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.WebSockets.Client.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Extensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Serialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Serialization.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.SecureString.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.SecureString.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Overlapped.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Overlapped.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.ThreadPool.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.ThreadPool.dll -------------------------------------------------------------------------------- /js/godot/type.js: -------------------------------------------------------------------------------- 1 | export class ResourceType { 2 | static extension = '.dat'; 3 | 4 | async createPreview() { 5 | 6 | } 7 | 8 | exportFile(res) { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /js/unityfs/classes/cubemap.js: -------------------------------------------------------------------------------- 1 | import {Texture2D} from "./texture2d"; 2 | 3 | export class Cubemap extends Texture2D { 4 | constructor(reader) { 5 | super(reader); 6 | } 7 | } -------------------------------------------------------------------------------- /public/System.Runtime.InteropServices.RuntimeInformation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/public/System.Runtime.InteropServices.RuntimeInformation.dll -------------------------------------------------------------------------------- /crunch/crunch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | bool crunch_unpack_level(const uint8_t* data, uint32_t data_size, uint32_t level_index, void** ret, uint32_t* ret_size); -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Collections.Concurrent.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Collections.Concurrent.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Collections.NonGeneric.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Collections.NonGeneric.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Collections.Specialized.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Collections.Specialized.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Data.DataSetExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Data.DataSetExtensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.StackTrace.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.StackTrace.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.TraceSource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.TraceSource.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Globalization.Calendars.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Globalization.Calendars.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Globalization.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Globalization.Extensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Compression.ZipFile.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Compression.ZipFile.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.FileSystem.DriveInfo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.FileSystem.DriveInfo.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.FileSystem.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.FileSystem.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Pipes.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Pipes.AccessControl.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.UnmanagedMemoryStream.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.UnmanagedMemoryStream.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.NetworkInformation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.NetworkInformation.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Net.WebHeaderCollection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Net.WebHeaderCollection.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.DispatchProxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.DispatchProxy.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.AccessControl.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.Encoding.CodePages.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.Encoding.CodePages.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.Encoding.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.Encoding.Extensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Text.RegularExpressions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Text.RegularExpressions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Tasks.Dataflow.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Tasks.Dataflow.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Tasks.Parallel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Tasks.Parallel.dll -------------------------------------------------------------------------------- /js/unityfs/classes/flareLayer.js: -------------------------------------------------------------------------------- 1 | import {Behaviour} from "./behaviour"; 2 | 3 | export class FlareLayer extends Behaviour { 4 | constructor(reader) { 5 | super(reader); 6 | } 7 | } -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.Annotations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.Annotations.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.Compression.FileSystem.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.Compression.FileSystem.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.TypeExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.TypeExtensions.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Resources.ResourceManager.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Resources.ResourceManager.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Json.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Xml.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.Cng.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.Cng.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.Csp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.Csp.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Principal.Windows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Principal.Windows.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Threading.Tasks.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Threading.Tasks.Extensions.dll -------------------------------------------------------------------------------- /js/encoders/encoders.js: -------------------------------------------------------------------------------- 1 | import * as wasm from "./encoders_bg.wasm"; 2 | import { __wbg_set_wasm } from "./encoders_bg.js"; 3 | __wbg_set_wasm(wasm); 4 | export * from "./encoders_bg.js"; 5 | -------------------------------------------------------------------------------- /js/unityfs/classes/particleSystemRenderer.js: -------------------------------------------------------------------------------- 1 | import {Renderer} from "./renderer"; 2 | 3 | export class ParticleSystemRenderer extends Renderer {} // Has more data - partially supported 4 | -------------------------------------------------------------------------------- /crunch/unitycrunch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | bool unity_crunch_unpack_level(const uint8_t* data, uint32_t data_size, uint32_t level_index, void** ret, uint32_t* ret_size); -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.TypeConverter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.TypeConverter.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.DiagnosticSource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.DiagnosticSource.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.FileVersionInfo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.FileVersionInfo.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.IO.FileSystem.AccessControl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.IO.FileSystem.AccessControl.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Emit.ILGeneration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Emit.ILGeneration.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Reflection.Emit.Lightweight.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Reflection.Emit.Lightweight.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.OpenSsl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.OpenSsl.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.DataAnnotations.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.DataAnnotations.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.ComponentModel.EventBasedAsync.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.ComponentModel.EventBasedAsync.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.CompilerServices.Unsafe.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.CompilerServices.Unsafe.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.Encoding.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.Encoding.dll -------------------------------------------------------------------------------- /js/unityfs/classes/audioListener.js: -------------------------------------------------------------------------------- 1 | import {Behaviour} from "./behaviour"; 2 | 3 | export class AudioListener extends Behaviour { 4 | constructor(reader) { 5 | super(reader); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /js/assetparser/assetparser.js: -------------------------------------------------------------------------------- 1 | import * as wasm from "./assetparser_bg.wasm"; 2 | import { __wbg_set_wasm } from "./assetparser_bg.js"; 3 | __wbg_set_wasm(wasm); 4 | export * from "./assetparser_bg.js"; 5 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Private.DataContractSerialization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Private.DataContractSerialization.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.CompilerServices.VisualC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.CompilerServices.VisualC.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.JavaScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.JavaScript.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Formatters.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Formatters.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.Serialization.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.Algorithms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.Algorithms.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.Primitives.dll -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Diagnostics.TextWriterTraceListener.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Diagnostics.TextWriterTraceListener.dll -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | indent_size = 2 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Security.Cryptography.X509Certificates.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Security.Cryptography.X509Certificates.dll -------------------------------------------------------------------------------- /encoders/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /encoders/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.RuntimeInformation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashduino101/WebAssetStudio/HEAD/js/cs-decomp/dotnet/managed/System.Runtime.InteropServices.RuntimeInformation.dll -------------------------------------------------------------------------------- /encoders/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Editor-based HTTP Client requests 5 | /httpRequests/ 6 | # Datasource local storage ignored files 7 | /dataSources/ 8 | /dataSources.local.xml 9 | -------------------------------------------------------------------------------- /encoders/.idea/serialmonitor_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /js/cs-decomp/dotnet/README.md: -------------------------------------------------------------------------------- 1 | please don't update this code, the minified js was edited so that it could load the libraries after being packed 2 | 3 | source is in /dotnet-utils 4 | 5 | yes there are like 3 copies of the compiled code, just ignore this mess -------------------------------------------------------------------------------- /dotnet-utils/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | [assembly:System.Runtime.Versioning.SupportedOSPlatform("browser")] 5 | -------------------------------------------------------------------------------- /js/xna/types/object.js: -------------------------------------------------------------------------------- 1 | import {BaseType} from "./baseType"; 2 | 3 | export class XNBObject extends BaseType { 4 | constructor(reader, typeReaders) { 5 | super(reader); 6 | this.value = typeReaders[reader.readVarInt() - 1]?.read(reader) ?? null; 7 | } 8 | } -------------------------------------------------------------------------------- /encoders/.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /js/defaultTree.js: -------------------------------------------------------------------------------- 1 | import {AssetTree} from "./treeview"; 2 | 3 | export default class DefaultTree extends AssetTree { 4 | async loadFile() { 5 | // can't do much here 6 | this.tree[0].innerHTML = '

No tree available

'; 7 | } 8 | } -------------------------------------------------------------------------------- /public/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 | ashduino101 -- Creator 7 | 8 | # THANKS 9 | 10 | Perfare (AssetStudio) 11 | 12 | # TECHNOLOGY COLOPHON 13 | 14 | CSS3, HTML5 15 | jQuery 16 | -------------------------------------------------------------------------------- /dotnet-utils/runtimeconfig.template.json: -------------------------------------------------------------------------------- 1 | { 2 | "wasmHostProperties": { 3 | "perHostConfig": [ 4 | { 5 | "name": "browser", 6 | "html-path": "index.html", 7 | "Host": "browser" 8 | } 9 | ] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /crunch/build.sh: -------------------------------------------------------------------------------- 1 | em++ crunch.cpp unitycrunch.cpp dllmain.cpp -Oz -o crunch_native.js -s NO_EXIT_RUNTIME=1 -s 'EXPORTED_RUNTIME_METHODS=["ccall", "cwrap"]' -s 'EXPORTED_FUNCTIONS=["_malloc", "_free", "_UnpackCrunch", "_UnpackUnityCrunch"]' -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s EXPORT_ES6=1 -s EXPORT_NAME=loadCrunch -------------------------------------------------------------------------------- /encoders/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | # Useful .gitignore templates: https://github.com/github/gitignore 4 | node_modules 5 | dist 6 | .cache 7 | /AssetStudio/ 8 | /dotnet-utils/bin/ 9 | /dotnet-utils/obj/ 10 | -------------------------------------------------------------------------------- /assetparser/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod utils; 2 | mod binary; 3 | mod xna; 4 | 5 | use wasm_bindgen::prelude::*; 6 | use crate::xna::XNB; 7 | 8 | #[wasm_bindgen] 9 | extern { 10 | fn alert(s: &str); 11 | } 12 | 13 | #[wasm_bindgen] 14 | pub fn parse_xnb(data: &[u8]) -> XNB { 15 | xna::parse_xnb(data.into()).expect("a") 16 | } 17 | -------------------------------------------------------------------------------- /assetparser/tests/web.rs: -------------------------------------------------------------------------------- 1 | //! Test suite for the Web and headless browsers. 2 | 3 | #![cfg(target_arch = "wasm32")] 4 | 5 | extern crate wasm_bindgen_test; 6 | use wasm_bindgen_test::*; 7 | 8 | wasm_bindgen_test_configure!(run_in_browser); 9 | 10 | #[wasm_bindgen_test] 11 | fn pass() { 12 | assert_eq!(1 + 1, 2); 13 | } 14 | -------------------------------------------------------------------------------- /dotnet-utils/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch and Debug Standalone Blazor WebAssembly App", 6 | "type": "blazorwasm", 7 | "request": "launch", 8 | "cwd": "${workspaceFolder}" 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /js/unityfs/classes/behaviour.js: -------------------------------------------------------------------------------- 1 | import {Component} from './component'; 2 | 3 | export class Behaviour extends Component { 4 | static exposedAttributes = [ 5 | 'gameObject', 6 | 'enabled' 7 | ]; 8 | 9 | constructor(reader) { 10 | super(reader); 11 | this.enabled = reader.readBool(); 12 | reader.align(4); 13 | } 14 | } -------------------------------------------------------------------------------- /js/unityfs/classes/canvasRenderer.js: -------------------------------------------------------------------------------- 1 | import {Component} from "./component"; 2 | 3 | export class CanvasRenderer extends Component { 4 | static exposedAttributes = [ 5 | 'gameObject', 6 | 'cullTransparentMesh' 7 | ] 8 | 9 | constructor(reader) { 10 | super(reader); 11 | this.cullTransparentMesh = reader.readBool(); 12 | } 13 | } -------------------------------------------------------------------------------- /js/unityfs/classes/meshFilter.js: -------------------------------------------------------------------------------- 1 | import {Component} from "./component"; 2 | import {PPtr} from "./pptr"; 3 | 4 | export class MeshFilter extends Component { 5 | static exposedAttributes = [ 6 | 'gameObject', 7 | 'mesh' 8 | ]; 9 | 10 | constructor(reader) { 11 | super(reader); 12 | this.mesh = new PPtr(reader); 13 | } 14 | } -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import {defineConfig} from "vite"; 2 | import wasm from 'vite-plugin-wasm'; 3 | import legacy from '@vitejs/plugin-legacy'; 4 | 5 | export default defineConfig({ 6 | esbuild: { 7 | minifyIdentifiers: true, 8 | supported: { 9 | 'top-level-await': true 10 | } 11 | }, 12 | plugins: [wasm(), legacy()] 13 | }); 14 | -------------------------------------------------------------------------------- /js/unityfs/classes/component.js: -------------------------------------------------------------------------------- 1 | import {EditorExtension} from "./editorExtension"; 2 | import {PPtr} from "./pptr"; 3 | 4 | export class Component extends EditorExtension { 5 | static exposedAttributes = [ 6 | 'gameObject' 7 | ]; 8 | 9 | constructor(reader) { 10 | super(reader); 11 | this.gameObject = new PPtr(reader); 12 | } 13 | } -------------------------------------------------------------------------------- /js/unityfs/classes/editorExtension.js: -------------------------------------------------------------------------------- 1 | import {UnityObject} from "./object"; 2 | import {PPtr} from "./pptr"; 3 | 4 | export class EditorExtension extends UnityObject { 5 | constructor(reader) { 6 | super(reader); 7 | if (reader.platform === 'No Target') { 8 | this.prefabParentObject = new PPtr(reader); 9 | this.prefabInternal = new PPtr(reader); 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /encoders/.appveyor.yml: -------------------------------------------------------------------------------- 1 | install: 2 | - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe 3 | - if not defined RUSTFLAGS rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly 4 | - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin 5 | - rustc -V 6 | - cargo -V 7 | 8 | build: false 9 | 10 | test_script: 11 | - cargo test --locked 12 | -------------------------------------------------------------------------------- /assetparser/.appveyor.yml: -------------------------------------------------------------------------------- 1 | install: 2 | - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe 3 | - if not defined RUSTFLAGS rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly 4 | - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin 5 | - rustc -V 6 | - cargo -V 7 | 8 | build: false 9 | 10 | test_script: 11 | - cargo test --locked 12 | -------------------------------------------------------------------------------- /js/encoders/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "encoders", 3 | "collaborators": [ 4 | "ashduino101 " 5 | ], 6 | "version": "0.1.0", 7 | "files": [ 8 | "encoders_bg.wasm", 9 | "encoders.js", 10 | "encoders_bg.js", 11 | "encoders.d.ts" 12 | ], 13 | "module": "encoders.js", 14 | "types": "encoders.d.ts", 15 | "sideEffects": [ 16 | "./encoders.js", 17 | "./snippets/*" 18 | ] 19 | } -------------------------------------------------------------------------------- /js/unityfs/classes/monoBehaviour.js: -------------------------------------------------------------------------------- 1 | import {Behaviour} from "./behaviour"; 2 | import {PPtr} from "./pptr"; 3 | 4 | export class MonoBehaviour extends Behaviour { 5 | static exposedAttributes = [ 6 | 'gameObject', 7 | 'enabled', 8 | 'script', 9 | 'name', 10 | ]; 11 | 12 | constructor(reader) { 13 | super(reader); 14 | this.script = new PPtr(reader); 15 | this.name = reader.readAlignedString(); 16 | } 17 | } -------------------------------------------------------------------------------- /js/unreal/utils.js: -------------------------------------------------------------------------------- 1 | import pako from 'pako'; 2 | 3 | export function decompress(data, method) { 4 | switch (method) { 5 | case 'Zlib': 6 | case 'GZip': 7 | return pako.inflate(data); 8 | case 'Oodle': 9 | console.error('Oodle not supported'); 10 | return data; 11 | case 'None': 12 | return data; 13 | default: 14 | console.error(`Unknown/unsupported compression method ${method}!`); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /public/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /js/assetparser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "assetparser", 3 | "collaborators": [ 4 | "ashduino101 " 5 | ], 6 | "version": "0.1.0", 7 | "files": [ 8 | "assetparser_bg.wasm", 9 | "assetparser.js", 10 | "assetparser_bg.js", 11 | "assetparser.d.ts" 12 | ], 13 | "module": "assetparser.js", 14 | "types": "assetparser.d.ts", 15 | "sideEffects": [ 16 | "./assetparser.js", 17 | "./snippets/*" 18 | ] 19 | } -------------------------------------------------------------------------------- /dotnet-utils/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "wasmDecomp": { 4 | "commandName": "Project", 5 | "launchBrowser": true, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "https://localhost:7094;http://localhost:5293", 10 | "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/debug?browser={browserInspectUri}" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /js/unityfs/classes/namedObject.js: -------------------------------------------------------------------------------- 1 | import {EditorExtension} from "./editorExtension"; 2 | 3 | export class NamedObject extends EditorExtension { 4 | static exposedAttributes = [ 5 | 'name' 6 | ]; 7 | 8 | constructor(reader) { 9 | super(reader); 10 | this.name = reader.readAlignedString(); 11 | } 12 | 13 | static getName(reader) { 14 | reader.seek(0); 15 | let name = reader.readAlignedString(); 16 | reader.seek(0); 17 | return name; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /js/unityfs/classes/texture.js: -------------------------------------------------------------------------------- 1 | import {NamedObject} from "./namedObject"; 2 | 3 | export class Texture extends NamedObject { 4 | constructor(reader) { 5 | super(reader); 6 | 7 | if (reader.versionGTE(2017, 3)) { 8 | this.forcedFallbackFormat = reader.readInt32(); 9 | this.downscaleFallback = reader.readBool(); 10 | if (reader.versionGTE(2020, 2)) { 11 | this.isAlphaChannelOptional = reader.readBool(); 12 | } 13 | reader.align(4); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /public/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "WebAssetStudio", 3 | "name": "WebAssetStudio", 4 | "description": "View and extract game asset bundles directly in your browser.", 5 | "icons": [{ 6 | "src": "https://webassetstudio.xyz/icon.png", 7 | "type": "image/png", 8 | "sizes": "512x512" 9 | }], 10 | "start_url": "https://webassetstudio.xyz/?utm_source=homescreen", 11 | "display": "standalone", 12 | "background_color": "#dedede", 13 | "theme_color": "#3344ff" 14 | } 15 | -------------------------------------------------------------------------------- /assetparser/src/utils.rs: -------------------------------------------------------------------------------- 1 | pub fn set_panic_hook() { 2 | // When the `console_error_panic_hook` feature is enabled, we can call the 3 | // `set_panic_hook` function at least once during initialization, and then 4 | // we will get better error messages if our code ever panics. 5 | // 6 | // For more details see 7 | // https://github.com/rustwasm/console_error_panic_hook#readme 8 | #[cfg(feature = "console_error_panic_hook")] 9 | console_error_panic_hook::set_once(); 10 | } 11 | -------------------------------------------------------------------------------- /public/sitemap-old.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://webassetstudio.dumbserg.al/ 5 | 2023-09-17T00:19:53+00:00 6 | 1.0 7 | 8 | 9 | -------------------------------------------------------------------------------- /public/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://webassetstudio.xyz/ 5 | 2023-10-11T14:31:00+00:00 6 | 1.0 7 | 8 | 9 | -------------------------------------------------------------------------------- /js/unityfs/classes/animation.js: -------------------------------------------------------------------------------- 1 | import {Behaviour} from './behaviour'; 2 | import {PPtr} from './pptr'; 3 | 4 | export class Animation extends Behaviour { 5 | static exposedAttributes = [ 6 | 'gameObject', 7 | 'enabled', 8 | 'animations' 9 | ] 10 | 11 | constructor(reader) { 12 | super(reader); 13 | let numAnimations = reader.readUInt32(); 14 | this.animations = []; 15 | for (let i = 0; i < numAnimations; i++) { 16 | this.animations.push(new PPtr(reader)); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /js/godot/extensions/oggSampleExtension.js: -------------------------------------------------------------------------------- 1 | import {BaseExtension} from "./baseExtension"; 2 | import {AudioPreview} from "../../preview/audio"; 3 | 4 | export class OggSampleExtension extends BaseExtension { 5 | static type = 'variant'; 6 | static extension = '.ogg'; 7 | 8 | constructor() { 9 | super(); 10 | } 11 | 12 | async createPreview(resource) { 13 | return new AudioPreview().create(resource.resource.properties.data); 14 | } 15 | 16 | exportFile(res) { 17 | return res.resource.properties.data; 18 | } 19 | } -------------------------------------------------------------------------------- /js/godot/extensions/mp3SampleExtension.js: -------------------------------------------------------------------------------- 1 | import {BaseExtension} from "./baseExtension"; 2 | import {AudioPreview} from "../../preview/audio"; 3 | 4 | export class Mp3SampleExtension extends BaseExtension { 5 | static type = 'variant'; 6 | static extension = '.mp3'; 7 | 8 | constructor() { 9 | super(); 10 | } 11 | 12 | async createPreview(resource) { 13 | return new AudioPreview().create(resource.resource.properties.data, false, true); 14 | } 15 | 16 | exportFile(res) { 17 | return res.resource.properties.data; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /encoders/.idea/encoders.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /encoders/tests/web.rs: -------------------------------------------------------------------------------- 1 | 2 | use wasm_bindgen_test::*; 3 | use encoders::*; 4 | 5 | #[wasm_bindgen_test] 6 | fn test_swap() { 7 | let mut test_data = [0u8, 1, 2, 3, 4, 5, 6, 7]; 8 | texdec::swap_bytes_xbox(&mut test_data); 9 | assert_eq!(test_data, [1u8, 0, 3, 2, 5, 4, 7, 6]); 10 | } 11 | 12 | #[wasm_bindgen_test] 13 | fn test_bgr2rgb() { 14 | let mut test_data = [128u8, 0, 64, 255, 64, 0, 128, 255, 32, 0, 32, 255]; 15 | texdec::bgr2rgb(&mut test_data); 16 | assert_eq!(test_data, [64u8, 0, 128, 255, 128, 0, 64, 255, 32, 0, 32, 255]); 17 | } 18 | -------------------------------------------------------------------------------- /dotnet-utils/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | dnSpy-wasm 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

17 |   
18 | 
19 | 
20 | 
21 | 


--------------------------------------------------------------------------------
/encoders/src/compress.rs:
--------------------------------------------------------------------------------
 1 | use std::io::{BufReader, Cursor};
 2 | use std::panic;
 3 | use lz4_flex::{compress, decompress};
 4 | use lz4_flex::block::DecompressError;
 5 | use wasm_bindgen::prelude::*;
 6 | 
 7 | #[wasm_bindgen]
 8 | pub fn lz4_compress(data: &mut [u8]) -> Box<[u8]> {
 9 |     compress(data).into()
10 | }
11 | 
12 | #[wasm_bindgen]
13 | pub fn lz4_decompress(data: &mut [u8], out_size: usize) -> Result, JsValue> {
14 |     panic::set_hook(Box::new(console_error_panic_hook::hook));
15 |     match decompress(data, out_size) {
16 |         Ok(v) => Ok(v.into()),
17 |         Err(e) => Err(JsValue::from(e.to_string()))
18 |     }
19 | }
20 | 


--------------------------------------------------------------------------------
/js/preview/audio.js:
--------------------------------------------------------------------------------
 1 | import {BasePreview} from './basePreview';
 2 | 
 3 | export class AudioPreview extends BasePreview {
 4 |   create(data, isOGG = false, isMP3 = false) {
 5 |     const url = URL.createObjectURL(new Blob([data],
 6 |       {type: isMP3 ? 'audio/mp3' : (isOGG ? 'audio/ogg' : 'audio/wav')}
 7 |     ));
 8 |     const elem = document.createElement('audio');
 9 |     elem.style.display = 'block';
10 |     elem.style.position = 'relative';
11 |     elem.style.top = '50%';
12 |     elem.style.left = '50%';
13 |     elem.style.transform = 'translate(-50%, -50%)';
14 |     elem.src = url;
15 |     elem.controls = true;
16 |     return elem;
17 |   }
18 | }


--------------------------------------------------------------------------------
/dotnet-utils/README.md:
--------------------------------------------------------------------------------
 1 | ## .NET WebAssembly Browser app
 2 | 
 3 | ## Build
 4 | 
 5 | You can build the app from Visual Studio or from the command-line:
 6 | 
 7 | ```
 8 | dotnet build -c Debug/Release
 9 | ```
10 | 
11 | After building the app, the result is in the `bin/$(Configuration)/net7.0/browser-wasm/AppBundle` directory.
12 | 
13 | ## Run
14 | 
15 | You can build the app from Visual Studio or the command-line:
16 | 
17 | ```
18 | dotnet run -c Debug/Release
19 | ```
20 | 
21 | Or you can start any static file server from the AppBundle directory:
22 | 
23 | ```
24 | dotnet tool install dotnet-serve
25 | dotnet serve -d:bin/$(Configuration)/net7.0/browser-wasm/AppBundle
26 | ```


--------------------------------------------------------------------------------
/js/xna/types/system.js:
--------------------------------------------------------------------------------
 1 | // Excluding some types which are defined in xnbFile.js
 2 | export class TimeSpan {
 3 |   constructor(reader) {
 4 |     this.tickCount = reader.readInt64();
 5 |   }
 6 | }
 7 | 
 8 | export class DateTime {
 9 |   constructor(reader) {
10 |     this.value = reader.readInt64();
11 |   }
12 | }
13 | 
14 | export class Decimal {
15 |   constructor(reader) {
16 |     this.v1 = reader.readUInt32();
17 |     this.v2 = reader.readUInt32();
18 |     this.v3 = reader.readUInt32();
19 |     this.v4 = reader.readUInt32();
20 |   }
21 | }
22 | 
23 | export class ExternalReference {
24 |   constructor(reader) {
25 |     this.assetName = reader.readVarString();
26 |   }
27 | }
28 | 


--------------------------------------------------------------------------------
/public/0_runtimeconfig.bin:
--------------------------------------------------------------------------------
1 | 
2 | MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalse v[0].name === this.constructor.name)[0][1];
17 |   }
18 | 
19 |   getJSON(object) {
20 |     return new TextEncoder().encode(JSON.stringify(object, (_, v) => v instanceof Uint8Array ? null : v, 2));
21 |   }
22 | 
23 |   async getExport() {
24 |     console.error('Override this function in the child class!');
25 |   }
26 | 
27 |   async getAnyExport() {
28 |     return this.canExport ? await this.getExport() : this.getJSON();
29 |   }
30 | }


--------------------------------------------------------------------------------
/js/unityfs/classes/meshRenderer.js:
--------------------------------------------------------------------------------
 1 | import {Renderer} from "./renderer";
 2 | import {PPtr} from "./pptr";
 3 | 
 4 | export class MeshRenderer extends Renderer {
 5 |   static exposedAttributes = [
 6 |     'gameObject',
 7 |     'enabled',
 8 |     'castShadows',
 9 |     'receiveShadows',
10 |     'motionVectors',
11 |     'lightProbeUsage',
12 |     'reflectionProbeUsage',
13 |     'lightmapIndex',
14 |     'lightmapIndexDynamic',
15 |     'lightmapTilingOffset',
16 |     'lightmapTilingOffsetDynamic',
17 |     'materials',
18 |     'staticBatchInfo',
19 |     'staticBatchRoot',
20 |     'probeAnchor',
21 |     'lightProbeVolumeOverride',
22 |     'sortingLayerID',
23 |     'sortingOrder',
24 |     'additionalVertexStreams'
25 |   ];
26 | 
27 |   constructor(reader) {
28 |     super(reader);
29 |     this.additionalVertexStreams = new PPtr(reader);
30 |   }
31 | }


--------------------------------------------------------------------------------
/assetparser/Cargo.toml:
--------------------------------------------------------------------------------
 1 | [package]
 2 | name = "assetparser"
 3 | version = "0.1.0"
 4 | authors = ["ashduino101 "]
 5 | edition = "2018"
 6 | 
 7 | [lib]
 8 | crate-type = ["cdylib", "rlib"]
 9 | 
10 | [features]
11 | default = ["console_error_panic_hook"]
12 | 
13 | [dependencies]
14 | wasm-bindgen = "0.2.63"
15 | byteorder = "1.4.3"
16 | js-sys = "0.3.60"
17 | 
18 | # The `console_error_panic_hook` crate provides better debugging of panics by
19 | # logging them with `console.error`. This is great for development, but requires
20 | # all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
21 | # code size when deploying.
22 | console_error_panic_hook = { version = "0.1.6", optional = true }
23 | 
24 | [dev-dependencies]
25 | wasm-bindgen-test = "0.3.13"
26 | 
27 | [profile.release]
28 | # Tell `rustc` to optimize for small code size.
29 | opt-level = "s"
30 | 


--------------------------------------------------------------------------------
/js/unityfs/classes/animatorOverrideController.js:
--------------------------------------------------------------------------------
 1 | import {PPtr} from "./pptr";
 2 | import {NamedObject} from "./namedObject";
 3 | 
 4 | export class AnimationClipOverride {
 5 |   static exposedAttributes = [
 6 |     'originalClip',
 7 |     'overrideClip',
 8 |   ];
 9 | 
10 |   constructor(reader) {
11 |     this.originalClip = new PPtr(reader);
12 |     this.overrideClip = new PPtr(reader);
13 |   }
14 | }
15 | 
16 | export class AnimatorOverrideController extends NamedObject {
17 |   static exposedAttributes = [
18 |     'name',
19 |     'controller',
20 |     'clips',
21 |   ];
22 | 
23 |   constructor(reader) {
24 |     super(reader);
25 |     this.controller = new PPtr(reader);
26 |     let numOverrides = reader.readInt32();
27 |     this.clips = [];
28 |     for (let i = 0; i < numOverrides; i++) {
29 |       this.clips.push(new AnimationClipOverride(reader));
30 |     }
31 |   }
32 | }
33 | 


--------------------------------------------------------------------------------
/dotnet-utils/wasmDecomp.csproj:
--------------------------------------------------------------------------------
 1 | 
 2 |   
 3 |     net7.0
 4 |     browser-wasm
 5 |     main.js
 6 |     Exe
 7 |     true
 8 |     true
 9 |     full
10 |     true
11 |   
12 | 
13 |   
14 |     
15 |     
16 |     
17 |       Mono.Cecil.dll
18 |     
19 |     
20 |       ICSharpCode.Decompiler.dll
21 |     
22 |   
23 | 
24 | 


--------------------------------------------------------------------------------
/js/assetparser/assetparser.d.ts:
--------------------------------------------------------------------------------
 1 | /* tslint:disable */
 2 | /* eslint-disable */
 3 | /**
 4 | * @param {Uint8Array} data
 5 | * @returns {XNB}
 6 | */
 7 | export function parse_xnb(data: Uint8Array): XNB;
 8 | /**
 9 | */
10 | export class TypeReader {
11 |   free(): void;
12 | /**
13 | * @param {string} typename
14 | * @param {number} version
15 | * @returns {TypeReader}
16 | */
17 |   static new(typename: string, version: number): TypeReader;
18 | /**
19 | */
20 |   readonly typename: string;
21 | /**
22 | */
23 |   version: number;
24 | }
25 | /**
26 | */
27 | export class XNB {
28 |   free(): void;
29 | /**
30 | */
31 |   is_compressed: boolean;
32 | /**
33 | */
34 |   is_hi_def: boolean;
35 | /**
36 | */
37 |   readonly platform: string;
38 | /**
39 | */
40 |   size: number;
41 | /**
42 | */
43 |   readonly type_readers: (TypeReader)[];
44 | /**
45 | */
46 |   uncompressed_size: number;
47 | /**
48 | */
49 |   version: number;
50 | }
51 | 


--------------------------------------------------------------------------------
/dotnet-utils/main.js:
--------------------------------------------------------------------------------
 1 | // Licensed to the .NET Foundation under one or more agreements.
 2 | // The .NET Foundation licenses this file to you under the MIT license.
 3 | 
 4 | import { dotnet } from './dotnet.js'
 5 | 
 6 | const { setModuleImports, getAssemblyExports, getConfig } = await dotnet
 7 |     .withDiagnosticTracing(false)
 8 |     .withApplicationArgumentsFromQuery()
 9 |     .create();
10 | 
11 | const config = getConfig();
12 | const exports = await getAssemblyExports(config.mainAssemblyName);
13 | 
14 | const input = document.getElementById('file-input');
15 | input.addEventListener('change', e => {
16 |   let f = e.target.files[0];
17 |   let reader = new FileReader();
18 |   reader.onloadend = async b => {
19 |     let arr = new Uint8Array(reader.result);
20 |     const text = exports.MyClass.Decompile(arr, f.name);
21 |     document.getElementById('out').textContent = text;
22 |   }
23 |   reader.readAsArrayBuffer(f);
24 | });
25 | 
26 | await dotnet.run();


--------------------------------------------------------------------------------
/js/utils.js:
--------------------------------------------------------------------------------
 1 | export function compareFilter(op, a, b) {
 2 |   switch (op) {
 3 |     case '==':
 4 |       return a === b;
 5 |     case '!=':
 6 |       return a !== b;
 7 |     case '<':
 8 |       return a < b;
 9 |     case '<=':
10 |       return a <= b;
11 |     case '>':
12 |       return a > b;
13 |     case '>=':
14 |       return a >= b;
15 |   }
16 |   return false;
17 | }
18 | 
19 | export function arraysEqual(a, b) {
20 |   return (a.length === b.length) && a.every(function(element, index) {
21 |     return element === b[index];
22 |   });
23 | }
24 | 
25 | export function saveBlob(filename, data, type) {
26 |   const file = new Blob(data, {type: type});
27 |   const a = document.createElement('a');
28 |   const url = URL.createObjectURL(file);
29 |   a.href = url;
30 |   a.download = filename;
31 |   document.body.appendChild(a);
32 |   a.click();
33 |   setTimeout(function() {
34 |     document.body.removeChild(a);
35 |     window.URL.revokeObjectURL(url);
36 |   }, 0);
37 | }
38 | 


--------------------------------------------------------------------------------
/js/unityfs/webFile.js:
--------------------------------------------------------------------------------
 1 | class WebData {
 2 |   static exposedAttributes = [
 3 |     'offset',
 4 |     'size',
 5 |     'path'
 6 |   ];
 7 | 
 8 |   constructor(reader) {
 9 |     this.offset = reader.readInt32();
10 |     this.size = reader.readInt32();
11 |     this.path = reader.readString();
12 |   }
13 | }
14 | 
15 | export class WebFile {
16 |   static exposedAttributes = [
17 |     'files'
18 |   ];
19 | 
20 |   constructor(reader) {
21 |     reader.endian = 'little';
22 |     let signature = reader.readCString();
23 |     let headLength = reader.readInt32();
24 |     this.files = [];
25 |     while (reader.tell() < headLength) {
26 |       this.files.push(new WebData(reader));
27 |     }
28 |     this.reader = reader;
29 |   }
30 | 
31 |   get(path) {
32 |     const file = this.files.filter(f => f.path === path)[0];
33 |     if (!file) return null;
34 |     this.reader.seek(file.offset);
35 |     return this.reader.read(file.size);
36 |   }
37 | 
38 |   parse() {  // nothing to do here
39 |   }
40 | }


--------------------------------------------------------------------------------
/js/unityfs/classes/textAsset.js:
--------------------------------------------------------------------------------
 1 | import {NamedObject} from "./namedObject";
 2 | 
 3 | export class TextAsset extends NamedObject {
 4 |   static exposedAttributes = [
 5 |     'text'
 6 |   ];
 7 |   exportExtension = '.txt';
 8 | 
 9 |   constructor(reader) {
10 |     super(reader);
11 |     this.text = reader.readChars(reader.readUInt32());
12 |   }
13 | 
14 |   async createPreview() {
15 |     let text = document.createElement('h2');
16 |     text.style.fontFamily = '"Helvetica", sans-serif';
17 |     text.innerText = this.text;
18 |     text.style.fontSize = '16px';
19 |     text.style.margin = '0';
20 |     text.style.padding = '4px';
21 |     text.style.overflowWrap = 'break-word';
22 |     text.style.hyphens = 'manual';
23 |     text.style.fontWeight = 'normal';
24 |     text.style.overflow = 'auto';
25 |     text.style.maxWidth = '100%';
26 |     text.style.maxHeight = '100%';
27 |     text.style.boxSizing = 'border-box';
28 |     return text;
29 |   }
30 | 
31 |   async getExport() {
32 |     return this.text;
33 |   }
34 | }


--------------------------------------------------------------------------------
/encoders/Cargo.toml:
--------------------------------------------------------------------------------
 1 | [package]
 2 | name = "encoders"
 3 | version = "0.1.0"
 4 | authors = ["ashduino101 "]
 5 | edition = "2018"
 6 | 
 7 | [lib]
 8 | crate-type = ["cdylib", "rlib"]
 9 | 
10 | [features]
11 | default = ["console_error_panic_hook"]
12 | 
13 | [dependencies]
14 | wasm-bindgen = "0.2.88"
15 | wasm-bindgen-test = "0.3.33"
16 | png = "0.17.10"
17 | texture2ddecoder = { git = "https://github.com/ashduino101/texture2ddecoder-rgba" }
18 | lz4_flex = "0.11.1"
19 | 
20 | # The `console_error_panic_hook` crate provides better debugging of panics by
21 | # logging them with `console.error`. This is great for development, but requires
22 | # all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
23 | # code size when deploying.
24 | console_error_panic_hook = { version = "0.1.6", optional = true }
25 | 
26 | [dev-dependencies]
27 | wasm-bindgen-test = "0.3.13"
28 | 
29 | [profile.release]
30 | # Tell `rustc` to optimize for small code size.
31 | opt-level = "s"
32 | 
33 | [package.metadata.wasm-pack.profile.release]
34 | wasm-opt = false
35 | 


--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
 1 | {
 2 |   "name": "unityfs",
 3 |   "version": "0.0.1",
 4 |   "description": "",
 5 |   "keywords": [],
 6 |   "license": "",
 7 |   "author": "",
 8 |   "scripts": {
 9 |     "build": "vite build",
10 |     "start": "vite"
11 |   },
12 |   "devDependencies": {
13 |     "path-browserify": "^1.0.1",
14 |     "stream-browserify": "^3.0.0"
15 |   },
16 |   "dependencies": {
17 |     "@vitejs/plugin-legacy": "^4.1.1",
18 |     "@wokwi/elfist": "^1.0.2",
19 |     "aes-js": "^3.1.2",
20 |     "av": "^0.4.9",
21 |     "crc-32": "^1.2.2",
22 |     "crypto-js": "^4.2.0",
23 |     "highlight.js": "^11.9.0",
24 |     "jquery": "^3.7.0",
25 |     "jstree": "^3.3.15",
26 |     "jszip": "^3.10.1",
27 |     "lz4-asm": "^0.4.2",
28 |     "lz4js": "^0.2.0",
29 |     "lzma-purejs": "^0.9.3",
30 |     "pako": "^2.1.0",
31 |     "pe-library": "^1.0.0",
32 |     "pngjs": "^7.0.0",
33 |     "sort-paths": "^1.1.1",
34 |     "terser": "^5.24.0",
35 |     "three": "^0.155.0",
36 |     "vite": "^4.4.9",
37 |     "vite-plugin-wasm": "^3.2.2",
38 |     "vorbis.js": "^0.1.1",
39 |     "zstddec": "^0.1.0"
40 |   }
41 | }
42 | 


--------------------------------------------------------------------------------
/js/godot/godotFile.js:
--------------------------------------------------------------------------------
 1 | import {BinaryReader} from "../binaryReader";
 2 | import FileHandler, {fileTypes} from "../fileHandler";
 3 | import {PckFile} from "./pckFile";
 4 | import {Resource} from "./resource";
 5 | import {StreamTexture} from "./types/texture";
 6 | import {NtExecutable} from "pe-library";
 7 | import {ELFParser} from "@wokwi/elfist";
 8 | 
 9 | export class GodotFile {
10 |   constructor(data, baseOffset = 0) {
11 |     let reader = new BinaryReader(data, 'little');
12 |     let handler = new FileHandler(null);
13 |     handler.data = data;
14 |     this.fileType = handler.getType();
15 |     switch (this.fileType) {
16 |       case fileTypes.GodotPck:
17 |         this.parser = new PckFile(reader, baseOffset);
18 |         break;
19 |       case fileTypes.GodotResource:
20 |         this.parser = new Resource(reader);
21 |         break;
22 |       case fileTypes.GodotStreamTexture:
23 |         this.parser = new StreamTexture(reader);
24 |         break;
25 |       case fileTypes.GodotCompressedTexture:
26 |         break;
27 |       case fileTypes.GodotScene:
28 |         break;
29 |     }
30 |   }
31 | }


--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
 1 | Copyright (c) ashduino101
 2 | 
 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
 4 | this software and associated documentation files (the "Software"), to deal in
 5 | the Software without restriction, including without limitation the rights to
 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 7 | of the Software, and to permit persons to whom the Software is furnished to do
 8 | so, subject to the following conditions:
 9 | 
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 | 
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 | 


--------------------------------------------------------------------------------
/assetparser/LICENSE_MIT:
--------------------------------------------------------------------------------
 1 | Copyright (c) 2018 ashduino101 
 2 | 
 3 | Permission is hereby granted, free of charge, to any
 4 | person obtaining a copy of this software and associated
 5 | documentation files (the "Software"), to deal in the
 6 | Software without restriction, including without
 7 | limitation the rights to use, copy, modify, merge,
 8 | publish, distribute, sublicense, and/or sell copies of
 9 | the Software, and to permit persons to whom the Software
10 | is furnished to do so, subject to the following
11 | conditions:
12 | 
13 | The above copyright notice and this permission notice
14 | shall be included in all copies or substantial portions
15 | of the Software.
16 | 
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18 | ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19 | TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25 | DEALINGS IN THE SOFTWARE.
26 | 


--------------------------------------------------------------------------------
/encoders/LICENSE_MIT:
--------------------------------------------------------------------------------
 1 | Copyright (c) 2018 ashduino101 
 2 | 
 3 | Permission is hereby granted, free of charge, to any
 4 | person obtaining a copy of this software and associated
 5 | documentation files (the "Software"), to deal in the
 6 | Software without restriction, including without
 7 | limitation the rights to use, copy, modify, merge,
 8 | publish, distribute, sublicense, and/or sell copies of
 9 | the Software, and to permit persons to whom the Software
10 | is furnished to do so, subject to the following
11 | conditions:
12 | 
13 | The above copyright notice and this permission notice
14 | shall be included in all copies or substantial portions
15 | of the Software.
16 | 
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18 | ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19 | TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25 | DEALINGS IN THE SOFTWARE.
26 | 


--------------------------------------------------------------------------------
/js/unityfs/classes/assetBundle.js:
--------------------------------------------------------------------------------
 1 | import {NamedObject} from "./namedObject";
 2 | import {PPtr} from "./pptr";
 3 | import {KVPair} from "../basicTypes";
 4 | 
 5 | export class AssetInfo {
 6 |   static exposedAttributes = [
 7 |     'preloadIndex',
 8 |     'preloadSize',
 9 |     'asset'
10 |   ];
11 | 
12 |   constructor(reader) {
13 |     this.preloadIndex = reader.readInt32();
14 |     this.preloadSize = reader.readInt32();
15 |     this.asset = new PPtr(reader);
16 |   }
17 | }
18 | 
19 | export class AssetBundle extends NamedObject {
20 |   static exposedAttributes = [
21 |     'name',
22 |     'preloadTable',
23 |     'container',
24 |   ];
25 |   constructor(reader) {
26 |     super(reader);
27 |     let preloadTableSize = reader.readInt32();
28 |     this.preloadTable = [];
29 |     for (let i = 0; i < preloadTableSize; i++) {
30 |       this.preloadTable.push(new PPtr(reader));
31 |     }
32 |     let containerSize = reader.readInt32();
33 |     this.container = [];
34 |     for (let i = 0; i < containerSize; i++) {
35 |       let key = reader.readAlignedString();
36 |       this.container.push(new KVPair(key, new AssetInfo(reader)));
37 |     }
38 |   }
39 | }
40 | 
41 | export const PreloadData = AssetBundle;
42 | 


--------------------------------------------------------------------------------
/crunch/crunch.cpp:
--------------------------------------------------------------------------------
 1 | #include "crunch.h"
 2 | #include 
 3 | #include 
 4 | #include "crunch/crn_decomp.h"
 5 | 
 6 | bool crunch_unpack_level(const uint8_t* data, uint32_t data_size, uint32_t level_index, void** ret, uint32_t* ret_size) {
 7 | 	crnd::crn_texture_info tex_info;
 8 | 	if (!crnd::crnd_get_texture_info(data, data_size, &tex_info))
 9 | 	{
10 | 		return false;
11 | 	}
12 | 
13 | 	crnd::crnd_unpack_context pContext = crnd::crnd_unpack_begin(data, data_size);
14 | 	if (!pContext)
15 | 	{
16 | 		return false;
17 | 	}
18 | 
19 | 	const crn_uint32 width = std::max(1U, tex_info.m_width >> level_index);
20 | 	const crn_uint32 height = std::max(1U, tex_info.m_height >> level_index);
21 | 	const crn_uint32 blocks_x = std::max(1U, (width + 3) >> 2);
22 | 	const crn_uint32 blocks_y = std::max(1U, (height + 3) >> 2);
23 | 	const crn_uint32 row_pitch = blocks_x * crnd::crnd_get_bytes_per_dxt_block(tex_info.m_format);
24 | 	const crn_uint32 total_face_size = row_pitch * blocks_y;
25 | 	*ret = new uint8_t[total_face_size];
26 | 	*ret_size = total_face_size;
27 | 	if (!crnd::crnd_unpack_level(pContext, ret, total_face_size, row_pitch, level_index))
28 | 	{
29 | 		crnd::crnd_unpack_end(pContext);
30 | 		return false;
31 | 	}
32 | 	crnd::crnd_unpack_end(pContext);
33 | 	return true;
34 | }


--------------------------------------------------------------------------------
/js/unityfs/objectReader.js:
--------------------------------------------------------------------------------
 1 | import {BinaryReader} from "../binaryReader";
 2 | 
 3 | export class ObjectReader extends BinaryReader {
 4 |   constructor(data, version, unityVersion, platform, pathID, offset, length, classID, typeID) {
 5 |     super(data);
 6 |     this.fileVersion = version;
 7 |     this.rawVersion = unityVersion;
 8 |     this.platform = platform;
 9 |     this.pathID = pathID;
10 |     this.origOffset = offset;
11 |     this.length = length;
12 |     this.classID = classID;
13 |     this.typeID = typeID;
14 | 
15 |     this.version = this.rawVersion.replaceAll(/\D/g, '.').split('.').map(Number);
16 |     this.isPatch = this.rawVersion.match(/p/g) != null;
17 |   }
18 | 
19 |   reset() {
20 |     this.seek(0);
21 |   }
22 | 
23 |   versionGT(major, minor) {
24 |     return (this.version[0] > major || (this.version[0] === major && this.version[1] > minor));
25 |   }
26 | 
27 |   versionGTE(major, minor) {
28 |     return (this.version[0] > major || (this.version[0] === major && this.version[1] >= minor));
29 |   }
30 | 
31 |   versionLT(major, minor) {
32 |     return (this.version[0] < major || (this.version[0] === major && this.version[1] < minor));
33 |   }
34 | 
35 |   versionLTE(major, minor) {
36 |     return (this.version[0] < major || (this.version[0] === major && this.version[1] <= minor));
37 |   }
38 | }


--------------------------------------------------------------------------------
/dotnet-utils/.vscode/tasks.json:
--------------------------------------------------------------------------------
 1 | {
 2 |     "version": "2.0.0",
 3 |     "tasks": [
 4 |         {
 5 |             "label": "build",
 6 |             "command": "dotnet",
 7 |             "type": "process",
 8 |             "args": [
 9 |                 "build",
10 |                 "${workspaceFolder}/dnSpy-wasm.csproj",
11 |                 "/property:GenerateFullPaths=true",
12 |                 "/consoleloggerparameters:NoSummary"
13 |             ],
14 |             "problemMatcher": "$msCompile"
15 |         },
16 |         {
17 |             "label": "publish",
18 |             "command": "dotnet",
19 |             "type": "process",
20 |             "args": [
21 |                 "publish",
22 |                 "${workspaceFolder}/dnSpy-wasm.csproj",
23 |                 "/property:GenerateFullPaths=true",
24 |                 "/consoleloggerparameters:NoSummary"
25 |             ],
26 |             "problemMatcher": "$msCompile"
27 |         },
28 |         {
29 |             "label": "watch",
30 |             "command": "dotnet",
31 |             "type": "process",
32 |             "args": [
33 |                 "watch",
34 |                 "run",
35 |                 "--project",
36 |                 "${workspaceFolder}/dnSpy-wasm.csproj"
37 |             ],
38 |             "problemMatcher": "$msCompile"
39 |         }
40 |     ]
41 | }


--------------------------------------------------------------------------------
/crunch/unitycrunch.cpp:
--------------------------------------------------------------------------------
 1 | #include "unitycrunch.h"
 2 | #include 
 3 | #include 
 4 | #include "unitycrunch/crn_decomp.h"
 5 | 
 6 | bool unity_crunch_unpack_level(const uint8_t* data, uint32_t data_size, uint32_t level_index, void** ret, uint32_t* ret_size) {
 7 | 	unitycrnd::crn_texture_info tex_info;
 8 | 	if (!unitycrnd::crnd_get_texture_info(data, data_size, &tex_info))
 9 | 	{
10 | 		return false;
11 | 	}
12 | 
13 | 	unitycrnd::crnd_unpack_context pContext = unitycrnd::crnd_unpack_begin(data, data_size);
14 | 	if (!pContext)
15 | 	{
16 | 		return false;
17 | 	}
18 | 
19 | 	const crn_uint32 width = std::max(1U, tex_info.m_width >> level_index);
20 | 	const crn_uint32 height = std::max(1U, tex_info.m_height >> level_index);
21 | 	const crn_uint32 blocks_x = std::max(1U, (width + 3) >> 2);
22 | 	const crn_uint32 blocks_y = std::max(1U, (height + 3) >> 2);
23 | 	const crn_uint32 row_pitch = blocks_x * unitycrnd::crnd_get_bytes_per_dxt_block(tex_info.m_format);
24 | 	const crn_uint32 total_face_size = row_pitch * blocks_y;
25 | 	*ret = new uint8_t[total_face_size];
26 | 	*ret_size = total_face_size;
27 | 	if (!unitycrnd::crnd_unpack_level(pContext, ret, total_face_size, row_pitch, level_index))
28 | 	{
29 | 		unitycrnd::crnd_unpack_end(pContext);
30 | 		return false;
31 | 	}
32 | 	unitycrnd::crnd_unpack_end(pContext);
33 | 	return true;
34 | }


--------------------------------------------------------------------------------
/js/main.js:
--------------------------------------------------------------------------------
 1 | import 'jstree';
 2 | import '../css/vendor/jstree/style.min.css';
 3 | import FileHandler from "./fileHandler";
 4 | import {isDebug} from "./config";
 5 | 
 6 | function configureDebug() {
 7 |   if (isDebug) {
 8 |     document.getElementById('download-raw').style.display = 'inline-block';
 9 |   }
10 | }
11 | 
12 | async function onFile(f) {
13 |   const h = new FileHandler('#tree');
14 |   const res = await h.loadFile(f);
15 |   if (!res) return;
16 |   const tree = await h.getTree();
17 |   document.getElementById('export-zip').onclick = () => tree.exportZip();
18 | }
19 | 
20 | // MAIN
21 | function main() {
22 |   const input = document.getElementById('file-input');
23 |   input.addEventListener('change', async e => onFile(e.target.files[0]));
24 |   const fileOverlay = document.getElementById('file-overlay');
25 |   // document.body.addEventListener('dragover', () => fileOverlay.style.display = 'block');
26 |   // document.body.addEventListener('dragleave', () => fileOverlay.style.display = 'none');
27 |   document.body.addEventListener('drop', e => {
28 |     e.preventDefault();
29 |     console.log(e.dataTransfer);
30 |     const files = e.dataTransfer.files;
31 |     if (files.length > 0) {
32 |       onFile(files[0]);
33 |     }
34 |     fileOverlay.style.display = 'none'
35 |   }, true);
36 | 
37 |   configureDebug();
38 | }
39 | 
40 | main();
41 | 


--------------------------------------------------------------------------------
/encoders/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
 1 | 
 2 |   
 3 |     
27 | 


--------------------------------------------------------------------------------
/public/wasmDecomp.runtimeconfig.json:
--------------------------------------------------------------------------------
 1 | {
 2 |   "runtimeOptions": {
 3 |     "tfm": "net7.0",
 4 |     "includedFrameworks": [
 5 |       {
 6 |         "name": "Microsoft.NETCore.App",
 7 |         "version": "7.0.11"
 8 |       }
 9 |     ],
10 |     "wasmHostProperties": {
11 |       "perHostConfig": [
12 |         {
13 |           "name": "browser",
14 |           "html-path": "index.html",
15 |           "Host": "browser"
16 |         }
17 |       ],
18 |       "runtimeArgs": [],
19 |       "mainAssembly": "wasmDecomp.dll"
20 |     },
21 |     "configProperties": {
22 |       "Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
23 |       "System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
24 |       "System.Resources.ResourceManager.AllowCustomResourceTypes": false,
25 |       "System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
26 |       "System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
27 |       "System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
28 |       "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
29 |       "System.StartupHookProvider.IsSupported": false,
30 |       "System.Threading.Thread.EnableAutoreleasePool": false,
31 |       "System.Text.Encoding.EnableUnsafeUTF7Encoding": false
32 |     }
33 |   }
34 | }


--------------------------------------------------------------------------------
/js/cs-decomp/dotnet/wasmDecomp.runtimeconfig.json:
--------------------------------------------------------------------------------
 1 | {
 2 |   "runtimeOptions": {
 3 |     "tfm": "net7.0",
 4 |     "includedFrameworks": [
 5 |       {
 6 |         "name": "Microsoft.NETCore.App",
 7 |         "version": "7.0.11"
 8 |       }
 9 |     ],
10 |     "wasmHostProperties": {
11 |       "perHostConfig": [
12 |         {
13 |           "name": "browser",
14 |           "html-path": "index.html",
15 |           "Host": "browser"
16 |         }
17 |       ],
18 |       "runtimeArgs": [],
19 |       "mainAssembly": "wasmDecomp.dll"
20 |     },
21 |     "configProperties": {
22 |       "Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
23 |       "System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
24 |       "System.Resources.ResourceManager.AllowCustomResourceTypes": false,
25 |       "System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
26 |       "System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
27 |       "System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
28 |       "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
29 |       "System.StartupHookProvider.IsSupported": false,
30 |       "System.Threading.Thread.EnableAutoreleasePool": false,
31 |       "System.Text.Encoding.EnableUnsafeUTF7Encoding": false
32 |     }
33 |   }
34 | }


--------------------------------------------------------------------------------
/js/unityfs/buildTarget.js:
--------------------------------------------------------------------------------
 1 | export const BuildTarget = {
 2 |     1: 'Valid Player',
 3 |     2: 'Standalone OSX',
 4 |     3: 'Standalone OSX (PPC)',
 5 |     4: 'Standalone OSX (Intel)',
 6 |     5: 'Standalone Windows',
 7 |     6: 'Web Player',
 8 |     7: 'Web Player (Streamed)',
 9 |     8: 'Wii',
10 |     9: 'iOS',
11 |     10: 'PS3',
12 |     11: 'XBox 360',
13 |     12: 'Broadcom',
14 |     13: 'Android',
15 |     14: 'Standalone GLES Emu',
16 |     15: 'Standalone GLES20 Emu',
17 |     16: 'NaCl',
18 |     17: 'Standalone Linux',
19 |     18: 'Flash Player',
20 |     19: 'Standalone Windows (64-bit)',
21 |     20: 'WebGL',
22 |     21: 'WSA Player',
23 |     24: 'Standalone Linux (64-bit)',
24 |     25: 'Standalone Linux (Universal)',
25 |     26: 'WP8 Player',
26 |     27: 'Standalone OSX (64-bit Intel)',
27 |     28: 'BlackBerry',
28 |     29: 'Tizen',
29 |     30: 'PSP2',
30 |     31: 'PS4',
31 |     32: 'PSM',
32 |     33: 'Xbox One',
33 |     34: 'Samsung TV',
34 |     35: 'Nintendo 3DS',
35 |     36: 'Wii U',
36 |     37: 'tvOS',
37 |     38: 'Switch',
38 |     39: 'Lumin',
39 |     40: 'Stadia',
40 |     41: 'Cloud Rendering',
41 |     42: 'GameCore Xbox Series',
42 |     43: 'GameCore Xbox One',
43 |     44: 'PS5',
44 |     45: 'Embedded Linux',
45 |     46: 'QNX',
46 |     9999: 'Unknown Platform',
47 |     4294967294: 'No Target',
48 |     4294967295: 'Any Player'
49 | }
50 | 
51 | export const NO_TARGET = 4294967294;
52 | 


--------------------------------------------------------------------------------
/js/unityfs/classes/pptr.js:
--------------------------------------------------------------------------------
 1 | 
 2 | window._global__destroyable = window._global__destroyable ?? [];
 3 | 
 4 | export class PPtr {
 5 |   constructor(reader) {
 6 |     this.fileID = reader.readInt32();
 7 |     this.pathID = reader.fileVersion < 14 ? BigInt(reader.readInt32()) : reader.readInt64();
 8 |     this._object = null;
 9 |     this.info = null;
10 |     this._boundEventHandler = this.handleEvent.bind(this);
11 | 
12 |     document.body.addEventListener(`pptr-resolve-response_${this.fileID}_${this.pathID}`, this._boundEventHandler);
13 | 
14 |     window._global__destroyable.push(() => this.destroy());
15 |   }
16 | 
17 |   get object() {
18 |     this.resolve();
19 |     return this._object;
20 |   }
21 | 
22 |   handleEvent(data) {
23 |     let {status, fileID, object} = data.detail;
24 |     if (status && this.pathID === object.pathID && this.fileID === fileID) {
25 |       this.info = object;
26 |       this._object = this.info.object;
27 |     }
28 |   }
29 | 
30 |   resolve() {
31 |     if (this.fileID !== 0) {
32 |       console.error('cross-file externals unsupported');
33 |       return;
34 |     }
35 |     if (this._object != null) return;
36 |     document.body.dispatchEvent(new CustomEvent('pptr-resolve-request', {detail: {fileID: this.fileID, pathID: this.pathID}}));
37 |   }
38 | 
39 |   destroy() {
40 |     document.body.removeEventListener(`pptr-resolve-response_${this.fileID}_${this.pathID}`, this._boundEventHandler);
41 |   }
42 | }


--------------------------------------------------------------------------------
/assetparser/src/binary.rs:
--------------------------------------------------------------------------------
 1 | use std::io::Error;
 2 | use std::io::{Cursor, ErrorKind, Read};
 3 | use std::str;
 4 | use std::string::FromUtf8Error;
 5 | use byteorder::ReadBytesExt;
 6 | 
 7 | pub trait ReadExt: Read {
 8 |     fn read_chars(&mut self, count: usize) -> Result {
 9 |         let mut buf = vec![0; count];
10 |         self.read_exact(buf.as_mut())?;
11 |         match String::from_utf8(buf) {
12 |             Ok(v) => Ok(v),
13 |             Err(e) => Err(Error::new(ErrorKind::Other, e.to_string()))
14 |         }
15 |     }
16 | 
17 |     fn read_varint(&mut self) -> Result {
18 |         let mut result: i64 = 0;  // limit to 64 bit -- hopefully isn't an issue
19 |         let mut bits_read: usize = 0;
20 |         let mut value;
21 |         loop {
22 |             value = match self.read_u8() {
23 |                 Ok(v) => v,
24 |                 Err(_) => return Err(Error::new(ErrorKind::Other, "error while reading varint from stream"))
25 |             };
26 |             result |= ((value & 0x7f) << bits_read) as i64;
27 |             bits_read += 7;
28 |             if (value & 0x80) != 0x80 {
29 |                 break;
30 |             }
31 |         }
32 |         Ok(result)
33 |     }
34 | 
35 |     fn read_string(&mut self) -> Result {
36 |         let len = self.read_varint()?;
37 |         self.read_chars(len as usize)
38 |     }
39 | }
40 | 
41 | impl ReadExt for R {}
42 | 


--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
 1 | name: webassetstudio-build
 2 | run-name: Build and deploy
 3 | on: [push]
 4 | jobs:
 5 |   build:
 6 |     runs-on: ubuntu-latest
 7 |     if: github.ref == 'refs/heads/main'
 8 |     steps:
 9 |       - uses: actions/checkout@v4
10 |       - uses: actions/setup-node@v3
11 |         with:
12 |           node-version: '14'
13 |       - name: Install wasm-pack
14 |         run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
15 |       # - name: Build main WASM (FUTURE)
16 |       #   run: wasm-pack build
17 |       # TODO: add MojoShader build script when the rewrite is complete
18 |       # MS deps
19 |       - name: Install Emscripten for MojoShader
20 |         run:  |
21 |           git clone https://github.com/emscripten-core/emsdk.git
22 |           cd emsdk
23 |           ./emsdk install latest
24 |           ./emsdk activate latest
25 |           source emsdk_env.sh
26 |       - name: Build encoders
27 |         run: cd encoders && wasm-pack build --out-dir ../js/encoders
28 |       - name: Install dependencies
29 |         run: npm install
30 |       - name: Build web
31 |         run: npm run build
32 |       - name: Deploy to server
33 |         run: sshpass -p '${{ secrets.SSH_PASS }}' scp -P ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/
34 |       - name: Cleanup
35 |         run: rm -rf ~/.ssh && rm -rf dist


--------------------------------------------------------------------------------
/crunch/dllmain.cpp:
--------------------------------------------------------------------------------
 1 | #include 
 2 | #include "dllexport.h"
 3 | 
 4 | #include "crunch.h"
 5 | #include "unitycrunch.h"
 6 | 
 7 | #ifdef __cplusplus
 8 | #define EXTERN extern "C"
 9 | #else
10 | #define EXTERN
11 | #endif
12 | 
13 | T2D_API(void) UnpackCrunch(const void* data, uint32_t dataSize, void** ppResult, uint32_t* pResultSize)
14 | {
15 | 	void* result;
16 | 	uint32_t resultSize;
17 | 
18 | 	if (ppResult != nullptr)
19 | 	{
20 | 		*ppResult = nullptr;
21 | 	}
22 | 
23 | 	if (pResultSize != nullptr)
24 | 	{
25 | 		*pResultSize = 0;
26 | 	}
27 | 
28 | 	if (!crunch_unpack_level(static_cast(data), dataSize, 0, &result, &resultSize)) {
29 | 		return;
30 | 	}
31 | 
32 | 	if (ppResult != nullptr)
33 | 	{
34 | 		*ppResult = result;
35 | 	}
36 | 
37 | 	if (pResultSize != nullptr)
38 | 	{
39 | 		*pResultSize = resultSize;
40 | 	}
41 | }
42 | 
43 | T2D_API(void) UnpackUnityCrunch(const void* data, uint32_t dataSize, void** ppResult, uint32_t* pResultSize)
44 | {
45 | 	void* result;
46 | 	uint32_t resultSize;
47 | 
48 | 	if (ppResult != nullptr)
49 | 	{
50 | 		*ppResult = nullptr;
51 | 	}
52 | 
53 | 	if (pResultSize != nullptr)
54 | 	{
55 | 		*pResultSize = 0;
56 | 	}
57 | 
58 | 	if (!unity_crunch_unpack_level(static_cast(data), dataSize, 0, &result, &resultSize)) {
59 | 		return;
60 | 	}
61 | 
62 | 	if (ppResult != nullptr)
63 | 	{
64 | 		*ppResult = result;
65 | 	}
66 | 
67 | 	if (pResultSize != nullptr)
68 | 	{
69 | 		*pResultSize = resultSize;
70 | 	}
71 | }
72 | 


--------------------------------------------------------------------------------
/crunch/dllexport.h:
--------------------------------------------------------------------------------
 1 | #pragma once
 2 | 
 3 | #include 
 4 | #include 
 5 | 
 6 | #if defined(_MSC_VER)
 7 | #if _MSC_VER < 1910 // MSVC 2017-
 8 | #error MSVC 2017 or later is required.
 9 | #endif
10 | #endif
11 | 
12 | #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW__)
13 | #ifdef _T2D_DLL
14 | #ifdef __GNUC__
15 | #define _T2D_EXPORT __attribute__ ((dllexport))
16 | #else
17 | #define _T2D_EXPORT __declspec(dllexport)
18 | #endif
19 | #else
20 | #ifdef __GNUC__
21 | #define _T2D_EXPORT __attribute__ ((dllimport))
22 | #else
23 | #define _T2D_EXPORT __declspec(dllimport)
24 | #endif
25 | #endif
26 | #define _T2D_LOCAL
27 | #else
28 | #if __GNUC__ >= 4
29 | #define _T2D_EXPORT __attribute__ ((visibility ("default")))
30 | #define _T2D_LOCAL  __attribute__ ((visibility ("hidden")))
31 | #else
32 | #define _T2D_EXPORT
33 | #define _T2D_LOCAL
34 | #endif
35 | #endif
36 | 
37 | #ifdef __cplusplus
38 | #ifndef _EXTERN_C_STMT
39 | #define _EXTERN_C_STMT extern "C"
40 | #endif
41 | #else
42 | #ifndef _EXTERN_C_STMT
43 | #define _EXTERN_C_STMT
44 | #endif
45 | #endif
46 | 
47 | #ifndef _T2D_CALL
48 | #if defined(WIN32) || defined(_WIN32)
49 | #define _T2D_CALL __stdcall
50 | #else
51 | #define _T2D_CALL /* __cdecl */
52 | #endif
53 | #endif
54 | 
55 | #if defined(_MSC_VER)
56 | #define T2D_API(ret_type) _EXTERN_C_STMT _T2D_EXPORT ret_type _T2D_CALL
57 | #else
58 | #define T2D_API(ret_type) _EXTERN_C_STMT _T2D_EXPORT _T2D_CALL ret_type
59 | #endif
60 | 


--------------------------------------------------------------------------------
/js/unityfs/stream.js:
--------------------------------------------------------------------------------
 1 | export class BasicStream {
 2 |   constructor(data, length) {
 3 |     this.data = data ?? new Uint8Array(length);
 4 |     this.offset = 0;  // stream offset
 5 |     // this.bufferOffset = 0;  // buffer offset
 6 |     // this.bufferSize = (1 << 20);
 7 |     // this.buffer = new Uint8Array(this.bufferSize);
 8 |   }
 9 | 
10 |   seek(pos) {
11 |     this.offset = pos;
12 |   }
13 | 
14 |   read(nbytes) {
15 |     return this.data.slice(this.offset, this.offset += nbytes);
16 |   }
17 | 
18 |   readByte() {
19 |     return this.read(1)[0];
20 |   }
21 | 
22 |   write(data) {
23 |     this.data.set(data, this.offset += data.length);
24 | 
25 |     // if (data.length < (this.bufferSize - this.bufferOffset)) {
26 |     //   this.buffer.set(data, this.bufferOffset);
27 |     //   this.bufferOffset += data.length;
28 |     //   return;
29 |     // }
30 |     // this.flush();
31 |     // let segmentCount = Math.ceil(data.length / this.bufferSize);
32 |     // for (let i = 0; i < segmentCount; i++) {
33 |     //   this.buffer.set(data.slice(i * this.bufferSize, (i + 1) * this.bufferSize), 0);
34 |     //   this.flush();
35 |     // }
36 |   }
37 | 
38 |   writeByte(b) {
39 |     this.write([b]);
40 |   }
41 | 
42 |   // flush() {
43 |   //   let bufferFilledSize = this.bufferOffset;
44 |   //   let newArray = new Uint8Array(this.data.length + bufferFilledSize);
45 |   //   newArray.set(this.data, 0);
46 |   //   newArray.set(this.buffer.slice(0, bufferFilledSize), this.data.length);
47 |   //   this.data = newArray;
48 |   // }
49 | }


--------------------------------------------------------------------------------
/js/unreal/unrealTree.js:
--------------------------------------------------------------------------------
 1 | import {AssetTree} from "../treeview";
 2 | import {GodotFile} from "../godot/godotFile";
 3 | import {fileTypes} from "../fileHandler";
 4 | import {PACKAGE_FILE_MAGIC, PackageFile} from "./package";
 5 | import {BinaryReader} from "../binaryReader";
 6 | import {PAK_MAGIC} from "./pakfile";
 7 | import {PckFile} from "../godot/pckFile";
 8 | 
 9 | export class UnrealTree extends AssetTree {
10 |   async loadFile(data) {
11 |     this.treeFiles = [];
12 | 
13 |     this.objectBranches = {};
14 | 
15 |     this.isExporting = false;
16 | 
17 |     let reader = new BinaryReader(data, 'little');
18 |     const magic = reader.readUInt32();
19 |     reader.seek(0);
20 |     if (magic === PACKAGE_FILE_MAGIC) {
21 |       this.parser = new PackageFile(reader);
22 |     } else {
23 |       this.parser = new PckFile(reader);
24 |     }
25 |     console.log(this.parser)
26 | 
27 |     this.activeFilter = [];
28 | 
29 |     this.initTree();
30 |     this.initListeners();
31 |     this.initFilter(
32 |       [],
33 |       {}
34 |     );
35 | 
36 |     // const fileType = this.parser.fileType;
37 |     //
38 |     // if (typeof this.parser.parser != 'undefined') {
39 |     //   this.parser = this.parser.parser;
40 |     // }
41 |     //
42 |     // switch (fileType) {
43 |     //   case fileTypes.GodotPck:
44 |     //     await this.loadPck();
45 |     //     break;
46 |     //   case fileTypes.GodotResource:
47 |     //     await this.parser.load();
48 |     //     await this.loadResource();
49 |     //     break;
50 |     // }
51 | 
52 |     this.postInit();
53 |   }
54 | }


--------------------------------------------------------------------------------
/encoders/src/pngenc.rs:
--------------------------------------------------------------------------------
 1 | use std::io::{Cursor, Read, Write};
 2 | use std::panic;
 3 | use png::Decoder;
 4 | use wasm_bindgen::prelude::*;
 5 | 
 6 | fn flip_v(width: usize, height: usize, data: &[u8]) -> Box<[u8]> {
 7 |     let mut out = Vec::new();
 8 |     for y in 0..height {
 9 |         for x in 0..width {
10 |             let ry = height - y - 1;
11 |             out.write_all(&[
12 |                 data[(ry * width + x) * 4],
13 |                 data[(ry * width + x) * 4 + 1],
14 |                 data[(ry * width + x) * 4 + 2],
15 |                 data[(ry * width + x) * 4 + 3]
16 |             ]).expect("flip_v");
17 |         }
18 |     }
19 |     out.into()
20 | }
21 | 
22 | #[wasm_bindgen]
23 | pub fn encode_png(width: u32, height: u32, data: &[u8], flip: bool) -> Box<[u8]> {
24 |     panic::set_hook(Box::new(console_error_panic_hook::hook));
25 |     if width == 0 || height == 0 {
26 |         return [].into();
27 |     }
28 |     let mut w = Vec::new();
29 |     let mut encoder  = png::Encoder::new(&mut w, width, height);
30 |     encoder.set_color(png::ColorType::Rgba);
31 |     encoder.set_depth(png::BitDepth::Eight);
32 |     encoder.set_compression(png::Compression::Fast);
33 |     let mut writer = encoder.write_header().unwrap();
34 |     let mut datavec = (if flip {flip_v(width as usize, height as usize, &data)} else {data.into()})[0..(width * height * 4) as usize].to_vec();
35 |     datavec.extend(std::iter::repeat(0).take(((width * height * 4) - datavec.len() as u32) as usize));
36 |     writer.write_image_data(&datavec).unwrap();
37 |     writer.finish().unwrap();
38 |     w.into()
39 | }
40 | 


--------------------------------------------------------------------------------
/js/godot/extensions/fontFileExtension.js:
--------------------------------------------------------------------------------
 1 | import {BaseExtension} from "./baseExtension";
 2 | 
 3 | export class FontFileExtension extends BaseExtension {
 4 |   static type = 'variant';
 5 |   static extension = '.ttf';  // most of the time, if not all
 6 | 
 7 |   constructor() {
 8 |     super();
 9 |   }
10 | 
11 |   createID() {
12 |     return 'font_xxxxxxxxxxxxxxxx'.replaceAll('x', () => Math.floor(Math.random() * 256).toString(16));
13 |   }
14 | 
15 |   loadFont(res) {
16 |     let font = new Blob([res.resource.properties.data], {type: 'application/octet-stream'});
17 |     let fontID = this.createID();
18 |     let fontURL = URL.createObjectURL(font);
19 |     let face = new FontFace(fontID, `url(${fontURL})`);
20 |     face.load().then(() => document.fonts.add(face));
21 |     return fontID
22 |   }
23 | 
24 |   createPreview(res) {
25 |     const sampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
26 |     const fontID = this.loadFont(res);
27 |     let text = document.createElement('h3');
28 |     text.innerText = sampleText;
29 |     text.style.fontFamily = fontID;
30 |     text.style.margin = '8px';
31 |     return text;
32 |   }
33 | 
34 |   exportFile(res) {
35 |     return res.resource.properties.data;
36 |   }
37 | }


--------------------------------------------------------------------------------
/js/godot/extensions/wavSampleExtension.js:
--------------------------------------------------------------------------------
 1 | import {AudioPreview} from "../../preview/audio";
 2 | import {BaseExtension} from "./baseExtension";
 3 | import {BinaryWriter} from "../../binaryWriter";
 4 | 
 5 | export class WavSampleExtension extends BaseExtension {
 6 |   static type = 'variant';
 7 |   static extension = '.wav';
 8 | 
 9 |   constructor() {
10 |     super();
11 |   }
12 | 
13 |   getWAV(resource) {
14 |     // TODO check .sample
15 |     const sampleRate = 44100;
16 |     const numChannels = resource.resource.properties.stereo ? 2 : 1;
17 |     const bitsPerSample = resource.resource.properties.format === 1 ? 16 : 32;
18 |     let writer = new BinaryWriter(resource.resource.properties.data.length, 'little', 8192);
19 |     writer.writeChars('RIFF');
20 |     writer.writeUInt32(0);
21 |     writer.writeChars('WAVE');
22 |     writer.writeChars('fmt ');
23 |     writer.writeUInt32(16);
24 |     writer.writeUInt16(resource.resource.properties.format);
25 |     writer.writeUInt16(numChannels);
26 |     writer.writeUInt32(sampleRate);
27 |     writer.writeUInt32(sampleRate * numChannels * bitsPerSample / 8);
28 |     writer.writeUInt16(numChannels * bitsPerSample / 8);
29 |     writer.writeUInt16(bitsPerSample);
30 |     writer.writeChars('data');
31 |     writer.writeUInt32(resource.resource.properties.data.length);
32 |     writer.write(resource.resource.properties.data);
33 |     writer.seek(4);
34 |     writer.writeUInt32(writer.size);
35 |     return writer.getData();
36 |   }
37 | 
38 |   async createPreview(resource) {
39 |     return new AudioPreview().create(this.getWAV(resource));
40 |   }
41 | 
42 |   exportFile(res) {
43 |     return this.getWAV(res);
44 |   }
45 | }


--------------------------------------------------------------------------------
/js/unityfs/classes/transform.js:
--------------------------------------------------------------------------------
 1 | import {Component} from "./component";
 2 | import {PPtr} from "./pptr";
 3 | import {GameObject} from "./gameObject";
 4 | 
 5 | export class Transform extends Component {
 6 |   static exposedAttributes = [
 7 |     'gameObject',
 8 |     'localPosition',
 9 |     'localRotation',
10 |     'localScale',
11 |     'children',
12 |     'father'
13 |   ]
14 | 
15 |   constructor(reader) {
16 |     super(reader);
17 |     this.localRotation = reader.readQuaternion();
18 |     this.localPosition = reader.readVector3();
19 |     this.localScale = reader.readVector3();
20 | 
21 |     let numChildren = reader.readInt32();
22 |     this.children = [];
23 |     for (let i = 0; i < numChildren; i++) {
24 |       this.children.push(new PPtr(reader));
25 |     }
26 |     this.father = new PPtr(reader);
27 |   }
28 | 
29 |   mapChildren() {
30 |     this.realChildren = [];
31 |     for (let child of this.children) {
32 |       child.resolve();
33 |       if (child.object) {
34 |         if (child.object instanceof Transform) {
35 |           child.object.mapChildren();
36 |           this.realChildren.push(child.object);
37 |         } else if (child.object instanceof GameObject) {
38 |           let c = [];
39 |           for (const ch of child.object.components) {
40 |             c.push(ch.object);
41 |           }
42 |           this.realChildren.push(c);
43 |         }
44 |       }
45 |     }
46 |   }
47 | 
48 |   getFather() {
49 |     this.father.resolve();
50 |     return this.father.object;
51 |   }
52 | 
53 |   async createPreview() {
54 |     this.mapChildren();
55 |     console.log(this);
56 |     console.log(this.getFather());
57 |     return document.createElement('div');
58 |   }
59 | }


--------------------------------------------------------------------------------
/js/assetparser/assetparser_bg.wasm.d.ts:
--------------------------------------------------------------------------------
 1 | /* tslint:disable */
 2 | /* eslint-disable */
 3 | export const memory: WebAssembly.Memory;
 4 | export function __wbg_typereader_free(a: number): void;
 5 | export function __wbg_get_typereader_version(a: number): number;
 6 | export function __wbg_set_typereader_version(a: number, b: number): void;
 7 | export function typereader_new(a: number, b: number, c: number): number;
 8 | export function typereader_typename(a: number, b: number): void;
 9 | export function __wbg_xnb_free(a: number): void;
10 | export function __wbg_get_xnb_version(a: number): number;
11 | export function __wbg_set_xnb_version(a: number, b: number): void;
12 | export function __wbg_get_xnb_is_hi_def(a: number): number;
13 | export function __wbg_set_xnb_is_hi_def(a: number, b: number): void;
14 | export function __wbg_get_xnb_is_compressed(a: number): number;
15 | export function __wbg_set_xnb_is_compressed(a: number, b: number): void;
16 | export function __wbg_get_xnb_size(a: number): number;
17 | export function __wbg_get_xnb_uncompressed_size(a: number): number;
18 | export function __wbg_set_xnb_uncompressed_size(a: number, b: number): void;
19 | export function xnb_platform(a: number, b: number): void;
20 | export function xnb_type_readers(a: number, b: number): void;
21 | export function __wbg_set_xnb_size(a: number, b: number): void;
22 | export function parse_xnb(a: number, b: number): number;
23 | export function __wbindgen_malloc(a: number, b: number): number;
24 | export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
25 | export function __wbindgen_add_to_stack_pointer(a: number): number;
26 | export function __wbindgen_free(a: number, b: number, c: number): void;
27 | 


--------------------------------------------------------------------------------
/css/tree.css:
--------------------------------------------------------------------------------
 1 | .icon-asset {
 2 |   background-image: url('/css/sheet.png') !important;
 3 |   background-size: 192px 192px;
 4 |   background-position: -120px 0 !important;
 5 | }
 6 | 
 7 | .icon-generic {
 8 |   background-image: url('/css/sheet.png') !important;
 9 |   background-size: 192px 192px;
10 |   background-position: 0 0 !important;
11 | }
12 | 
13 | .icon-bundle {
14 |   background-image: url('/css/sheet.png') !important;
15 |   background-size: 192px 192px;
16 |   background-position: -24px 0 !important;
17 | }
18 | 
19 | .icon-resource {
20 |   background-image: url('/css/sheet.png') !important;
21 |   background-size: 192px 192px;
22 |   background-position: -72px 0 !important;
23 | }
24 | 
25 | .icon-dir {
26 |   background-image: url('/css/sheet.png') !important;
27 |   background-size: 192px 192px;
28 |   background-position: -96px 0 !important;
29 | }
30 | 
31 | .icon-object {
32 |   background-image: url('/css/sheet.png') !important;
33 |   background-size: 192px 192px;
34 |   background-position: -48px 0 !important;
35 | }
36 | 
37 | .icon-wav {
38 |   background-image: url('/css/sheet.png') !important;
39 |   background-size: 192px 192px;
40 |   background-position: 0 -48px !important;
41 | }
42 | 
43 | .icon-ogg {
44 |   background-image: url('/css/sheet.png') !important;
45 |   background-size: 192px 192px;
46 |   background-position: -24px -48px !important;
47 | }
48 | 
49 | .icon-mp3 {
50 |   background-image: url('/css/sheet.png') !important;
51 |   background-size: 192px 192px;
52 |   background-position: 0 -72px !important;
53 | }
54 | 
55 | .icon-img {
56 |   background-image: url('/css/sheet.png') !important;
57 |   background-size: 192px 192px;
58 |   background-position: -48px -48px !important;
59 | }
60 | 
61 | 


--------------------------------------------------------------------------------
/js/godot/compressedData.js:
--------------------------------------------------------------------------------
 1 | import {ZSTDDecoder} from 'zstddec';
 2 | import {lz4_decompress} from "../encoders";
 3 | 
 4 | const CompressionMode = [
 5 |   'LZ',
 6 |   'Deflate',
 7 |   'Zstd',
 8 |   'GZip',
 9 |   'Brotli'
10 | ];
11 | 
12 | export class DataDecompressor {
13 |   constructor() {}
14 | 
15 |   async decompress(reader) {
16 |     // we should be at the part we need already
17 |     this.mode = CompressionMode[reader.readInt32()];
18 |     switch (this.mode) {
19 |       case 'Zstd':
20 |         this.decoder = new ZSTDDecoder();
21 |         await this.decoder.init();
22 |         break;
23 |     }
24 |     this.blockSize = reader.readInt32();
25 |     if (this.blockSize === 0) {
26 |       throw new Error('Block size cannot be 0');
27 |     }
28 | 
29 |     this.readTotal = reader.readUInt32();
30 | 
31 |     const bc = this.readTotal / this.blockSize;
32 |     this.data = new Uint8Array(Math.ceil(bc) * this.blockSize);
33 |     this.blockSizes = [];
34 |     for (let i = 0; i < bc; i++) {
35 |       this.blockSizes.push(reader.readUInt32());
36 |     }
37 |     let offset = 0;
38 |     for (const size of this.blockSizes) {
39 |       let comp = reader.read(size);
40 |       const buf = this.decompressBlock(comp);
41 |       this.data.set(buf, offset);
42 |       offset += buf.length;
43 |     }
44 | 
45 |     return this.data;
46 |   }
47 | 
48 |   decompressBlock(data) {
49 |     switch (this.mode) {
50 |       case 'LZ':
51 |         return lz4_decompress(data, this.blockSize);
52 |       case 'Deflate':
53 |         return pako.inflate(data);
54 |       case 'Zstd':
55 |         return this.decoder.decode(data, this.blockSize);
56 |       case 'GZip':
57 |         return pako.inflate(data);
58 |       case 'Brotli':
59 |         break;
60 |     }
61 |   }
62 | }


--------------------------------------------------------------------------------
/js/unityfs/classes/animator.js:
--------------------------------------------------------------------------------
 1 | import {Behaviour} from './behaviour';
 2 | import {PPtr} from "./pptr";
 3 | 
 4 | export class Animator extends Behaviour {
 5 |   static exposedAttributes = [
 6 |     'gameObject',
 7 |     'enabled',
 8 |     'avatar',
 9 |     'controller',
10 |     'cullingMode',
11 |     'updateMode',
12 |     'applyRootMotion',
13 |     'linearVelocityBlending',
14 |     'hasTransformHierarchy',
15 |     'allowConstantClipSamplingOptimization',
16 |   ];
17 | 
18 |   constructor(reader) {
19 |     super(reader);
20 |     this.avatar = new PPtr(reader);
21 |     this.controller = new PPtr(reader);
22 |     this.cullingMode = reader.readInt32();
23 | 
24 |     if (reader.versionGTE(4, 5)) {
25 |       this.updateMode = reader.readInt32();
26 |     }
27 | 
28 |     this.applyRootMotion = reader.readBool();
29 |     if (reader.version[0] === 4 && reader.version[1] >= 5) {
30 |       reader.align(4);
31 |     }
32 | 
33 |     if (reader.version[0] >= 5) {
34 |       this.linearVelocityBlending = reader.readBool();
35 |       if (reader.versionGTE(2021, 2)) {
36 |         this.stabilizeFeet = reader.readBool();
37 |       }
38 |       reader.align(4);
39 |     }
40 | 
41 |     if (reader.versionLT(4, 5)) {
42 |       this.animatePhysics = reader.readBool();
43 |     }
44 |     if (reader.versionGTE(4, 3)) {
45 |       this.hasTransformHierarchy = reader.readBool();
46 |     }
47 |     if (reader.versionGTE(4, 5)) {
48 |       this.allowConstantClipSamplingOptimization = reader.readBool();
49 |     }
50 |     if (reader.version[0] >= 5 && reader.version[0] < 2018) {
51 |       reader.align(4);
52 |     }
53 |     if (reader.version[0] >= 2018) {
54 |       this.keepAnimatorControllerStateOnDisable = reader.readBool();
55 |       reader.align(4);
56 |     }
57 |   }
58 | }


--------------------------------------------------------------------------------
/js/crunch/crunch.js:
--------------------------------------------------------------------------------
 1 | import loadCrunch from "./crunch_native";
 2 | 
 3 | let Crunch;
 4 | 
 5 | async function initCrunch() {
 6 |   if (Crunch == null) {
 7 |     Crunch = await loadCrunch();
 8 |   }
 9 | }
10 | 
11 | async function _mallocWithData(data) {
12 |   await initCrunch();
13 |   let dataPtr = Crunch._malloc(data.length * data.BYTES_PER_ELEMENT);
14 |   Crunch.HEAPU8.set(data, dataPtr);
15 |   return dataPtr;
16 | }
17 | 
18 | export const unpackCrunch = async data => {
19 |   await initCrunch();
20 |   let inOffset = await _mallocWithData(data);
21 |   let outOffset = Crunch._malloc(4);  // 1 pointer (we only support 1 face)
22 |   let outputSize = Crunch._malloc(4);
23 |   Crunch._UnpackCrunch(inOffset, data.length, outOffset, outputSize);
24 |   let outPtr = new DataView(Crunch.HEAPU8.slice(outOffset, outOffset + 4).buffer).getUint32(0, true);
25 |   let dataSize = new DataView(Crunch.HEAPU8.slice(outputSize, outputSize + 4).buffer).getUint32(0, true);
26 |   let outData = Crunch.HEAPU8.slice(outPtr, outPtr + dataSize);
27 |   Crunch._free(inOffset);
28 |   Crunch._free(outOffset);
29 |   Crunch._free(outputSize);
30 |   return outData;
31 | }
32 | export const unpackUnityCrunch = async data => {
33 |   await initCrunch();
34 |   let inOffset = await _mallocWithData(data);
35 |   let outOffset = Crunch._malloc(4);  // 1 pointer (we only support 1 face)
36 |   let outputSize = Crunch._malloc(4);
37 |   Crunch._UnpackUnityCrunch(inOffset, data.length, outOffset, outputSize);
38 |   let outPtr = new DataView(Crunch.HEAPU8.slice(outOffset, outOffset + 4).buffer).getUint32(0, true);
39 |   let dataSize = new DataView(Crunch.HEAPU8.slice(outputSize, outputSize + 4).buffer).getUint32(0, true);
40 |   let outData = Crunch.HEAPU8.slice(outPtr, outPtr + dataSize);
41 |   Crunch._free(inOffset);
42 |   Crunch._free(outOffset);
43 |   Crunch._free(outputSize);
44 |   return outData;
45 | }
46 | 


--------------------------------------------------------------------------------
/js/unityfs/basicTypes.js:
--------------------------------------------------------------------------------
 1 | export class Vector2 {
 2 |   constructor(x, y) {
 3 |     this.x = x;
 4 |     this.y = y;
 5 |   }
 6 | 
 7 |   toString() {
 8 |     return `Vector2(${this.x}, ${this.y})`;
 9 |   }
10 | }
11 | 
12 | export class Vector3 {
13 |   constructor(x, y, z) {
14 |     this.x = x;
15 |     this.y = y;
16 |     this.z = z;
17 |   }
18 | 
19 |   toString() {
20 |     return `Vector3(${this.x}, ${this.y}, ${this.z})`;
21 |   }
22 | }
23 | 
24 | export class Vector4 {
25 |   constructor(x, y, z, w) {
26 |     this.x = x;
27 |     this.y = y;
28 |     this.z = z;
29 |     this.w = w;
30 |   }
31 | 
32 |   toString() {
33 |     return `Vector4(${this.x}, ${this.y}, ${this.z}, ${this.w})`;
34 |   }
35 | }
36 | 
37 | export class Quaternion {
38 |   constructor(x, y, z, w) {
39 |     this.x = x;
40 |     this.y = y;
41 |     this.z = z;
42 |     this.w = w;
43 |   }
44 | 
45 |   getIndex(i) {
46 |     return this[['x', 'y', 'z', 'w'][i]];
47 |   }
48 | 
49 |   setIndex(i, value) {
50 |     this[['x', 'y', 'z', 'w'][i]] = value;
51 |   }
52 | 
53 |   toString() {
54 |     return `Quaternion(${this.x}, ${this.y}, ${this.z}, ${this.w})`;
55 |   }
56 | }
57 | 
58 | export class Color {
59 |   constructor(r, g, b, a) {
60 |     this.r = r;
61 |     this.g = g;
62 |     this.b = b;
63 |     this.a = a;
64 |   }
65 | 
66 |   toString() {
67 |     return `Color(${this.r}, ${this.g}, ${this.b}, ${this.a})`;
68 |   }
69 | }
70 | 
71 | export class Matrix4x4 {
72 |   constructor(values) {
73 |     this.values = values;
74 |   }
75 | 
76 |   get(x, y) {
77 |     return this.values[y + x * 4];
78 |   }
79 | 
80 |   toString() {
81 |     return `Matrix4x4<${this.values}>`;
82 |   }
83 | }
84 | 
85 | export class KVPair {
86 |   static exposedAttributes = [
87 |     'key',
88 |     'value'
89 |   ];
90 |   constructor(key, value) {
91 |     this.key = key;
92 |     this.value = value;
93 |   }
94 | }
95 | 


--------------------------------------------------------------------------------
/js/xna/types/media.js:
--------------------------------------------------------------------------------
 1 | import {BaseType} from "./baseType";
 2 | import {XNBObject} from "./object";
 3 | import {BinaryWriter} from "../../binaryWriter";
 4 | import {AudioPreview} from "../../preview/audio";
 5 | 
 6 | export class SoundEffect extends BaseType {
 7 |   exportExtension = '.wav';
 8 |   canExport = true;
 9 | 
10 |   constructor(reader) {
11 |     super(reader);
12 |     this.format = reader.read(reader.readUInt32());  // WAV fmt chunk
13 |     this.data = reader.read(reader.readUInt32());
14 |     this.loopStart = reader.readInt32();
15 |     this.loopLength = reader.readInt32();
16 |     this.loopDuration = reader.readInt32();
17 |   }
18 | 
19 |   getAudio() {
20 |     let out = new BinaryWriter(this.format.length + this.data.length + 28);
21 |     out.endian = 'little';
22 |     out.writeChars('RIFF');
23 |     out.writeUInt32(this.format.length + this.data.length + 24);
24 |     out.writeChars('WAVE');
25 |     out.writeChars('fmt ');
26 |     out.writeUInt32(this.format.length);
27 |     out.write(this.format);
28 |     out.writeChars('data');
29 |     out.writeUInt32(this.data.length);
30 |     out.write(this.data);
31 |     return out.getData();
32 |   }
33 | 
34 |   async getExport() {
35 |     return this.getAudio();
36 |   }
37 | 
38 |   async createPreview() {
39 |     return new AudioPreview().create(this.getAudio());
40 |   }
41 | }
42 | 
43 | export class Song extends BaseType {
44 |   constructor(reader, typeReaders) {
45 |     super(reader, typeReaders);
46 |     this.streamingFilename = reader.readVarString();
47 |     this.duration = new XNBObject(reader, typeReaders).value;
48 |   }
49 | }
50 | 
51 | export class Video extends BaseType {
52 |   constructor(reader, typeReaders) {
53 |     super(reader);
54 |     this.streamingFilename = new XNBObject(reader, typeReaders).value;
55 |     this.duration = new XNBObject(reader, typeReaders).value;
56 |     this.width = new XNBObject(reader, typeReaders).value;
57 |     this.height = new XNBObject(reader, typeReaders).value;
58 |     this.framesPerSecond = new XNBObject(reader, typeReaders).value;
59 |     this.soundTrackType = ['Music', 'Dialog', 'MusicAndDialog'][new XNBObject(reader, typeReaders).value];
60 |   }
61 | }
62 | 


--------------------------------------------------------------------------------
/js/unityfs/unityFile.js:
--------------------------------------------------------------------------------
 1 | import {BundleFile} from "./bundleFile";
 2 | import {BinaryReader} from "../binaryReader";
 3 | import {AssetFile} from "./assetFile";
 4 | import {WebFile} from "./webFile";
 5 | 
 6 | export const FileType = {
 7 |   Assets: 0,
 8 |   Bundle: 1,
 9 |   Web: 2,
10 |   Resource: 3,
11 |   GZip: 4,
12 |   Brotli: 5,
13 |   Zip: 6
14 | }
15 | 
16 | export class UnityFS {
17 |   constructor(data) {
18 |     this.reader = new BinaryReader(data);
19 |   }
20 | 
21 |   parseHeader() {
22 |     let magic = this.reader.readCString(16);
23 |     this.reader.seek(0);
24 |     switch (magic) {
25 |       case 'UnityWeb':
26 |       case 'UnityRaw':
27 |       case 'UnityArchive':
28 |       case 'UnityFS':
29 |         this.fileType = FileType.Bundle;
30 |         break;
31 |       case 'UnityWebData1.0':
32 |         this.fileType = FileType.Web;
33 |         break;
34 |       default:
35 |         if (this.isAsset()) {
36 |           this.fileType = FileType.Assets;
37 |         } else {
38 |           this.fileType = FileType.Resource;
39 |         }
40 |     }
41 |   }
42 | 
43 |   isAsset() {
44 |     this.reader.seek(0);
45 |     if (this.reader.data.length < 20) {
46 |       return false;
47 |     }
48 |     this.reader.readUInt32();
49 |     let fileSize = BigInt(this.reader.readUInt32());
50 |     const version = this.reader.readUInt32();
51 |     let dataOffset = BigInt(this.reader.readUInt32());
52 |     if (version >= 22) {
53 |       if (this.reader.data.length < 48) {
54 |         return false;
55 |       }
56 |       dataOffset = this.reader.readUInt64();
57 |       fileSize = this.reader.readUInt64();
58 |     }
59 |     this.reader.seek(0);
60 |     if (fileSize !== BigInt(this.reader.data.length)) {
61 |       return false;
62 |     }
63 |     return dataOffset <= BigInt(this.reader.data.length);
64 | 
65 |   }
66 | 
67 |   parse() {
68 |     this.parseHeader();
69 | 
70 |     switch (this.fileType) {
71 |       case FileType.Bundle:
72 |         this.parser = new BundleFile(this.reader);
73 |         break;
74 |       case FileType.Assets:
75 |         this.parser = new AssetFile(this.reader, 0);
76 |         break;
77 |       case FileType.Web:
78 |         this.parser = new WebFile(this.reader);
79 |         break;
80 |       default:
81 |         return;
82 |     }
83 |     this.parser.parse();
84 |   }
85 | }


--------------------------------------------------------------------------------
/js/unityfs/classes/monoScript.js:
--------------------------------------------------------------------------------
 1 | import {NamedObject} from "./namedObject";
 2 | import hljs from 'highlight.js';
 3 | import csharp from 'highlight.js/lib/languages/csharp';
 4 | import 'highlight.js/styles/idea.css';
 5 | import {CSharpDecompiler} from "../../cs-decomp/decompiler";
 6 | import {requestExternalData} from "../utils";
 7 | 
 8 | hljs.registerLanguage('csharp', csharp);
 9 | 
10 | export class MonoScript extends NamedObject {
11 |   static exposedAttributes = [
12 |     'name',
13 |     'executionOrder',
14 |     'propertiesHash',
15 |     'className',
16 |     'namespace',
17 |     'assemblyName'
18 |   ];
19 | 
20 |   constructor(reader) {
21 |     super(reader);
22 |     if (reader.versionGTE(3, 4)) {
23 |       this.executionOrder = reader.readInt32();
24 |     }
25 |     if (reader.version[0] < 5) {
26 |       this.propertiesHash = reader.readUInt32();
27 |     } else {
28 |       this.propertiesHash = [...reader.read(16)].map(i => i.toString(16).padStart(2, '0')).join('');
29 |     }
30 |     if (reader.version[0] < 3) {
31 |       this.pathName = reader.readAlignedString();
32 |     }
33 |     this.className = reader.readAlignedString();
34 |     if (reader.version[0] >= 3) {
35 |       this.namespace = reader.readAlignedString();
36 |     }
37 |     this.assemblyName = reader.readAlignedString();
38 |     if (reader.versionLT(2018, 2)) {
39 |       this.isEditorScript = reader.readBool();
40 |     }
41 |     this.assemblyData = null;
42 |   }
43 | 
44 |   getFullPath() {
45 |     if (this.pathName) return this.pathName;
46 |     let path = '';
47 |     if (this.namespace !== '') {
48 |       path += this.namespace + '.';
49 |     }
50 |     if (this.className !== '') {
51 |       path += this.className;
52 |     }
53 |     return path;
54 |   }
55 | 
56 |   async createPreview() {
57 |     const elem = document.createElement('pre');
58 |     elem.style.overflow = 'auto';
59 |     elem.style.width = '100%';
60 |     elem.style.height = '100%';
61 |     elem.classList.add('monoscript-viewer');
62 |     if (this.assemblyData == null) {
63 |       this.assemblyData = await requestExternalData({offset: 0, size: -1, path: this.assemblyName});
64 |     }
65 |     const dec = new CSharpDecompiler();
66 |     elem.textContent = await dec.decompile(this.assemblyData, this.assemblyName, this.getFullPath());
67 |     elem.classList.add('language-csharp');
68 |     hljs.highlightElement(elem);
69 |     return elem;
70 |   }
71 | }


--------------------------------------------------------------------------------
/js/godot/pckFile.js:
--------------------------------------------------------------------------------
 1 | import sortPaths from 'sort-paths'
 2 | import {BinaryReader} from "../binaryReader";
 3 | import aes from 'aes-js';
 4 | 
 5 | class PckEntry {
 6 |   constructor(reader, fmtVersion, fileOffset, origOffset) {
 7 |     this.path = reader.readString();
 8 |     this.offset = fileOffset + Number(reader.readUInt64()) - origOffset;
 9 |     this.size = Number(reader.readUInt64());
10 |     this.hash = reader.readGUID();
11 | 
12 |     this.flags = 0;
13 |     if (fmtVersion >= 2) {
14 |       this.flags = reader.readUInt32();
15 |     }
16 |   }
17 | }
18 | 
19 | export class PckFile {
20 |   constructor(reader, origOffset = 0) {
21 |     if (reader.readChars(4) !== 'GDPC') {
22 |       throw new Error('Not a Godot package!');
23 |     }
24 |     this.formatVersion = reader.readUInt32();
25 |     this.major = reader.readUInt32();
26 |     this.minor = reader.readUInt32();
27 |     this.patch = reader.readUInt32();
28 | 
29 |     this.fileFlags = 0;
30 |     this.fileOffset = 0;
31 |     if (this.formatVersion >= 2) {
32 |       this.fileFlags = reader.readUInt32();
33 |       this.fileOffset = Number(reader.readUInt64());
34 |     }
35 | 
36 |     reader.read(64);  // reserved
37 | 
38 |     this.numFiles = reader.readUInt32();
39 | 
40 |     if (this.fileFlags & 1) {
41 |       throw new Error('Cannot load PCK with encrypted dir');
42 |       // const md5 = reader.readGUID();
43 |       // const length = reader.readUInt64();
44 |       // const iv = reader.read(16);
45 |       // let encData = reader.read(Number(length));
46 |       // const key = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
47 |       // console.log('keylen:', key.length)
48 |       // const aesCfb = new aes.ModeOfOperation.cfb(key, iv);
49 |       // console.log(aesCfb.decrypt(encData));
50 |     }
51 | 
52 |     this.files = [];
53 |     for (let i = 0; i < this.numFiles; i++) {
54 |       this.files.push(new PckEntry(reader, this.formatVersion, this.fileOffset, origOffset));
55 |     }
56 |     this.reader = reader;
57 | 
58 |     this.pathOrder = sortPaths(this.files.map(f => f.path), '/');
59 |   }
60 | 
61 |   getFile(path) {
62 |     if (!path.startsWith('res://')) {
63 |       path = 'res://' + path;
64 |     }
65 |     return this.files.filter(f => f.path === path)[0];
66 |   }
67 | 
68 |   getData(file) {
69 |     this.reader.seek(file.offset);
70 |     return this.reader.read(file.size);
71 |   }
72 | }
73 | 


--------------------------------------------------------------------------------
/encoders/README.md:
--------------------------------------------------------------------------------
 1 | 
2 | 3 |

wasm-pack-template

4 | 5 | A template for kick starting a Rust and WebAssembly project using wasm-pack. 6 | 7 |

8 | Build Status 9 |

10 | 11 |

12 | Tutorial 13 | | 14 | Chat 15 |

16 | 17 | Built with 🦀🕸 by The Rust and WebAssembly Working Group 18 |
19 | 20 | ## About 21 | 22 | [**📚 Read this template tutorial! 📚**][template-docs] 23 | 24 | This template is designed for compiling Rust libraries into WebAssembly and 25 | publishing the resulting package to NPM. 26 | 27 | Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other 28 | templates and usages of `wasm-pack`. 29 | 30 | [tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html 31 | [template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html 32 | 33 | ## 🚴 Usage 34 | 35 | ### 🐑 Use `cargo generate` to Clone this Template 36 | 37 | [Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate) 38 | 39 | ``` 40 | cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project 41 | cd my-project 42 | ``` 43 | 44 | ### 🛠️ Build with `wasm-pack build` 45 | 46 | ``` 47 | wasm-pack build 48 | ``` 49 | 50 | ### 🔬 Test in Headless Browsers with `wasm-pack test` 51 | 52 | ``` 53 | wasm-pack test --headless --firefox 54 | ``` 55 | 56 | ### 🎁 Publish to NPM with `wasm-pack publish` 57 | 58 | ``` 59 | wasm-pack publish 60 | ``` 61 | 62 | ## 🔋 Batteries Included 63 | 64 | * [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating 65 | between WebAssembly and JavaScript. 66 | * [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook) 67 | for logging panic messages to the developer console. 68 | * [`wee_alloc`](https://github.com/rustwasm/wee_alloc), an allocator optimized 69 | for small code size. 70 | -------------------------------------------------------------------------------- /assetparser/README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 |

wasm-pack-template

4 | 5 | A template for kick starting a Rust and WebAssembly project using wasm-pack. 6 | 7 |

8 | Build Status 9 |

10 | 11 |

12 | Tutorial 13 | | 14 | Chat 15 |

16 | 17 | Built with 🦀🕸 by The Rust and WebAssembly Working Group 18 |
19 | 20 | ## About 21 | 22 | [**📚 Read this template tutorial! 📚**][template-docs] 23 | 24 | This template is designed for compiling Rust libraries into WebAssembly and 25 | publishing the resulting package to NPM. 26 | 27 | Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other 28 | templates and usages of `wasm-pack`. 29 | 30 | [tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html 31 | [template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html 32 | 33 | ## 🚴 Usage 34 | 35 | ### 🐑 Use `cargo generate` to Clone this Template 36 | 37 | [Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate) 38 | 39 | ``` 40 | cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project 41 | cd my-project 42 | ``` 43 | 44 | ### 🛠️ Build with `wasm-pack build` 45 | 46 | ``` 47 | wasm-pack build 48 | ``` 49 | 50 | ### 🔬 Test in Headless Browsers with `wasm-pack test` 51 | 52 | ``` 53 | wasm-pack test --headless --firefox 54 | ``` 55 | 56 | ### 🎁 Publish to NPM with `wasm-pack publish` 57 | 58 | ``` 59 | wasm-pack publish 60 | ``` 61 | 62 | ## 🔋 Batteries Included 63 | 64 | * [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating 65 | between WebAssembly and JavaScript. 66 | * [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook) 67 | for logging panic messages to the developer console. 68 | * [`wee_alloc`](https://github.com/rustwasm/wee_alloc), an allocator optimized 69 | for small code size. 70 | -------------------------------------------------------------------------------- /js/assetparser/README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 |

wasm-pack-template

4 | 5 | A template for kick starting a Rust and WebAssembly project using wasm-pack. 6 | 7 |

8 | Build Status 9 |

10 | 11 |

12 | Tutorial 13 | | 14 | Chat 15 |

16 | 17 | Built with 🦀🕸 by The Rust and WebAssembly Working Group 18 |
19 | 20 | ## About 21 | 22 | [**📚 Read this template tutorial! 📚**][template-docs] 23 | 24 | This template is designed for compiling Rust libraries into WebAssembly and 25 | publishing the resulting package to NPM. 26 | 27 | Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other 28 | templates and usages of `wasm-pack`. 29 | 30 | [tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html 31 | [template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html 32 | 33 | ## 🚴 Usage 34 | 35 | ### 🐑 Use `cargo generate` to Clone this Template 36 | 37 | [Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate) 38 | 39 | ``` 40 | cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project 41 | cd my-project 42 | ``` 43 | 44 | ### 🛠️ Build with `wasm-pack build` 45 | 46 | ``` 47 | wasm-pack build 48 | ``` 49 | 50 | ### 🔬 Test in Headless Browsers with `wasm-pack test` 51 | 52 | ``` 53 | wasm-pack test --headless --firefox 54 | ``` 55 | 56 | ### 🎁 Publish to NPM with `wasm-pack publish` 57 | 58 | ``` 59 | wasm-pack publish 60 | ``` 61 | 62 | ## 🔋 Batteries Included 63 | 64 | * [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating 65 | between WebAssembly and JavaScript. 66 | * [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook) 67 | for logging panic messages to the developer console. 68 | * [`wee_alloc`](https://github.com/rustwasm/wee_alloc), an allocator optimized 69 | for small code size. 70 | --------------------------------------------------------------------------------