Commit Graph

95 Commits

Author SHA1 Message Date
Andrew
88640191e8 get_rid_of_snake_case() 2023-06-10 20:52:32 +03:00
Andrew
e3b4485aa2 BINK2002 Upgrade Bit 2023-06-10 20:17:18 +03:00
Andrew
34619a2202 Remove a debug oopsie 2023-06-10 19:40:18 +03:00
Andrew
d4d50d9885 BINK1998 Upgrade Bit 2023-06-10 19:38:22 +03:00
Andrew
f11552509a OWORD 2023-06-09 21:07:40 +03:00
WitherOrNot
eed869981b fix installation ID generation 2023-06-08 14:40:11 -04:00
WitherOrNot
947fd48f38 initialize options in CLI 2023-06-07 15:43:45 -04:00
Neo
0b94791ee1
refactor project to use classes (#19) 2023-06-07 12:23:59 -07:00
Andrew
f6755b0c22 [Server] Update comments to make sense at all 2023-06-07 12:27:45 +03:00
Andrew
aa8e5ff8e7 Slight logic tweak for better understanding 2023-06-07 02:34:01 +03:00
Andrew
4f7fb772a5 Further readability improvement 2023-06-07 02:22:36 +03:00
Andrew
cc3900d4d0 Readability uplift 2023-06-07 01:37:42 +03:00
Neo
726be7da20 Revert line 144 of cli.cpp 2023-06-06 15:31:31 -07:00
WitherOrNot
98c8db7e02
merge server and confid with xpkey, add LH keys (#18)
* merge server and confid with xpkey, add LH keys

* improve error handling

* update README.md

* fix line endings

* reorder products section of keys.json

* use options as global variable

* rename genServer to isBink2002

* small refactor

* handle unknown error codepath on confirmation id
remove redundant else for BINK1998 generation

* finish conversion from std::cout -> fmt::print();

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-06-06 15:04:39 -07:00
Neo
cd3cc31cd6 use fmt.dev's fmt::print functions, factor out command line functions from main to cli.cpp 2023-06-05 08:45:06 -07:00
Andrew
29465ffb37 [Server] Fixed validation mechanism, QWORD update 2023-06-05 18:25:46 +03:00
Andrew
11dedcbd5f [Server] Readability improvement 2023-06-05 16:13:20 +03:00
Andrew
b69dbd541c [Server] Last refactor before RPK QWORD update 2023-06-05 16:07:37 +03:00
Andrew
530e5cdc21 [Server] Successful generation refactor, more to come 2023-06-05 15:26:51 +03:00
Andrew
da7e88b970 Fix BYDWORD (implementation mistake) 2023-06-05 15:07:31 +03:00
Andrew
04e6362d7e Revert DWORD for newHash (calculation mistake) 2023-06-05 14:17:26 +03:00
Andrew
1603dbd6e2 Header improvements, refactor continues 2023-06-05 12:29:54 +03:00
Andrew
150f7433dc [Server] Connect JSON library 2023-06-05 12:19:47 +03:00
Andrew
79d62a3b1b Slight refactor 2023-06-05 12:13:15 +03:00
Andrew
35c18d473b QWORD upgrade 2/3 2023-06-05 01:24:20 +03:00
Andrew
632c84249c QWORD upgrade 1/3 2023-06-05 00:52:10 +03:00
Andrew
d20cb1fa49 Verification procedure cleanup 2023-06-05 00:27:50 +03:00
Andrew
983acba760 Fix pack functions 2023-06-04 23:39:02 +03:00
Neo
9b3abe7fb9 fix server2k3 compile error 2023-06-04 12:26:58 -07:00
Andrew
9812529903 Complete rewrite of XP Algorithm (w/ comments). Now fully optimized and readable 2023-06-04 22:01:09 +03:00
Andrew
21e31fd1b6 BOOL type, slight refactor, cleanup 2023-06-04 16:44:22 +03:00
Andrew
799fee5a68 QWORD upgrade, abstract NEXTNBITS() 2023-06-04 16:32:05 +03:00
Andrew
1c5f93b687 Slight refactor, prepare for QWORD upgrade 2023-06-04 15:40:08 +03:00
Andrew
3922223b9f QWORD upgrade for Schnorr's Signature 2023-06-04 15:17:41 +03:00
Andrew
9302ebd751 Abstract FIRSTNBITS(), fix logic 2023-06-04 15:06:51 +03:00
Andrew
08ec7cb9bb Simplify pointer arithmetics 2023-06-04 14:54:22 +03:00
Andrew
8e4285c960 Remove unnecessary pointer arithmetic 2023-06-04 13:38:05 +03:00
Andrew
63bc103384 Add pack/extract consistency 2023-06-04 13:35:26 +03:00
Andrew
06920ede2a Data type consistency uplift 2023-06-04 13:31:24 +03:00
Neo
3f95974e61 disable asserts globally unless DEBUG is defined 2023-06-04 00:50:41 -07:00
Neo
166a0b5df7 transition products object in keys.json to add additional information later
confirm windows server 2003 as bink 0x5A
add BINK information for 0x54
2023-06-04 00:47:21 -07:00
WitherOrNot
e9a10e2882
add confirmation ID generator, fix server.cpp (#14)
* add confirmation ID generator, fix server.cpp

* made an oopsie

* Update README.md

* Remove unused platform-dependent code
2023-06-03 07:14:11 -07:00
Andrew
7944a9b15f Server Algorithm uplift 2023-06-02 17:13:57 +03:00
Neo
72d441b539 Fix datatypes to use platform independent values, Add command line switch scaffolding
Allow users to chose which bink/channelid they'd like to generate with
Add rudimentary help system, Sanitize user input
2023-06-01 21:25:43 -07:00
Andrew
e437cc548a Folder refactor 2023-06-01 23:09:44 +03:00