In 1986, the world's worst nuclear disaster occurred at the Chernobyl power station. Soviet authorities established a 30km 'Exclusion Zone' around this nuclear wasteland, but in 2006 a second explosion rocked the stricken reactor, obliterating all living things and causing the Zone's boundaries to ripple outwards. From this epicenter came waves of mutated creatures, deadly radiation, and a strange, anomalous energy. The Zone was cordoned off by the military, who would shoot on sight anyone foolish enough to brave the horrors within.

Report article RSS Feed 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 GR33397 on Jul 22nd, 2012
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):

http://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)

Post comment Comments
utak3r
utak3r Aug 14 2012, 3:14pm says:

"The only way"?... huh?

+1 vote     reply to comment
utak3r
utak3r Aug 14 2012, 3:19pm says:

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

+1 vote     reply to comment
jz1644
jz1644 Sep 18 2013, 2:37am says:

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

+1 vote     reply to comment
BegunValkery
BegunValkery Oct 20 2013, 7:15pm says:

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?

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
S.T.A.L.K.E.R. Shadow of Chernobyl
Platform
Windows
Developer
GSC Game World
Publisher
THQ
Engine
X-Ray Engine
Contact
Send Message
Official Page
Stalker-game.com
Release Date
Released Mar 19, 2007
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
S.T.A.L.K.E.R. Shadow of Chernobyl
S.T.A.L.K.E.R. Shadow of Chernobyl Single & Multiplayer First Person Shooter
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat Single Player First Person Shooter
S.T.A.L.K.E.R.: Clear Sky
S.T.A.L.K.E.R.: Clear Sky Single Player First Person Shooter
Related Engines
X-Ray Engine
X-Ray Engine Commercial Released Mar 19, 2007
Related Groups
GSC Game World
GSC Game World Developer & Publisher
THQ
THQ Developer & Publisher