-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild_resources.sh
49 lines (40 loc) · 1.01 KB
/
build_resources.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# REGRESSION haystack (c) 2019 mborik / NAG^RM-TEAM^SinDiKat / sk
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Node.js is required to successful build (v6.9.0 at least)
# `glob` package installed globally and utils in PATH to successful build:
# - latest `sjasmplus` from https://github.com/z00m128/sjasmplus
# - `lzxpack` from https://busy.speccy.cz/download/lzxpack01.rar
ASM="sjasmplus"
NODE="node --no-deprecation"
function LZX() {
rm -f $2
lzxpack -t36o7o14 $1
mv -f ${2%.*}-t36o7o14.lzx $2
}
pushd cityflyout
${NODE} process.gen.js
${NODE} process.data.js
popd
pushd reglogo
${NODE} process.data.js
cd gfx
${NODE} process.vertical.js
popd
pushd surprise
${NODE} makeblitter.js
${ASM} atributy.story.a80
LZX atributy.story.bin atributy.story.lzx
popd
pushd transformy
${NODE} process.stripes.js
${ASM} transformy.generator.a80
popd
pushd ripple/gfx
${NODE} ripple.generator.js
${NODE} pattern.mapper.js
npm i -g glob
cd ../mandaly
. _compile.sh
popd
${NODE} haystack.builder.js