Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QWCModelTool

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.

Usage

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.

Other Arguments:

--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.

Building and Publishing

  • 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

Missing Features

  • 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

About

Experimental tool for extracting models from Harry Potter: Quidditch World Cup

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages