Open TheLegendOfKitty opened 2 years ago
Duplicate of #16 ?
Seems like OP fixed it, but didn't provide much detail on how. I tried the script he mentioned and did not have any luck.
Just in case anyone else finds this, here are some tips if you want to use the packfiles script:
berry[i].log_size = 7
line to be whatever power of 2 you want your images to be.python packtiles.py -sdmf bgar5515 INPUT.png OUTPUT.h
. Note the .h
on the output. The flags are important: s
makes a single image, and m
adds transparency metadata. If your image does NOT have transparency, remove the m
flag. d
is not so important but makes your image look nice.berry[i].has_opacity_metadata = false;
. Otherwise, the code will read part of your image as a mask. :).h
file to have the name you want and edit the imports in the main file.Good luck!
I've tried multiple combinations with different bgar5515 converters (including the packtiles script) but all of them don't render properly (draws only 1 line, some lines are skipped). I'll provide images if anyone wants them. What is the proper way to convert images?