Post tutorial Report RSS Editing all.spawn in S.T.A.L.K.E.R. (using acdc.pl)

For modders of S.T.A.L.K.E.R.. This tutorial shows how to open up, edit, and save all.spawn file for all S.T.A.L.K.E.R. games. The all.spawn file controls all things that spawn on the maps.

Posted by on - Intermediate Other

Now this tutorial is mostly for people who edit S.T.A.L.K.E.R. Call of Pripyat, because this the only way of editing the all.spawn for that game. However, this also works on other S.T.A.L.K.E.R. games.

So first things first. We need tools. Here's a list (I will provide the rest of the links at the end of the tutorial):

  • ActivePerl (MUST be installed!)
  • acdc.pl (IMPORTANT!!! There are different versions of it depending on what game you're modding!)
  • all.spawn file itself
  • Patience and time

After we got the tools out of the way (last one is pretty important), we can get started. When you download the acdc.pl file, you might also get the Decompile.bat and Compile.bat files (however it is not guaranteed you will get them). In order to unpack all.spawn, we need those .bat files, so here's how to make them:

  1. Open up Notepad
  2. Type in: perl acdc.pl -d all.spawn
  3. Save it as Decompile.bat
  4. Make a new .txt file, and type in: perl acdc.pl -c all.ltx -o new.spawn
  5. Save it as Compile.bat
  6. Now put them in the same folder with acdc.pl

So now we are done setting up. To edit all.spawn, you need to copy the all.spawn and put it in the same folder with the previous files (acdc.pl). In order to open it, you need double-click Decompile.bat. A quick window of command prompt will appear, and just follow it's instructions. Now you will see 11 .ltx files (and sometimes 2 .bin, don't worry about them). They are broken up in 2 groups: alife_*****.ltx, and way_*****.ltx. The files that we are interested in are alife_****.ltx. Now, you can simply open them as you would any .ltx file (any text-editing program, i.e. Notepad).

This is what you'll get (this is the CoP version):

https://media.moddb.com/images/articles/1/107/106400/auto/3fc1da22fd35.jpg






Link at the end of the tutorial on how to edit alife_ and way_ .ltx.


So after you're done editing the files, and are ready to put back your new all.spawn, double-click the Compile.bat we created earlier. A command prompt window will appear again, so just follow it's instructions. After, you will get a new file called new.spawn. You have to copy that file to *Wherever you installed your S.T.A.L.K.E.R. game*/gamedata/spawns. Don't forget to back up the original all.spawn file! You're now done. Good hunting, stalker!

Links:
A thorough tutorial on editing all.spawn files (really recommended to read)
acdc.pl for S.T.A.L.K.E.R. SoC/CS
acdc.pl for S.T.A.L.K.E.R. CoP - (only in Russian. However, use Google Translate or: Компилировать - Compile, Разобрать - Decompile)

Comments
utak3r
utak3r

"The only way"?... huh?

Reply Good karma Bad karma+1 vote
utak3r
utak3r

By the way: for Polish speaking modders, you can go to mod.stalker.pl, there's a number of tutorials in Polish there :)

Reply Good karma Bad karma+1 vote
jz1644
jz1644

hi,wy friends,I went to open clear sky(cs) all_spawn ,where down load?

Reply Good karma Bad karma+1 vote
BegunValkery
BegunValkery

I can't decompile the all.spawn file because it says script file "acdc.pl" is not found, even though it's in the folder. It's really frustrating. What do I do?

Reply Good karma Bad karma+1 vote
Kazemeka
Kazemeka

I know I am incredibly late (5 years, woah), but for someone else having this problem, here is the fix:

You have to have ActivePerl installed and to have it be set to open up all .pl files. I was really frustrated too at first and I couldn't find any fix for this, but somehow by trial and error it just worked after I done this.

Reply Good karma Bad karma+1 vote
BegunValkery
BegunValkery

I have gotten it to work recently, no one really makes any good tutorials these days. By the ways, I have not logged in for 5 years either I don't think. On a side note though, there is no hub or up-to-date site for modders to use regarding S.T.A.L.K.E.R. The SDK mod portal website has just about all of its tutorials based upon SoC, CoP coding and data have changed dramatically. This means that if you are modding CoP, that website is hardly of any use besides few references, otherwise getting knowledge is unreliable. Doesn't mean you shouldn't try though.

Reply Good karma Bad karma+1 vote
soopytwist
soopytwist

'perl' is not recognized as an
operable program or batch file.

I have ActivePerl installed, it's in C:\Perl64

EDIT

It would appear I have to put acdc.pl, decompile.bat and compile.bat in the same folder as Perl64. Doesn't say that in your tutorial.

However now I get this:

C:\Perl64>perl acdc.pl -d all.spawn
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at acdc.pl line 78.

EDIT

Solved it. Newer versions of ActivePerl are ****. Installed an older version and now it works. However now I'm having a problem with the classes.
Initially I got this:

unknown zone_burning_fuzz_weak_noart at acdc.pl line 2833.

Expected, there's probably loads that Lost Alpha v1.4007 has added. So I added:

zone_burning_fuzz_weak_noart (=>) 'se_zone_visual',

to the section_to_class list.

That worked but now I get this:

data left in cordon_conserva at acdc.pl line 2839.

I know how to add more classes but this error I have no idea. What does this mean?

Reply Good karma Bad karma+1 vote
soopytwist
soopytwist

No one uh?

Reply Good karma Bad karma+1 vote
zero11x
zero11x

I can't find the all.spawn file's location.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Tutorial
Tags
Tutorial
Browse
Tutorials
Report
Report
Share
Related Games
S.T.A.L.K.E.R. Shadow of Chernobyl
S.T.A.L.K.E.R. Shadow of Chernobyl First Person Shooter
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat First Person Shooter
S.T.A.L.K.E.R.: Clear Sky
S.T.A.L.K.E.R.: Clear Sky First Person Shooter
Related Engines
X-Ray Engine
X-Ray Engine Commercial
Related Groups
GSC Game World
GSC Game World Developer & Publisher
THQ
THQ Developer & Publisher