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

AssetRegistry.bin population/merging #57

Closed
trumank opened this issue Aug 13, 2023 · 2 comments
Closed

AssetRegistry.bin population/merging #57

trumank opened this issue Aug 13, 2023 · 2 comments
Labels
A-asset-registry Area: AssetRegister.bin support C-enhancement Category: new feature or request E-hard Diffculty: hard, significant experience may be needed I-mod-compat Issue: mod compatibility

Comments

@trumank
Copy link
Owner

trumank commented Aug 13, 2023

Asset registry files are stripped from mods since they are rarely used to access mods assets, however the official integration does attempt (it's very broken) to populate the game's asset registry with mod asset registries upon mounting. There are two ways this could be done:

Split mod registries with the game's registry as-is

  • many mods don't include the asset registry
  • many mods include asset registries with invalid entries

Parse mod asset contents to determine asset information to more accurately populate registry information

  • depends on being able to accurately parse assets
  • could be slow so would likely require caching mod metadata
@trumank trumank added C-enhancement Category: new feature or request I-mod-compat Issue: mod compatibility labels Aug 13, 2023
@jieyouxu jieyouxu added A-asset-registry Area: AssetRegister.bin support E-hard Diffculty: hard, significant experience may be needed labels Mar 2, 2024
@jieyouxu jieyouxu pinned this issue Mar 10, 2024
@jieyouxu jieyouxu unpinned this issue Jun 12, 2024
@trumank
Copy link
Owner Author

trumank commented Jun 17, 2024

Fixed by 9998be3 which rebuilds the base game's AssetRegistry.bin to contain new entries obtained from parsing all mod asset headers.

@trumank trumank closed this as completed Jun 17, 2024
@PrincessRTFM
Copy link

Sorry to tap a closed issue, but does this mean that the wiki-listed "lack of Asset Registry support (unimplemented in mint)" causing mod conflicts has been fixed? If so, the wiki should probably be updated to reflect this, as there are at least two places where it currently says otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-asset-registry Area: AssetRegister.bin support C-enhancement Category: new feature or request E-hard Diffculty: hard, significant experience may be needed I-mod-compat Issue: mod compatibility
Projects
None yet
Development

No branches or pull requests

3 participants