92 Commits

Author SHA1 Message Date
ds5678
479f77cc0f Resolve #1382 2024-06-09 21:19:09 -07:00
ds5678
72271a8574 Bump nuget references 2024-05-29 23:46:30 -07:00
ds5678
885c8febb4 Move AssetRipper.Checksum to its own repository
* Related: #1094
2024-05-27 10:57:23 -07:00
ds5678
28c51bc780 Move export code out of AssetRipper.Assets 2024-05-23 15:16:35 -07:00
ds5678
7dfb1d1825 Use type trees for PlayerSettings 2024-05-18 11:13:45 -04:00
ds5678
b62442789f New AssetWalker overloads 2024-05-13 19:00:27 -07:00
FACS01-01
d520c5fa91
bugfixes (#1335)
- fixed IStreamedClip.CurveCount() being incorrect for some Unity versions
- fixed GameObject Curves not using the calculated Slopes
2024-05-07 07:53:49 -07:00
ds5678
61346018fd Update source gen to account for an issue with _typelessdata
* Related: #1317
2024-05-02 19:20:06 -07:00
ds5678
8c90f55be8 Update source gen reference 2024-04-30 23:42:41 -07:00
FACS01-01
bc861df741
AnimationClip Slope Fixes (#1321)
* - only use Negative Infinity slopes on Unity>2021
- CalculateSlopes cleanup

* typo

* cleanup

* stricter rounding error
2024-04-29 23:09:21 -07:00
GZHYBFHHJ
5644edf206
2021.3 Shader Support (#1278)
* 2021.3 Shader Support

* Update ShaderSubProgram.cs

* Code optimization

* changes request commits
2024-04-22 19:24:53 -07:00
ds5678
f8ad86f5ed Unity 6 support 2024-04-15 19:49:08 -07:00
FACS01-01
c3586ab772
AnimationClip Recovery Improvements (#1210)
* - improved Slope/Tangent calculation
- recover Slopes for all Float curves
- tweaked Dense and Constant curves generation
- fixed erroneously generating Float curves out of PPtr curves, on MonoBehaviours and some Engine components

* remove duplicated bindings cache

* don't get stuck on broken Transform animation, and minor tweaks

* implementing change requests

* implementing new change requests

* edit comment
2024-03-01 18:36:52 -05:00
ds5678
563e52e9fb Handle when Sprite render key not in SpriteAtlas
* Resolves #1169
2024-02-19 22:29:34 -05:00
ds5678
669a55de0f Fix incorrect number of mesh colors extracted before 2018
* This affected GLB export and Static Mesh Separation
2024-02-19 19:26:52 -05:00
ds5678
45cf0a33d6 Create prefabs and scenes during processing
* Add PrefabHierarchyObject and SceneHierarchyObject
* Scene ordering remains the same, but prefabs get sorted by asset type
* This might solve an issue with pptr's inside a prefab. Previously, AssetsExportCollection.File was not changing while enumerating ExportableAssets.
* SceneExportCollection uses random export id's for artificially generated assets. Previously, there were no generated assets in scenes.
2024-02-19 02:24:22 -05:00
ds5678
c93934eda0 Bump version 2024-02-04 14:36:53 -05:00
ds5678
bb19f1b9b1 BoneWeight Improvements
* Fix bug where there were extra skin weights extracted. The extra values were all 0 because there was never any data to fill them.
* Make compiler warn for incorrect use of Pure methods
* Refactor BoneWeight4 to use InlineArray
* Support bit packing ReadOnlySpan<int>
* Support setting the compressed mesh weights
2024-02-03 15:13:27 -05:00
ds5678
cf10d5ade1 Discrete Script Export 2024-01-22 21:40:56 -05:00
ds5678
6207715b14 Small refactor 2024-01-22 21:25:42 -05:00
ds5678
132b699327 Update NuGet references
* AssetRipper.SourceGenerated
* AssetRipper.Mining.PredefinedAssets
2024-01-22 11:41:14 -05:00
ds5678
cfe4dcc250 Fix skinning bug 2024-01-13 11:30:34 -05:00
ds5678
03528260c7 Replace uses of BitConverter with BinaryPrimitives 2024-01-13 09:03:20 -05:00
ds5678
9f7cc2d772 Delete IAssetContainer 2024-01-07 16:21:59 -05:00
ds5678
4190c01818 Fix walk field order 2024-01-06 17:36:02 -05:00
ds5678
554bc13427 Fix walking MonoBehaviour.Structure 2024-01-06 09:17:53 -05:00
ds5678
6cda7a445f Simplify AssetWalker to use less generics
* SourceGenerated package is being bumped
* This is intended to reduce the output binary size for NativeAOT
2024-01-06 01:55:58 -05:00
Jeremy Pritts
dd691d4a4f DefaultYamlWalker 2023-12-25 01:27:48 -05:00
Jeremy Pritts
86923fa05c NuGet bump
* Support newer Unity versions
* Resolve issues with breaking AssetRipper.Primitives changes
2023-12-23 02:23:42 -05:00
Jeremy Pritts
ac7b4f0dda Bump internal NuGet references 2023-12-12 02:46:58 -05:00
Jeremy Pritts
94b5b3eacf DummyShaderTextExporter performance improvements 2023-12-04 18:07:20 -05:00
Jeremy Pritts
277da8e051 Small performance improvements 2023-11-13 18:00:27 -05:00
Jeremy Pritts
42d62a0a9e More forgiving asset resolution
* Failed type checks return null
* Bad dependency numbers return null
* Remove GetAsset methods
* Make asset processing more lenient about null references
2023-11-13 01:25:36 -05:00
Jeremy Pritts
e272e6f9df Replace uses of AssetReader with EndianSpanReader 2023-11-06 23:01:33 -05:00
Jeremy Pritts
675ba740d2 NuGet bump 2023-11-05 21:46:32 -05:00
Jeremy Pritts
26c68441f6 Fix some nullable warnings 2023-10-25 23:46:20 -04:00
Jeremy Pritts
8476df09d2 Overhaul Engine Assets Export
* Properly export Hidden/Internal shaders
* Properly export engine compute shaders
* Handle all versions at least since Unity 5
2023-10-15 17:35:34 -04:00
Jeremy Pritts
cfdd3fb1a4 Fix issue with precomputed crc field hashes
* They incorrectly used crc28, but should have used crc32.
2023-10-15 13:24:44 -04:00
Jeremy Pritts
3509ddd1c3 2023 support
* Resolves #917
* Resolves #1023
2023-10-14 12:27:15 -04:00
Jeremy Pritts
ef7460f98d Code cleanup
* Documentation
* Some extension methods
* Allow null in FilenameUtils
2023-10-13 13:32:31 -04:00
Jeremy Pritts
dc73d29a8e Delete enums in GraphicSettingsExtensions 2023-10-08 01:45:07 -04:00
Jeremy Pritts
040bf59b94 Reduce allocations in MeshOutlineGenerator 2023-09-28 22:50:41 -04:00
Jeremy Pritts
1d8165d904 Support 16 bit indices in static mesh separation
* Resolves #659
2023-09-19 19:02:03 -04:00
Jeremy Pritts
310e8e3fe2 Improve Static Mesh Separation
* Calculate mesh metrics
* Use ModelImporterMeshCompression
2023-09-10 16:22:12 -04:00
Jeremy Pritts
ad51684aaf Cleanup SubMeshExtensions 2023-09-09 12:02:41 -04:00
Jeremy Pritts
514eab6b1b Ensure proper logic for CompressedMeshExtensions.SetUV 2023-09-09 11:01:13 -04:00
Jeremy Pritts
e4e6bc922f Use UVInfo in CompressedMeshExtensions more 2023-09-09 10:57:02 -04:00
Jeremy Pritts
0f5799a97a Refactor CompressedMeshExtensions and add unit tests 2023-09-08 21:36:16 -04:00
Jeremy Pritts
bb84f9c927 More efficient dictionary enumeration 2023-08-25 08:26:51 -04:00
Jeremy Pritts
2e697a5891 Build to 0Bins instead of Bins 2023-08-08 11:20:23 -04:00