update reccmp instructions and initial report
This commit is contained in:
parent
65bc16a129
commit
534f435b63
|
|
@ -15,7 +15,7 @@ Windows (x86-64)
|
|||
## Binary accuracy
|
||||
We aims to be as accurate as possible, matching the recompiled instructions to the original machine code as much as possible. The goal is to provide a workable codebase that can be modified, improved, and ported to other platforms later on. We are using [reccmp](https://github.com/isledecomp/reccmp?tab=readme-ov-file) to diff the recompiled code with the original Windows 95 code.
|
||||
|
||||
See: [docker](https://github.com/dethrace-labs/dethrace/blob/main/docker/README.md)
|
||||
See: [reccmp](https://github.com/dethrace-labs/dethrace/blob/main/reccmp/README.md)
|
||||
|
||||
## Project goals
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
To run MSVC 4.20 outside of a non-Windows environment, you can use a Docker image and [Wine](https://www.winehq.org/)
|
||||
|
||||
## Original binary
|
||||
We are targetting being accurate to CARM95.EXE.
|
||||
We are targetting being accurate to CARM95.EXE.
|
||||
- Created date: "16 October 1997"
|
||||
- SHA256 hash: `c6040203856b71e6a22d2a29053a1eadd1a2ab41bce97b6031d745079bc07bdf`
|
||||
|
||||
|
|
@ -34,7 +34,11 @@ docker run --platform linux/amd64 \
|
|||
-v <PATH_TO_DETHRACE_BUILD_DIR>:/build \
|
||||
-v <PATH_TO_CARMA_DIR>:/orginal:ro \
|
||||
msvc420-wine -- \
|
||||
reccmp-reccmp --target CARM95 --silent --html diff.html
|
||||
reccmp-reccmp --target CARM95 --silent --html reccmp-report.html --json /source/reccmp/report.json
|
||||
```
|
||||
|
||||
After running, a `diff.html` file will be created in the build-msvc420 directory.
|
||||
After running, a `reccmp-report.html` file will be created in the build-msvc420 directory.
|
||||
|
||||
### Make a pull request change
|
||||
|
||||
The pull request will fail if the `reccmp/report.json` file is different from the version generated during build
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue