Page 1 of 1

No can decompile all.spawn from MLR 3

Posted: 18 Feb 2017, 20:31
by Junx
Hi!

I back to "fun" in CoC, found this small addon in rus. forum - http://stalker-gaming.ru/load/mody_stal ... 78?ATymFrP

I try "unpack" all.spawn with universal ACDC and no can, log from cmd

Code: Select all

D:\---! Stalker\CoC\MLR 3\gamedata\spawns>universal_acdc.pl -d all.spawn -out co
c_spawn -scan configs\ -sort complex -nofatal
log inited: console
Universal ACDC v.1.38
checking version of all.spawn...
        This is a spawn of S.T.A.L.K.E.R. Call Of Pripyat (any patch)
opening all.spawn...
reading header...
reading alife objects...

WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_dust_static


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_dust_static_0000


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_dust_static_0001


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_dust_static_0002


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_electra


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_electra_0000


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_electra_0001


WARNING!
Function: main::__ANON__
Line: 1380
Description:
WARNING!
Function: stkutils::file::entity::read_m_spawn
Line: 122
Description: state data left [1] in entity gen_generator_electra_0002

handling error with main_story_7_mon_con_documents, template v

FATAL ERROR!
Function: stkutils::data_packet::error_handler
Line: 1548
Description: unhandled exception


D:\---! Stalker\CoC\MLR 3\gamedata\spawns>pause
Press any key to continue . . .

Re: No can decompile all.spawn from MLR 3

Posted: 18 Feb 2017, 23:17
by Alundaio
Are you using the the ACDC in the file downloads on COC page? Last I checked it works. But it's possible it don't work no more because some CoP classes have been renamed to SoC class versions since there is no need to use the class binder.

Re: No can decompile all.spawn from MLR 3

Posted: 20 Feb 2017, 06:55
by Junx
Yes, i use last version ACDC (update to 1.4). I try unpack one mode timer.

Re: No can decompile all.spawn from MLR 3

Posted: 20 Feb 2017, 19:42
by Alundaio
http://www.moddb.com/mods/call-of-chern ... ol-for-coc

I just decompiled vanilla CoC 1.4's all.spawn with this no problem. MLR3 must do something weird.

Code: Select all

'main_story_4_lab_x10_documents' = cse_alife_item_pda
'main_story_5_lab_x8_documents' = cse_alife_item_pda
'main_story_6_jup_ug_documents' = cse_alife_item_pda
'main_story_7_mon_con_documents' = cse_alife_item_pda


It's possible they changed class of main_story_7_mon_con_documents in ltx. Look in items quest, in CoC it inherits from device_pda

Re: No can decompile all.spawn from MLR 3

Posted: 24 Feb 2017, 14:53
by Junx
YES!!! I unpack :D

I change this sections:

Code: Select all

'main_story_1_quest_case' = cse_alife_item
'main_story_2_lab_x18_documents' = cse_alife_item
'main_story_3_lab_x16_documents' = cse_alife_item
'main_story_4_lab_x10_documents' = cse_alife_item
'main_story_5_lab_x8_documents' = cse_alife_item
'main_story_6_jup_ug_documents' = cse_alife_item
'main_story_7_mon_con_documents' = cse_alife_item


THX, Alundaio 8-)