From d9e9d70bc65fd3f2b941b42656c126b8e9d69ba5 Mon Sep 17 00:00:00 2001 From: gered Date: Thu, 25 Nov 2021 20:40:43 -0500 Subject: [PATCH] add comments linking original source for encryption and prs compression --- psoutils/src/compression.rs | 6 ++++++ psoutils/src/encryption.rs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/psoutils/src/compression.rs b/psoutils/src/compression.rs index bccfa46..0193aee 100644 --- a/psoutils/src/compression.rs +++ b/psoutils/src/compression.rs @@ -1,3 +1,9 @@ +/* + * The contents of this module are ported from the Fuzziqer "newserv" project with some minor + * alterations by me. + * https://github.com/fuzziqersoftware/newserv (Compression.cc + Compression.hh) + */ + use std::ffi::c_void; use thiserror::Error; diff --git a/psoutils/src/encryption.rs b/psoutils/src/encryption.rs index f59a576..58a924f 100644 --- a/psoutils/src/encryption.rs +++ b/psoutils/src/encryption.rs @@ -1,3 +1,9 @@ +/* + * The contents of this module are ported from the Fuzziqer "newserv" project with some minor + * alterations by me. + * https://github.com/fuzziqersoftware/newserv (PSOEncryption.cc + PSOEncryption.hh) + */ + const PC_STREAM_LENGTH: usize = 57; const GC_STREAM_LENGTH: usize = 521;