Distributing models as BAM

Been a while, but now putting together a distrib for playtesters. I am putting PYC and BAM files in the install package. Everything is working, but on testing what I installed - I got an error saying that the model can’t be found.

I am loading them with a line like this:
self.model = Actor.Actor(self.pathMesh, self.dctAnims)

do I need to explicitly add “.bam” to the model names (which i have in self.pathmesh?)

Is there a setting so it can look for .egg (like when I’m coding) and use .bam if it doesn’t find the .egg file? (like in the final distrib version)

The config setting you’re looking for is “default-model-extension .bam”.


I’ll try it out.