COMMUNITY FORUM

texture files consolidation

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created27.06.2017 03:00


Stephen Westcott (swestcott) 27.06.2017 03:00
I was wondering whether there is a way to consolidate the multiple copies of different texture file so that there is only one used? e.g building textures or grain elevator files.
Thanks in advance.

Bilbo Beutlin (BBeutlin) 27.06.2017 11:20
You could use UV mapping.
But that requires appropriate support already in the 3D modeler software.
Or you must use special custom shaders.

Anyway you'll need advanced experience in 3D modeling, shaders, textures.

Stephen Westcott (swestcott) 29.06.2017 06:35
Thanks Bilbo, not up to that level yet.

Rene Pedersen (Macfat) 29.06.2017 06:43
I think Stephen means that it's the same texture file being used multiple times but from different paths.

What I would do is open the map i3d file in a text editor (eg notepad++). Find the fileid for the copies and do a search and replace in the file with the master fileId

eg if you have:
<File fileId="1" filename="texture/example.png" relativePath="true"/>
<File fileId="2" filename="texture/example.png" relativePath="true"/>
<File fileId="3" filename="texture/example.png" relativePath="true"/>

do a search for fileId="2" and replace with fileId="1" and the same for fileId="3"

delete the extra fileId="2" and fileId="3" lines in the <Files .. > section and delete the files. If there is a lot of different copies you can open the map in the Giants editor and do a full export with files to a new location instead of deleting files individually to make sure only the required files are copied over.



Note: Log in to post. Create a new account here.