diff --git a/.gitignore b/.gitignore index ade3621..23fb76a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target -exported_symbols.txt -patchData.json +asar_symbols.txt +base_patch.json +enemizer_base_patch.json diff --git a/prepare.sh b/prepare.sh new file mode 100644 index 0000000..ecb6269 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +if [[ ! -s base_patch.json || ! -s asar_symbols.txt ]]; then +cargo run -p bin_comp -- assembly/src/main.asm base_patch.json asar_symbols.txt +fi +if [[ ! -s enemizer_base_patch.json ]]; then +cargo run -p base_patch_generator -- "$1" base_patch.json asar_symbols.txt enemizer_base_patch.json +fi