207 Commits

Author SHA1 Message Date
ds5678
f5dfad75e2 Use updated Cpp2IL and AsmResolver 2025-12-08 10:13:46 -08:00
ds5678
8c2322a7e8 Allow negative indices for PPtr keyframes 2025-12-02 17:07:53 -08:00
ds5678
98c4813d35 Fix IndexOutOfRangeException during AnimatorController recovery
Resolves #1909
Resolves #1919
Resolves #1963
2025-10-12 21:53:36 -07:00
ds5678
fce679c54f Duplicate shared state behaviours
Resolves #1940
2025-10-12 16:18:13 -07:00
ds5678
45e0c72fac Handle scene paths in the package cache
Resolves #1964
2025-10-11 22:01:26 -07:00
ds5678
98759280e0 Prevent an issue with files called maindata 2025-09-20 23:52:56 -07:00
ds5678
b258459e63 Fix an issue with scene path resolution that was affecting version bumping across the 5.3 boundary 2025-09-20 23:42:14 -07:00
ds5678
591b4f4dfc Update AssetRipper.CIL to version 1.2.1
Upgraded the `<PackageReference>` for the `AssetRipper.CIL` package from version 1.2.0 to 1.2.1. This update ensures the project benefits from the latest bug fixes, features, or improvements introduced in the newer version.
2025-09-17 16:55:05 -07:00
ds5678
2346035026 Remove unnecessary csproj properties
* IsTrimmable
* ImplicitUsings
* AppendTargetFrameworkToOutputPath
2025-09-17 09:44:05 -07:00
ds5678
0d60120c08 Update to AsmResolver 6 beta 4 2025-09-13 15:26:51 -07:00
ds5678
65c60195ab Check if the destination state index is within bounds 2025-09-11 15:19:56 -07:00
ds5678
d594f7a4f3 Fix an error affecting animator controllers 2025-09-08 12:43:54 -07:00
Jeremy Pritts
01787539de Revert "Use NuGet central package management"
This reverts commit d26e81f74e83ca1294bee8c263c3419ad4aa2f38.
2025-09-07 16:40:25 -07:00
YoshiRulz
d26e81f74e Use NuGet central package management 2025-09-06 19:04:44 -07:00
ds5678
edf08d2313 Improve custom attribute path recovery for blend shapes and renderer materials
Related: #1009
2025-08-17 14:38:16 -07:00
ds5678
dc13c735b5 Fix regex in CustomCurveResolver
Related: #1009
2025-08-16 16:40:44 -07:00
ds5678
206f0ec99b Ensure that scriptable object children are unique
* Resolves #1843
* Closes #1870
2025-07-31 19:35:48 -07:00
ds5678
f97424c539 Support UTF8 paths in AnimatorStateMachine recovery 2025-07-23 13:48:53 -07:00
ds5678
f26c4b99a9 Fix issue with two TimelineAsset referencing same clips
* Resolves #1843
* Resolves #1599
2025-07-14 21:57:14 -07:00
ds5678
7b1c20c1f3 File scoped namespaces 2025-06-23 11:42:47 -07:00
ds5678
477933b9ad Formatting 2025-06-18 12:42:22 -07:00
ds5678
4e771ef41b Ensure scriptable objects with an empty name get exported
* Resolves #1795
* Resolves #831
* Closes #1069
2025-05-31 22:41:36 -07:00
ds5678
0cda960407 Source generate methods for AssetCreator 2025-05-31 20:44:33 -07:00
ds5678
d544e23b5d [skip ci] update documentation 2025-05-26 12:13:06 -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
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
a47e7ea326 Set asset bundle name field in scene meta files
* Resolves #1709
2025-04-28 22:26:47 -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
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
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
2231c5f8b1 Polyfill missing attributes 2025-03-31 01:42:45 -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
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
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
7beedbda6c Refactor ObfuscationRepairProcessor 2025-03-20 12:22:35 -07: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
39c1ad230d Obfuscation Repair Processor
* Resolves #1636
2025-03-09 23:51:24 -07: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
1f80c97d84 Changes for prefab outlining:
* Publicize some types
* MonoBehaviourExtensions::LoadStructure
* TypeTreeNodeStruct expansion
2025-03-03 02:12:07 -08:00
ds5678
7fe70ceecb Property handling for UnityEngine.PropertyName
* Resolves #1213
* Resolves #1667
* Closes #1698
2025-03-02 18:31:26 -08:00