-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sh
34 lines (28 loc) · 1.24 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export TK_PATH=./m-ex/MexTK/
export OUTPUT_PATH=./output/
export BUILD_PATH=./build/
export COMPILER_PATH="$TK_PATH/MexTK.exe"
#export COMPILER_PATH="/Users/robertperalta/Dev/github/MexTK/MexFF/bin/Release/MexTK.exe"
export SOURCE_FILES=$(find . -type f -regex ".*\.c" -not -path ".*/examples/*" | xargs)
echo "Started Building at: $(date)"
rm -rf $BUILD_PATH
echo "Compiling Ranked Scene..."
mono $COMPILER_PATH -ff \
-i "Scenes/Ranked/GameSetup.c" "Components/CharStageBoxSelector.c" "Components/CharStageIcon.c" "Components/Button.c" "Components/FlatTexture.c" "Components/RightArrow.c" "Components/CharPickerDialog.c" "Components/StockIcon.c" "Components/GameResult.c" "Components/TurnIndicator.c" "Game/Characters.c" \
-s mnFunction \
-t "$TK_PATH/mnFunction.txt" \
-l "./melee.link" \
-b $BUILD_PATH \
-o "$OUTPUT_PATH/GameSetup.dat" \
-ow -c
echo "Compiling Slippi CSS..."
mono $COMPILER_PATH -ff \
-i "Scenes/CSS/SlippiCSSSetup.c" \
-s mnFunction \
-t "$TK_PATH/mnFunction.txt" \
-l "./melee.link" \
-b $BUILD_PATH \
-o "$OUTPUT_PATH/SlippiCSS.dat" \
-ow -c
#cp "$OUTPUT_PATH/SlippiCSS.dat" "/Users/robertperalta/Dev/github/Ishiiruka/build/Binaries/Slippi Dolphin.app/Contents/Resources/Sys/GameFiles/GALE01/SlippiCSS.dat"
echo "Finished Building at: $(date)"