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

decompiler: support merc model replacements and adding custom actor models to vanilla fr3s #3597

Merged
merged 4 commits into from
Jul 20, 2024

Conversation

Hat-Kid
Copy link
Member

@Hat-Kid Hat-Kid commented Jul 20, 2024

This adds support for replacing existing merc models in FR3 files with custom GLB model files. The replacements go in custom_assets/<GAME>/merc_replacements, similar to texture replacements. When a .glb file with a file name that matches any model present in an FR3 is detected (e.g. eichar-lod0 for Jak), all merc model data is replaced with the given model.

Additionally, models for custom actors can now also be added to vanilla FR3s. The models for this go in custom_assets/<GAME>/models/<LEVEL_NAME> (e.g. custom_assets/jak1/models/jungleb/test-actor-lod0.glb) and will be added to the FR3 that has a matching name (exception: to add things to the common level file, the folder should be named common instead of GAME).
For custom levels, these now go in custom_assets/<GAME>/models/custom_levels (previously custom_assets/<GAME>/models).

Another small change: When level ripping is enabled, the resulting model files will now be stored in game name subfolders inside of glb_out.

@Hat-Kid Hat-Kid merged commit edae60d into open-goal:master Jul 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant