def resourceNameToPath(self,name,ext="<STR_LIT>"):
nsplit = name.split("<STR_LIT::>")[<NUM_LIT:1>].split("<STR_LIT:.>")<EOL>return os.path.join(self.basepath,"<STR_LIT>",name.split("<STR_LIT::>")[<NUM_LIT:0>],*nsplit)+ext<EOL>
Converts the given resource name to a file path.

A resource path is of the format ``<app>:<cat1>.<cat2>.<name>`` where cat1 and cat2 can be repeated as often as desired.

``ext`` is the file extension to use, e.g. ``.png`` or similar.

As an example, the resource name ``peng3d:some.category.foo`` with the extension ``.png`` results in the path ``<basepath>/assets/peng3d/some/category/foo.png``\ .

This resource naming scheme is used by most other methods of this class.

Note that it is currently not possible to define multiple base paths to search through.