Skip to content

Commit b5aa1b0

Browse files
committed
[PROJECT] small status script change and README update
1 parent 5ea832d commit b5aa1b0

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ We use [reccmp](https://github.com/isledecomp/reccmp) to verify compatibility of
3939

4040
Because the original game was compiled using an old compiler, you have to compile it using [this compiler](https://github.com/sourcehold/MSVC1400), which is included in the repository via a submodule.
4141

42-
If you made any advances or noticed something while implementing, please also add the status to [SHC_3BB0A8C1_STATUS.txt](SHC_3BB0A8C1_STATUS.txt).
43-
The structure is simply `<address-enum> | <matching-percent> | <comment>`.
42+
If you made any advances or noticed something while implementing, please also add or update the status in [addresses-SHC-3BB0A8C1.txt](status/addresses-SHC-3BB0A8C1.txt).
43+
The structure is simply `<address-enum> | <matching-percent> | <comment>`.
44+
Should the address list change, please run the following command to recreate the file:
45+
```sh
46+
python .\status\extract_header_and_update.py .\src\precomp\addresses-SHC-3BB0A8C1.hpp
47+
```
48+
Percentages and comments should be kept, but always check the difference.
49+
4450

4551
### Prerequisites
4652

status/extract_header_and_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def write_output(txt_path, addresses, data_map):
111111
# logging leftovers
112112
for leftover, (percent, comment) in data_map.items():
113113
logging.warning(
114-
f"Unused entry in txt (not in header): {format_line(leftover, percent, comment)}"
114+
f"Unused entry in previous txt (not in header): {format_line(leftover, percent, comment)}"
115115
)
116116

117117

@@ -133,7 +133,7 @@ def main():
133133
logging.error("No addresses found in header file. Exiting.")
134134
raise SystemExit(1)
135135

136-
txt_filename = header_path.name + ".txt"
136+
txt_filename = header_path.stem + ".txt"
137137
txt_path = folder_path / txt_filename
138138

139139
data_map = read_existing_txt(txt_path)

0 commit comments

Comments
 (0)