3dstools
3dstools copied to clipboard
bffnt.py ImportError: No module named png
Hey! i'm trying to extract a Super Mario 3D World font file and I'm getting an error that says: No module named png. Any ideas why this happens?
C:\Users\Lare\Desktop\3dstools-master>bffnt.py -x MarioFont64.bffnt
Traceback (most recent call last):
File "C:\Users\Lare\Desktop\3dstools-master\bffnt.py", line 9, in <module>
import png
ImportError: No module named png`
Looks like you need to install (I think it was) pypng. It's available on pip so it should be easy to install.
Latest version of pypng (0.0.20) causes an issue because the greyscale parameter is now True by default. Package version 0.0.19 works fine.
pip install pypng==0.0.19
Do not use ./bffnt.py -xf test.bffnt, please use python ./bffnt.py -xf test.bffnt.