1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Go to file
2024-10-29 19:29:55 -04:00
.github Run codeql against master 2024-08-08 11:20:03 -04:00
.idea Add another file to the gitignore 2024-04-07 10:23:45 -04:00
.vscode Update vscode settings to use prettier for formatting json files, 2024-03-31 04:49:58 +02:00
.yarn chore!: upgrade Node.js to v22 2024-09-29 15:19:07 -04:00
components Forgot to lint... 2024-10-22 00:29:23 +02:00
contractdata feat: add spoiler warning for ambrose 2024-09-12 15:55:30 +01:00
docs feat: official -> peacock progression transfer (#426) 2024-04-19 20:45:44 -04:00
packaging chore: bump server versions 2024-09-12 13:01:34 +01:00
patcher Moved logic from plugin to core 2024-10-22 00:19:47 +02:00
plugins Moved logic from plugin to core 2024-10-22 00:19:47 +02:00
resources [skip ci] Update locale packages 2024-08-27 22:05:05 +00:00
static Moved logic from plugin to core 2024-10-22 00:19:47 +02:00
tests chore: update game line hashes 2024-09-12 13:01:34 +01:00
webui chore(deps): bump axios from 1.7.2 to 1.7.4 2024-08-25 22:50:35 -04:00
.cirrus.yml chore!: upgrade Node.js to v22 2024-09-29 15:19:07 -04:00
.editorconfig chore: Cherry-pick a bunch of dependency updates and test fixes from #340 2023-11-22 17:49:01 -05:00
.gitattributes Fix the gitattributes 2022-12-02 12:01:29 -05:00
.gitignore Update gitignore 2024-03-31 20:49:32 +01:00
.nvmrc chore!: upgrade Node.js to v22 2024-09-29 15:19:07 -04:00
.prettierignore Check for small item sizes for hidden stash (#359) 2024-01-10 15:41:07 -05:00
.yarnrc.yml chore!: upgrade Node.js to v22 2024-09-29 15:19:07 -04:00
eslint.config.cjs refactor: migrate to eslint flat config 2024-06-11 16:49:14 -04:00
LICENSE Initial commit 2022-10-19 21:33:45 -04:00
package.json chore: bump version to 8.0.0-alpha.2 2024-10-29 23:20:03 +00:00
PeacockPatcher.exe Update patcher binary [skip ci] 2024-01-13 22:13:23 -05:00
readme.md chore: update readme 2024-10-24 15:47:01 +01:00
tsconfig.json Enable strict types mode (#362) 2024-02-02 14:46:44 -05:00
yarn.lock fix: Re-add atomic fs 2024-10-13 12:24:33 -04:00

The Peacock Project

Discord

The Peacock Project is a HITMAN World of Assassination Trilogy server replacement. The primary purpose is preservation of the game, but it also adds new features and content to the game, and allows for other enhancements to be made while in online mode.

Installation

Install Node.js. Use the Latest version, or the version specifically mentioned here: Version 22.9.0

Clone the repository where-ever you wish.

Open Windows terminal AS ADMINISTRATOR.

Install Yarn, by typing:

corepack enable

Then move to the folder where you cloned the repo to by using:

cd Folder/Path/Here

then install the dependencies by using:

yarn install

Usage

The project is bundled with a server running configuration. Run that when editing the project with the IDE of choice, and it should open.

We highly suggest you use WebStorm for development, which is free for non-commercial use. If you'd prefer, you can also use Visual Studio Code. WebStorm will provide a better experience for development, but VSCode will work just fine.

Contributing

To contribute, you can use Pull Requests from your own fork. You can fix bugs reported in issues or add new features you think would be useful, new features not listed in issues would have to be discussed before merging.

Localisation

Automated

The Peacock repository has an automated workflow to rebuild locale packages. All you need to do to update localisation files is:

  1. Edit locale.json.
    • If you're adding new strings, make sure to add the English versions to all languages.
    • If you're translating existing strings, you only need to translate the ones that are in the language(s) you are translating.
  2. Then push locale.json.
  3. Then, make a Pull Request. When it is reviewed and merged, locale packages will automatically be rebuilt.

Manual

If you need to manually rebuild locale packages for whatever reason (testing or otherwise), follow steps 1 and 2 above, then do the following:

  1. Make sure rpkg_cli.exe, HMLanguageTools.exe, and ResourceLib_*.dll are in the resources folder.
  2. Then, from the root project folder, run yarn rebuild-locale.
  3. These generated RPKGs should not be pushed or merged into Peacock as the automated workflow will take care of this for you.

Thank you to people who have contributed!

License

Peacock is under the AGPL-3.0 license, see the license file for more info.

Credits

Peacock started off as a fork of LocalGhost by grappigegovert, and has since been rewritten in TypeScript, and a whole host of new features have been added. The codebase has been relicensed to AGPL-3.0 with explicit permission from grappigegovert.

The game is owned by IO Interactive, and is not affiliated with this project in any way.