http://coding.hanfling.de/launch/release/HTK-HarryPotter-11-20170323.zipStripped down version of HTK my personal toolkit package for Harry Potter 1.1
Initial code for Animation and SkeletalMesh exporter by Jochen Goernitz and Dots.
03/2017 by Sebastian Kaufel
Visit http://coding.hanfling.de/launch/
Short Story:
ucc fullbatchexport HPBase ..\FBE\HPBase
Long Story:
You should grab the UCC.exe/HP1.exe out of the precompiled PubSrc binaries in the other thread. You want that UCC, so included exporters will get loaded in case no HTK commandlet is used (e.g. ordinary batchexport), and you want to use 'HP.exe -preferences' to throw up the preferences dialogue, as there are some options for some commandlets to be found there.
Exporters are included to complete the set of resource exporters required to rebuild the *.u packages previously build with make. This include a Bitmap Font, a Gesture, a Animation, a SkeletalMesh exporter and JamesMesh exportorting integrated into fbe ( (obviously this won't get you TrueType Fonts, but this shouldn't be an issue for this particular game).
Anyone in particular interessted in getting the tools ready for HP2 should take a look at the ResRays commandlet, which is designed to rebuild #exec lines for resources imports, which will become invaluable when it come to deal with rebuilding source stripped packages in HP2. It won't detect the LODSTYLE style used for importing meshes, nor am I interessted in ever implementing heuristics for it. For HP1 in particular always LODSTYLE=10 was used, and was likely the same for HP2. You can set this as the MeshModelImportAppend option, so it gets autoappended to each #exec MESH MODELIMPORT line, so one won't have to do this by hand. I noticed that for a few skeletalmeshes the defaultanimation is missing though there exists #exec lines for these in the original script. Afaik the mesh/animation names were dublicated into multiple packages causing this.
Embedded packages can be extracted with saveembedded, though as far as I can tell they were included in the shipping version anyway.
ScriptRays (decompiler) sadly didn't make it in time, and I didn't want to wait with releasing updated headers and HTK for HP1 any longer, as thinking that the decompiler will make it in time basically needless delayed the release of them already for quite some weeks.
HOWEVER. Once ScriptRays reaches IOC I would certainly would like to see some dry run in HP1 (where the original script is available) to see what awaits for rebuilding packages in HP2 and if needed fixing bugs while there is still the original script left to compare the results too.
Oh and source is included...