Repo ↗ · Source README ↗ · Markdown & license bundle
Image reference (original game): Dead Island: Epidemic · original-game screenshot, provided by IGDB. Image rights remain with their respective owners. This illustrates the referenced original game, not the actual visuals of this rewrite or mod.
Source maintainer: ITSTDMCC · Revision: 6f68bcf794bc · Catalogued: 2026-10-12
Source license: GPL-2.0 · LICENSE · Article: Source README (format adapted)
The source README follows, with formatting adapted for this site and images replaced by source links. Feature, completion and testing claims belong to its authors and have not been independently playtested here. The Traditional Chinese translation was prepared with AI assistance.
DIE: Revibed - A server emulator powered by AI.
A personal server emulator for Dead Island: Epidemic. Version 0.3.
The bulk of the code base was generated by AI, please review and run on your own system at your own risk. I take no responsibility for any issues as a biproduct of running this on your own system
Dead Island: Epidemic (Stunlock Studios, published by Deep Silver, 2014–2015) was an
online-only top-down action game that never left open beta. Its official servers shut
down on 15 October 2015, and since then the game cannot be played at all. Even people
who still have it in their Steam library can’t get past the login screen.
DIE: Revibed is a replacement server written from scratch. You run it on your own PC and
point your own copy of the game at it. With it you can play the game solo again: the
tutorial, practice missions, Horde, and Scavenger against bots.
This is a non-commercial preservation project, made for personal use. It’s shared in
case anyone else who still owns the game would like to see it running again.
Not affiliated with Deep Silver, Plaion, Koch Media, Techland or Stunlock Studios.
Dead Island and Dead Island: Epidemic are trademarks of their respective owners.
If a rights holder asks for this repository to be taken down, it will be.
Contents
- What this repository is (and isn’t)
- Requirements
- Setup, step by step
- Playing: vanilla or unlock-all
- What works
- Stopping and undoing everything
- Troubleshooting
- Known limitations
- How it works
- Repository layout
- Roadmap
- License
What this repository is (and isn’t)
- No game files. This repository contains no game code, binaries, libraries, art,
audio, maps or data tables, and no files extracted or derived from them. Everything
here is newly written: the server, the scripts and the notes. - You need your own copy. At run time the server loads game logic and data from
your installed copy of the game. Nothing is copied out of it, and your game’s
program files are never changed. - No cracks, no DRM workarounds. The game talks to Steam when it starts, and
DIE: Revibed leaves that alone. You must own the game on Steam, and Steam must be
running. Cracked or pirated copies are not supported, and requests for help with them
will be ignored. - The one change to your install is a small text file in the game folder,
ip.cfg,
which tells the game which server to connect to. A script backs it up first and can
put it back.
Who can use this
You need Dead Island: Epidemic (Steam app 222900) already in your Steam library.
The game was removed from sale years ago and can no longer be bought or added to a
Steam account in any way. If you don’t already own it, this project can’t help you,
and please don’t ask for game files.
Requirements
| What | Details |
|---|---|
| Windows 10 or 11 | The scripts are Windows batch and PowerShell files. |
| Dead Island: Epidemic on Steam | In your library and installed. The default install folder is C:\Program Files (x86)\Steam\steamapps\common\Dead Island Epidemic. |
| Steam | Running and logged in to the account that owns the game. |
| 32-bit Mono for Windows | The server runs the game’s own match logic, which needs Mono. Tested with Mono 6.12. Install the x86 (32-bit) build from https://www.mono-project.com/download/stable/#download-win. The 64-bit build will not work. |
| .NET Framework 4.x | Already part of Windows 10 and 11. Its built-in C# compiler builds the server. |
| About 300 MB of free RAM | The server holds a full match in memory. |
You don’t need Visual Studio, Unity or any other development tools.
Setup, step by step
This guide assumes no programming experience. Expect it to take 15 to 30 minutes the first
time. Steps 1 to 5 are done once; after that, steps 6 and 7 are all you need each time
you want to play.
You’ll type a few commands into a Command Prompt. This is a window where you type an
instruction and press Enter to run it. Copy each command exactly as shown:
select it, press Ctrl+C, click in the Command Prompt window, then right-click (or press
Ctrl+V) to paste it, and press Enter.
Step 1. Install the game
- Open Steam and log in to the account that owns Dead Island: Epidemic.
- Click Library at the top.
- Find Dead Island: Epidemic in the list on the left. Type
dead islandin the search
box above the list to find it quickly.- If it isn’t listed, open the drop-down above the list and make sure it shows
All games. If it’s still not there, the game isn’t on this Steam account.
- If it isn’t listed, open the drop-down above the list and make sure it shows
- Click the game, then click the blue Install button and follow Steam’s prompts.
- When the download finishes, click Play once. The game will fail to connect. That’s
expected, because the official servers are gone. Close it. This first launch makes sure
the install is complete. - Find out where the game is installed. In your Library, right-click
Dead Island: Epidemic, then choose Manage → Browse local files. A folder window
opens. Click the address bar at the top of that window and write down the path it
shows.- If the path is exactly
C:\Program Files (x86)\Steam\steamapps\common\Dead Island Epidemic, you have the
default location. That’s the easy case: you can skip every “if your game is
somewhere else” note below. - If it’s anything else (for example
D:\SteamLibrary\steamapps\common\Dead Island Epidemic),
keep it handy. You’ll need it in steps 5 and 6.
- If the path is exactly
Step 2. Install 32-bit Mono
Mono is a free program the server needs to run the game’s own match code. It has to be the
32-bit version.
- Open https://www.mono-project.com/download/stable/#download-win in your web browser.
- Under Windows, download the 32-bit installer (labelled “Mono 32-bit (no GTK#)” or
“x86”). Don’t pick the 64-bit one. - Open the downloaded
.msifile. Click Next through the installer, keeping all the
default options, and click Install. Allow the installer to make changes if Windows
asks. - Check it worked: open File Explorer and go to
C:\Program Files (x86)\Mono\bin.
You should see a file calledmono.exe(it may show as justmono). If the folder
doesn’t exist, you probably installed the 64-bit version; uninstall it and install the
32-bit one.
Step 3. Download DIE: Revibed
- On this repository’s GitHub page, click the green Code button, then
Download ZIP. - Open your Downloads folder, right-click the downloaded ZIP file and choose
Extract All…. - In the box that appears, change the destination to
C:\and click Extract. This
creates a folder such asC:\DIE-Revibed-main. - Rename that folder to
DIE-Revibed: right-click it, choose Rename, type
DIE-Revibed, and press Enter. You should now haveC:\DIE-Revibed, and inside it
folders calledserver,toolsanddocs, plus this README.- If you see only one folder inside it, with the same name again, the files are one
level too deep. Open that inner folder, select everything inside it (Ctrl+A), cut
it (Ctrl+X), go back up toC:\DIE-Revibed, and paste (Ctrl+V). - Don’t put it inside
C:\Program Files. Windows protects that folder and the server
won’t be able to save your account there.
- If you see only one folder inside it, with the same name again, the files are one
(If you already use Git, you can instead run git clone <this repository's URL> C:\DIE-Revibed.)
Step 4. Open a Command Prompt and build the server
You’ll use this window for steps 4 to 6.
- Open File Explorer and go to
C:\DIE-Revibed. - Click once in the address bar at the top of the window (where it says
C:\DIE-Revibed), so the text is highlighted. - Type
cmdand press Enter.
A black window opens, and its last line ends with C:\DIE-Revibed>. That means it’s
working in the right folder.
Now build the server. Type this and press Enter:
server\build.cmd
After a few seconds the last line should read:
Built bin\EpidemicServer.exe
If it says Could not find the .NET Framework 4 C# compiler, run Windows Update. Windows
10 and 11 normally include it. You only need to build once, and again after you download
a newer version of DIE: Revibed.
Step 5. Point the game at your own PC
The game has a small settings file, ip.cfg, that says which servers to connect to. This
step changes it to 127.0.0.1, which means “this computer”. A backup of the original is
saved next to it as ip.cfg.original, so you can always undo this.
Default install location: in the same Command Prompt window, type:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1
Game installed somewhere else: use this instead, replacing the path inside the quotes
with the one you wrote down in step 1:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1 -GameDir "D:\SteamLibrary\steamapps\common\Dead Island Epidemic"
It should reply:
ip.cfg now points at 127.0.0.1 (original saved as ip.cfg.original)
Access to the path ... is denied: Windows needs administrator rights to change
this file. Close the Command Prompt, click Start, typecmd, right-click
Command Prompt, choose Run as administrator, then typecd /d C:\DIE-Revibed,
press Enter, and run the command again.ip.cfg not found: the path is wrong. Check it again with Browse local files
(step 1).
You only do this once. If you ever use Steam’s Verify integrity of game files, Steam
may put the original file back. If the game stops connecting after that, run this step
again.
Step 6. Start the server
In the Command Prompt window, type:
Default install location:
tools\run_server_mono.cmd
Game installed somewhere else (your path, in quotes):
tools\run_server_mono.cmd "D:\SteamLibrary\steamapps\common\Dead Island Epidemic"
After a few seconds, lines like these appear (each starts with the date and time):
INFO request listening on 127.0.0.1:1555
INFO matchmaking listening on 127.0.0.1:2555
INFO stats listening on 127.0.0.1:4555
INFO match listening on 127.0.0.1:3555
The server is now running. Leave this window open the whole time you play.
Minimising it is fine; closing it stops the server.
- If Windows Firewall asks about
mono.exe, you can click Cancel. The server only
talks to your own PC. is not recognized as an internal or external command: check the command has no
\at the very start (tools\run_server_mono.cmd, not\tools\run_server_mono.cmd),
and that the prompt ends withDIE-Revibed>. A leading\makes Windows look in the
root of the drive (C:\tools) instead of the DIE-Revibed folder.32-bit Mono is needed: go back to step 2.- An error mentioning
EpidemicServer.exe: the server hasn’t been built yet. Do the
build in step 4.
Step 7. Play
- Make sure Steam is running and logged in.
- In your Steam Library, click Dead Island: Epidemic, then Play.
- The game connects to your server and logs you in. The first time, a new account is
created for you (saved inC:\DIE-Revibed\server\bin\account.txt). - A new account starts with the tutorial, just like the original game.
That’s it. You’re playing on your own server.
Every time after that
You don’t need to repeat steps 1 to 5. To play again:
- Open
C:\DIE-Revibedin File Explorer, click the address bar, typecmdand press
Enter. - Run
tools\run_server_mono.cmd(with your game path in quotes if it isn’t in the
default location), and leave the window open. - Launch the game from Steam.
When you’re done, close the game, then close the server window.
Playing: vanilla or unlock-all
DIE: Revibed can be played two ways.
Vanilla (the default)
You start from scratch, as in the original game: tutorial first, then you level up and
unlock characters, weapons and modes by playing. Heroic Horde stays locked until account
level 20, as it was.
Some values from the original game were kept only on the official servers and are lost,
for example reward amounts, drop tables and wave sizes. DIE: Revibed uses reasonable
stand-ins for these, so progression won’t match the original exactly.
Unlock-all (preservation switches)
Because the game can’t be bought or properly progressed anymore, DIE: Revibed has three
optional switches that let you see everything the game contains. They are stored in your
account file and can be turned on or off at any time.
| Switch | What it does |
|---|---|
unlockAll |
Every character (that has a hub model), weapon, gadget, design, part and consumable, and every game mode. |
maxLevel |
Your account level is shown and used as 50, the level where the last item unlocks. |
unlimitedCurrency |
Gold, silver, character points and research points show as 9,999,999. |
Your real progress in the account file is never overwritten. Turning a switch off brings
you straight back to where you were.
Type these commands in a Command Prompt opened in C:\DIE-Revibed, the same way as in
step 4.
Turn them all on:
tools\account_switch.cmd all on
Turn them all off (back to vanilla):
tools\account_switch.cmd all off
Or one at a time:
tools\account_switch.cmd unlockAll on
tools\account_switch.cmd maxLevel on
tools\account_switch.cmd unlimitedCurrency off
Notes:
- The account file only exists after you’ve started the server and logged in once, so
do that before using the switches. - Changes take effect the next time the game logs in. Restart the game, or restart the
server and log in again. - Your infection level (how tough zombies are) follows the strength of the hero and gear
you queue with. With high-tier gear from unlock-all, expect much tougher zombies.
What works
| Area | Status |
|---|---|
| Login, account, hub (the “Crib”) | Works. Account, inventory, currency, characters, equipment, crafting menus and match history. |
| Loadouts | Saved by the game in your Steam prefs, and kept between sessions. |
| Tutorial | Playable start to finish. |
| Practice (starter / scout missions) | Playable, with leveling and rewards. |
| Horde (Normal and Heroic) | Playable: supply points, waves, hoarder, boss stage, medals and rewards. Wave contents are stand-ins. |
| Scavenger | Playable against 11 bots on 3 teams: barricade race, supply points (capture with X, deny with X), looters, hoarders, truck delivery, night phase, win and rewards. Maps: Resort, Jungle and Expedition. |
| In-match leveling and ability upgrades | Work. |
| Infection level (zombie scaling) | Follows your hero’s strength, as in the later patches. |
| Hero minions (for example the player hero’s summoned minion) | Follow you and fight, using a stand-in AI. |
| Multiplayer / LAN | Not yet. See Roadmap. |
| Crossroads, Raid and other modes | Not yet. |
About bots
The original game never had bots. Scavenger was 12 real players. To make it playable
solo, DIE: Revibed adds 11 bot heroes, written from scratch. They break barricades,
capture and deny supply points, fight zombies and enemy heroes, and deliver supplies.
They are decent, not brilliant.
Deliberate changes from the original
DIE: Revibed tries to behave like the original game. Where something had to be invented,
or a change was made on purpose, it’s recorded in docs/devlog.md and docs/game-modes.md, and marked “stand-in”
or “ours” in the code. The notable ones:
- Bots in Scavenger, as described above.
- Rewards, wave sizes, capture speeds and income amounts are stand-ins, because the
original server-side tables are lost. - The unlock-all switches.
Stopping and undoing everything
-
Stop the server: close its window, or press
Ctrl+Cin it. -
Restore the game’s original server settings:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1 -Restore -
Start over with a fresh account: stop the server and delete
server\bin\account.txt. -
Remove DIE: Revibed completely: restore
ip.cfgas above, then delete the
DIE-Revibed folder.
Troubleshooting
| Problem | What to try |
|---|---|
32-bit Mono is needed when starting the server |
Install the x86 Mono build (step 2). The 64-bit build lives in C:\Program Files\Mono and won’t work. |
| The game says it can’t connect | Is the server window open and showing listening? Did step 5 run successfully? (Check that ip.cfg contains 127.0.0.1.) Did a Steam file check restore ip.cfg? |
| The game won’t start at all | Start it from Steam, with Steam logged in to the account that owns the game. |
| Something goes wrong in a match | Look at the newest file in logs\. It records what the server did, and is the most useful thing to attach to an issue. |
| Clicking Horde on the Play screen shows “Starter Missions” | That’s the original game’s menu. Double-click the Horde tile to open Horde mission select. |
| Loadouts reset to the paddle and pipe | Happens once, on an account’s very first login (the original game’s behaviour). Re-equip and they’ll stay. |
| Unlock-all didn’t do anything | Log in again after switching. The server reads the switches at login. |
| The server stops at start-up with “doesn’t match DIE: Revibed’s role table” | Your copy of the game isn’t the final Steam build (0.8.5.38860), or some of its files are damaged. In Steam, right-click the game, then Properties > Installed Files > Verify integrity of game files, then run step 5 again (verifying restores the original ip.cfg). |
| Ports already in use | The server uses TCP ports 1555, 2555, 3555 and 4555 on 127.0.0.1. Close anything else that uses them. |
Known limitations
- Single player only (with bots in Scavenger). See the Roadmap.
- Many server-side numbers from the original are lost and replaced by stand-ins.
- Bots sometimes get stuck on scenery and are moved (“unstuck”) after a few seconds, so
you may see one blink to a new spot. - In Horde on Outpost, the drainage pit at the end is a one-way drop. Zombies that can’t
reach you there are moved next to you. - The game client prints harmless errors in its own log (for example about
announcements). These come from the original client. - Tested on one Windows 10 PC with one copy of the game, version 0.8.5.38860.
Known issues
Not fixed yet. Each numbered one is tracked as a GitHub issue; fixed ones are listed in CHANGELOG.md.
- Infected levels may still need tuning. A match now uses 30% of the strength-based level; tell us how it
feels (#2). - When you join a match, the game usually shows an error about problems connecting
to the server. Keep trying and you’ll get into the match (#3). - In the tutorial, the companion sometimes slides instead of walking while she follows you.
- Clicking on Horde then clicking the select option doesn’t currently work. As a workaround, either double click on Horde to progress through the menu, or set up a lobby for Scavenger and switch the gamemode.
How each mode works is in docs/game-modes.md, what changed in each version is in CHANGELOG.md, and how each problem was found and fixed is in docs/devlog.md.
How it works
The original game used two programs: a hub (“Crib”) and a match client. They talked to
several online services: request, matchmaking, stats and match servers. DIE: Revibed
replaces those services:
- Request server (port 1555): login, account, inventory, shop and crafting data,
rewards. - Matchmaking server (port 2555): queues you for a match and hands the hub the match
server’s address. - Stats server (port 4555): accepts and logs what the client sends.
- Match server (port 3555): runs the match. It loads the game’s own gameplay logic
from your installed copy at run time, under Mono, so zombies, abilities and physics
behave exactly as the original code says. The parts the original server did itself
(match flow, waves, capture rules, bots and so on) are written from scratch.
The protocol and data formats were worked out by studying how the client behaves, and
are documented in our own words in docs/. No code from the game is included in this
repository.
The repository doesn’t contain the game’s class, field or method names either. The
server refers to everything it uses in the game by our own descriptive names (“roles”),
for example Zombie.Walker, World.SpawnObject or Stat.Health, and looks each one up
in your installed game when it starts:
- Most of the game’s code has scrambled names. For those, each role is stored with a
fingerprint of the shape of the code it stands for: its kind, how many fields and
methods it has, and their types. - The rest of the game’s code has readable names. For those, each role is stored with a
one-way hash of the name (since v0.3).
When the server starts, it fingerprints and hashes the game files on your PC and matches
them against its table, so the real names only ever exist in memory on your machine. If
a role can’t be found, the server says so and stops instead of guessing.
Repository layout
server/ the server emulator (C#)
build.cmd builds server\bin\EpidemicServer.exe on Windows
build.sh builds with Mono on Linux or macOS (development only)
src/ source: protocol, services, match logic, bots
src/Resolve/ finds the game's classes and fields by fingerprint at start-up
tools/
run_server_mono.cmd starts the server (with match logic)
point-client-at-local.ps1 points the game's ip.cfg at your PC (and -Restore)
account_switch.cmd the unlock-all switches
*Probe/, run_*_probe.cmd developer tools that load the game offline to test the server
RoleGen/, run_rolegen.cmd developer tool that rebuilds the role table (see docs/architecture.md)
tests/ developer checks of our encodings against the game's own serializers
docs/ architecture, protocol, game modes, patch history, development log
Files created while you play (server\bin\, logs\, local\) are ignored by git.
Roadmap
- Multiplayer: Dead Island: Epidemic was a multiplayer game. The next goal is to
let several players join the same match: first over LAN, then possibly over the
internet. - Crossroads and the other modes.
- Better bots.
- More of the original values, wherever they can be recovered.
Contributions and bug reports are welcome. Please never include game files in an issue
or a pull request.
License
DIE: Revibed is free software, released under the GNU General Public License, version
2 (see LICENSE).
This license covers only the code and documents in this repository. Dead Island:
Epidemic itself, its code, assets and trademarks belong to their respective owners, and
are not covered by this license or included here.
License and provenance
The README and its translation retain GPL-2.0 terms. Changes comprise translation, links and formatting. Editable Markdown, the original README, LICENSE and NOTICE files are included in the linked bundle. This grants no rights to the original games, their assets or trademarks.
LICENSE
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

Comments
…