WIP tool for extracting models from Harry Potter: Quidditch World Cup. This tool can extract all mesh nodes located in an FPM file and convert their textures to PNG format. The output will be a
glb file, but glTF can be output instead using the --out flag.
QWCModelTool.exe --file ...\file.fpm
The file argument must point to an extracted FPM file. All necessary textures (.fsh) must be under the same directory.
--nolm : Skip exporting meshes using lightmap textures
--lmalp: Specify fixed alpha value added to lightmap textures
--skel: Skeleton file to be used for skinning
--out: Specify output file location and name. By default, the exports will be placed under the same directory as the input file.
- Clone and navigate to the root directory of the repo
- Run the following command:
dotnet.exe publish --configuration Release --runtime win-x64 - Standalone binary will be located under
bin\Release\net9.0\win-x64\publish
- FSH: Mipmap extraction
- FSH: Global palette in textures (not used in QWC)
- GRO: Alpha Shader Groper file parsing
- Animation data: .fas files require further analysis
- Rigging data appears to contain vertex delta targets, TBD