Editor crashes after switching to 1.39

User avatar
bartofer
Modder
Posts: 147
Joined: September 19th, 2020, 4:01 pm
Location: Vendée - France
Contact:

Editor crashes after switching to 1.39

Post by bartofer » November 3rd, 2020, 12:50 pm

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
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Editor crashes after switching to 1.39

Post by BenganJ » November 3rd, 2020, 1:03 pm

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!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
bartofer
Modder
Posts: 147
Joined: September 19th, 2020, 4:01 pm
Location: Vendée - France
Contact:

Re: Editor crashes after switching to 1.39

Post by bartofer » November 3rd, 2020, 1:31 pm

OK. Thanks
User avatar
Octavian101
Posts: 17
Joined: November 13th, 2019, 9:59 pm
Location: Romania

Re: Editor crashes after switching to 1.39

Post by Octavian101 » November 3rd, 2020, 8:35 pm

Is there any news on a fix for 1.39?
User avatar
Arayas
Site Admin
Posts: 7384
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Editor crashes after switching to 1.39

Post by Arayas » November 3rd, 2020, 8:47 pm

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
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Editor crashes after switching to 1.39

Post by BenganJ » November 3rd, 2020, 8:50 pm

Okay, so an update of edit_data.sii is needed! Did that really crash the Editor, the change of the lod file?
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Arayas
Site Admin
Posts: 7384
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Editor crashes after switching to 1.39

Post by Arayas » November 3rd, 2020, 8:51 pm

yes, and additional codes for europe reskin and iberia
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Editor crashes after switching to 1.39

Post by BenganJ » November 3rd, 2020, 8:55 pm

The reskin and iberia parts can be removed I think! Should not be needed!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Msg97
Modder
Posts: 109
Joined: May 23rd, 2019, 4:40 pm

Re: Editor crashes after switching to 1.39

Post by Msg97 » November 4th, 2020, 12:22 am

Hi Arayas, can you please tell me exactly how did you make the editor run and showing your work?
User avatar
Arayas
Site Admin
Posts: 7384
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Editor crashes after switching to 1.39

Post by Arayas » November 4th, 2020, 12:56 am

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.
ImageImage Image
support@roextended.ro
www.roextended.ro
Post Reply