PDA

View Full Version : us textures/vegitation


rudder
03-11-2008, 04:48 PM
Hi all, looking for the us textures in my route ,only able to get the uk textures. searched this forum found some info on past attemptes, still not sure if this is poss.thanks.

rudder
03-13-2008, 06:52 AM
Well! I cant beleive that everyone is happy with just the uk tex/veg in the us game. I found the xml file and the bin file that mike came up with , now what do I do with It? I would not be asking these dumb #*% questions If i new anything about computers. thanks.

t1metraveller
03-13-2008, 10:45 AM
Hi rudder,

Unfortunately, in this game, terrain textures aren't like objects where you can select from either the European set or the US set or another developer.

Once a route is created, the terrain texture set is determined by the texture set specified in the particular route template used. If you use a US template, you get the US texture set. If you use "Default" or one of the European route template, you get the European texture set.

One of the guys created a combined texture set (texturing.bin file). It works, but then your route cannot be uploaded for others unless they have the same combined texture file.

So, until RSDL gets this sorted out, or not (I understand this was a design feature, to have dedicated texture sets), we will have to live with it or use combined terrain texture files. Not sure what their plan was for 3rd party textures. At this point in time, there is no mechanism to include 3rd party textures except by combining them with the game's default texturing.bin file.

Bill

rudder
03-13-2008, 02:17 PM
Hi Bill, thanks for your reply, I do have the texture bin file, but I dont know what folder to put it in thanks.

t1metraveller
03-13-2008, 02:53 PM
Hi rudder,

To make sure we are talking about the same file(s), the ones I mean are on page 3 of this thread:

http://forums.flightsim.com/vbts/showthread.php?t=267792&highlight=texturing.bin&page=3

tomkat41 made two combined texturing.bin files. Each had all textures, of course. One had the US textures at the top, and the other had the UK textures at the top.

The idea was to save the US one to:
Assets\Kuju\RailSimulatorUS\Environment\Terrain\te xturing.bin

and the UK one to:
Assets\Kuju\RailSimulator\Environment\Terrain\text uring.bin

This will give you access to all textures, whether you have a European default route or a US one.

Be sure to backup your old texturing.bin files, remembering which is which. If you want to distribute any routes made this way, you would have to supply the combined texturing.bin file you used for the route in order for it to work for others. Not sure if this is a good idea, as far as redistribution goes, but I don't know of any other way at the moment.

Hope this helps.

Bill

zbobg
03-13-2008, 08:42 PM
IT is a BAD BAD idea to modify the standard texturing.bin files because it will make any route non-standard that uses any of the textures in that terrain paint definition. This could cause trouble in the future if RailSim is updated with a new terrain paint file.

Any route distributed with that modified terrain paint would also mess up the users installation with a non-standard file. Other downloadable routes with different non-standard terrain paint definitions could completely break other routes. This is a BAD BAD method of changing the Terrain Paint.

The best way is to include a custom texturing.bin file in an 'Assets/{Developer}/{Route}' folder that would apply a custom terrain paint only to that route.

Here is another way: Create a 'Common' folder with the modified texturing.bin inside. To use it just reference that asset in the route blueprint instead of the standard US or EU texturing.bin file. This can be done by creating a new route blueprint or directly editing an existing route's 'TerrainBlueprint' in the Content\Routes.xml file.

So I created two texturing.bin files, each contains the complete set of combined US and EU textures. The order of the list for each is different, the Texturing_US.bin has the US textures listed first with the US 'rock' definition, the Texturing_EU.bin has the EU stuff listed first with the EU 'rock' definition. The texture display names are changed for easier use.

This is the contents of the file attached below.
\Rail Simulator\Assets\Kuju\Common
\Rail Simulator\Assets\Kuju\Common\Environment
\Rail Simulator\Assets\Kuju\Common\Environment\Terrain

02/28/2008 12:48 AM 14,844 Texturing_EU.bin
02/29/2008 02:17 AM 15,304 Texturing_US.bin


The file is a RS_Tools package, unzip to a temporary folder, doubleclick AssetSetup.exe to install. Remove the \Common\Environment\Terrain folder to uninstall. If this package is uninstalled, any route that used this terrain paint file will likely fail to draw terrain textures.

To use one of these with an existing route you must edit the Content/Routes.xml file to replace the reference in the 'TerrainBlueprint' for that route. If the route originally used the EU terrain paint the Texturing_EU.bin file should be used as a replacement. The Texturing_US.bin should be used if the existing route was based on the US content.

Because this is an Assets add-on, for a route to use this new terrain paint the add-on has to be enabled in the World Editor. Click the object set filter icon (the blue box in the second left pop-up window), select Kuju->Common and checkmark the box. This must also be done for an existing route before the textures will show up in the lists. This will add a PreLoad block to the route's definition in the routes.xml file, that is normally an irreversible route change so a backup of the Content/Routes.xml file is recommended. The PreLoad block entry for that route can be manually edited out later if the modified terrain paint files need to be removed. You must enable the Common folder for an existing route in the World Editor before changing the TerrainBlueprint as described below.

Below is the TerrainBlueprint entry an existing EU based route. To use the combined textures you need to replace two entries. Replace the Product entry 'railsimulator' with 'common', replace the BlueprintID entry 'Texturing.xml' with 'Texturing_EU.xml', same procedure for a US based route but use 'Texturing_US.xml' instead. Note the use of '.xml', pay no attention to the fact that the actual files have '.bin' extensions, the entry here must use the '.xml' extension.
<TerrainBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">kuju</Provider>
<Product d:type="cDeltaString">railsimulator</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">Environment\Terrain\Texturing.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</TerrainBlueprint>

So after modifying you end up with:
<TerrainBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">kuju</Provider>
<Product d:type="cDeltaString">common</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">Environment\Terrain\Texturing_EU.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</TerrainBlueprint>


Uninstalling the modified terrain paint files will break a route that used one of those files. Any missing texture in a route will not display properly. There is no easy way to remove a terrain paint texture once it has been applied, I suppose you could paint over it with a standard texture. As a last resort you can remove the actual tile entry in the MixMap folder, that would remove ALL the terrain paint for that tile (you would have to entirely repaint the tile).

If you need to remove the reference in an existing route, simply change the TerrainBlueprint entries (in the routes.xml file or in the route blueprint) back to one of the two standard files.

Notes:
1. Neither of the modified texturing files are optimized, they were created by copy and paste with no other (major) modifications. There are duplicate entries where a texture is the same in the EU and US versions, there may be duplicate textures but they do have different display names. The display names are arbitrary.
2. There are NO procedural flora used in any of the US textures - that's how they are in the standard files. Existing procedural flora could easily be added to some of the US textures but it might be a good thing to have a duplicate texture available without procedural flora.
3. The US textures have NO winter textures - that's how they are in the standard files. I am presently adding some winter textures to the US terrain set, I don't know how far I'll get with that or how successful I'll be.

t1metraveller
03-13-2008, 09:15 PM
I totally agree, zbobg. It is a bad, bad thing to modify default texturing files and include them in a route distribution.

However, the developer has left us little else to do but hack files to get new textures, whether it is done this way or another.

See the discussion over at UKTS, talking directly about this subject. RSAdam posted in this thread this afternoon. Maybe we will get some direction here.

http://forums.uktrainsim.com/viewtopic.php?f=218&t=81439

Bill

JBrownCS
03-14-2008, 04:10 AM
You don't need to hack the one in the RailSimulator[US] hierarchy. What I did on my test route was to put it in JBrownCS\JBCSL\Environment\Terrain\JBCSL_Texturing .xml and then update my route template with the updated location of the texturing file. This means only your new route will get the updated textures. Of course I will need to find a way to package this file once I am ready to upload my route but this should not be a problem.

rudder
03-15-2008, 07:09 AM
Hi all of you, thanks for the info ,now not only me,but others have something to work with, thanks. ( have a good irish day )