mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
Support UTF8 paths in AnimatorStateMachine recovery
This commit is contained in:
parent
8d080dd42a
commit
f97424c539
@ -1107,7 +1107,7 @@ internal sealed class AnimatorStateMachineContext
|
||||
|
||||
private static string GetReversedFullPath(string parentFullPath, uint fullPathID)
|
||||
{
|
||||
return Crc32Algorithm.ReverseAscii(fullPathID, $"{parentFullPath}.EMPTY_");
|
||||
return Crc32Algorithm.ReverseUTF8(fullPathID, $"{parentFullPath}.EMPTY_");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -249,7 +249,7 @@ public sealed class AudioMixerProcessor : IAssetProcessor
|
||||
{
|
||||
ExposedAudioParameter exposedParam = mixer.ExposedParameters.AddNew();
|
||||
exposedParam.Guid.CopyValues(paramGuid);
|
||||
exposedParam.Name = Crc32Algorithm.ReverseAscii(paramNameCrc);
|
||||
exposedParam.Name = Crc32Algorithm.Reverse(paramNameCrc);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AssetRipper.Checksum" Version="1.0.0" />
|
||||
<PackageReference Include="AssetRipper.Checksum" Version="1.1.0" />
|
||||
<PackageReference Include="AssetRipper.SourceGenerated" Version="1.2.5" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user