Confusing train + SMRI traincar error

Discuss maps, trains and other modding topics
Post Reply
monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Confusing train + SMRI traincar error

Post by monolithos » Fri Aug 20, 2010 1:10 pm

hi guys,
glad finding this forum :)
hopefully my problems will be revealed by the expert here :mrgreen:

i hav 2problems with SMR :

1. Confusing Train
i created complicated route of tracks in France Map.
after creating more routes, some trains begin to confuse, they often turn back and make a loop again and again.
may this caused by too many alternate way to one destination or its caused by too many train and routes? so if some of the trains meet each other, they are not waiting but they make a turn back.

2. SMRI Traincar Error
everytime the game going to load the traincar of some specific goods like wool, grape, passenger etc..the game will crash, but it wont crash if loading milk and grain.
after reading the xml file, i thing this may caused by loading problem for the double stack car which the milk dont have.
in this case all non-SMRI items (train/traincar) will load the goods successfully with no problem at all.

this is my recent system installed :
1. SMR + patch 1.10
2. self modding of XML file for some more goods and industries (livestock, wood, paper, swine, oil, gold, etc) in France Map (tested and all trains and goods have no problem in loading and delivering).
ah, its only beer and wine cant be use together in this map.
3. SMRI 1.01

so guys, any enlightenment plzz..
thanks in advanced and sorry for the bad english :wink:

M

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Confusing train + SMRI traincar error

Post by Jancsika » Fri Aug 20, 2010 2:56 pm

1. Confusing Train
i created complicated route of tracks in France Map.
after creating more routes, some trains begin to confuse, they often turn back and make a loop again and again.
may this caused by too many alternate way to one destination or its caused by too many train and routes? so if some of the trains meet each other, they are not waiting but they make a turn back.
Please read the strategy guide:
http://www.smrsimple.com/forums/viewtop ... =34&t=3803


2. SMRI Traincar Error
everytime the game going to load the traincar of some specific goods like wool, grape, passenger etc..the game will crash, but it wont crash if loading milk and grain.
after reading the xml file, i thing this may caused by loading problem for the double stack car which the milk dont have.
in this case all non-SMRI items (train/traincar) will load the goods successfully with no problem at all.
You have to have a dedicated TrainCar for each Good you want to use.
As for hauling both beer and wine:
Go to the RRT_Traincars_MAPNAME.XML file, you will find this entry to haul wine:
<TrainCar>
<szName>Cask Car</szName>
<szGood>Wine</szGood>
<szModel>Cask_Car.kfm</szModel>
<szDummyModel>Cask_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TrainCar>
Insert the following:
<TrainCar>
<szName>Beer Car</szName>
<szGood>Beer</szGood>
<szModel>Cask_Car.kfm</szModel>
<szDummyModel>Cask_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TrainCar>
You might have to check the spelling of the BEER it could be also BIER. You can try it or check in the RRT_Goods……XML file how it is spelled there.
(German maps Bier, American maps Beer)

Generally: be sure that you have a clean UserMaps and CustomAssets folder and be aware that in SMRI if you modify one map it affects all the other maps.

monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Re: Confusing train + SMRI traincar error

Post by monolithos » Fri Aug 20, 2010 4:18 pm

hi Jancsika,

thankss..happy to hear from you,
i think this would take weeks :mrgreen:

#1
thanks, this will solve the looping train problem.
but it seems that i should re-design all of my route :(

#2
i've already have dedicated traincar for each good,
i have it in RRT_Traincars_France.XML as u said,
but it was as simple as this :
<TrainCar>
<szName>Cask Car</szName>
<szGood>Beer</szGood>
</TrainCar>

i'll try the beer thing tomorrow :D

but the big problem #2 is : the new train in SMRI seems cant load the double stack container goods.
once the train try to load the traincar, it will crash.
except for goods like : milk, grain..which dont have the double stack container car (as read in traincars.xml)

the old train (not from SMRI) can load any of goods without problem, but its not a double stack container car.
this old train can be upgrade to any new train while on its way, but once the new train try to load the traincar at the depot..it will crash again :(

please more detailed info.
thanks.

User avatar
karsten
Posts: 643
Joined: Sun Dec 17, 2006 8:49 pm

Re: Confusing train + SMRI traincar error

Post by karsten » Fri Aug 20, 2010 7:59 pm

Just one little piece of advice which will save you endless hours of frustration: delete SMRI completely and start again fresh with ONE user map at a time. :P As Jancsika says: first be sure that you have a clean UserMaps and CustomAssets folder :!:

THEN you can copy back a single map from our finished maps database (it contains most, if not all the SMRI maps, individually) and get that to run and finally, if it works smoothly, you can start modifying it.

SMRI was a great effort at the time, but once you want to start modifying maps, you need to remove it. Believe me, the whole effort to develop stand-alone CIC and SAM maps evolved out of the problems (globals and memory issues) that packages such as SMRI inadvertedly created.

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Confusing train + SMRI traincar error

Post by Jancsika » Fri Aug 20, 2010 9:08 pm

Just one little piece of advice which will save you endless hours of frustration: delete SMRI completely and start again fresh with ONE user map at a time.
Good advice, SMRI was not ment to do mods.

Since I made reply before I've seen Karsten's, here is the confusing answer:
In this game there are DSC (Double Stack Container) Goods, and DSC Traincars, they can be found in this folder.
C:\Users\User\Documents\My Games\Sid Meier's Railroads!_SMRI\CustomAssets\XML

You can pick out the DSC Traincar, copy it into the RRT_TrainCars_France.XML file and change the cargo line (The second line) to anything you want to haul.
If you want to haul several different goods you have to change the first line too. Just like with the Beer/Wine setup.
This setup is from a rather old map (Basin and Range) and to confuse things it also has a Good: “Double stack container. You don’t need that in France.
If you want to see a lot of DSC containers, try Side to Side SAM.
If this is too confusing just let me know,

monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Re: Confusing train + SMRI traincar error

Post by monolithos » Sat Aug 21, 2010 6:38 am

@karsten
thanks for your simple advice,
but it didnt work :(
after delete and re-install,
i just realized that i cant even open the side to side DSC map to play.
might be something corrupted from my SMRI ?

@jancsika
a little confusing for me, but already try to copy "wool" things from SidetoSideDSC XML to France XML :
traincars :
<TrainCar>
<szName>Double Stack Container Wool Car</szName>
</TrainCar>

goods :
<Good>
<szName>DSC Wool</szName>
</Good>

also try add for depots :
<Depot>
<szName>Distribution Center #1 Annex</szName>
</Depot>
<Depot>
<szName>Distribution Center #2 Annex</szName>
</Depot>
still cant work :(

thanks again bro !

User avatar
karsten
Posts: 643
Joined: Sun Dec 17, 2006 8:49 pm

Re: Confusing train + SMRI traincar error

Post by karsten » Sat Aug 21, 2010 9:33 am

but it didnt work :( after delete and re-install,
Can you be more specific, what did you re-install?

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Confusing train + SMRI traincar error

Post by Jancsika » Sat Aug 21, 2010 7:36 pm

@karsten
thanks for your simple advice,
but it didnt work
after delete and re-install,
i just realized that i cant even open the side to side DSC map to play.
might be something corrupted from my SMRI ?
Forget about SMRI. The more you try edit it the more trouble you will have. It is just not suitble for editing.
Period !!!!
--------------------------------------------------
You not just uninstall SMRI. It does not work that way.



You have to delete
C:\Users\User\Documents\My Games\Sid Meier”s Railroads\ completely.
Then start a new game.
It will create a new C:\Users\User\Documents\My Games\Sid Meier”s Railroads folder with clean UserMaps, and CustomAssets folders.
Next go in the Map Database section of the forum and download the Basin And Range map
http://www.smrsimple.com/2009/06/basin-range/
unzip it in the new and clean UserMaps folder.
The reason I suggest this map, because it is a little more difficult than the France map, and also has the Double Stack containers, Distribution Center and Ports.

We will be dealing with one map that has all the details in the right place, so you will be able to figure the relationships.

Keep always in mind that to produce a Good you will need:
1. An industry to produce it.
2. An annex or a city to load it.
3. A traincar to haul it
4. An other industry or a City to dispose of it
And never-never change good’s name. (“Milk” –or- “Double Stack Container Milk” are not the same!!!!).

Let’s hear from you, how is the going.
Jancsika

User avatar
Warll
Posts: 928
Joined: Fri Oct 27, 2006 10:31 pm
Location: Tokyo, Japan
Contact:

Re: Confusing train + SMRI traincar error

Post by Warll » Sat Aug 21, 2010 7:54 pm

If you use the new Map Shifter beta it will uninstall old maps, including SMRI, for you.
Image

monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Re: Confusing train + SMRI traincar error

Post by monolithos » Mon Aug 23, 2010 4:44 pm

thanks jancsika,

so sorry, quite busy these days..but i must try your advice within this week :)

also thanks for the link :D

umm..is Basin & Range the only map could run most of the SMRI features (new trains, DSC, distribution center and ports) ?

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Confusing train + SMRI traincar error

Post by Jancsika » Mon Aug 23, 2010 6:52 pm

umm..is Basin & Range the only map could run most of the SMRI features (new trains, DSC, distribution center and ports) ?
You can run any map in the map database section.
Jusr remember to remove everything from the UserMaps folder.
You also might try the "Mapshifter" program, it is in Beta, but it seems to be working.
And please forget about SMRI. It will mess up things and the maps in the map database section have much more than SMRI has.
If you have 3-4 Gb Ram you might try Borneo Island, Nafta Phase II or Green Mars.

monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Re: Confusing train + SMRI traincar error

Post by monolithos » Tue Aug 24, 2010 2:13 pm

hi Jancsika,

thanks a lot
the Basin & Range map works !!
and the double stack containers and its stuff work very well.

except..the passenger car still crash if loaded by new train.
but its fine for me now.

its true i should forget SMRI..nice advice !
now i can run the DSC things to my france moded map, with the basin&range installed :D
still love france terrain rather than B&R.

thanks again :)

monolithos
Posts: 23
Joined: Fri Aug 20, 2010 12:25 pm

Re: Confusing train + SMRI traincar error

Post by monolithos » Tue Aug 24, 2010 2:26 pm

umm...still hungry for more new stuffs (goods and industries) to add to my france map :)
any suggestion / advice ?

just tried the borneo map which is mentioned contain most recent and updated goods.
but it always crash in loading the map.

thanks

User avatar
Warll
Posts: 928
Joined: Fri Oct 27, 2006 10:31 pm
Location: Tokyo, Japan
Contact:

Re: Confusing train + SMRI traincar error

Post by Warll » Tue Aug 24, 2010 3:03 pm

To load modern maps they need to be the only custom map installed. Its a restriction caused by how SMR loads assets.
Image

Post Reply