You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use [uv](https://github.com/astral-sh/uv) and run `uv sync` if you are more comfortable using python virtual environments.
17
14
18
-
-`json_path`: The path to index.json within this repo.
19
-
-`data_path`: The path to the `data` directory within this repo.
20
-
-`PCBANKS_path`: The path to the PCBANKS directory in the games' files.
15
+
Then run
21
16
22
-
The command is then ran from within the `HGPAKTool` folder.
23
-
This command will extract all the files in the `index.json` file into the data directory of this repo.
17
+
`python extract_data.py`
24
18
25
-
Once the files have been updated, if there are actually any file changes, the `data/.version` file MUST be updated to have the latest steam build ID.
19
+
The first time you run this it will prompt you to specify the location of your PCBANKS directory. This will be stored in a file in your user directory (`C:\Users\<username>\AppData\Roaming\MBINCompiler-test-data`) in a json file.
20
+
If you need to move this directory, you can change the path in this file, or just delete the file and re-run the script and it will prompt you to choose the directory again.
26
21
27
-
**NOTE:** Currently the `utils/update.py` file is not working. More work needs to be done in both this repo as well as the HGPAKTool repo to make this easier to do. For now, if new files are added we need to add them manually to the `index.json` file.
22
+
Once the files have been updated, if there are actually any file changes, the `data/.version` file MUST be updated to have the latest steam build ID.
0 commit comments