hash files

tomurban

New member
Does anyone know how to fix this?

I have imported NYC RDC 5772 into TRZ 2009 from TRZ 2006. In Trainz 2006 it showed zero errors or warnings. However, in Trainz 2009 it shows the following error and does not appear in raiyard.

Texture rdc_body/Env_metal.texture is missing for mesh "hash-A8kuid 58843 150\rdc_body\rdc-body.im"

I think the problem is the capital "E" in Env, but how do you correct it when "hash-A8 is a "read only" located in the Local Folder. All of the env files in the body folder begin with a lower case "e".

Thanks for your input.

tomurban
 
Does anyone know how to fix this?

I have imported NYC RDC 5772 into TRZ 2009 from TRZ 2006. In Trainz 2006 it showed zero errors or warnings. However, in Trainz 2009 it shows the following error and does not appear in raiyard.

Texture rdc_body/Env_metal.texture is missing for mesh "hash-A8kuid 58843 150\rdc_body\rdc-body.im"

I think the problem is the capital "E" in Env, but how do you correct it when "hash-A8 is a "read only" located in the Local Folder. All of the env files in the body folder begin with a lower case "e".

Thanks for your input.

tomurban

Hmm.............. the folders are read only however here in 2010 the files are read write, just tried a couple to test.
 
Does anyone know how to fix this?

I have imported NYC RDC 5772 into TRZ 2009 from TRZ 2006. In Trainz 2006 it showed zero errors or warnings. However, in Trainz 2009 it shows the following error and does not appear in raiyard.

Texture rdc_body/Env_metal.texture is missing for mesh "hash-A8kuid 58843 150\rdc_body\rdc-body.im"

I think the problem is the capital "E" in Env, but how do you correct it when "hash-A8 is a "read only" located in the Local Folder. All of the env files in the body folder begin with a lower case "e".

Thanks for your input.

tomurban

Tom,

Is this an asset that you have cloned ?? In 2006 assets go to 'Read only' when you clone them until you rename them in the config file and commit?

Andy
 
Tom,

Is this an asset that you have cloned ?? In 2006 assets go to 'Read only' when you clone them until you rename them in the config file and commit?

Andy

Nope, not cloned. Originally just downloaded from DLS to 06. Had to edit it in CMP to fix some obsolete tags and stuff from its 04 origin. Then committed in 06 CMP where it showed no errors remaining. I think I will delete from 09 and see if I can download from DLS directly into 09.

Thanks, Tom
 
The most likely cause of your Env_metal problem is that it is being applied in the mesh in a manner not allowed by TS2010. To correct it, use PEV's great PM2IM program. If you don't have it, get it here
http://www.members.optusnet.com.au/~villaump/pevsoft.htm

Bob

OK Bob, I will give it a try. However, I was under the impression that PM2IM was for converting .PM files to .IM files. The files that I am having a problem with are shown as .IM files. By the way, downloading the RDC directly from the DLS to 09 did not solve the problem. It still exists, except the file names changed slightly.

Thanks, Tom
 
OK Bob, I will give it a try. However, I was under the impression that PM2IM was for converting .PM files to .IM files. The files that I am having a problem with are shown as .IM files. By the way, downloading the RDC directly from the DLS to 09 did not solve the problem. It still exists, except the file names changed slightly.Also, the hash-A8 file in the local folder is empty.

Thanks, Tom

Bob: PM2IM will not open these files. Probably because they already have the .IM file extension. The NYC RDC may be one of the assets that can not be made usable in 09 or 10. It might be easier to re-work the built-in CN RDC. I think I will give that a try. (using a cloned version)

Tom
 
Bob: PM2IM will not open these files. Probably because they already have the .IM file extension. The NYC RDC may be one of the assets that can not be made usable in 09 or 10. It might be easier to re-work the built-in CN RDC. I think I will give that a try. (using a cloned version)

Tom

Scratch that idea. Cloning and then committing the built-in CN RDC shows the same errors as the NYC version plus a ton of warnings. Perhaps I should stick to TRAINZ 06, no shortage of fixable assets there. Opps, almost forgot, TRAINZ 06 won't be supported after September, 2010.

Tom
 
Tom,
It won't be the "E" that is causing this. Even though TS2009/10 both make every thing lower case when they are opened for edit.

Have you ensured that the env_metal.tga file is in the same folder as the mesh?

If the file is present, I suggest you use my PM2IM to strip textures. Set that option in the program and it will allow you to open and process .im files.. The program will remove any texture references from the slots such as "ambient, shine, selfilum, specular" that are not supported in TS2009/10.

And keep in mind that you do all your editing in Content Manager.. Don't try to directly edit the hash files or you will put the data out of step with the assets.tdx data..


HTH,
 
Last edited:
PM2IM will work with .pm or .im mesh files. The program can be configured to run it within Content Manager. Besure you have the Options set to strip textures and zero speculars. To use, open the kuid to Edit - Edit in Explorer then right click the mesh file (.pm or .im) and select Open with PM2IM.
If any texture names contain non-alpha-numeric characters (or non english characters) these are replaced with an underscore, and a notice showing the old name and the new name is displayed so you can correct them.

Bob
 
Tom,

I have looked at this asset, and all three meshes in the body folder place the env_metal.tga texture in the TEX_SHINESTRENGTH slot in the texture references. This is the cause of the errors. The reflection will still work because the texture is also placed in the TEX_REFLECT slot (which is acceptable to TS2009/10)

As Bob (thanks again, Bob) and I have suggested, run PM2IM on them and the erroneous references will be removed.


@Bob, have you checked out my AttachmentMaker program? Your suggestion came to fruition hopefully..

Have fun
 
Last edited:
Tom,

I have looked at this asset, and all three meshes in the body folder place the env_metal.tga texture in the TEX_SHINESTRENGTH slot in the texture references. This is the cause of the errors. The reflection will still work because the texture is also placed in the TEX_REFLECT slot (which is acceptable to TS2009/10)

As Bob (thanks again, Bob) and I have suggested, run PM2IM on them and the erroneous references will be removed.


@Bob, have you checked out my AttachmentMaker program? Your suggestion came to fruition hopefully..

Have fun

Bob & PEV: Thank you gentlemen. I will have another go at this, perhaps later today. Mother's day today and my lovely wife is expecting to be wined and dined.

Take care, Tom
 
The RDCs are full of texture errors.

Peter's PM2IM and Texture2TGAcon are very useful for this. You need to run the PM2IM on every file in the "body directory and the night mesh in in the subsequent night subfolder.

Run the Texture2TGA first. This will remove the warnings relating to the .texture files missing.

Run the PM2IM and this will remove the relevant envmap errors.

John
 
@Bob, have you checked out my AttachmentMaker program? Your suggestion came to fruition hopefully..

Have fun
@Peter,
I've download and installed it but haven't had a chance to try it yet. I want thank for this program and all of the others that you've made for us. They've provided a great help in solving compatibilty problems in the various versions of Tranz and legacy kuids. Without PM2IM a lot of existing stuff would be unuseable in the newer versions of Trainz. Auran owes you a lot also.

Bob
 
I didn't know this! How do you configure it to run in CMP?

Paul,

The instructions how to set my programs to run in CM2 (TS2009 and 2010) are in the readme.txt files that are part of the installations for them.

CMP for TRS2006 and TC does not support the OpenWith process so no luck there.
 
Bob & PEV: Thank you gentlemen. I will have another go at this, perhaps later today. Mother's day today and my lovely wife is expecting to be wined and dined.

Take care, Tom

Just ran the body and door .IM files through PM2IM as suggested and all mesh errors have disappeared. The RDC now shows error free in CM2. PEV,I am sure I will be using your programs many times in the future as I move older assets from the DLS and 06 into 09. On behalf of all Trainzers everywhere, I thank you.

Tom
 
Consider your OS as a culprit.
I had similar issues.
Giving full access permissions to "Everyone" for the whole Auran folder and all sub-folders and files seemed to help.
Also once you have done that, go to Aurans folder and using a command line, change the attributes for all files and folders. from read only to writable.
 
I had asked this question previously, a long time ago:

In TRS2006 the "Local" file is where all your downloaded assets, routes and sessions, are stored.

All these assets are many, many, "hash files" with complex encrypted names ... ie: content 0b31iokc109

If you had saved 6 separate "Local" files from previous installations, and looked inside those 6 Local files, would the same 6 assets (in all the saved Local Hash Files) by ie: Majekear-"Hopper C&O" all be the same encrypted name, ie: content 0b31iokc109 ... in each of the separate saved local files ?

And if you copy and pasted all the contents, of all the 6 Local files, into one large Local file, would there be redundant duplicates of assets, ie: content 0b31iokc109_1 ... content 0b31iokc109_2 ... content 0b31iokc109_3 ... etc ... etc ... ?

Or would the same redundant asset be named by you PC as 6 separate, differently, as 6 randomly named hash file names ?

Or are the hash files names all predetermined, and named by Auran/N3V DLS ?

Would this asset on my PC (in Antarctica) ... be the same named hash file on your PC (in Germany), ie: content 0b31iokc109 ?

How are hash files named ... is it a completely random naming process by your own PC ?

I once had a completely huge "Local" file (not to brag) :hehe:, containing thousands of assets ... My trainshed pick list, was miles long, and the game lagged from having so many assets loaded in the game.
 
Last edited:
Back
Top