PNG change
Hello, I'm new to this, and I tried to change a flag in Dredge downloaded from Epic Games. However, the new texture doesn't apply, and it still shows the old one. First, I chose the bundle file that contains the assets of the game, including that flag. The file was located in the StandaloneWindows folder. In my first attempt, I tried using the texture plugin directly, but the game loading took an extremely long time—like infinity. For the second attempt, I used CRC to clear the JSON, and the game loaded, but the old image of the flag was still there. Third, I noticed that the mipmap value for the older texture was 8, while for the new texture, it was 1. I tried changing the data to 8, but nothing happened. The old flag was still there. In the game, the 2D sprite of the flag is broken (black and white) when viewed in the cargo and storage. However, when I place it on the boat (flying with the wind, not as an item but as an object), the old flag still shows. The difference between the two textures is: The older texture has a size of 21899, while the new one is 16384. The mipmap value for the older texture is 8, while the new one is 1. I confirmed that both textures are the same size (128x128). To make sure everything was clear, I exported the flag texture, edited it with IbisPaint, and then re-imported it. However, the problem persisted. I even started a new game, searched for the flag, but the old flag was still there. When I checked the texture in the bundle, it was the replaced one. I’m really stuck and feel hopeless. Please help me...
For the second attempt, I used CRC to clear the JSON, and the game loaded, but the old image of the flag was still there. ... When I checked the texture in the bundle, it was the replaced one.
This usually means there are multiple copies of the texture. If you re-export it from uabea is it still showing the right texture? If so, this particular texture probably imported fine.
Third, I noticed that the mipmap value for the older texture was 8, while for the new texture, it was 1. ... The difference between the two textures is: The older texture has a size of 21899, while the new one is 16384.
In some cases, UABEA can't generate mipmaps, so it chooses to only include the base texture. This isn't anything to worry about necessarily, it'll just look worse at a distance.
In the game, the 2D sprite of the flag is broken (black and white) when viewed in the cargo and storage.
I'm not really sure, maybe I'd have to see a picture. Generally, replacing a texture (even if mipmapping is disabled) shouldn't "corrupt" an image like that.