Page 1 of 2

Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 12:50 pm
by bartofer
Hello

The game has just been updated to 1.39 ...

In game mode, it works fine .... but
in Editor mode, it crashes when opening, just before displaying textures ...

What then I do separately go back to 1.38?

Thank you

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 1:03 pm
by BenganJ
In Steam, go to Options -> BETAS tab and select the temporary_1_38 -....... to go back to the 1.38 version!
Arayas has already noticed that the 1.39 Editor crashes!

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 1:31 pm
by bartofer
OK. Thanks

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 8:35 pm
by Octavian101
Is there any news on a fix for 1.39?

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 8:47 pm
by Arayas
there is new form of editor_data.sii
the old one was
(in my case aray.mbd is the name you want to replace with europe.mbd or yourmapname.mbd)

Code: Select all

SiiNunit
{
editor_data : .edit_data {

	autosave_interval: 15 #minutes
	autosave_notify_interval: 10 #seconds

	startpos_model: "/vehicle/ai/focus_2009/lod.pmd"
	startpos_rotate_speed: 16.0

	stamp_count_warning: 40
	road_length_warning: 330

	free_camera_uplift: 8.5
	sub_mode_types[]: 39 #bezier patch"
	sub_mode_types[]: 2  #buildings_item"
	sub_mode_types[]: 23 #camera_point_item"
	sub_mode_types[]: 12 #city_item"
	sub_mode_types[]: 44 #curve_item
	sub_mode_types[]: 8  #cut_plane_item"
	sub_mode_types[]: 43 #far model"
	sub_mode_types[]: 19 #ferry_item"
	sub_mode_types[]: 13 #hinge_item"
	sub_mode_types[]: 42 #map_area_item"
	sub_mode_types[]: 18 #map_overlay_item"
	sub_mode_types[]: 5  #model_item"
	sub_mode_types[]: 9  #mover_item"
	sub_mode_types[]: 11 #no_weather_item"
	sub_mode_types[]: 4  #prefab_item
	sub_mode_types[]: 3  #road_item
	sub_mode_types[]: 36 #sign_item"
	sub_mode_types[]: 21 #sound_item"
	sub_mode_types[]: 1  #terrain_item
	sub_mode_types[]: 38 #traffic_area_item"
	sub_mode_types[]: 41 #trajectory
	sub_mode_types[]: 34 #trigger_item"

	map_import_offset: (-43402, 0, -28089)

	bcg_map_name[]: "/map/aray.mbd"
	bcg_material[]: "/material/editor/europa.mat"
	bcg_size_x[]: 207656
	bcg_size_y[]: 174375
	bcg_offset_x[]: 10500
	bcg_offset_y[]: -7090






@include "/custom/editor_data.sii"
	
}
}
the code must be replaced by this

Code: Select all

SiiNunit
{
editor_data : .edit_data {

	autosave_interval: 2 #minutes
	autosave_notify_interval: 1 #seconds

	startpos_model: "/vehicle/ai/focus_2009/ai_lod1.pmd"
	startpos_rotate_speed: 2.0

	stamp_count_warning: 40
	road_length_warning: 330

	free_camera_uplift: 8.5
	sub_mode_types[]: 39 #bezier patch"
	sub_mode_types[]: 2  #buildings_item"
	sub_mode_types[]: 45 #camera_path_item"
	sub_mode_types[]: 23 #camera_point_item"
	sub_mode_types[]: 12 #city_item"
	sub_mode_types[]: 44 #curve_item
	sub_mode_types[]: 8  #cut_plane_item"
	sub_mode_types[]: 46 #cutscene_item"
	sub_mode_types[]: 43 #far model"
	sub_mode_types[]: 19 #ferry_item"
	sub_mode_types[]: 13 #hinge_item"
	sub_mode_types[]: 42 #map_area_item"
	sub_mode_types[]: 18 #map_overlay_item"
	sub_mode_types[]: 5  #model_item"
	sub_mode_types[]: 9  #mover_item"
	sub_mode_types[]: 11 #no_weather_item"
	sub_mode_types[]: 4  #prefab_item
	sub_mode_types[]: 3  #road_item
	sub_mode_types[]: 36 #sign_item"
	sub_mode_types[]: 21 #sound_item"
	sub_mode_types[]: 1  #terrain_item
	sub_mode_types[]: 38 #traffic_area_item"
	sub_mode_types[]: 41 #trajectory
	sub_mode_types[]: 34 #trigger_item"

	map_import_offset: (-43402, 0, -28089)



	bcg_map_name[]: "/map/aray.mbd"
	bcg_material[]: "/material/editor/europe.mat"
	bcg_size_x[]: 207656
	bcg_size_y[]: 174375
	bcg_offset_x[]: 10500
	bcg_offset_y[]: -7090

	bcg_map_name[]: "/map/europe_reskin.mbd"
	bcg_material[]: "/material/editor/europe.mat"
	bcg_size_x[]: 207656
	bcg_size_y[]: 174375
	bcg_offset_x[]: 10500
	bcg_offset_y[]: -7090

	bcg_map_name[]: "/map/iberia/europe_iberia_layout.mbd"
	bcg_material[]: "/material/editor/europe.mat"
	bcg_size_x[]: 207656
	bcg_size_y[]: 174375
	bcg_offset_x[]: 10500
	bcg_offset_y[]: -7090



# For INTERNAL members: Please for added custom map use "/mod_internal/base/def/editor_data_custom.sii".
# This one below going to be overriden.

# For MODERS: Custom maps should be added to file below.
@include "editor_data_custom.sui"

}
}
off course, if you have custom zoom data (bcg_offset or bcg_size) you can keep that and change just new codes

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 8:50 pm
by BenganJ
Okay, so an update of edit_data.sii is needed! Did that really crash the Editor, the change of the lod file?

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 8:51 pm
by Arayas
yes, and additional codes for europe reskin and iberia

Re: Editor crashes after switching to 1.39

Posted: November 3rd, 2020, 8:55 pm
by BenganJ
The reskin and iberia parts can be removed I think! Should not be needed!

Re: Editor crashes after switching to 1.39

Posted: November 4th, 2020, 12:22 am
by Msg97
Hi Arayas, can you please tell me exactly how did you make the editor run and showing your work?

Re: Editor crashes after switching to 1.39

Posted: November 4th, 2020, 12:56 am
by Arayas
I have replaced def/editor_data.sii in my files with the one from vanilla files of 1.39. (on every update i re-extract all files from vanilla)
Off course, i have changed "europe.mbd" to aray.mbd, as you see in the example above.