Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Renaming BRH files

In Brew MP, the resource header file that contains the definitions of resource IDs has a _res suffix and a .h extension. This .h file replaces the BREW BRH file.

For example, if the CAR file for the resources is named helloworld.car, the resource header file that contains the definitions of resource IDs should be helloworld_res.h instead of helloworld.brh.

How to rename the resource header (xxx_res.h) file

  • Use the Resource Manager to auto-generate the resource header when compiling the CAR. The _res naming convention is automatically enforced.
  • Use brewrmc.exe to auto-generate the resource header file when it compiles the CAR file. (You run brewrmc.exe via command line.) The _res naming convention is automatically enforced.
  • Use a text editor to manually create and maintain the resource header. The _res naming convention should be manually enforced.