From 8971addc1e722405ff79fcd4c2851b88a70667da Mon Sep 17 00:00:00 2001 From: Mazo Date: Sun, 20 May 2018 18:37:58 +0100 Subject: [PATCH] Update readme with clearer instructions for PSCrypto and potential workarounds for the library not being detected properly --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bcceb53cd..67956db78 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ In order to use scala, you need the compiler `scalac`. This is equivalent to Jav Install this on to your system and the compiler and Scala REPL will be added to your PATH. ### Downloading PSCrypto -The server requires PSCrypto in order to run. [Download the latest release](https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip) and extract the ZIP in to the top level of your source directory. SBT, IDEA, and Java will automatically find the required libraries when running the server. +The server requires PSCrypto in order to run. [Download the latest release](https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip) and extract the the approprate dll for your operating system to the top level of your source directory (the root directory, not /pslogin/src/main/scala). SBT, IDEA, and Java will automatically find the required libraries when running the server. If you are not comfortable with compiled binaries, you can [build the libraries yourself](https://github.com/psforever/PSCrypto). +If you have any issues with PSCrypto being detected when trying to run the server try adding `-Djava.library.path=` (no path necessary) to your preferred IDE's build configuration, for example with IDEA: Run -> Edit Configuration -> VM Options + ### Using an IDE Scala code can be fairly complex and a good IDE helps you understand the code and what methods are available for certain types. IntelliJ IDEA has some of the most mature support for Scala of any IDE today. It has advanced type introspection and excellent code completion. It's recommended for those who are new to Scala in order to get familiar with the syntax.