How to Set Up Repaints with Common/Shared Textures

Discussion of rolling-stock creation & re-painting.

How to Set Up Repaints with Common/Shared Textures

Unread postby TheRailfan98 » Tue Apr 05, 2016 5:13 pm

I had forgotten to initially, but for anyone having trouble cloning the Empire Builder cars to work for repainting I've done a tutorial with more explaining than it probably needs. The first section is knowledge you probably know already if you create repaints. If not, then this can help you start.

When you create a repaint, most of the time you simply copy the original folder in the locomotive or car's name folder and rename it something pertaining to your repaint (in this example the Default folder was copied and named DPRW).
DPRW ACS-64 Structure.jpg

You then proceed to edit the bin files inside the copied folder to rename the locomotive or car and change the file directories.

Assets\<Provider>\<DLC Name>\RailVehicles\<Car Type>\<Locomotive or Car Name>\<Railcar Folder>

<Provider> is the folder name of whoever made it. Ex: DTG, RSC, etc.
<DLC Name> is the DLC's name within the <Provider> folder. In this example, the <DLC Name> would be NewYorkNewHaven.
<Car Type> is the locomotive or car's type within the "RailVehicles" folder. This is usually one of the following: Diesel, Steam, Electric, Freight, or Passenger. There are a few exceptions to that but generally this is how they're set up.
<Locomotive or Car Name> is the name of the locomotive or car within the <Car Type> folder. In this example, ACS-64 is the locomotive's name within the Electric folder.
<Railcar Folder> is whatever folder that is inside the <Locomotive or Car Name> folder. Usually this is simply named Default, but it can change commonly.

In this example the folder structure and changes look like this:

Assets\RSC\NewYorkNewHaven\RailVehicles\Electric\ACS-64\Default
Assets\RSC\NewYorkNewHaven\RailVehicles\Electric\ACS-64\DPRW

To create a Desert Pacific ACS-64 I copied the Default folder and renamed it DPRW. The only folder I had to change in the directories inside the bin files was Default. This works perfectly fine for most repaints, and if you create repaints you know this already. It's usually standard that all you have to change is the <Railcar Folder> folder (and display names) to clone something for repainting. However, when cars use shared/common textures changing won't work. Please note: Not all folder structures will have <Locomotive or Car Name>. Some may have <Car Type>\<Railcar Folder> rather than <Car Type>\<Locomotive or Car Name>\<Railcar Folder>. The Empire Builder coaches and most freight or passenger cars will do something like this.

As explained before, you generally just copy and rename the <Railcar Folder> folder and everything is fine. This is because within a GeoPcDx shape file it only looks for textures starting at a specified folder within the <Railcar Folder>. For example, the ACS-64 shape file will get its textures from "Engine\Textures" within Default. In the case of the Empire Builder coaches, they would call for something like 8-4-4Sleeping\Textures.
Empire Builder Structure.jpg

The problem is that 8-4-4Sleeper is already defined and unchangeable outside the GeoPcDx. So if you copied "MailBaggage" and renamed it to something like "MailBaggageNP", then it would still search for the textures in 8-4-4Sleeper because it is defined. The solution is actually very simple. In the GeoPcDx's search for texture files, Passenger is NOT defined. So rather than cloning each car's folder individually like you usually do with repaints, we need to clone the entire Passenger folder, and change that entry in the bin files.
Empire Builder Structure Copied.jpg

The folder structure now differs in the fact that you do not copy the <Railcar Folder> folder, but instead the <Car Type> folder. In this case, the only folder changed in the directory was Passenger, which became PassengerNP.

Assets\RSC\EmpireBuilderPack01\RailVehicles\Passenger
Assets\RSC\EmpireBuilderPack01\RailVehicles\PassengerNP

Anything after Passenger does NOT need to be changed in the bin files or folder names when you repaint the Empire Builder coaches. The only field that must change is Passenger. Generally speaking, when you want to rename something that uses shared/common textures, you will need to figure out the highest folder the GeoPcDx searches textures for. It really depends on the DLC. For my Christmas Present I had to clone the entire "RailVehicles" folder and rename it "RailVehiclesRebuild" to make the NS 4000 repaint possible due to the folder setup of the Dash 7's.

That was a lot of explaining and I didn't expect to make it this long, but hopefully this helps anyone having trouble cloning trains with shared/common textures like the Empire Builder coaches for repainting. :D
You do not have the required permissions to view the files attached to this post.
User avatar
TheRailfan98
 
Posts: 169
Joined: Mon Sep 22, 2014 6:18 am
Location: Colorado Springs, CO

Re: How to Set Up Repaints with Common/Shared Textures

Unread postby Logan20131 » Wed Apr 06, 2016 12:05 pm

This is very useful, thanks again.
Logan20131
 


Return to Rolling-Stock Design

Who is online

Users browsing this forum: No registered users and 2 guests