893 Commits

Author SHA1 Message Date
ds5678
0125475c0a Be more strict about alignment 2025-03-01 18:31:47 -08:00
ds5678
f9ba652b09 Align if necessary when reading bundle metadata
* Resolves #1470
2025-03-01 18:16:12 -08:00
ds5678
866164e64e Fix minor bug involving the explicit property repair 2025-03-01 17:53:34 -08:00
ds5678
b209d6b738 Fix Mono explicit explicit property implementations
* Resolves #1682
2025-03-01 16:42:04 -08:00
ds5678
3af1c71c63 Export default style projects when decompiling scripts
* Resolves #1637
2025-02-28 01:23:17 -08:00
ds5678
6c1a34e07a Update web api NuGet package versions in project file
Updated `Microsoft.AspNetCore.OpenApi` to 9.0.2,
`Microsoft.OpenApi` to 1.6.23, and
`Swashbuckle.AspNetCore` to 7.3.1 in `AssetRipper.GUI.Web.csproj`.
These updates may include bug fixes, new features, or improvements.
2025-02-28 00:53:44 -08:00
ds5678
89ab324f70 Export integer arrays as hexidecimal values
* This prevents a crash on some Unity versions
* Resolves #695
2025-02-28 00:32:26 -08:00
ds5678
32aaebbd2f Fix lighting data crash
* Resolves #1454
* Resolves #811
* Related: #1628
* Related: #1012
* Related: #592
* Related: #1496
2025-02-27 23:56:01 -08:00
ds5678
4eca031050 Prevent null reference exception in GlbNavMeshExporter before Unity 5 2025-02-27 23:47:51 -08:00
ds5678
f305c9d152 Whitelist UnityEngine.UI.dll and UnityEngine.UI 2025-02-27 23:46:38 -08:00
dependabot[bot]
e2425d73ad Bump ZstdSharp.Port from 0.8.4 to 0.8.5
Bumps [ZstdSharp.Port](https://github.com/oleg-st/ZstdSharp) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/oleg-st/ZstdSharp/releases)
- [Commits](https://github.com/oleg-st/ZstdSharp/compare/0.8.4...0.8.5)

---
updated-dependencies:
- dependency-name: ZstdSharp.Port
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 04:46:09 -05:00
ds5678
de5ce5b031 Remove legacy prefab outlining 2025-02-26 14:56:10 -08:00
ds5678
2fe9ac59ec Improve performance of type tree deserialization 2025-02-26 14:51:20 -08:00
ds5678
d6d1852d0f Update AssetRipper.IO.Endian package version
Updated the `AssetRipper.IO.Endian` package from version
`2.0.1` to `2.0.2` in both the
`AssetRipper.IO.Files.SourceGenerator.csproj` and
`AssetRipper.IO.Files.csproj` files.
2025-02-26 11:33:43 -08:00
ds5678
3fe9f4724d Update package references
- Removed `AssetRipper.Text.SourceGeneration` reference from `AssetRipper.GUI.Localizations.csproj`.
- Updated `AssetRipper.IO.Endian` package version from `2.0.0` to `2.0.1` in both `AssetRipper.IO.Files.SourceGenerator.csproj` and `AssetRipper.IO.Files.csproj`.
2025-02-26 09:58:55 -08:00
ds5678
93b0dfdb52 Handle empty channels in ConvertChannelsToStreams
Added a check in the ConvertChannelsToStreams method to return an empty array if the `channels` list is empty. This prevents potential errors when processing an empty list of channels.
2025-02-24 20:52:41 -08:00
dependabot[bot]
0dea8b849d Bump Microsoft.CodeAnalysis.Analyzers and Microsoft.CodeAnalysis.CSharp
Bumps [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn-analyzers) and [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn). These dependencies needed to be updated together.

Updates `Microsoft.CodeAnalysis.Analyzers` from 3.11.0 to 3.11.0
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

Updates `Microsoft.CodeAnalysis.CSharp` from 4.12.0 to 4.13.0
- [Release notes](https://github.com/dotnet/roslyn/releases)
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md)
- [Commits](https://github.com/dotnet/roslyn/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.CodeAnalysis.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 20:55:03 -05:00
ds5678
8ed547204c Add TpkTests 2025-02-24 17:05:40 -08:00
dependabot[bot]
a73aeb39e1 Bump Microsoft.NET.Test.Sdk from 17.12.0 to 17.13.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.12.0 to 17.13.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.12.0...v17.13.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 19:16:18 -05:00
ds5678
2e532b9b05 Bump Tpk NuGet version 2025-02-24 16:15:57 -08:00
ds5678
b489c3d805 Improve recovery of Il2Cpp explicit interface overrides
* Resolves #1682
2025-02-24 16:12:22 -08:00
ds5678
c171e7e946 Updates to help support an enhanced prefab outlining 2025-02-22 15:50:17 -08:00
ds5678
02001248e5 Improve lighting data export 2025-02-22 15:18:02 -08:00
ds5678
a59cf55442 Treat UnityEngine.UI.dll as a nonreference assembly
* Also use generated regexes
2025-02-22 10:51:01 -08:00
ds5678
94c02f9710 Remove redundant implementation in ScriptHashing 2025-02-22 10:39:45 -08:00
ds5678
5e7f98ed06 Some helpers for Prefab Outlining 2025-02-18 01:22:46 -08:00
ds5678
1a1767adca Refactor field access in Serializable classes
Updated `SerializableStructure` and `SerializableType` to use the `Fields` property instead of the `GetField` method for accessing field data. This change improves code readability and maintainability. Adjusted logic for determining engine pointers by consolidating checks into a single return statement. Added a debug assertion to verify that `etalon` has an `ArrayDepth` of zero in specific contexts. Overall, these modifications enhance code structure while preserving functionality.
2025-02-17 19:22:16 -08:00
dependabot[bot]
1fdf7c65aa Bump AssetRipper.Primitives from 3.1.4 to 3.1.5
Bumps [AssetRipper.Primitives](https://github.com/AssetRipper/AssetRipper.Primitives) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/AssetRipper/AssetRipper.Primitives/releases)
- [Commits](https://github.com/AssetRipper/AssetRipper.Primitives/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: AssetRipper.Primitives
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-15 02:26:33 -05:00
dependabot[bot]
22977bfda8 Bump System.Text.Json from 9.0.1 to 9.0.2
Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-15 02:25:49 -05:00
ds5678
89c4547979 Add support for Half data type in SerializableValue
This commit introduces the `Half` data type to the `SerializableValue` class in the `AssetRipper.Import.Structure.Assembly.Serializable` namespace. It adds properties for single values, arrays, and multi-dimensional arrays of `Half`. The changes also implement reading and writing functionality for `Half` values, and update the handling of `PrimitiveType` to include `Half`, ensuring proper management and serialization alongside existing types like `float`, `double`, and `ulong`.
2025-02-11 18:40:52 -08:00
ds5678
26804af466 Update AssetRipper.IO.Endian package version
Updated the `AssetRipper.IO.Endian` package from version
`1.1.0` to `2.0.0` in both the
`AssetRipper.IO.Files.SourceGenerator.csproj` and
`AssetRipper.IO.Files.csproj` files.
2025-02-11 18:34:26 -08:00
ds5678
ea831ba383 Use new AssetRipper.SourceGenerated package version 2025-02-10 12:32:10 -08:00
ds5678
e0cf8a09a9 Implement IDeepCloneable interface and refactor methods
Introduced IDeepCloneable interface in AssetRipper.Assets namespace.
Implemented DeepClone method in SerializableStructure and UnloadedStructure.
Updated nested StatelessAsset class to implement IDeepCloneable.
Refactored UnloadedStructure methods using LoadStructureOrStatelessAsset.
Revised FetchDependencies to use an empty array instead of Enumerable.Empty.
Added methods to UnloadedStructure for better equality comparison and asset handling.
2025-02-10 10:54:36 -08:00
ds5678
d94213c1d3 Bump project version to 1.1.12
Updated the <Version> element in the Directory.Build.props file from 1.1.11 to 1.1.12, indicating a new release or update to the project.
2025-02-09 20:44:23 -08:00
ds5678
ce6f805e5d Update namespace imports and improve list initialization
Updated namespace imports from AssetRipper.Processing to AssetRipper.Processing.Prefabs in multiple files. Changed list initialization syntax in GameObjectHierarchyObject.cs and SceneHierarchyObject.cs. Removed generic type specification from Where method call in PrefabProcessor.cs.
2025-02-09 13:35:07 -08:00
ds5678
86118b6adf Update packages and refactor HtmlExtensions methods
Updated NUnit3TestAdapter to 5.0.0 in multiple test projects.
Updated AssetRipper.Text.SourceGeneration to 1.2.2 in several projects.
Updated AssetRipper.Text.Html to 2.1.0 in AssetRipper.GUI.Web.csproj.
Updated Moq to 4.20.72 in AssetRipper.Tests.csproj.
Removed MaybeWithChecked, MaybeWithDisabled, MaybeSelected methods from HtmlExtensions.cs.
Replaced MaybeSelected with MaybeWithSelected in SettingsPage.cs.
2025-02-09 13:31:48 -08:00
ds5678
7ba1ea7417 Improve UI for injected asset types:
* PrefabHierarchyObject
* DeletedAssetsInformation
* SceneHierarchyObject
* ScriptableObjectGroup
2025-02-08 15:25:12 -08:00
ds5678
32ed90daf3 Remove zero width characters 2025-02-07 23:26:43 -08:00
ds5678
481a067bb2 ScriptableObject grouping for PostProcessProfile 2025-02-05 17:18:58 -08:00
ds5678
54664db447 Add missing export overrides 2025-02-05 13:51:42 -08:00
ds5678
1afa46fc78 Use proper file extension for guiskin and brush assets 2025-02-05 02:12:55 -08:00
ds5678
7c455931c1 Recover playable assets for UnityEngine.Timeline 2025-02-05 02:11:40 -08:00
John Soellner
ef4bc50cac
Added Disable Checkbox for the Settings Page (#1664)
* Added Disable Checkbox

* generated SettingsPage.g.cs
2025-02-01 22:55:27 -05:00
dependabot[bot]
aa9bcecbe5 Bump AsmResolver.DotNet and AssetRipper.CIL
Bumps [AsmResolver.DotNet](https://github.com/Washi1337/AsmResolver) and [AssetRipper.CIL](https://github.com/AssetRipper/AssetRipper.CIL). These dependencies needed to be updated together.

Updates `AsmResolver.DotNet` from 6.0.0-beta.2 to 6.0.0-beta.1
- [Release notes](https://github.com/Washi1337/AsmResolver/releases)
- [Commits](https://github.com/Washi1337/AsmResolver/compare/v6.0.0-beta.2...v6.0.0-beta.1)

Updates `AssetRipper.CIL` from 1.1.4 to 1.1.5
- [Release notes](https://github.com/AssetRipper/AssetRipper.CIL/releases)
- [Commits](https://github.com/AssetRipper/AssetRipper.CIL/compare/1.1.4...1.1.5)

---
updated-dependencies:
- dependency-name: AsmResolver.DotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: AssetRipper.CIL
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 12:07:40 -05:00
JohnSoellnerDev
1376517f55 Enhance logging with progress indicators for:
- PrimaryContentExporter
- ProjectExporter
2025-01-30 12:07:20 -05:00
ds5678
dc492db4e0 Fix decoding cubemaps with crunch compression
* Resolves #1654
2025-01-20 19:09:45 -08:00
dependabot[bot]
5abd9927d8 Bump coverlet.collector from 6.0.3 to 6.0.4
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.3...v6.0.4)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 14:33:15 -05:00
ds5678
414486638a Update ICSharpCode.Decompiler package version
Updated ICSharpCode.Decompiler from 9.0.0.7833-preview3 to 9.0.0.7889 in AssetRipper.Export.PrimaryContent.csproj and AssetRipper.Export.UnityProjects.csproj.
2025-01-19 11:06:14 -08:00
ds5678
35378c3cd4 Bump version to 1.1.11 2025-01-17 16:44:59 -08:00
ds5678
9849f29889 Add documentation for Asset Path Overrides
* Includes documentation for other premium features
* Fixes a name conflict caused by PrefabProcessor
* Resolves #1433
2025-01-16 21:34:03 -08:00