Nuchaz / BiblioCraft

50 stars 50 forks source link

about custom paint #702

Closed MSteve3 closed 4 years ago

MSteve3 commented 4 years ago

there is some glitch when i adding the picture, i still dont know why is happen (i readed the instruction many time but cant fix) :( (there is some pics to know about my issue) image image (and yes i did change the file to .png file) image (i added it to the mod, not add to the resource pack)

EzerArch commented 4 years ago

@MSteve3, I'm having the same issue. I maintain this resource pack which supports Bibliocraft and adds huge paintings. I looked at the log:

[08:13:35] [Client thread/INFO] [STDERR]: [jds.bibliocraft.helpers.PaintingUtil:getPaintingSetHeights:119]: java.io.FileNotFoundException: bibliocraft:textures/custompaintings/astronaut drifting far away.png

But the actual filename is "Astronaut drifting far away.png". The mod finds the file in the resource pack with capitalized filename but the mod fails to load it because it tries to load it as uncapitalized filename.

Also the mod or Minecraft seems to struggle to load and render images that aren't power of two (32x32, 64x64, 128x128 etc). If not power of two, they don't render as item but render as painting.

I suggest uncapitalizing filenames first. It worked for me.

2020-03-10_09 05 43

Tweet: https://twitter.com/EzerArch/status/1237376319262019584

MSteve3 commented 4 years ago

@MSteve3, I'm having the same issue. I maintain this resource pack which supports Bibliocraft and adds huge paintings. I looked at the log:

[08:13:35] [Client thread/INFO] [STDERR]: [jds.bibliocraft.helpers.PaintingUtil:getPaintingSetHeights:119]: java.io.FileNotFoundException: bibliocraft:textures/custompaintings/astronaut drifting far away.png

But the actual filename is "Astronaut drifting far away.png". The mod finds the file in the resource pack with capitalized filename but the mod fails to load it because it tries to load it as uncapitalized filename.

Also the mod or Minecraft seems to struggle to load and render images that aren't power of two (32x32, 64x64, 128x128 etc). If not power of two, they don't render as item but render as painting.

I suggest uncapitalizing filenames first. It worked for me.

2020-03-10_09 05 43

so can you tell me how to uncapitalizing filenames pls my english skill is pretty bad so just easy to me

EzerArch commented 4 years ago

so can you tell me how to uncapitalizing filenames pls

Examples:

MSteve3 commented 4 years ago

so can you tell me how to uncapitalizing filenames pls

Examples:

  • Rename "maid Monika.png" to "maid monika.png" (replace M with m)
  • Rename "Monika in sundress.png" to "monika in sundress.png" (replace M with m)
  • Rename "Steve's" to "steves" (replace S with s) and I would remove the apostrophe.

tks bro but i was reset my PC, so all my file are gone but still thank you

gatoborrachon commented 3 years ago

hey are you using optifine? because with Optifine any paint has this bug: https://imgur.com/a/BaEV1LO