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

Empty collection and MOPP parser #11

Open
AnyResO opened this issue Mar 26, 2024 · 3 comments
Open

Empty collection and MOPP parser #11

AnyResO opened this issue Mar 26, 2024 · 3 comments

Comments

@AnyResO
Copy link

AnyResO commented Mar 26, 2024

I'm trying to import an old map made for Unreal Engine 2 / 2.5 in UnrealEd.

@crapola Do you know why importing the following map in Blender 4.0 results in an empty collection with no meshes?

https://gist.github.com/AnyResO/1754e25777c75f5f8d1f3e170d62826c

@AnyResO
Copy link
Author

AnyResO commented Mar 27, 2024

Ah it seems your regex here expects classes to be only Brush while it could be Engine.Brush

pattern:str=r"""(Begin Actor Class=Brush .*?End Actor)"""

see https://gist.github.com/AnyResO/1754e25777c75f5f8d1f3e170d62826c#file-mp-beml4-canyoncrusade-t3d-L32

@crapola
Copy link
Owner

crapola commented Mar 27, 2024

Indeed, I think using r"""(Begin Actor Class=(?:Engine.)?Brush .*?End Actor)""" will work.

@AnyResO
Copy link
Author

AnyResO commented Mar 27, 2024

It seems that a .t3d can also be tied to a binary .mopp.
Do you by any chance have any clues on how to extract the terrain geometry from this file?

I found this wiki that describes the format in more detail, but that's all for now
https://github.com/niftools/nifxml/wiki/Havok-MOPP-Data-format

Here's a zip archive with sample data
MP-BEML4-BloodVeldt.zip

@AnyResO AnyResO changed the title Empty collection Empty collection and MOPP parser Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants