1145 Commits

Author SHA1 Message Date
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
ds5678
918b69af96 Remove AssemblyKeyFileAttribute to prevent compile errors 2025-03-30 22:35:50 -07:00
ds5678
0034865916 Recover unmanaged constraints on Il2Cpp games 2025-03-30 22:33:50 -07:00
ds5678
9f0fb369ad Rename property and event names 2025-03-30 22:01:58 -07:00
ds5678
eac3d89e8e Option to remove nullable attributes 2025-03-30 17:52:58 -07:00
ds5678
fd209c4b3f Ensure empty scripts aren't created accidentally for generic types 2025-03-30 11:25:03 -07:00
ds5678
f3bc83b3cd Bump version to 1.2.0 2025-03-26 01:19:47 -07:00
ds5678
713ec2bf34 Fix pointer type detection in SerializableTreeType 2025-03-25 08:23:54 -07:00
ds5678
de14d7decd Update package versions for OpenApi and Swashbuckle
Updated the `Microsoft.AspNetCore.OpenApi` package from
version `9.0.2` to `9.0.3`. Also updated the
`Swashbuckle.AspNetCore` package from version `7.3.1` to
`8.0.0`.
2025-03-24 10:32:19 -07:00
ds5678
128f3fafd9 Remove reference to Roslyn 2025-03-23 21:41:57 -07:00
ds5678
4f9da13f75 Remove AttributePolyfillGenerator for now 2025-03-23 21:41:33 -07:00
ds5678
e2a8cd38b5 Handle generic empty scripts 2025-03-23 20:44:26 -07:00
ds5678
73ea2b6c7c Fix IsUnmanagedAttribute injection 2025-03-23 20:34:12 -07:00
ds5678
43632d563c Polyfill attributes needed by ILSpy 2025-03-23 20:23:38 -07:00
ds5678
89089aee2e Fix Il2Cpp fixed buffer fields in structs 2025-03-22 15:42:49 -07:00
ds5678
566e08a047 Localize dialogs 2025-03-20 12:31:53 -07:00
ds5678
7beedbda6c Refactor ObfuscationRepairProcessor 2025-03-20 12:22:35 -07:00
ds5678
f4a466fdc2 Use Photino for the GUI
* Resolves #1663
* Resolves #1602
* Resolves #1595
* Resolves #1544
* Resolves #1508
2025-03-20 12:20:16 -07:00
ds5678
44f0ab20e1 Option to decompile scripts with fully-qualified type names
* Resolves #1681
2025-03-20 12:12:19 -07:00
ds5678
b5b9c2bc94 Disallow exporting to Desktop, Documents, and Downloads 2025-03-19 10:26:32 -07:00
dependabot[bot]
ab928a7f5b Bump System.Text.Json from 9.0.2 to 9.0.3
Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.2...v9.0.3)

---
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-03-19 13:25:31 -04:00
ds5678
99144d5bf4 Generate forwarding assemblies for compiler types
* System.Runtime.CompilerServices.Unsafe
* System.Runtime.InteropServices
2025-03-18 18:03:41 -07:00
ds5678
a9685e3dc6 Handle empty lists and dictionaries in JSON output
Updated `EnterList<T>` to write "[]" for empty lists and return false.
Modified `EnterDictionary<TKey, TValue>` to write "{}" for empty string-keyed dictionaries and "[]" for empty non-string-keyed dictionaries, also returning false.
These changes ensure a more succinct representation of empty collections in the output.
2025-03-12 19:34:39 -07:00
ds5678
a95f69f42e Add Assembly-CSharp-Editor to the list of predefined assemblies 2025-03-10 23:30:09 -07:00
ds5678
39c1ad230d Obfuscation Repair Processor
* Resolves #1636
2025-03-09 23:51:24 -07:00
ds5678
8435c391bd Implement virtual file system
* Resolves #1579
2025-03-09 03:11:45 -07:00
ds5678
9bdcb91038 Resolve TypeLoadException for generated assemblies
* Resolves #1683
2025-03-08 16:00:52 -08:00
ds5678
ed32e738d0 Use new web api for serving online dependencies
* Resolves #1675
* Resolves #1688
2025-03-08 11:18:34 -08:00
ds5678
431d69cd8c Update Cpp2IL.Core package version
Updated the `Samboy063.Cpp2IL.Core` package from version
`2022.1.0-development.1220` to `2022.1.0-development.1222`
in the `AssetRipper.Import.csproj` file.
2025-03-06 21:21:54 -08:00
ds5678
51efa41455 Remove coverlet.collector from test project files
The `coverlet.collector` package reference has been removed from multiple test project files, including `AssetRipper.Assets.Tests.csproj`, `AssetRipper.GUI.Web.Tests.csproj`, `AssetRipper.IO.Files.Tests.csproj`, `AssetRipper.Numerics.Tests.csproj`, `AssetRipper.SerializationLogic.Tests.csproj`, `AssetRipper.Tests.csproj`, and `AssetRipper.Yaml.Tests.csproj`. This change includes the removal of its version specification, as well as the associated `<PrivateAssets>` and `<IncludeAssets>` elements.
2025-03-05 00:34:21 -08:00
ds5678
b6e6078375 Update documentation
* Resolves #1700
2025-03-05 00:32:12 -08:00
FACS01-01
ec8b82706d
AnimationClip's Rotation Order Recovery (#1703)
* get correct Rotation Order for each Euler Rotation

* apply requested changes

* apply requested changes
2025-03-04 23:07:37 -08:00
ds5678
21029c120d Bump version to 1.1.13 in Directory.Build.props
Updated the version number from 1.1.12 to 1.1.13 in the
Directory.Build.props file to reflect the latest release.
2025-03-03 02:15:18 -08:00
ds5678
1f80c97d84 Changes for prefab outlining:
* Publicize some types
* MonoBehaviourExtensions::LoadStructure
* TypeTreeNodeStruct expansion
2025-03-03 02:12:07 -08:00