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

Add IPak projects and building #20

Merged
merged 14 commits into from
Oct 15, 2023
Merged

Add IPak projects and building #20

merged 14 commits into from
Oct 15, 2023

Conversation

Laupetin
Copy link
Owner

@Laupetin Laupetin commented Oct 15, 2023

Prototype for IPak building.

To be able to build other things than fastfiles this also introduces the possibility to specify the type of output, which can now either be fastfile or ipak.

IPaks are built from a project definition file (.zone), however only images are taken.
It is also possible to specify an assetlist inside this project definition file to load an assetlist which might be a better way for the future to build IPaks since it requires all images to be specified inside its source.

This is due to being different to fastfile building which loads all asset dependencies as well so any images that are a dependency of a specified asset would be loaded as well. This is NOT the case for IPaks.

So in the future it might be a good idea to implement assetfile generation after linking for Linker.

Also usability for IPaks can further be improved if it was possible to specify another project to build inside a project file.
Like a subproject of some sort.
This is due to the structure of the projects being something like zone_raw/project/zone_source/fastfile_source.zone.
Currently having the appropriate ipak source in zone_raw/project/zone_source/ipak_source.zone is not possible.

Would probably be good as well to additionally add documentation about how IPaks are structured and add integration tests for writing and loading IPaks.

@Laupetin Laupetin linked an issue Oct 15, 2023 that may be closed by this pull request
@Laupetin Laupetin merged commit 1384c91 into main Oct 15, 2023
@Laupetin Laupetin deleted the feature/ipak-building branch October 15, 2023 20:53
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

Successfully merging this pull request may close these issues.

Create ipaks for images for T6
1 participant