For the past few days, I was working on a map of my own. When I opened the editor and opened my map's global.cfg, it won't open it due to an address error. I checked the logfile and found that there's a problem with the 'tile_0_0.map' file on line 8. I looked into this file, but I'm unable to see where the problem lies. Here's the code within the tile_0_0.map file (all lines with "<removed>" means it's an actual location and I don't want to give it away):
- Code:
-
File created with OMSI-Editor on 4/3/2011 9:16:49 PM
[version]
10
[terrain]
[spline]
0
Splines\Marcel\str_2spur_9m_Maulbeerallee1.sli
36
-1
227.081724167717
0
36.8402950118179
390.328242768183
4.99999992153375
24.9999996076687
0
0
0
0
[spline]
0
Splines\Marcel\str_2spur_9m_Maulbeerallee1.sli
38
-1
230.045715458425
-1.49011605412119E-8
40.8605218398274
401.787421672342
14.9999997646012
0
0
0
0
0
[spline]
0
Splines\Marcel\str_2spur_12m_Sandstr.sli
53
-1
263.43561585125
-1.49011605412119E-8
51.2544698271793
491.787499287347
24.9999996076687
0
0
0
0
0
[spline]
0
Splines\Marcel\str_2spur_12m_Sandstr.sli
60
0
0
0
0
0
1.5900369220744
0
0
0
0
0
[spline]
0
Splines\Marcel\str_2spur_12m_Sandstr.sli
61
0
0
0
0
0
3.52192059915895
-17.6130630214484
0
0
0
0
[spline]
0
Splines\Marcel\str_2spur_12m_SeeburgerWeg1.sli
52
-1
262.246854803063
-1.49011605412119E-8
72.4343348252377
401.787524751557
58.0000011513758
0
0
0
0
0
Object Nr. 0
[object]
0
Sceneryobjects\Kreuz_MC\Einm_Blasew_Obst_Sand.sco
23
252.251297674166
61.2500269560758
-1.49011605412119E-8
131.787532424708
0
Object Nr. 1
[object]
0
Sceneryobjects\Buildings_RUE\Omnibushof_S_2.sco
88
170.813203003998
168.688087545676
-7.450580786002E-9
120.328198901727
1
0
[varparent]
91
Object Nr. 2
[object]
0
Sceneryobjects\Buildings_RUE\Omnibushof_S_1.sco
91
170.787708078129
168.703394809119
-7.450580786002E-9
120.328396470223
1
1
Object Nr. 3
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
112
84.8636197105304
138.481840250946
0
165.123865985417
1
<removed>
Object Nr. 4
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
133
134.805554404
146.481010681315
0
165.123865985417
1
<removed>
Object Nr. 5
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
134
115.020547036807
189.997000849097
0
165.123865985417
1
<removed>
Object Nr. 6
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
135
108.673684884947
140.479266331558
0
165.123865985417
1
<removed>
Object Nr. 7
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
136
155.596477471654
182.053046518284
0
165.123865985417
1
<removed>
Object Nr. 8
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
137
88.9468210670207
183.920738816754
0
165.123865985417
1
<removed>
Object Nr. 9
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
138
124.869774629929
168.208116360413
0
165.123865985417
1
<removed>
Object Nr. 10
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
139
123.178837415559
126.71511591859
0
165.123865985417
1
<removed>
Object Nr. 11
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
140
144.614933290549
124.655189473886
0
165.123865985417
1
<removed>
Object Nr. 12
[object]
0
Sceneryobjects\Generic\entrypoint_bus.sco
141
95.2776715808014
233.540650606264
0
165.123865985417
1
<removed>
UPDATE: I took a closer look at all of the files in my map's folder and noticed that there aren't any codes in tile_0_0.map.terrain and tile_1_0.map.terrain files were completely empty. I made backups of the empty map.terrain files and filled the set code from another map.terrain file into the original empty map.terrain files. I also noticed that the code in the tile_1_0.map file is missing. Afterwards, I launched the editor and I still can't get into it. The logfile mentions that there's a problem with the laststn_editor.osn file in the Omsi/situations directory about an error in line 8. I checked inside the laststn_editor.osn file and line 8 points to my map's global.cfg file.
UPDATE 2: I made the attempt to copy the code from a .map file into the tile_1_0.map.terrain file and I'm able to get into my map! I lost whatever progress I've done on the "x=1, y=0" tile, but at least I won't have to start all over from scratch.