ACDC Troubles -1 reply

Please wait...

TainInfernus

I'm too cool to Post

50 XP

31st March 2008

0 Uploads

10 Posts

0 Threads

#1 10 years ago

I have read up on many issues using the ACDC program, and on the perl platform as well. I still haven't found a solution to this problem: I've been messing around with the Priboi Story mod, just for myself, not for re-release, and I've hit a snag with decompiling the all.spawn. I have the cmd line done just perfectly but... well, here:

C:\S.T.A.L.K.E.R. - Shadow of Chernobyl\acdc11oct> decompile

C:\S.T.A.L.K.E.R. - Shadow of Chernobyl\acdc11oct>perl acdc.pl -d all.spawn section_name==name:explosive_barrel section_name==name:zone_campfire_grill section_name==name:zone_flame_small section_name==name:zone_campfire_grill '/' must follow a numeric type in unpack at stkutils/data_packet.pm line 21.

and then goes back to waiting for a command.

I've looked at line 21:

sub unpack { my $self = shift; my $template = shift; die if !(defined $self); die if !(defined $self->{data}); die if !(defined $template); die if length($self->{data}) == 0; my @values = unpack($template.'a*', $self->{data}); <--LINE 21 die if $#values == -1; $self->{data} = splice(@values, -1); die if !(defined $self->{data}); return @values; }

Due to the fact that it goes through 3 other types before hitting this error leads me to believe that it's a problem with the type itself. However, you see above that the zone_campfire_grill is "unpacked" and then it comes around to it again and THERE is where it hits the error. Inserting a / at any point along the line fails to fix the problem. On google book for Programming Perl, it says that:

/ must follow a numeric type (F) You had an unpack template that contained a #, but this did not follow some numeric unpack specification

So... halp! If Dezoder could take a look at the originals that were compiled for any error, or if someone fixed this problem, I'd appreciate it.




TainInfernus

I'm too cool to Post

50 XP

31st March 2008

0 Uploads

10 Posts

0 Threads

#2 10 years ago

bump




Guest

I didn't make it!

0 XP

 
#3 10 years ago

The problem is that the Priboi Story team used a different program from acdc to edit their all.spawn. As far as I know, even they cannot get acdc to open it up! I created a universal acdc that works with almost any of the 1.0004 or 1.0005 mods... and I tried everything I could think of to get it to work with Priboi Story. Nada.... Anyhow, for the folks that want it, here is a link to that acdc file I created:

acdc.pl




dezodor

level designer @ dezowave

50 XP

18th April 2007

0 Uploads

293 Posts

0 Threads

#4 10 years ago

yes, the 1.0 version all.spawn is bugged so well, with dev1's help, we unpacked it, but it contains many bugs, like mostly all coordinates are went wrong for the new objects, you will find houses on trees and many funny things.

i can upload the unpacked version, but i dont recommend to use it for playing, only for playtesting :) and checking some stuff how we made or such things.

(the following 1.2 version all.spawn was remade from scratch, and it will work fine with acdc if you add the missing entities, but 1.2 will be released in october this year.)


dezowave group



TainInfernus

I'm too cool to Post

50 XP

31st March 2008

0 Uploads

10 Posts

0 Threads

#5 10 years ago

Alrighty, I'll just wait for the update and download the newest version of acdc that fatrap put up. Thanks for posting :D