Page 1 of 1

materials.csv tracks file conflict

Posted: Fri Dec 24, 2010 6:29 pm
by tonius11
I made a custom ground texture, so now I need to make a materials.csv file. Too bad this will make my city conflict with other cities that use a materials.csv file... Is there a way to avoid that?

Posted: Fri Dec 24, 2010 7:50 pm
by HummersRock
I think the only way to avoid such a conflict would be to have a material.csv file containing all custom textures/effects for all tracks. I don't think there is such a thing, which is is strange. I think there is such a file for sirens, why not track effects?

Posted: Fri Dec 24, 2010 8:38 pm
by tonius11
That's a good idea. I can make a materials.csv for all tracks and put it in the ar file of my track. Therefore, I need a list with all the tracks that use custom materials. I already know two:

- New York City
- Bay City

If anyone knows another city with an own materials.csv file, please post here.

Posted: Fri Dec 24, 2010 8:51 pm
by Franch88
The materials.csv file, used for the effect on wheels for tracks, is pretty like the vehtypes.csv file one, used to let work the sirens in cop cars. The bad thing of them is that they're files of the game where are "collected" the new entries, and the edits work like a mod, not like an add-on. Yeah, this file should be avaialble separately like is for the vehtypes.csv file (inside the addon_vehtypes.ar called file), but make a list of the new textures added and used by the tracks, not all obviously, is kinda harder than with police type cars, and then, without this the game doesn't crash like is when using the police cars sirens.
Do like Sajmon, make a separated .ar file with the materials.csv file included in your track archive, and put all the possible found textures names in it.
MM2 Game Loader program solves this problem by making a .ar file with all the new things added to those (and also other) shared files everytime it does a game folder scan, but not everyone use the program. Tonius, you can use this program and scan various tracks with it to help yourself in finding the tracks that add new textures in the materials.csv file.

Posted: Fri Dec 24, 2010 9:02 pm
by tonius11
OK, I'll scan all the tracks on this site and make one ar file from them.

Posted: Fri Dec 24, 2010 9:26 pm
by sajmon14
If want I can send you the materials file with some of mine and other maps added to list, I don't remember if it was locked in Bay City files

Posted: Sat Dec 25, 2010 10:14 am
by tonius11
If want I can send you the materials file with some of mine and other maps added to list, I don't remember if it was locked in Bay City files
Yes, it's locked. Can you PM me an unlocked version?




I have scanned all tracks on this site and on MM2C and MM2BR. These tracks will be supported:

- Bay City
- New York City
- Neustadt
- Pelly-Bank City

Posted: Sat Dec 25, 2010 9:05 pm
by tonius11
oops double post

OK! The cities now don't conflict with each other anymore, and now I can add my own materials to the materials.csv file!

Posted: Sat Dec 25, 2010 9:21 pm
by Franch88
A good idea is to provide this file also as separate download beside included separately in the release of a track where it has been used. Exactly like is for the vehtypes.csv file, separately provided and updated here too. However, there's always to say that this file about new tracks materials effects isn't indispensable, unlike the one for the police sirens, without changes in it new tracks work the same without let crash the game.

Discussion splitted, was better to do now.