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

How to extract 3D mesh from a .package file #12

Closed
PAULYZHENG opened this issue May 18, 2023 · 2 comments
Closed

How to extract 3D mesh from a .package file #12

PAULYZHENG opened this issue May 18, 2023 · 2 comments

Comments

@PAULYZHENG
Copy link

Excellent project!

Does your library support the feature of the extraction of 3D mesh from a .package file?

or just extrect the metadata of mesh geometry?

Many thanks!

@frankkulak
Copy link
Collaborator

For future reference, GitHub issues is not the place to ask these kinds of questions. It is meant for bug reports, questions about odd behavior, etc. You can ask these questions in my Discord server instead.

But to answer your question, you can extract anything from any package with S4TK, assuming all you want is the raw data. All you need is the resource key (type, group, instance), and you can get the file's data as a buffer.

However, if you want to process the mesh at all, you'll have to look into other tools or 3rd party libraries - S4TK does not have a model for meshes or other file types related to CC (it is primarily intended for use with gameplay mods). You can also read the docs to see what kinds of files are supported.

@PAULYZHENG
Copy link
Author

Thank you Frank. Your answer helps a lot.

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