978 Commits

Author SHA1 Message Date
ds5678
4bf981f2bf Improve packed float vector unpacking
* Resolves #1768
2025-05-28 21:30:16 -07:00
ds5678
3e0c3f3caf Suppress warnings about unused fields in the test project 2025-05-26 12:20:09 -07:00
ds5678
d544e23b5d [skip ci] update documentation 2025-05-26 12:13:06 -07:00
ds5678
c1a67f1551 Bump version to 1.2.3 2025-05-22 00:50:17 -07:00
ds5678
23c5c41b3c Enable version changing to change the output project version
* Resolves #1786
2025-05-21 23:05:35 -07:00
ds5678
f85b6de5a5 Replace SmartEnums with new extensions feature 2025-05-18 12:01:53 -07:00
ds5678
a050bba175 Update NuGet packages for AssetRipper components
Updated several NuGet packages across multiple project files:
- `Microsoft.CodeAnalysis.Analyzers` and `Microsoft.CodeAnalysis.CSharp` upgraded to version 4.14.0.
- `System.Text.Json` updated from version 9.0.4 to 9.0.5 in the localization project.
- `Microsoft.AspNetCore.OpenApi` updated from version 9.0.4 to 9.0.5 in the web project.

These updates may include bug fixes, performance improvements, and new features.
2025-05-18 11:44:49 -07:00
ds5678
da4f4386bc Fix ILSpy stack overflow exception 2025-05-18 11:13:46 -07:00
ds5678
7bfddaef9c Fix regression in f9ba7978fe24a7196890af9cb7792ec8c30ab27d 2025-05-09 23:43:33 -07:00
ds5678
9c079d0a95 Handle generic PPtr fields in MonoBehaviour deserialization
* Resolves #1226
2025-05-09 23:29:14 -07:00
ds5678
09ed03b735 Detect SerializeReference in type tree MonoBehaviours 2025-05-09 23:24:28 -07:00
ds5678
581516099d Support exporting Unity extensions with correct guids
* Resolves #1741
2025-05-07 16:16:26 -07:00
ds5678
980484e374 Support new versions of Unity and update NuGet references 2025-05-07 14:34:42 -07:00
ds5678
f9ba7978fe Handle invalid StreamingInfo
* Resolves #1769
2025-05-07 14:11:34 -07:00
ds5678
0a7bb5095a Bump version to 1.2.2 2025-05-01 09:20:41 -07:00
ds5678
2c7e91f535 Handle cyclic references in MonoBehaviour deserialization
* Resolves #1755
2025-04-30 22:12:14 -07:00
ds5678
4c6c28e88b Refactoring
* Use preview language version
* Apply various code fixers
* Remove TypeTreeHelper
* Remove unused properties from IExportContainer
2025-04-29 11:31:02 -07:00
ds5678
e57025f36f Fix GLB mesh export on Unity 3
* Resolves #1759
2025-04-29 00:12:24 -07:00
ds5678
0bb779f98e Abstract File System Access During Script Decompilation
* Resolves #1580
2025-04-28 23:10:48 -07:00
ds5678
8caf4e256e Fix injected MonoScript assets being exported
* Resolves #1733
2025-04-28 22:54:51 -07:00
ds5678
a47e7ea326 Set asset bundle name field in scene meta files
* Resolves #1709
2025-04-28 22:26:47 -07:00
ds5678
5ffc04cfa5 Update AssetRipper.Primitives to 3.2.0 2025-04-28 21:05:36 -07:00
ds5678
395b515694 Port dummy shaders to HLSLPROGRAM
* Resolves #1735
2025-04-28 20:59:22 -07:00
FACS01-01
972e4b1aee
Small Fixes in AnimatorStateMachineContext for Unity 4- (#1749)
* fixes for Unity 4-

* Vector3 position

* position copy one liner

* IndexedStateMachines property with field token

* LangVersion preview, and move IndexedStateMachines into Process/InitializeStateMachines

* revert lang
2025-04-24 18:41:46 -07:00
ds5678
64367d38d5 Remove public keys from the InternalsVisibleToAttribute
* Resolves #1736
2025-04-19 19:49:09 -07:00
John Soellner
0dc5509a9e
Add “Create Subfolder” export option (#1747)
* Add option to create subfolder during export operations

* Refactor export methods to remove createSubfolder parameter and adjust path handling
2025-04-19 14:48:50 -07:00
ds5678
ebd2b47f59 Update documentation for assembly processors 2025-04-18 23:05:55 -07:00
ds5678
97459552e0 Safe Assembly Publicizing
* Resolves #653
2025-04-18 22:49:09 -07:00
ds5678
b6b822f8bd Bump version to 1.2.1 2025-04-09 17:49:47 -07:00
ds5678
1046dbff47 Embed web dependencies for offline access 2025-04-09 16:37:34 -07:00
ds5678
6eed2b1b92 Update Swashbuckle.AspNetCore to version 8.1.0
Updated the `Swashbuckle.AspNetCore` package version from `8.0.0` to `8.1.0` in the project file `AssetRipper.GUI.Web.csproj`.
2025-04-09 16:35:19 -07:00
dependabot[bot]
8609cff504 Bump Microsoft.AspNetCore.OpenApi and Microsoft.OpenApi
Bumps [Microsoft.AspNetCore.OpenApi](https://github.com/dotnet/aspnetcore) and [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.OpenApi` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.3...v9.0.4)

Updates `Microsoft.OpenApi` from 1.6.23 to 1.6.17
- [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases)
- [Changelog](https://github.com/microsoft/OpenAPI.NET/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/OpenAPI.NET/compare/1.6.23...1.6.17)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.OpenApi
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.OpenApi
  dependency-version: 1.6.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 13:39:50 -07:00
dependabot[bot]
85988caed7 Bump NUnit.Analyzers from 4.6.0 to 4.7.0
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit.analyzers/compare/4.6.0...4.7.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 13:20:48 -07:00
dependabot[bot]
efa4cdad39 Bump Microsoft.OpenApi from 1.6.23 to 1.6.24
Bumps [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET) from 1.6.23 to 1.6.24.
- [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases)
- [Changelog](https://github.com/microsoft/OpenAPI.NET/blob/v1.6.24/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/OpenAPI.NET/compare/1.6.23...v1.6.24)

---
updated-dependencies:
- dependency-name: Microsoft.OpenApi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 13:20:08 -07:00
dependabot[bot]
512800c695 Bump System.Text.Json from 9.0.3 to 9.0.4
Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.3...v9.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 13:19:14 -07:00
FACS01-01
faad9b17ce
AnimatorController Child State Machine Recovery (#1389)
* first draft

* change requests

* actually working draft

* duplicated method

* use more the new method

* - put StateContext class on a separate file
- new BidirectionalDictionary<T1,T2> class
- other tweaks

* - put StateMachineContext class on a separate file
- move all asset creations into VirtualAnimationFactory class
- added extension method GetName() to IStateConstant
- other tweaks

* Apply suggestions from code review

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* apply requested changes

* Apply suggestions from code review

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* reorder methods

* Update Source/AssetRipper.Processing/AnimatorControllers/AnimatorStateContext.cs

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* apply requested changes

* IndexedState to StateData[]

* Update Source/AssetRipper.Processing/AnimatorControllers/AnimatorStateContext.cs

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* apply requested changes

* Apply suggestions from code review

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* a lot of restructuring and comments

* statemachine parenting finished

* simplify CreateDefaultAnimatorState

* small tweaks

---------

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>
2025-04-09 13:18:42 -07:00
ds5678
95e2c584c2 Replace Newtonsoft.Json with System.Text.Json in AssetRipper.GUI.SourceGenerator 2025-04-08 16:23:59 -07:00
ds5678
0d322ac4b6 Use nightly build of ILSpy 2025-04-08 13:50:26 -07:00
ds5678
5b8fdabbc9 Source generate the license file loading 2025-04-08 12:18:46 -07:00
ds5678
06b6ae8171 Support PrimitiveType.Char in TypeTreeNodeStruct 2025-04-08 00:25:40 -07:00
ds5678
fc7c3ace64 Add ShaderChannel extension method 2025-04-07 14:54:32 -07:00
ds5678
806637c2a1 Shader extensions 2025-04-06 02:46:40 -07:00
ds5678
f1512baa8a Check for spaces at the beginning and end of export paths 2025-03-31 17:42:34 -07:00
ds5678
df749a726e Improve decompilation of method overrides 2025-03-31 14:24:45 -07:00
ds5678
2231c5f8b1 Polyfill missing attributes 2025-03-31 01:42:45 -07:00
ds5678
48bd179426 Catch exceptions while loading remote files 2025-03-30 23:07:33 -07:00
ds5678
07563989e1 Fix compile error 2025-03-30 23:02:29 -07:00
ds5678
bd9af79e75 Always use TextureDecoder for Bc decoding
* Related: #448
2025-03-30 23:00:20 -07:00
ds5678
cfd2d822c7 Smart enum generator 2025-03-30 22:42:03 -07:00
ds5678
fab3242a75 Improve decompilation for methods that return a byref 2025-03-30 22:37:52 -07:00