Version 3.5 of the SDK introduces the following animation pipeline changes:
These changes address the following deficiencies of the animation pipeline:
Below you will find some scripts and the guide that may help you perform the conversion.
Note that provided conversion scripts are not a complete solution on their own, rather an example of how this can be done.
Please inspect content of the scripts carefully before running them to prevent any loss of data. These may also not work in your environment and require code changes.
Steps below are assuming that Perforce is used as a version control system.
If you use another version control system for assets you will need to perform necessary changes yourself.
Conversion consists of the following steps:
I recommend doing a local test before proceeding with real files, as this will lock all .caf files later:
skeletonlist_from_cba.py
rename_caf_to_i_caf_local.py
animsettings_from_cba.py
dbatable_from_cba.py
cd GAME_DATA_FOLDER
rc.exe *.i_caf /threads=6 /animConfigFolder=Animations /sourceroot=GAME_DATA_FOLDER /targetroot=OUTPUT_FOLDER /cafAlignTracks=1
del SkeletonList.xml
del DbaTable.xml
remove_animsettings.py
rename_i_caf_to_caf.py
Assuming that you already have Animations.cba and all .caf files synced, and you have no files from the local test left.
skeletonlist_from_cba.py
rename_caf_to_i_caf.py
animsettings_from_cba.py
dbatable_from_cba.py
add_animsettings_to_p4.py