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.

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

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!)
  • (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 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 -d all.spawn
  3. Save it as Decompile.bat
  4. Make a new .txt file, and type in: perl -c all.ltx -o new.spawn
  5. Save it as Compile.bat
  6. Now put them in the same folder with

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 ( 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):

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!

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


"The only way"?... huh?

Reply Good karma Bad karma+1 vote

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

Reply Good karma Bad karma+1 vote

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

Reply Good karma Bad karma+1 vote

I can't decompile the all.spawn file because it says script file "" 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
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.

Follow Report Profile
S.T.A.L.K.E.R. Shadow of Chernobyl
GSC Game World
X-Ray Engine
Send Message
Release date
Game watch
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 Developer & Publisher