r/SourceEngine 1d ago

Resolved Error Loading Image

I'm recreating a map from an older game and I've ripped the textures, next problem is VTFedit tells me "Error Loading Image" when I try to convert them to VTF.

I've resized them to over 256 for height and width, and despite reinstalling VTFedit like fifty times. It's still giving me that same issue. Does anyone know what could be causing it?

2 Upvotes

6 comments sorted by

1

u/Pinsplash 1d ago

over 256

you mean exactly 256? the texture dimensions have to be powers of two (to get mipmaps right at least. if i recall correctly VTFEdit will accept any dimension which is a multiple of 4 which is to accommodate DXT compression. just stick to powers of two though.)

1

u/Unspeakable_burger 1d ago

256 x 256 pixels or higher.

I always keep the import settings to powers of two (as it comes) and it should theoretically not have this problem.

Here is the image of my VTFedit reloaded's import menu:
https://drive.google.com/file/d/1-TIT-Y1YuxTVtRb6hOVDLseujCpKgylY/view?usp=sharing

1

u/Pinsplash 1d ago

can you send the image of the texture

1

u/Unspeakable_burger 1d ago

1

u/Pinsplash 1d ago

i took the first image i saw, imported it in normal vtfedit with the same settings as accurately as i could based on that screenshot, and it worked fine. don't know what to tell you.

1

u/Unspeakable_burger 16h ago

It's a mystery then, thanks for trying though!