Repo ↗ · 原始 README ↗ · 文件包(Markdown/授權)
封面參考(原作): Dead Island: Epidemic · 原作遊戲截圖,由 IGDB 提供。圖片版權屬原權利人,供辨識原作使用,不代表此重寫/模組專案的實際畫面。
來源維護者: ITSTDMCC · 版本: 6f68bcf794bc · 整理日期: 2026-10-12
文件授權: GPL-2.0 · LICENSE · 本文形式: README 翻譯
下文為來源 README 的繁中翻譯,由 Kirikirin 使用 AI 輔助整理;功能、完成度與測試結果均為原作者描述,本站未逐項實機驗證。圖片改為來源連結,指令與技術識別保留原文。
DIE: Revibed - 由 AI 驅動的伺服器模擬器。
《Dead Island: Epidemic》的個人伺服器模擬器。版本 0.3。
大部分的程式碼基底是由 AI 產生的,請自行審查並自行承擔在自己的系統上執行的風險。對於因在您自己的系統上執行此程式而產生的任何問題,我概不負責。
《Dead Island: Epidemic》(Stunlock Studios 開發,Deep Silver 發行,2014–2015 年)是一款
僅限線上遊玩的俯視角動作遊戲,從未脫離公測階段。其官方伺服器於 2015 年 10 月 15 日關閉,
此後這款遊戲完全無法遊玩。即使是 Steam 收藏庫中仍擁有這款遊戲的人,
也無法通過登入畫面。
DIE: Revibed 是從零開始撰寫的替代伺服器。您在自己的 PC 上執行它,並將自己擁有的遊戲
連線指向它。有了它,您就能再次單人遊玩這款遊戲:教學、練習任務、Horde,以及對抗
機器人的 Scavenger。
這是一個非商業性的保存專案,供個人使用。之所以分享出來,是
以防其他仍擁有這款遊戲的人想看到它再次運行。
與 Deep Silver、Plaion、Koch Media、Techland 或 Stunlock Studios 無任何關聯。
Dead Island 與 Dead Island: Epidemic 為其各自所有者的商標。
若權利人要求下架此儲存庫,我們將會照做。
目錄
這個儲存庫是什麼(以及不是什麼)
- 沒有遊戲檔案。 此儲存庫不包含任何遊戲程式碼、二進位檔、函式庫、美術、
音訊、地圖或資料表,也沒有從中擷取或衍生的檔案。這裡的一切
都是新撰寫的:伺服器、指令碼與說明。 - 您需要自己擁有一份。 在執行階段,伺服器會從
您 安裝的遊戲副本載入遊戲邏輯與資料。不會從中複製任何東西,您遊戲的
程式檔案也永遠不會被變更。 - 沒有破解,沒有 DRM 規避。 遊戲啟動時會與 Steam 通訊,而
DIE: Revibed 不會去動它。您必須在 Steam 上擁有這款遊戲,且 Steam 必須
在執行中。不支援破解或盜版副本,且對於這類副本的求助
將被忽略。 - 對您安裝的唯一變更 是遊戲資料夾中的一個小型文字檔,
ip.cfg,
它會告訴遊戲要連線到哪個伺服器。指令碼會先備份它,並且可以
將其還原。
誰可以使用這個
您需要《Dead Island: Epidemic》(Steam 應用程式 222900)已經在您的 Steam 收藏庫中。
這款遊戲多年前已從販售中移除,再也無法以任何方式購買或加入
Steam 帳戶。如果您尚未擁有它,這個專案幫不了您,
也請不要索取遊戲檔案。
需求
| 項目 | 詳細資料 |
|---|---|
| Windows 10 或 11 | 指令碼是 Windows 批次檔與 PowerShell 檔案。 |
| Steam 上的《Dead Island: Epidemic》 | 在您的收藏庫中且已安裝。預設安裝資料夾為 C:\Program Files (x86)\Steam\steamapps\common\Dead Island Epidemic。 |
| Steam | 正在執行,且已登入擁有這款遊戲的帳戶。 |
| 32 位元 Windows 版 Mono | 伺服器會執行遊戲本身的對戰邏輯,這需要 Mono。已使用 Mono 6.12 測試。請從 https://www.mono-project.com/download/stable/#download-win 安裝 x86(32 位元) 版本。64 位元版本無法運作。 |
| .NET Framework 4.x | 已是 Windows 10 與 11 的一部分。其內建的 C# 編譯器會建置伺服器。 |
| 約 300 MB 的可用 RAM | 伺服器會在記憶體中保存一整場對戰。 |
您不需要 Visual Studio、Unity 或任何其他開發工具。
設定,逐步說明
本指南假設您沒有程式設計經驗。第一次預期需要 15 到 30 分鐘。
步驟 1 到 5 只需做一次;之後,每次想玩時只需要步驟 6 和 7。
您會在命令提示字元中輸入幾個命令。這是一個您輸入
指令並按 Enter 來執行它的視窗。請完全照所示複製每個命令:
選取它,按 Ctrl+C,在命令提示字元視窗中點一下,然後按右鍵(或按
Ctrl+V)貼上,再按 Enter。
步驟 1。安裝遊戲
- 開啟 Steam 並登入擁有《Dead Island: Epidemic》的帳戶。
- 點擊上方的 Library。
- 在左側清單中找到 Dead Island: Epidemic。在清單上方的搜尋
方塊中輸入dead island以快速找到它。- 如果它沒有列出,請開啟清單上方的下拉式選單,並確認它顯示
All games。如果仍然沒有,表示這款遊戲不在這個 Steam 帳戶中。
- 如果它沒有列出,請開啟清單上方的下拉式選單,並確認它顯示
- 點擊該遊戲,然後點擊藍色的 Install 按鈕並依照 Steam 的提示操作。
- 下載完成後,點擊 Play 一次。遊戲將會連線失敗。這是
預期中的情況,因為官方伺服器已經沒了。關閉它。這次首次啟動可確保
安裝完整。 - 找出遊戲的安裝位置。 在您的 Library 中,以右鍵點擊
Dead Island: Epidemic,然後選擇 Manage → Browse local files。會開啟一個資料夾視窗。
點擊該視窗頂端的網址列,並記下它
顯示的路徑。- 如果路徑正好是
C:\Program Files (x86)\Steam\steamapps\common\Dead Island Epidemic,您使用的是
預設位置。這是最簡單的情況:您可以跳過下方所有「如果您的遊戲
在別處」的說明。 - 如果是其他路徑(例如
D:\SteamLibrary\steamapps\common\Dead Island Epidemic),
請保留它。您在步驟 5 和 6 會需要它。
- 如果路徑正好是
步驟 2。安裝 32 位元 Mono
Mono 是伺服器執行遊戲本身對戰程式碼所需的免費程式。它必須是
32 位元版本。
- 在您的網頁瀏覽器中開啟 https://www.mono-project.com/download/stable/#download-win。
- 在 Windows 底下,下載 32 位元安裝程式(標示為「Mono 32-bit (no GTK#)」或
「x86」)。不要選 64 位元的那個。 - 開啟下載的
.msi檔案。在安裝程式中一路點擊 Next,保留所有
預設選項,然後點擊 Install。如果 Windows 詢問,請允許安裝程式進行變更。 - 檢查是否成功: 開啟檔案總管並前往
C:\Program Files (x86)\Mono\bin。
您應該會看到一個名為mono.exe的檔案(可能只顯示為mono)。如果該資料夾
不存在,您可能安裝了 64 位元版本;請將它解除安裝並安裝
32 位元版本。
步驟 3。下載 DIE: Revibed
- 在此儲存庫的 GitHub 頁面上,點擊綠色的 Code 按鈕,然後點擊
Download ZIP。 - 開啟您的 Downloads 資料夾,以右鍵點擊下載的 ZIP 檔案並選擇
Extract All…。 - 在出現的方塊中,將目的地改為
C:\並點擊 Extract。這會
建立一個例如C:\DIE-Revibed-main的資料夾。 - 將該資料夾重新命名為
DIE-Revibed:以右鍵點擊它,選擇 Rename,輸入
DIE-Revibed,然後按 Enter。您現在應該會有C:\DIE-Revibed,且其中
有稱為server、tools和docs的資料夾,再加上這份 README。- 如果您在裡面只看到一個資料夾,且名稱又相同,表示檔案多了一
層。開啟那個內層資料夾,選取其中的所有內容(Ctrl+A),剪下
它(Ctrl+X),回到上層的C:\DIE-Revibed,然後貼上(Ctrl+V)。 - 不要將它放在
C:\Program Files內。Windows 會保護該資料夾,伺服器
將無法在其中儲存您的帳戶。
- 如果您在裡面只看到一個資料夾,且名稱又相同,表示檔案多了一
(如果您已經使用 Git,也可以改為執行 git clone <this repository's URL> C:\DIE-Revibed。)
步驟 4。開啟命令提示字元並建置伺服器
您會在步驟 4 到 6 使用這個視窗。
- 開啟檔案總管並前往
C:\DIE-Revibed。 - 在視窗頂端的網址列中點擊一次(顯示
C:\DIE-Revibed的地方),讓文字被反白。 - 輸入
cmd並按 Enter。
會開啟一個黑色視窗,其最後一行以 C:\DIE-Revibed> 結尾。這表示它
正在正確的資料夾中運作。
現在建置伺服器。輸入以下內容並按 Enter:
server\build.cmd
幾秒後,最後一行應該顯示:
Built bin\EpidemicServer.exe
如果它顯示 Could not find the .NET Framework 4 C# compiler,請執行 Windows Update。Windows
10 與 11 通常已包含它。您只需要建置一次,並在下载較新版本的
DIE: Revibed 後再次建置。
步驟 5。將遊戲指向您自己的 PC
遊戲有一個小型設定檔 ip.cfg,用來指定要連線到哪些伺服器。這個
步驟會將它改為 127.0.0.1,意思是「這台電腦」。原始檔案的備份會
儲存在它旁邊,名為 ip.cfg.original,因此您隨時可以還原這項變更。
預設安裝位置: 在同一個命令提示字元視窗中,輸入:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1
遊戲安裝在別處: 改用以下內容,並將引號內的路徑
替換為您在步驟 1 記下的路徑:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1 -GameDir "D:\SteamLibrary\steamapps\common\Dead Island Epidemic"
它應該會回覆:
ip.cfg now points at 127.0.0.1 (original saved as ip.cfg.original)
Access to the path ... is denied: Windows 需要系統管理員權限才能變更
這個檔案。關閉命令提示字元,點擊 Start,輸入cmd,以右鍵點擊
Command Prompt,選擇 Run as administrator,然後輸入cd /d C:\DIE-Revibed,
按 Enter,並再次執行該命令。ip.cfg not found: 路徑錯誤。請用 Browse local files
(步驟 1)再次檢查。
您只需要做一次。如果您日後使用 Steam 的 Verify integrity of game files,Steam
可能會將原始檔案放回。如果遊戲在那之後停止連線,請再次執行這個步驟。
步驟 6。啟動伺服器
在命令提示字元視窗中,輸入:
預設安裝位置:
tools\run_server_mono.cmd
遊戲安裝在別處(您的路徑,放在引號中):
tools\run_server_mono.cmd "D:\SteamLibrary\steamapps\common\Dead Island Epidemic"
幾秒後,會出現像這樣的幾行(每行都以日期和時間開頭):
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
伺服器現在正在執行。在您遊玩的整個期間,請讓這個視窗保持開啟。
將它最小化沒問題;關閉它會停止伺服器。
- 如果 Windows 防火牆詢問
mono.exe,您可以點擊 Cancel。伺服器只會
與您自己的 PC 通訊。 is not recognized as an internal or external command: 檢查命令的最開頭沒有
\(是tools\run_server_mono.cmd,不是\tools\run_server_mono.cmd),
且提示字元以DIE-Revibed>結尾。開頭的\會讓 Windows 在磁碟機
根目錄(C:\tools)中尋找,而不是在 DIE-Revibed 資料夾中。32-bit Mono is needed: 回到步驟 2。- 提到
EpidemicServer.exe的錯誤: 伺服器尚未建置。請執行
步驟 4 的建置。
步驟 7。遊玩
- 確認 Steam 正在執行且已登入。
- 在您的 Steam Library 中,點擊 Dead Island: Epidemic,然後點擊 Play。
- 遊戲會連線到您的伺服器並讓您登入。第一次時,會為您建立一個新帳戶
(儲存在C:\DIE-Revibed\server\bin\account.txt)。 - 新帳戶會從教學開始,就像原版遊戲一樣。
就是這樣。您正在自己的伺服器上遊玩。
之後每次遊玩
您不需要重複步驟 1 到 5。若要再次遊玩:
- 在檔案總管中開啟
C:\DIE-Revibed,點擊網址列,輸入cmd並按
Enter。 - 執行
tools\run_server_mono.cmd(如果您的遊戲不在預設位置,請將遊戲路徑放在
引號中),並讓視窗保持開啟。 - 從 Steam 啟動遊戲。
完成後,關閉遊戲,然後關閉伺服器視窗。
遊玩:原版或全部解鎖
DIE: Revibed 可以用兩種方式遊玩。
原版(預設)
您從頭開始,就像原版遊戲一樣:先進行教學,然後透過遊玩來升級並
解鎖角色、武器與模式。Heroic Horde 會維持鎖定直到帳戶
等級 20,一如當初。
原版遊戲中的某些數值只保留在官方伺服器上,已經遺失,
例如獎勵數量、掉落表和波次大小。DIE: Revibed 對這些使用了合理的
替代值,因此進度不會與原版完全一致。
全部解鎖(保存用開關)
由於這款遊戲已無法購買或正常推進進度,DIE: Revibed 有三個
選用開關,讓您能看到遊戲包含的所有內容。它們儲存在您的
帳戶檔案中,且可以隨時開啟或關閉。
| 開關 | 功能 |
|---|---|
unlockAll |
每個角色(擁有中樞模型的)、武器、裝備、設計、零件和消耗品,以及每種遊戲模式。 |
maxLevel |
你的帳號等級會顯示並以 50 計算,也就是最後一個物品解鎖的等級。 |
unlimitedCurrency |
金幣、銀幣、角色點數和研究點數顯示為 9,999,999。 |
你在帳號檔案中的真實進度永遠不會被覆寫。關閉開關後,你會直接回到原本的狀態。
在 C:\DIE-Revibed 中開啟的命令提示字元輸入這些指令,方式和步驟 4 相同。
全部開啟:
tools\account_switch.cmd all on
全部關閉(回到原版):
tools\account_switch.cmd all off
或一次一個:
tools\account_switch.cmd unlockAll on
tools\account_switch.cmd maxLevel on
tools\account_switch.cmd unlimitedCurrency off
注意事項:
- 帳號檔案只會在你啟動伺服器並登入一次之後才會存在,所以請在使用開關之前先完成這些動作。
- 變更會在遊戲下次登入時生效。重新啟動遊戲,或重新啟動伺服器並再次登入。
- 你的感染等級(殭屍的強度)會跟隨你排隊時使用的英雄和裝備強度。使用解鎖全部的高階裝備時,預期殭屍會強得多。
可運作的部分
| 區域 | 狀態 |
|---|---|
| 登入、帳號、中樞(「Crib」) | 可運作。帳號、物品欄、貨幣、角色、裝備、製作選單和對戰紀錄。 |
| 裝備配置 | 由遊戲儲存在你的 Steam 偏好設定中,並在工作階段之間保留。 |
| 教學 | 可從頭玩到尾。 |
| 練習(新手/偵察任務) | 可遊玩,包含升級和獎勵。 |
| 屍潮(普通和英雄) | 可遊玩:補給點數、波次、囤積者、首領階段、獎章和獎勵。波次內容是替代品。 |
| 拾荒者 | 可對抗 11 個機器人,分為 3 隊:路障競速、補給點數(用 X 佔領,用 X 阻止)、掠奪者、囤積者、卡車運送、夜間階段、勝利和獎勵。地圖:度假村、叢林和遠征。 |
| 對戰內升級和能力強化 | 可運作。 |
| 感染等級(殭屍強度調整) | 跟隨你的英雄強度,如同後期更新檔。 |
| 英雄小兵(例如玩家英雄召喚的小兵) | 會跟隨你並戰鬥,使用替代 AI。 |
| 多人/區域網路 | 尚未支援。 請見 Roadmap。 |
| 十字路口、突襲和其他模式 | 尚未支援。 |
關於機器人
原版遊戲從來沒有機器人。拾荒者原本是 12 名真實玩家。為了讓它能夠單人遊玩,DIE: Revibed 從零開始撰寫,加入了 11 個機器人英雄。它們會破壞路障、佔領和阻止補給點、對抗殭屍和敵方英雄,並運送補給品。它們還不錯,但不算聰明。
與原版刻意不同的地方
DIE: Revibed 試圖表現得像原版遊戲。在必須發明某些東西,或刻意做出變更的地方,都會記錄在 docs/devlog.md 和 docs/game-modes.md 中,並在程式碼中標記為「stand-in」或「ours」。值得注意的項目:
- 拾荒者中的機器人,如上所述。
- 獎勵、波次規模、佔領速度和收入數量都是替代品,因為原版的伺服器端表格已經遺失。
- 解鎖全部開關。
停止和復原所有變更
-
停止伺服器: 關閉它的視窗,或在其中按下
Ctrl+C。 -
還原遊戲的原始伺服器設定:
powershell -ExecutionPolicy Bypass -File tools\point-client-at-local.ps1 -Restore -
用全新帳號重新開始: 停止伺服器並刪除
server\bin\account.txt。 -
完全移除 DIE: Revibed: 如上所述還原
ip.cfg,然後刪除 DIE-Revibed 資料夾。
疑難排解
| 問題 | 嘗試方法 |
|---|---|
啟動伺服器時出現 32-bit Mono is needed |
安裝 x86 Mono 組建(步驟 2)。64 位元組建位於 C:\Program Files\Mono,無法運作。 |
| 遊戲顯示無法連線 | 伺服器視窗是否開啟並顯示 listening?步驟 5 是否成功執行?(檢查 ip.cfg 是否包含 127.0.0.1。)Steam 檔案檢查是否還原了 ip.cfg? |
| 遊戲完全無法啟動 | 從 Steam 啟動,並以擁有該遊戲的帳號登入 Steam。 |
| 對戰中出現問題 | 查看 logs\ 中最新的檔案。它記錄了伺服器做了什麼,是附加到問題回報中最有用的東西。 |
| 在 Play 畫面點擊 Horde 顯示「Starter Missions」 | 那是原版遊戲的選單。雙擊 Horde 圖磚以開啟屍潮任務選擇。 |
| 裝備配置重設為槳和管子 | 會在帳號首次登入時發生一次(原版遊戲的行為)。重新裝備後就會保留。 |
| 解鎖全部沒有作用 | 切換後再次登入。伺服器會在登入時讀取開關。 |
| 伺服器在啟動時停止,並顯示「doesn’t match DIE: Revibed’s role table」 | 你的遊戲副本不是最終 Steam 組建(0.8.5.38860),或其中某些檔案已損毀。在 Steam 中,右鍵點擊遊戲,然後 內容 > 已安裝檔案 > 驗證遊戲檔案的完整性,接著再次執行步驟 5(驗證會還原原始的 ip.cfg)。 |
| 連接埠已被使用 | 伺服器在 127.0.0.1 上使用 TCP 連接埠 1555、2555、3555 和 4555。關閉任何其他使用這些連接埠的程式。 |
已知限制
- 僅限單人遊玩(拾荒者中有機器人)。請見 Roadmap。
- 原版中許多伺服器端數值已遺失,並以替代品取代。
- 機器人有時會卡在場景物件上,並在幾秒後被移動(「unstuck」),所以你可能会看到其中一個閃移到新位置。
- 在 Outpost 的屍潮中,最後的排水坑是單向掉落。無法在那裡接觸到你的殭屍會被移動到你旁邊。
- 遊戲客戶端會在自己的記錄中印出無害的錯誤(例如關於公告)。這些來自原版客戶端。
- 已在單一台 Windows 10 電腦上以單一份遊戲副本測試,版本 0.8.5.38860。
已知問題
尚未修正。每個編號問題都作為 GitHub issue 追蹤;已修正的列在 CHANGELOG.md 中。
- 感染者等級可能仍需要調整。一場對戰現在使用基於強度等級的 30%;告訴我們感覺如何(#2)。
- 當你加入對戰時,遊戲通常會顯示關於連線到伺服器問題的錯誤。持續嘗試就能進入對戰(#3)。
- 在教學中,同伴跟隨你時有時會滑行而不是走路。
- 點擊 Horde 後再點擊選擇選項目前無法運作。作為因應措施,可以雙擊 Horde 以在選單中前進,或為拾荒者設定大廳並切換遊戲模式。
每個模式的運作方式在 docs/game-modes.md 中,每個版本變更了什麼在 CHANGELOG.md 中,每個問題如何被發現和修正在 docs/devlog.md 中。
運作方式
原版遊戲使用兩個程式:中樞(「Crib」)和對戰客戶端。它們與數個線上服務通訊:請求、配對、統計和對戰伺服器。DIE: Revibed 取代了那些服務:
- 請求伺服器(連接埠 1555):登入、帳號、物品欄、商店和製作資料、獎勵。
- 配對伺服器(連接埠 2555):將你排入對戰佇列,並將對戰伺服器的位址交給中樞。
- 統計伺服器(連接埠 4555):接受並記錄客戶端傳送的內容。
- 對戰伺服器(連接埠 3555):執行對戰。它在執行階段於 Mono 下從 你安裝的遊戲副本 載入遊戲自身的遊戲邏輯,所以殭屍、能力和物理會完全按照原始程式碼所述運作。原版伺服器自己處理的部分(對戰流程、波次、佔領規則、機器人等)則是從零開始撰寫。
協定和資料格式是透過研究客戶端的行為推導出來的,並以我們自己的文字記錄在 docs/ 中。此儲存庫不包含任何來自遊戲的程式碼。
此儲存庫也不包含遊戲的類別、欄位或方法名稱。伺服器以我們自己的描述性名稱(「roles」)來指涉它在遊戲中使用的一切,例如 Zombie.Walker、World.SpawnObject 或 Stat.Health,並在啟動時從你安裝的遊戲中查找每一個:
- 遊戲大部分的程式碼名稱已被打亂。對於那些,每個 role 會儲存其所代表程式碼形狀的指紋:它的種類、有多少欄位和方法,以及它們的型別。
- 遊戲其餘的程式碼有可讀的名稱。對於那些,每個 role 會儲存名稱的單向雜湊(自 v0.3 起)。
當伺服器啟動時,它會對你電腦上的遊戲檔案進行指紋識別和雜湊,並與它的表格比對,所以真實名稱只會存在於你機器上的記憶體中。如果找不到某個 role,伺服器會回報並停止,而不是猜測。
儲存庫結構
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
遊玩時建立的檔案(server\bin\、logs\、local\)會被 git 忽略。
藍圖
- 多人: Dead Island: Epidemic 是一款多人遊戲。下一個目標是讓數名玩家加入同一場對戰:先透過區域網路,之後可能透過網際網路。
- 十字路口和其他模式。
- 更好的機器人。
- 更多原版數值,只要它們能被找回。
歡迎貢獻和錯誤回報。請永遠不要在 issue 或 pull request 中包含遊戲檔案。
授權條款
DIE: Revibed 是自由軟體,以 GNU General Public License, version 2 發布(請見 LICENSE)。
此授權條款僅涵蓋此儲存庫中的程式碼和文件。Dead Island: Epidemic 本身、其程式碼、資產和商標屬於各自的擁有者,不在此授權條款涵蓋範圍內,也不包含於此。
授權與來源聲明
原始 README 與翻譯沿用 GPL-2.0 授權;本次修改為繁中翻譯、連結與排版調整。可修改的 Markdown、原始 README、LICENSE 與 NOTICE 收錄於頂部文件包。原作遊戲內容與商標不因此獲得授權。
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.

評論
…