Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI images are cut off, making them stretched in game #7

Closed
SankFrinatra opened this issue Dec 11, 2023 · 8 comments
Closed

GUI images are cut off, making them stretched in game #7

SankFrinatra opened this issue Dec 11, 2023 · 8 comments

Comments

@SankFrinatra
Copy link

SankFrinatra commented Dec 11, 2023

I'm trying to update a texture pack I use (Clarity from SCtester from 1.20.1 to 1.20.4. I am having issues where Slicer cuts off the right part of the villager GUI image (see first image), causing it to become stretched in game (see second image). The individual sprites that Slicer is supposed to create are also completely blank images (see third image for an example). I know Slicer is otherwise working correctly as other parts of the GUI have been converted and appear correctly.

Some extra info that might be pertinent:

  1. The original villager GUI file was named villager.png and had to be renamed to villager2.png for Slicer to detect it and slice it.
  2. The original villager GUI is 512x512 pixels.

villager

in-game

experience_bar_background

@VidTDM
Copy link

VidTDM commented Jan 3, 2024

Is this only happening to villager.png?

@SankFrinatra
Copy link
Author

Indeed, only on villager.png. Everything else slices fine and well. It might help to see that this is what the original villager2.png was (I was informed by the pack author that they used an outdated format - not sure if there's something to do about this with slicer other than change it to the current format manually)

villager

@lowercasebtw
Copy link

It's because villager.png was a leftover remanent from pre 1.14 days, the old villager GUI & as far as I know, its new counterpart villager2.png uses a different layout so this shouldn't be changed nor fix or anything as this pack needs a newer updated image & cant use a legacy old one

@lowercasebtw
Copy link

Unless they specifically check for villager2.png not existsing and villager.png existsing & use some other set of slice data but that won't happen as this is a older texture & many packs nowadays (besides packs before 1.14) dont have that texture

@VidTDM
Copy link

VidTDM commented Apr 24, 2024

When I used it I didn't have any problems

@lowercasebtw
Copy link

@VidTDM Probably because your pack was made for 1.14+, or didn't have a villager.png texture

@SankFrinatra
Copy link
Author

SankFrinatra commented Apr 24, 2024 via email

@lowercasebtw
Copy link

np

@slicedlime slicedlime closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants