SourceIO icon indicating copy to clipboard operation
SourceIO copied to clipboard

Importing Portal 2 mdls are metallic and messed up textures

Open Bassquake opened this issue 1 year ago • 10 comments

As title. After unpacking using Crobar 0.74 on Portal 2 and then Import into Blender 4.2, the objects are metallic and textures are wrong.

This is what it looks like importing metal_box.mdl from models/props:

metal_box_portal_2

This is its shading settings:

metal_box_shadings_portal_2

Disconnecting Green to Metallic gets rid of the metal look but textures obviously still borked.

Bassquake avatar Jul 22 '24 09:07 Bassquake

image Just tested in 3.6 and 4.2, textures import correctly. Make sure you're using latest version of SourceIO

REDxEYE avatar Jul 22 '24 09:07 REDxEYE

It's probably texture conflict. You did not delete old texture. Both game uses same texture name and path, so sourceio thought that texture was imported before and re-used old portal1 textures

REDxEYE avatar Jul 22 '24 09:07 REDxEYE

Im using 5.4.3. Ive always used New to create a new scene in Blender so it shouldnt be using old texture though.

Bassquake avatar Jul 22 '24 09:07 Bassquake

Have you configured texture cache?

REDxEYE avatar Jul 22 '24 09:07 REDxEYE

Have you configured texture cache?

Where do I set that? Currently these are Blenders System settings:

cache

Bassquake avatar Jul 22 '24 09:07 Bassquake

image

REDxEYE avatar Jul 22 '24 09:07 REDxEYE

Mine was empty, so put in a path. Still have the same issue. Seems to keep reimporting the same Portal 1 and some other folders everytime. Clicking the X to Clean All Resources or - to Delete the folders in the list doesnt make a difference.

cache-list

Bassquake avatar Jul 22 '24 10:07 Bassquake

Uninstalled and reinstalled SourceIO and restarted Blender. I get just the one path showing now. But object is still not right.

reinstalled

Bassquake avatar Jul 22 '24 10:07 Bassquake

No idea then

REDxEYE avatar Jul 22 '24 10:07 REDxEYE

If I change the $basetexture to one of these, it looks ok. I guess Ill have to manually fix them as I go.

textures-that-work

Bassquake avatar Jul 22 '24 11:07 Bassquake

Should be partially fixed now

REDxEYE avatar Sep 08 '24 11:09 REDxEYE