Commit Graph

28 Commits

Author SHA1 Message Date
CONIGUERO
15cbe19006
Refactor/Overhaul (#40)
* major refactor/overhaul
move generation implementation to libumskt/*
decouple CLI/Options (and JSON) from generation implementation
set groundwork for future shared library
use standardized PIDGEN2/PIDGEN3 naming convention
create a Windows Docker file for quick compilation
add Windows resouce file/header so we have an application icon on windows
use icon from @Endermanch (used with permission)
add support for fully-static linux/muslc-based compilation
add support for a dos/windows (i486+) binary using djgpp
add Dockerfile to compile gcc/djgpp/watt32/openssl to provide DOS (DPMI) binaries
add @Endermanch 's Vista+ documentation
update Readme for recent credits

* begin work on C linkage and emscripten buildpath

* Update CMake to include and build Crypto++

* move dllmain.cpp to the correct directory

* add rust port info to README.md

* re-add dropped changes from rebase

* update build config, specify windows XP version number for crypto++

* update dos-djgpp action to use new cmake builder and options

* update dos-djgpp to use UMSKT hosted forks

* update other workflows to include standard header

* remove crypto++ from build config for now

* use the new `shell` parameter in `threeal/cmake-action`
TODO: move to a stable version (v1.3.0) when ready

* use full commit hash because a shortened hash is unsupported

* add the required {0} parameter?

* add openssl 3.1.1 to windows github runners

* ensure linux matrix build compiles on the correct arch

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-07-08 20:08:43 -07:00
Emma
de04746c5e
Command line option to specify serial for generating BINK1998 keys (#33)
* specify pre-set serial on CLI for BINK1998

* fix CLI::printID
2023-07-04 03:20:17 -07:00
Emma
4b60737bb4
Add -V/--validate command line switch (#31)
* add -V/--validate command line switch

* Return success/failure bool on CLI::stripKey

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-06-19 12:41:27 -07:00
Neo
ca9ccc43ee rebrand WindowsXPKg to UMSKT 2023-06-16 14:58:22 -07:00
Neo
57b2477e44 As per contributor quorum on 17/06/2023 - update license to AGPL
Add known history to files
2023-06-16 12:41:16 -07: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
Neo
0b94791ee1
refactor project to use classes (#19) 2023-06-07 12:23:59 -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
da7e88b970 Fix BYDWORD (implementation mistake) 2023-06-05 15:07:31 +03:00
Andrew
1603dbd6e2 Header improvements, refactor continues 2023-06-05 12:29:54 +03:00
Andrew
79d62a3b1b Slight refactor 2023-06-05 12:13:15 +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
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
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
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
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