* Introduce "configure.py" and "build.py"
* Running "python configure.py && python build.py" will successfully
build a clean clone of the project with no additional effort needed.
* The repo now includes a copy of ninja for each platform, and the
configure script will download MSVC420 for you as part of configuring
the project. You can specify --modern-compiler when configuring to
configure with a different toolchain if desired.
* This also establishes a specific place (/original) for you to put
your original game files. The build process will let you know that
you need to put them there if you have not yet when you ask to
compare to the original game.
* The repo also now includes a .vscode folder by default, which
contains a tasks.json file including the build / configure tasks.
* This includes "build and compare function by cursor" task which allows
a very effective workflow where you just hit Ctrl+Shift+B and get an
updated diff of the function you were just editing.
* Stubbed a bunch of classes and annotated them for later use. Heavily wip and more of pseudocode right now.
* Converted pseudocode into real code!
* Created a bunch more classes and added more information to exisiting ones
Did not error check, this was pushed just for reference
* More classes and implementation details. Still not checked for any errors
* Fixed code and decided on a way to handle virtual table stubs
* Some additional fixes
* More smaller fixes
* Added classes to project and made it compile
* Fixed function adresses that caused the python script to fail
* More classes and virtual function resolves. Builds and compares fine.
* Again more classes and virtual function resolves. Builds and compares fine.
* No clue, I guess forced update for line endings
* Finished up some work, compiles fine. All functions are STUB annotated to not pollute reccmp.py output.
* line ending change
* rename GetClassName/IsClass
Mirroring recent changes from master
* further conform to current master
* update project
* cleanup
* project only updates when you close msdev
---------
Co-authored-by: Cydra <cydra95@gmail.com>
Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
* Improve reccmp.py
* Now only shows the info for a single function when a specific function
is specified via -v
* Now colors the output by default
* Percentages are shown as green/yellow/red depending on the percentage
completed.
* Diff +/- lines are shown as green/red.
* Includes standard --no-color argument in case we need no color for
some tooling which consumes the output.
* Feedback
Sorry to everyone's muscle memory, but I think this is better. The idea for the name was "recomp compare", but it's too easy to read it as "recomp with a typo". This should fix that, as well as be slightly easier to write since it's shorter.