Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descompile UModel and UPoly from AVolumes in A Hat in Time #87

Open
penguin21 opened this issue Sep 14, 2024 · 2 comments
Open

Descompile UModel and UPoly from AVolumes in A Hat in Time #87

penguin21 opened this issue Sep 14, 2024 · 2 comments
Labels
decompiler Issues related to decompilation T3D Text 3D Format (DefaultProperties etc)

Comments

@penguin21
Copy link

I am trying to decompile the data from the AVolumes with the UPolys and the UModels and the output window appears blank, and I am using the UE Explorer source code but the numbers appear negative in the Polys Array.

Screenshots:
UPolys Output:
image

UModel Output:
image
Error in debugger when you try UPolys:
image

@EliotVU EliotVU added decompiler Issues related to decompilation T3D Text 3D Format (DefaultProperties etc) labels Oct 4, 2024
@EliotVU
Copy link
Owner

EliotVU commented Oct 4, 2024

Unfortunately UModel and UPolys are expected to have an empty output, despite the fact that UELib has deserialization support for those objects.

This is because the current decompiler only supports decompilation of so called script-properties (FPropertyTag) where as UPolys and UModel contain a bunch of intrinsic properties (which are deserialized by hand so to speak)

@EliotVU
Copy link
Owner

EliotVU commented Oct 4, 2024

Afaik the error is caused by changes made to UPolys for A Hat in Time (but I haven't verified this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decompiler Issues related to decompilation T3D Text 3D Format (DefaultProperties etc)
Projects
None yet
Development

No branches or pull requests

2 participants