having trouble with repainting?
Moderator: Moderators
having trouble with repainting?
Hi everyone I've just completed a repaint on one of the Trent Valley assets I did the following cloned the asset re-named the file and created a separate folder for the cloned asset in the pop up.
Next I opened the texture folder and opened the texture of the asset I want to repaint, converted it to a dds and the clicked on edit dds, then repainted what I wanted on the texture in photoshop and finally saved it and selected the correct min maps as it gave me before editing the dds. I saved it over the original file and converted it from dds to TgPcDx. Is that correct or was I supposed to save it as a new file and then convert from dds to TgPcDx as when I go into Train Simulator 2015 it looks exactly the same as it looked as the original texture looked?
Any advice, cheers, Ian.
Next I opened the texture folder and opened the texture of the asset I want to repaint, converted it to a dds and the clicked on edit dds, then repainted what I wanted on the texture in photoshop and finally saved it and selected the correct min maps as it gave me before editing the dds. I saved it over the original file and converted it from dds to TgPcDx. Is that correct or was I supposed to save it as a new file and then convert from dds to TgPcDx as when I go into Train Simulator 2015 it looks exactly the same as it looked as the original texture looked?
Any advice, cheers, Ian.
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
If you haven't changed the description in the .bin you.ll have 2 assets with the same name in the assets list, but only 1 will show in game
Re: having trouble with repainting?
Have you given your reskinned stock a unique name in the config (.bin) file, otherwise there will be a name clash and it won't show up at all.
Matthew Wilson, development team at Vulcan Productions
http://www.vulcanproductions.co.uk
https://www.facebook.com/VulcanFoundry/
http://www.vulcanproductions.co.uk
https://www.facebook.com/VulcanFoundry/
Re: having trouble with repainting?
This is what I did.deltic009 wrote:Have you given your reskinned stock a unique name in the config (.bin) file, otherwise there will be a name clash and it won't show up at all.
- malkymackay
- Very Active Forum Member
- Posts: 2194
- Joined: Mon Jan 18, 2010 8:01 pm
- Location: Kilsyth, Scotland
Re: having trouble with repainting?
Just renaming the .bin file isn't enough. You need to edit the file, so that you have a unique description for it in game, as the previous posts describe.
Expanding the TS wagon fleet.
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
Are you wanting to make a new asset based on the supplied one, or change how the supplied one looks?
If it's the latter you're way off getting it to work: no need for a new .bin then, just a new texture in a folder tree mirroring that in the .ap archive. The game would then use that texture rather than the default one.
If it's the latter you're way off getting it to work: no need for a new .bin then, just a new texture in a folder tree mirroring that in the .ap archive. The game would then use that texture rather than the default one.
Re: having trouble with repainting?
Just been into the .bin file and they have all been automatically changed to the title I cloned the asset too.
I did find however <GeometryID d:type="cDeltaString">Thomson\WCMLTrentValley\Scenery\Extra_Bridges\[00]263overbridge</GeometryID> does that need to be changed as well?
I did find however <GeometryID d:type="cDeltaString">Thomson\WCMLTrentValley\Scenery\Extra_Bridges\[00]263overbridge</GeometryID> does that need to be changed as well?
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
Not if you're wanting to change the appearance of the default asset, but yes if you want a totally separate asset. The .Geo tells the game which texture to use, if you're using the default .Geo you'll get the default texture.
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
The path to, name and of the .Geo referenced in the .bin should match the path to and name of the .Geo you're using....now I've seen the screen shot (was on my phone earlier) it looks in order.
Did you rename the texture at all?
(personally I save edited .dds files with a new name, usually adding a number after the name...bridge1, bridge2 etc depending on how many edits it takes. That way I always have the original to fall back on when I realise I've made a mess of things)
Have you tried converting the edited .TgPcDx file back to .dds and looking to see if it has been edited?
(personally I save .dds conversions to a separate working directory, the game has no need of .dds files and it logically defines what it's for)
Did you rename the texture at all?
and did you save that .TgPcDx file?class1987 wrote:I saved it over the original file and converted it from dds to TgPcDx
(personally I save edited .dds files with a new name, usually adding a number after the name...bridge1, bridge2 etc depending on how many edits it takes. That way I always have the original to fall back on when I realise I've made a mess of things)
Have you tried converting the edited .TgPcDx file back to .dds and looking to see if it has been edited?
(personally I save .dds conversions to a separate working directory, the game has no need of .dds files and it logically defines what it's for)
Re: having trouble with repainting?
I only want to repaint the texture to a different colour that's all really.gptech wrote:Not if you're wanting to change the appearance of the default asset, but yes if you want a totally separate asset. The .Geo tells the game which texture to use, if you're using the default .Geo you'll get the default texture.
Continuing onto your other post you sent, no I didn't rename the texture file was I meant to do that? Because I assumed I just had to open up the cloned texture file, repaint what I wanted and overwrite the original .dds in the ddsTemp folder and convert it back to .TgPcDx again?
p.s if I didn't mention it before I'm using RW Tools 6
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
Then you don't need a whole new asset, just a revised texture in a mirror of the folder structure that's in the .ap archive.class1987 wrote:I only want to repaint the texture to a different colour that's all really.
No, the .Geo will be looking for a texture in the textures folder below where IT lives named 263overbridge_SM.TgPcDx so it shouldn't be renamed.no I didn't rename the texture file was I meant to do that?
I don't use RW Tools for this job, find it far too clunky (RSBin Tool is my choice) but simply converting the file in the ddsTemp folder may not necessarily also pass those changes to the texture in the *right* folder.Because I assumed I just had to open up the cloned texture file, repaint what I wanted and overwrite the original .dds in the ddsTemp folder and convert it back to .TgPcDx again
Cut what you've done out of the game, paste it somewhere safe and start again.
In the ..\Assets\Thomson\WCMLTrentValley folder create the following folder tree, all empty folders:
Scenery\Bridges\textures
Now copy and paste your edited texture into the textures folder, making sure first that it actually has been edited. If it hasn't, read the manual again and see how RW Tools handles saving your edits and repaint it again.
That's it...job done. The bridge will now display it's new frock as files outside the .ap archive are used in preference to those inside. The downside is that if you verify the game files those files outside the .ap will disappear when the game is restarted, so always keep a backup of your edits to default stuff. (I'm sure you do anyway, and not just Steam acquired stuff...backup, backup, backup is the old mantra)
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Re: having trouble with repainting?
If you are using RW_Tools, all you need to do is (after editing/repainting your texture):-
1. Save the .dds file with the same name as before and in the same format and same number of mipmaps
2. It will be saved into the RW_Tools\Tempfiles folder
3. Then go to the RW_Tools\Graphics Tools\Convert .dds to .TgPcDx menu, select your .dds file and it will automatically replace your original .TgPcDx file with the new one (the original will then get a .bak suffix so that you can revert if necessary).
Mike
1. Save the .dds file with the same name as before and in the same format and same number of mipmaps
2. It will be saved into the RW_Tools\Tempfiles folder
3. Then go to the RW_Tools\Graphics Tools\Convert .dds to .TgPcDx menu, select your .dds file and it will automatically replace your original .TgPcDx file with the new one (the original will then get a .bak suffix so that you can revert if necessary).
Mike
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
Re: having trouble with repainting?
I did that already but it never appeared in game, the model does that I re-named but the texture is still the same as the original after I repainted it?
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: having trouble with repainting?
Have you checked the texture yet? If it hasn't been altered then it won't look any different .
Re: having trouble with repainting?
Yes I checked and it's the new colour I repainted it to in photoshop but still the original colour in game?gptech wrote:Have you checked the texture yet? If it hasn't been altered then it won't look any different .