-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: improve building IWD and IPak obj containers #286
Conversation
34f54a8
to
252d3b8
Compare
526ea8c
to
20433b7
Compare
900260e
to
6295500
Compare
4eb71eb
to
ffe0600
Compare
4e13645
to
bf481eb
Compare
57d68d1
to
68d6470
Compare
3bd1464
to
a7254aa
Compare
dccf16b
to
dfd6e41
Compare
6e97383
to
9097db7
Compare
It turned out that implementing these kinds of features required a bigger rewrite than i initially thought. I hope this is not breaking anything, i will test thoroughly and write more unit tests before a release i guess. |
This does not add support for ending containers early by omitting name. So this would require a bigger adaption to the ZoneDefinition parsing which i might only add after introducing ANTLR4.. |
f12923d
to
3a75832
Compare
3a75832
to
b84c719
Compare
Previously
Currently building IPaks is pretty annoying and building IWDs is not implemented yet.
Previously OBJ containers had to be built as seperate targets.
If they were supposed to include obj data for assets from the built zone they had to include an assetlist which have not been generated automatically and have a fully defined zone file.
Now
This PR tries to unify the building process of fastfile and additional obj containers into a single target.
This aims to improve building of IPaks, IWDs and in the future soundbanks.
This is supposed to result in a built
mod.ff
,mymoddedipakname.ipak
andmymoddediwdname.iwd
.The IPak and IWD contain all supported obj data of the assets that follow.
You can switch to another IWD or IPak by redefining
>ipak,newipak
or>iwd,newiwd
respectively.This will cause all following obj data to go into a new obj container.
This way you can split data.
Specifying the respective metadata key with an empty value
>ipak,
or>iwd,
then you can stop writing data to this obj container.Closes: #27