1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-29 09:15:11 +01:00
Go to file
2023-04-29 02:04:37 +00:00
.github Switch commit to peacock-strings to enhancement 2023-04-25 06:57:11 +01:00
.idea Significant performance improvement that I have not actually tested 2023-01-28 21:59:26 -05:00
.vscode Fix vscode launch parameters to show output from the new winston logger 2023-04-24 04:27:49 +02:00
.yarn TypeScript v5 2023-04-08 22:29:40 -04:00
components Drop hook "getMissionEnd" 2023-04-28 21:07:49 -04:00
contractdata Add new Miami challenge for the Blue Streak Suit (#255) 2023-04-29 00:55:25 +01:00
docs Move the code of conduct to the docs folder [skip ci] 2023-01-04 11:33:58 -05:00
packaging Bump SMP version to v5.6.2 2023-04-26 10:03:41 +01:00
patcher Initial commit 2022-10-19 21:33:45 -04:00
plugins Added logic to generate require table for plugins 2023-04-17 00:24:13 +02:00
resources [skip ci] Update locale packages 2023-04-29 02:04:37 +00:00
static Fix load tile headline for H2 2023-04-28 17:33:07 +01:00
tests Fixed an issue where refresh_token was not properly served (#190) 2023-04-06 21:47:08 +01:00
webui Add support for Elusive Target Arcade (#209) 2023-04-21 18:48:56 +01:00
.cirrus.yml Add a CI task to run the tests 2023-04-08 22:46:51 -04:00
.editorconfig Initial commit 2022-10-19 21:33:45 -04:00
.eslintignore Initial commit 2022-10-19 21:33:45 -04:00
.eslintrc.js Add support for compiling plugins from TS to JS 2023-04-16 15:10:06 +02:00
.gitattributes Fix the gitattributes 2022-12-02 12:01:29 -05:00
.gitignore Add DEBUG_PROFILE.zip to gitignore 2023-04-25 05:43:25 +01:00
.nvmrc Node 18.15.0 2023-04-02 00:35:02 -04:00
.prettierignore Exclude generated locale files from prettier 2023-04-23 02:53:43 +01:00
.yarnrc.yml TypeScript v5 2023-04-08 22:29:40 -04:00
LICENSE Initial commit 2022-10-19 21:33:45 -04:00
package.json Bump version to v6.3.1 2023-04-27 10:16:26 +01:00
PeacockPatcher.exe Initial commit 2022-10-19 21:33:45 -04:00
readme.md Fix typo in readme 2023-04-23 03:41:11 +01:00
tsconfig.json Refactor localisation to use one file 2023-04-21 18:08:43 +01:00
webstorm.config.js Update copyright years to 2023 2023-01-23 13:37:33 -05:00
yarn.lock Bump SMP version to v5.6.2 2023-04-26 10:03:41 +01: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 18

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, but it is a paid product, so you may want to choose something like 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.