Commit Graph

26 Commits

Author SHA1 Message Date
TheTank20
680239bdb7
Merge branch 'cmake-fix' into master 2023-09-02 09:44:57 -04:00
TheTank20
361a39e204
Fix macOS compilation (Attempt 1) 2023-09-02 09:20:54 -04:00
WitherOrNot
f43a2d5c37
Update CMakeLists.txt 2023-08-10 16:54:33 -04:00
WitherOrNot
46c39df15d
Update CMakeLists.txt 2023-08-10 16:23:01 -04:00
WitherOrNot
11253c5e2c
Revert to old CMakeLists for now 2023-08-10 09:59:20 -04:00
WitherOrNot
9f7920ca2d
Update CMakeLists.txt 2023-08-10 09:51:10 -04:00
WitherOrNot
9063e32a89
Update CMakeLists.txt 2023-08-10 09:49:04 -04:00
techguy16
20c84661b2
Add macOS and FreeBSD support and fix DJGPP build (#48) 2023-07-24 23:53:42 -07:00
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
TheTank20
40c60e656f
Add GitHub Actions CI/CD (#23)
* Create linux.yml

* Create windows.yml

* re-enable static builds
make a better linux github workflow

* better windows action script
fix linux output zip

* fix path typos

* Update readme

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-06-16 05:57:56 -07: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
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
Neo
6b85db12c9 disable static building for now (causing more headaches than it should)
update keys.json with new info
2023-06-02 07:09:40 -07:00
Andrew
475241e608 Get rid of PkgConfig 2023-06-02 15:39:11 +03:00
Andrew
a14d44cdca FindOpenSSL (Crossplatform solution) 2023-06-02 15:36:34 +03:00
Andrew
e437cc548a Folder refactor 2023-06-01 23:09:44 +03:00
Neo
96639bbaf7 remove bink generation script
add runtime json parsing
add cmake.cpm
update cmake to reflect this
fix compilation errors

** breaks 2k3 key generation, work in progress
2023-06-01 10:55:36 -07:00
Andrew
814b8e48fb Update CMakeLists.txt (Refactor) 2023-06-01 18:56:26 +03:00
Andrew
8088c455ff Revert CMakeLists.txt 2023-06-01 18:54:11 +03:00
Andrew
5bf1da663a CMake executable merge 2023-06-01 18:22:45 +03:00
Andrew
f5423a8eb0 Refactor, improved readability 2023-06-01 16:09:22 +03:00
Neo
3999ed0996 switch the XP algorithm to use bink.h data
create script in python to format said data to C
begin transition to using C++ functions
2023-05-31 18:53:42 -07:00
Neo
05ee5eb933 update CMakeLists to correctly compile sources - update readme to reflect that
factor out reused functions to shared.cpp/shared.h
2023-05-30 12:37:13 -07:00
Andrew
ac47a88f7e Add OpenSSL libraries, convert to CMake 2023-05-30 11:07:50 +03:00