Skip to content

Commit

Permalink
fix: correct scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrneo240 committed Nov 27, 2022
1 parent 816f9b4 commit 3861d5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions process.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/sh
IN=meta_in
OUT=output
OUT_META={OUT}/META.DAT
OUT_META=${OUT}/META.DAT
TOOLS=tools

# combine
cp meta_usa_in/* {IN}
cp meta_pal_in/* {IN}
cp meta_jap_in/* {IN}
cp meta_aw_in/* {IN}
cp meta_ex_in/* {IN}
cp meta_hb_in/* {IN}
cp meta_usa_in/* ${IN}
cp meta_pal_in/* ${IN}
cp meta_jap_in/* ${IN}
cp meta_aw_in/* %{IN}
cp meta_ex_in/* %{IN}
cp meta_hb_in/* %{IN}

# pack Metadata into single DAT
${TOOLS}/metapack ${IN} ${OUT_META}
5 changes: 3 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ TEMP=temp
mkdir -p ${OUT}
mkdir -p ${TOOLS}
mkdir -p ${TEMP}
mkdir -p ${meta_in}

# clone tools and stbconv
# clone tools
git clone --depth 1 /~https://github.com/mrneo240/openmenu.git ${TEMP}/openmenu

# build both
# build tools
make -j4 -C ${TEMP}/openmenu/tools

# copy tools to tools dir
Expand Down

0 comments on commit 3861d5d

Please sign in to comment.