Skip to content

RFG misc mesh extractor

Compare
Choose a tag to compare
@Moneyl Moneyl released this 16 Aug 00:38

This exe can extract several RFG mesh formats which aren't currently supported by any other tool. This was originally only for personal testing but I'm releasing it so there's at least some support for extracting all RFG mesh formats. It may not be 100% reliable for that reason. It requires the .NET 7.0 runtime to run. It will attempt to extract the following formats:

  • .ccar_pc
  • .cstch_pc
  • .cfmesh_pc
  • .cefct_pc

You'll need to unpack the .vpp_pc and .str2_pc files to reach the meshes. Use RfgUtil for that: https://github.com/Moneyl/RfgUtil/releases

Some meshes, like vehicles (ccar_pc) will output as multiple .obj files into a subfolder. If the mesh you're extracting has a gpu file it must be in the same folder as the cpu file for extraction to work. e.g. edf_medtanka.ccar_pc and edf_medtanka.gcar_pc must be in the same folder. So keep that in mind if you move the mesh files.

The tool doesn't do any texture extraction. You'll need to do that manually. In the future I want to add proper mesh extraction to Nanoforge which handles finding textures for you. That's low priority compared to the map editor, so stopgap apps like this will have to do.